Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 3,435 for Hint (0.16 sec)

  1. guava/src/com/google/common/collect/CompactHashMap.java

      void resizeEntries(int newCapacity) {
        this.entries = Arrays.copyOf(requireEntries(), newCapacity);
        this.keys = Arrays.copyOf(requireKeys(), newCapacity);
        this.values = Arrays.copyOf(requireValues(), newCapacity);
      }
    
      @CanIgnoreReturnValue
      private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) {
        Object newTable = CompactHashing.createTable(newCapacity);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int nciphers = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.ciphers = new int[nciphers];
            for (int i = 0; i < nciphers; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

    /**
     * Unit tests for DirectoryLeaseContext
     */
    public class DirectoryLeaseContextTest {
    
        @Test
        public void testConstructor() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
    
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 1; i < 900; i += 2) {
          if (!falsePositives.contains(i)) {
            assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i)));
          }
        }
    
        // Check that there are exactly 29824 false positives for this BF.
        int knownNumberOfFalsePositives = 29824;
        int numFpp = 0;
        for (int i = 1; i < numInsertions * 2; i += 2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Calculate buffer size
            int serverNameSize = 16; // Fixed field size
            int versionSize = 2;
            int typeSize = 4;
            int offsetSize = 4;
            int commentSize = comment.length() + 1;
            int totalSize = serverNameSize + versionSize + typeSize + offsetSize + commentSize;
    
            byte[] buffer = new byte[totalSize + 100];
            int bufferIndex = 0;
            int start = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
        PERSISTENT(3);
    
        private final int value;
    
        HandleType(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this handle type
         * @return the numeric value
         */
        public int getValue() {
            return value;
        }
    
        /**
         * Get HandleType from numeric value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile99(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(99, 100, dataset(i));
        }
        return dummy;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(char[] array, char target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ACE.java

        /** Permission to write extended attributes */
        public static final int FILE_WRITE_EA = 0x00000010; // 5
        /** Permission to execute a file or traverse a directory */
        public static final int FILE_EXECUTE = 0x00000020; // 6
        /** Permission to delete a file or directory */
        public static final int FILE_DELETE = 0x00000040; // 7
        /** Permission to read file attributes */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Test with maximum allowed values
            int maxSid = 0xFFFF;
            int maxResumeKey = 0x7FFFFFFF;
            int maxBatchCount = 65535;
            int maxBatchSize = 65535;
    
            trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize);
    
            byte[] buffer = new byte[512];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top