Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setValue (0.09 sec)

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

                    return entry;
                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

                    return entry;
                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

                    enqueueNotification(
                        key, hash, entryValue, valueReference.getWeight(), RemovalCause.COLLECTED);
                    setValue(e, key, value, now);
                    newCount = this.count; // count remains unchanged
                  } else {
                    setValue(e, key, value, now);
                    newCount = this.count + 1;
                  }
                  this.count = newCount; // write-volatile
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return map;
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(LocalCacheTest.class);
        suite.addTest(
    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. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return map;
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(LocalCacheTest.class);
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            if (closed) {
              return;
            }
            closed = true;
          }
          for (Map.Entry<AutoCloseable, Executor> entry : entrySet()) {
            closeQuietly(entry.getKey(), entry.getValue());
          }
          clear();
          if (whenClosed != null) {
            whenClosed.countDown();
          }
        }
    
        void add(@CheckForNull AutoCloseable closeable, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    		}
    		labels1["le"] = fmt.Sprintf("%.3f", math.Inf(+1))
    		metrics = append(metrics, MetricV2{
    			Description:    desc,
    			VariableLabels: labels1,
    			Value:          dtoMetric.Counter.GetValue(),
    		})
    	}
    	return metrics
    }
    
    func getBucketTTFBMetric() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;->getKey()Ljava/lang/Object;
    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;->getValue()Ljava/lang/Object;
    HSPLandroidx/arch/core/internal/SafeIterableMap$IteratorWithAdditions;-><init>(Landroidx/arch/core/internal/SafeIterableMap;)V
    HSPLandroidx/arch/core/internal/SafeIterableMap$IteratorWithAdditions;->hasNext()Z
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top