- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for Compute (0.16 sec)
-
guava-tests/test/com/google/common/math/QuantilesTest.java
} public void testScale_index_compute_doubleCollection() { assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_DOUBLES)) .isWithin(ALLOWED_ERROR) .of(SIXTEEN_SQUARES_DECILE_1); } public void testScale_index_compute_longCollection() { assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_LONGS)) .isWithin(ALLOWED_ERROR)
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
} public void testScale_index_compute_doubleCollection() { assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_DOUBLES)) .isWithin(ALLOWED_ERROR) .of(SIXTEEN_SQUARES_DECILE_1); } public void testScale_index_compute_longCollection() { assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_LONGS)) .isWithin(ALLOWED_ERROR)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
// b/80241237 Cache<String, String> c = CacheBuilder.newBuilder().maximumSize(1).build(); assertThat(c.asMap().compute("hash-1", (k, v) -> "a")).isEqualTo("a"); assertThat(c.asMap().compute("hash-1", (k, v) -> "b")).isEqualTo("b"); assertThat(c.asMap().compute("hash-1", (k, v) -> "c")).isEqualTo("c"); assertThat(c.size()).isEqualTo(1); assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/base/SmallCharMatcher.java
// Compute the filter. long filter = 0; int size = chars.cardinality(); boolean containsZero = chars.get(0); // Compute the hash table. char[] table = new char[chooseTableSize(size)]; int mask = table.length - 1; for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) { // Compute the filter at the same time. filter |= 1L << c;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
*/ @Nullable <T> T get(@Nonnull Key<T> key); /** * Retrieve of compute the data associated with the specified key. * * @param key the key for which to retrieve the session data, must not be {@code null} * @param supplier the supplier will compute the new value * @return the session data associated with the key */ @Nullable
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
// Compute the filter. long filter = 0; int size = chars.cardinality(); boolean containsZero = chars.get(0); // Compute the hash table. char[] table = new char[chooseTableSize(size)]; int mask = table.length - 1; for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) { // Compute the filter at the same time. filter |= 1L << c;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
.getOrDefault(artifact.getBaseVersion(), null); } // groupId -> (artifactId -> (version -> project))) private Map<String, Map<String, Map<String, MavenProject>>> getAllProjects() { // compute the projects mapping if (allProjects == null) { List<MavenProject> allProjects = session.getAllProjects(); if (allProjects != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
this.id = id; this.transitive = transitive; } /** * The {@code id} uniquely represents a value for this extensible enum. * This id should be used to compute the equality and hash code for the instance. * * @return the id */ @Nonnull public String id() { return id; } public boolean isTransitive() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Mar 27 14:46:12 GMT 2024 - 3.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
* @see #getModuleInfo(Path) */ private final Map<Path, PathModularization> moduleInfo; /** * Whether JAR files are modular. This map is redundant with {@link #moduleInfo}, * but cheaper to compute when the module names are not needed. * * @see #getPathType(Path) */ private final Map<Path, PathType> pathTypes; /** * Creates an initially empty cache. */
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
// use original key return parent.computeIfPresent(key, remappingFunction); } @Override public V compute(final K key, final BiFunction<? super K, ? super V, ? extends V> remappingFunction) { // use original key return parent.compute(key, remappingFunction); } @Override
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.3K bytes - Viewed (0)