- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for naive (0.01 sec)
-
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* * @author mike nonemacher */ @GwtCompatible @NullUnmarked final class TestingCacheLoaders { /** * Returns a {@link CacheLoader} that implements a naive {@link CacheLoader#loadAll}, delegating * {@link CacheLoader#load} calls to {@code loader}. */ static <K, V> CacheLoader<K, V> bulkLoader(CacheLoader<K, V> loader) { checkNotNull(loader);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
*/ static double calculateNewMeanNonFinite(double previousMean, double value) { /* * Desired behaviour is to match the results of applying the naive mean formula. In particular, * the update formula can subtract infinities in cases where the naive formula would add them. * * Consequently: * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertEquals(1, future.get(-1, SECONDS).intValue()); } @J2ktIncompatible @GwtIncompatible // threads public void testOverflowTimeout() throws Exception { // First, sanity check that naive multiplication would really overflow to a negative number: long nanosPerSecond = NANOSECONDS.convert(1, SECONDS); assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
} @Test @DisplayName("Test capacity calculation overflow handling") void testCapacityCalculationOverflow() throws SMBProtocolDecodingException { // Prepare test data that might cause overflow in naive implementations byte[] buffer = new byte[22]; int idFileSystem = 0; int sectPerAlloc = 1000; int alloc = 1000000; // Large allocation count int free = 500000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/object-api-utils_test.go
} func concatNaive(ss ...string) string { rs := ss[0] for i := 1; i < len(ss); i++ { rs += ss[i] } return rs } func benchmark(b *testing.B, data []string) { b.Run("concat naive", func(b *testing.B) { b.ResetTimer() b.ReportAllocs() for b.Loop() { concatNaive(data...) } }) b.Run("concat fast", func(b *testing.B) { b.ResetTimer() b.ReportAllocs() for b.Loop() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
* have file descriptors. Bytes are copied from the file into a kernel buffer, then directly * into the other buffer (userspace). Note that if the file is very large, a naive * implementation will effectively put the whole file in memory. On many systems with paging * and virtual memory, this is not a problem - because it is mapped read-only, the kernel
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.native.js
cpovirk <******@****.***> 1685135561 -0700
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri May 26 21:15:08 UTC 2023 - 73 bytes - Viewed (0) -
okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/native-image.properties
Yuri Schimke <******@****.***> 1735306796 +0200
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 144 bytes - Viewed (0) -
okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/native-image.properties
Yuri Schimke <******@****.***> 1734771389 +0200
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Dec 21 08:56:29 UTC 2024 - 144 bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js
goktug <******@****.***> 1585082487 -0700
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Mar 25 14:03:03 UTC 2020 - 527 bytes - Viewed (0)