Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Sissel (0.28 sec)

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

          int expectedSize) {
        return new CompactLinkedHashSet<>(expectedSize);
      }
    
      private static final int ENDPOINT = -2;
    
      // TODO(user): predecessors and successors should be collocated (reducing cache misses).
      // Might also explore collocating all of [hash, next, predecessor, successor] fields of an
      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
          V value = get(key);
          if (value == null) {
            misses++;
          } else {
            // TODO(fry): store entry key instead of query key
            @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheStats.java

       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
        return missCount;
      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
        return missCount;
      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/AbstractCache.java

         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

          int expectedSize) {
        return new CompactLinkedHashSet<>(expectedSize);
      }
    
      private static final int ENDPOINT = -2;
    
      // TODO(user): predecessors and successors should be collocated (reducing cache misses).
      // Might also explore collocating all of [hash, next, predecessor, successor] fields of an
      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
          V value = get(key);
          if (value == null) {
            misses++;
          } else {
            // TODO(fry): store entry key instead of query key
            @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

          hits.add(allConstants[allConstants.length - 1].name());
        }
    
        List<String> misses = new ArrayList<>();
        for (int i = 0; i < 256 - hits.size(); ++i) {
          misses.add("INVALID");
        }
    
        List<String> sampleDataList = new ArrayList<>();
        sampleDataList.addAll(hits);
        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

          hits.add(allConstants[allConstants.length - 1].name());
        }
    
        List<String> misses = new ArrayList<>();
        for (int i = 0; i < 256 - hits.size(); ++i) {
          misses.add("INVALID");
        }
    
        List<String> sampleDataList = new ArrayList<>();
        sampleDataList.addAll(hits);
        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top