Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 271 for hashing (0.04 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        builder.build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      public void testDisableCaching() {
        // Functional test: assert that CacheBuilderSpec.disableCaching()
        // disables caching.  It's irrelevant how it does so.
        CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
        Object key = new Object();
        Object value = new Object();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

                assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException");
            }
        }
    
        @Nested
        @DisplayName("Secret Masking Tests")
        class SecretMaskingTests {
    
            @ParameterizedTest
            @DisplayName("maskSecretValue should mask SMB URLs containing credentials")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

        }
        return Collections.unmodifiableList(causes);
      }
    
      /**
       * Returns {@code throwable}'s cause, cast to {@code expectedCauseType}.
       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. internal/lru/lru.go

    	newestEntry time.Time
    }
    
    // noEvictionTTL - very long ttl to prevent eviction
    const noEvictionTTL = time.Hour * 24 * 365 * 10
    
    // because of uint8 usage for nextCleanupBucket, should not exceed 256.
    // casting it as uint8 explicitly requires type conversions in multiple places
    const numBuckets = 100
    
    // NewLRU returns a new thread-safe cache with expirable entries.
    //
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       */
      private static int getAlphaIndex(char c) {
        // Fold upper-case ASCII to lower-case and make zero-indexed and unsigned (by casting to char).
        return (char) ((c | CASE_MASK) - 'a');
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            public DfsStorageInfo() {
                // Default constructor
            }
    
            /**
             * Storage state flags
             */
            public int state;
            /**
             * Server name hosting the storage
             */
            public String server_name;
            /**
             * Share name on the server
             */
            public String share_name;
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        response1.close()
    
        // Force a fresh connection for the next request.
        client.connectionPool.evictAll()
    
        // Confirm that a second request also succeeds. This should detect caching problems.
        server.enqueue(
          MockResponse
            .Builder()
            .body("def")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        val call2 =
          client.newCall(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  10. docs/recipes.md

            }
          }
    
          static class Gist {
            Map<String, GistFile> files;
          }
    
          static class GistFile {
            String content;
          }
        ```
    
    ### Response Caching ([.kt][CacheResponseKotlin], [.java][CacheResponseJava])
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top