Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 896 for Array (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        /**
         * Test that modifying the original array affects the field (reference test)
         */
        @Test
        @DisplayName("Test byte array reference behavior")
        public void testByteArrayReference() {
            // Given
            byte[] originalKey = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteArrayDataInput.java

     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
     * array. If any method encounters the end of the array prematurely, it throws {@link
     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
     * of the supertype's contract, which specifies a checked exception.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

         */
        ArtifactResolverResult resolve(ArtifactResolverRequest request);
    
        /**
         * Resolves several artifacts from their coordinates.
         *
         * @param session {@link Session}
         * @param coordinates array of {@link ArtifactCoordinates}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

    public class ErrorToWarnRewritePolicy implements RewritePolicy {
    
        /** Array of logger name prefixes to apply the ERROR to WARN conversion */
        private final String[] loggerNames;
    
        /**
         * Constructs a new ErrorToWarnRewritePolicy with the specified logger names.
         *
         * @param loggerNames array of logger name prefixes to convert ERROR to WARN
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

        }
    
        /**
         * Gets the array of available searchers based on configuration.
         * Filters the searchers array to include only those specified in the available searcher name set.
         * If no specific searchers are configured, returns all searchers.
         *
         * @return array of available RankFusionSearcher instances
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          object : X509TrustManager {
            override fun checkClientTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {}
    
            override fun checkServerTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {}
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
    
        val sslContext =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Fingerprint2011.java

        a ^= a >>> 47;
        long b = (high ^ a) * K3;
        b ^= b >>> 47;
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
          byte[] bytes, int offset, long seedA, long seedB, long[] output) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. lib/wasm/wasm_exec.js

    			const loadSlice = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				return new Uint8Array(this._inst.exports.mem.buffer, array, len);
    			}
    
    			const loadSliceOfValues = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				const a = new Array(len);
    				for (let i = 0; i < len; i++) {
    					a[i] = loadValue(array + i * 8);
    				}
    				return a;
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top