Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 2,269 for value0 (0.11 seconds)

  1. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          Class<@NonNull T> type, @ParametricNullness T value) {
        return cast(type, put(type, value));
      }
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) {
        return cast(type, get(type));
      }
    
      @CanIgnoreReturnValue
      private static <T> @Nullable T cast(Class<T> type, @Nullable Object value) {
        return Primitives.wrap(type).cast(value);
      }
    
        private Object writeReplace() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      @SuppressWarnings("EnumOrdinal")
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
        assertEquals(BloomFilterStrategies.MURMUR128_MITZ_32, BloomFilterStrategies.values()[0]);
        assertEquals(BloomFilterStrategies.MURMUR128_MITZ_64, BloomFilterStrategies.values()[1]);
      }
    
    
      public void testNoRaceConditions() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
       * <p>This escaper is suitable for escaping parameter names and values even when <a
       * href="https://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2">using the non-standard
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

        fun name(name: String) =
          apply {
            require(name.trim() == name) { "name is not trimmed" }
            this.name = name
          }
    
        fun value(value: String) =
          apply {
            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  5. .teamcity/scripts/CheckRemoteProjectRef.java

                if (key.isEmpty()) continue;
                if (!props.containsKey(key)) {
                    missing.add(key);
                    continue;
                }
                String value = props.get(key);
                if (value == null || value.trim().isEmpty()) {
                    empty.add(key);
                }
            }
    
            if (!missing.isEmpty() || !empty.isEmpty()) {
                if (!missing.isEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        tasksFinished.await();
    
        // Check all of the removal notifications we received: they should have had correctly-associated
        // keys and values. (An earlier bug saw removal notifications for in-progress computations,
        // which had real keys with null values.)
        Map<String, String> removalNotifications = new HashMap<>();
        for (RemovalNotification<String, String> notification : listener) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        tasksFinished.await();
    
        // Check all of the removal notifications we received: they should have had correctly-associated
        // keys and values. (An earlier bug saw removal notifications for in-progress computations,
        // which had real keys with null values.)
        Map<String, String> removalNotifications = new HashMap<>();
        for (RemovalNotification<String, String> notification : listener) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        get() = typeHintStack.lastOrNull()
        set(value) {
          typeHintStack[typeHintStack.size - 1] = value
        }
    
      /** Names leading to the current location in the ASN.1 document. */
      private val path = mutableListOf<String>()
    
      /**
       * False unless we made a recursive call to [write] at the current stack frame. The explicit box
       * adapter can clear this to synthesize non-constructed values that are embedded in octet strings.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableMapEntry.java

      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
        return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size];
      }
    
      ImmutableMapEntry(K key, V value) {
        super(key, value);
        checkEntryNotNull(key, value);
      }
    
      // Redeclare methods to make them `final`, just to be extra-safe.
    
      @Override
      @ParametricNullness
      public final K getKey() {
        return super.getKey();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 21:42:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top