- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 198 for fwrite (0.14 sec)
-
guava-tests/test/com/google/common/math/PairedStatsTest.java
assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance()) .isWithin(ALLOWED_ERROR) .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2); // For datasets of many double values, we test many combinations of finite and non-finite // x-values: for (ManyValues values : ALL_MANY_VALUES) { PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES); double populationCovariance = stats.populationCovariance();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance()) .isWithin(ALLOWED_ERROR) .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2); // For datasets of many double values, we test many combinations of finite and non-finite // x-values: for (ManyValues values : ALL_MANY_VALUES) { PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES); double populationCovariance = stats.populationCovariance();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(TWO_VALUES_STATS.mean()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN); // For datasets of many double values created from an array, we test many combinations of finite // and non-finite values: for (ManyValues values : ALL_MANY_VALUES) { double mean = Stats.of(values.asArray()).mean(); if (values.hasAnyNaN()) { assertWithMessage("mean of " + values).that(mean).isNaN();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 32.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
.isWithin(ALLOWED_ERROR) .of(MANY_VALUES_MEAN); // For datasets of many double values created from an iterable, we test many combinations of // finite and non-finite values: for (ManyValues values : ALL_MANY_VALUES) { StatsAccumulator accumulator = new StatsAccumulator(); StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 36.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
@SuppressWarnings("unchecked") Class<TestEnum> shadowTestEnum = (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader); assertNotSame(shadowTestEnum, TestEnum.class); // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original // ClassLoader. Set<Object> shadowConstants = new HashSet<>(); for (TestEnum constant : TestEnum.values()) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { out.write(buf, off, len); return true; } @Override public byte[] getResult() { return out.toByteArray(); } });
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} catch (UnsupportedOperationException expected) { } } /** * Verifies that an Iterator is unmodifiable. * * <p>This test only works with iterators that iterate over a finite set. */ public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) { while (iterator.hasNext()) { iterator.next(); try { iterator.remove();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 14.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* * <p>With method references it is more succinct: {@code comparing(Foo::aString)} for example. * * <p>Using {@link Comparator} avoids certain types of bugs, for example when you meant to write * {@code .compare(a.foo, b.foo)} but you actually wrote {@code .compare(a.foo, a.foo)} or {@code * .compare(a.foo, b.bar)}. {@code ComparisonChain} also has a potential performance problem that
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Sep 21 17:28:11 GMT 2022 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
* infinite value and itself, the infinite value is returned. If required to do a weighted average * between {@link Double#NEGATIVE_INFINITY NEGATIVE_INFINITY} and {@link Double#POSITIVE_INFINITY * POSITIVE_INFINITY}, {@link Double#NaN NaN} is returned (note that this will only happen if the * dataset contains no finite values). * * <h3>Performance</h3> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
// 8 expires ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(0, 1, 2, 5, 7, 9); } public void testExpirationOrder_write() throws ExecutionException { // test lru within a single segment FakeTicker ticker = new FakeTicker(); IdentityLoader<Integer> loader = identityLoader(); LoadingCache<Integer, Integer> cache =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0)