Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for newKey (0.03 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * Entry object is likely to have a non-final value field, which is not safe to read when
         * unsafely published. (The Entry object might even be newly created by each iterator.next()
         * call, so we can't assume that writes to the Entry have been safely published by some other
         * synchronization actions.)
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

        long requestCount = requestCount();
        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned an uncached (newly
       * loaded) value, or null. Multiple concurrent calls to {@link Cache} lookup methods on an absent
       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Copies an iterable's elements into an array.
       *
       * @param iterable the iterable to copy
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of the iterable have been copied
       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(request.header("d")).isEqualTo("f")
        val requestHeaders = request.headers
        assertThat(LinkedHashSet(requestHeaders.values("D"))).isEqualTo(newSet("e", "f"))
        assertThat(LinkedHashSet(requestHeaders.values("d"))).isEqualTo(newSet("e", "f"))
        val response = getResponse(request)
        response.close()
        val recordedRequest = server.takeRequest()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEqualTo(new File("/c:/Documents ~ Settings, or not/11-12 12:05"));
      }
    
      // https://github.com/google/guava/issues/2152
      @AndroidIncompatible // works in newer Android versions but fails at the version we test with
      public void testToFile_androidIncompatible() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableCollection.java

        public Builder<E> addAll(Iterator<? extends E> elements) {
          while (elements.hasNext()) {
            add(elements.next());
          }
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableCollection} of the appropriate type, containing the
         * elements provided to this builder.
         *
         * <p>Note that each builder class covariantly returns the appropriate type of {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableCollection.java

        public Builder<E> addAll(Iterator<? extends E> elements) {
          while (elements.hasNext()) {
            add(elements.next());
          }
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableCollection} of the appropriate type, containing the
         * elements provided to this builder.
         *
         * <p>Note that each builder class covariantly returns the appropriate type of {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableListMultimap.java

        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
          super.orderValuesBy(valueComparator);
          return this;
        }
    
        /** Returns a newly-created immutable list multimap. */
        @Override
        public ImmutableListMultimap<K, V> build() {
          return (ImmutableListMultimap<K, V>) super.build();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * VarHandleAtomicHelperMaker, forcing us all the way to SynchronizedHelper.
       *
       * Additionally, it seems that nestmates do not help with runtime reflection under *Android*, even
       * when we use a newer -source and -target. That doesn't normally matter for AbstractFutureState,
       * since Android should normally succed in using UnsafeAtomicHelper and thus never even try the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (success && !entry.readable) {
          for (i in 0 until valueCount) {
            if (!editor.written!![i]) {
              editor.abort()
              throw IllegalStateException("Newly created entry didn't create value for index $i")
            }
            if (!fileSystem.exists(entry.dirtyFiles[i])) {
              editor.abort()
              return
            }
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top