Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for hashing (0.08 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
        h += (h << 15) ^ 0xffffcd7d;
        h ^= (h >>> 10);
        h += (h << 3);
        h ^= (h >>> 6);
        h += (h << 2) + (h << 14);
        return h ^ (h >>> 16);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     */
        public URL toURL() throws MalformedURLException {
            return url;
        }
    
    /**
     * Computes a hashCode for this file based on the URL string and IP
     * address if the server. The hashing function uses the hashcode of the
     * server address, the canonical representation of the URL, and does not
     * compare authentication information. In essance, two
     * <code>SmbFile</code> objects that refer to
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          LocalCache<Object, Object> map = makeLocalCache(builder);
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null);
          ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1);
          assertSame(valueOne, valueRefOne.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          LocalCache<Object, Object> map = makeLocalCache(builder);
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null);
          ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1);
          assertSame(valueOne, valueRefOne.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Yes,' said Alice, `we learned French and music.'
    
      `And washing?' said the Mock Turtle.
    
      `Certainly not!' said Alice indignantly.
    
      `Ah! then yours wasn't a really good school,' said the Mock
    Turtle in a tone of great relief.  `Now at OURS they had at the
    end of the bill, "French, music, AND WASHING--extra."'
    
      `You couldn't have wanted it much,' said Alice; `living at the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        cache.delete()
      }
    
      /**
       * Test that response caching is consistent with the RI and the spec.
       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
      fun responseCachingByResponseCode() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    fin.ci
    free.hr
    caa.li
    ua.rs
    conf.se
    
    // Handshake : https://handshake.org
    // Submitted by Mike Damm <******@****.***>
    hs.zone
    hs.run
    
    // Hashbang : https://hashbang.sh
    hashbang.sh
    
    // Hasura : https://hasura.io
    // Submitted by Shahidh K Muhammed <******@****.***>
    hasura.app
    hasura-app.io
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Too many follow-up requests: 21")
        }
      }
    
      /**
       * We had a bug where we were passing a null route to the authenticator.
       * https://github.com/square/okhttp/issues/3809
       */
      @Test
      fun authenticateWithNoConnection() {
        server.enqueue(
          MockResponse(
            code = 401,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns the specified comparator if not null; otherwise returns {@code Ordering.natural()}.
       * This method is an abomination of generics; the only purpose of this method is to contain the
       * ugly type-casting in one place.
       */
      @SuppressWarnings("unchecked")
      static <E extends @Nullable Object> Comparator<? super E> orNaturalOrder(
          @CheckForNull Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns the specified comparator if not null; otherwise returns {@code Ordering.natural()}.
       * This method is an abomination of generics; the only purpose of this method is to contain the
       * ugly type-casting in one place.
       */
      @SuppressWarnings("unchecked")
      static <E extends @Nullable Object> Comparator<? super E> orNaturalOrder(
          @CheckForNull Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top