Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,214 for _arrays (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

              array[i] = counter.getAndIncrement();
            }
            builder.addAll(ImmutableDoubleArray.copyOf(array));
          }
        },
        ADD_LARGER_ARRAY {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[random.nextInt(200) + 200];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            if (this.password != null) {
                // Multi-pass secure wipe of password char array
                Arrays.fill(this.password, '\0');
                Arrays.fill(this.password, '\uFFFF');
                Arrays.fill(this.password, '\uAAAA');
                Arrays.fill(this.password, '\u5555');
                Arrays.fill(this.password, '\0');
                this.password = null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                byte[] longFileId = new byte[32];
                Arrays.fill(longFileId, (byte) 0xCD);
                request.setFileId(longFileId);
    
                Arrays.fill(buffer, (byte) 0);
                bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                assertEquals(48, bytesWritten);
                assertArrayEquals(Arrays.copyOfRange(longFileId, 0, 16), Arrays.copyOfRange(buffer, 8, 24));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * Sets the array of web protocols to recognize for URL classification.
         *
         * @param webProtocols array of protocol prefixes (e.g., "http:", "https:")
         */
        public void setWebProtocols(final String[] webProtocols) {
            this.webProtocols = webProtocols;
        }
    
        /**
         * Sets the array of file protocols to recognize for URL classification.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

          }
        }
      }
    
      /**
       * Resizes the internal entries array to the specified capacity, which may be greater or less than
       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.entries = Arrays.copyOf(requireEntries(), newCapacity);
        this.keys = Arrays.copyOf(requireKeys(), newCapacity);
        this.values = Arrays.copyOf(requireValues(), newCapacity);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Returns whether arrays need to be allocated. */
      boolean needsAllocArrays() {
        return table == null;
      }
    
      /** Handle lazy allocation of arrays. */
      @CanIgnoreReturnValue
      int allocArrays() {
        Preconditions.checkState(needsAllocArrays(), "Arrays already allocated");
    
        int expectedSize = metadata;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

                throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length);
            }
            this.key = Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Get the lease key bytes
         *
         * @return copy of the 16-byte lease key
         */
        public byte[] getKey() {
            return Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Write the lease key to a buffer
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/JvmUtil.java

         *
         * @param values the array of JVM options to filter
         * @return the filtered array of JVM options applicable to the current Java version
         */
        public static String[] filterJvmOptions(final String[] values) {
            final int version = getJavaVersion();
            return Arrays.stream(values).map(s -> {
                final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCreation_emptyArray() {
        String[] array = new String[0];
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_arrayOfOneElement() {
        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        checkSerialization(Predicates.and(Arrays.asList(TRUE, FALSE)));
      }
    
      public void testAnd_arrayDefensivelyCopied() {
        @SuppressWarnings("unchecked") // generic arrays
        Predicate<Object>[] array = (Predicate<Object>[]) new Predicate<?>[] {Predicates.alwaysFalse()};
        Predicate<Object> predicate = Predicates.and(array);
        assertFalse(predicate.apply(1));
        array[0] = Predicates.alwaysTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
Back to top