- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for naive (0.04 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
architecture/networking/pilot.md
pj--trigger-->c end ``` At a high level, each client job will find the correct generator for the request, generate the required configuration, and send it. #### Optimizations A naive implementation would simply regenerate all resources, of all subscribed types, for each client, on any configuration change. However, this scales poorly. As a result, we have many levels of optimizations to avoid doing this work.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Feb 07 17:53:24 UTC 2024 - 19.1K 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 i := 0; i < b.N; i++ { concatNaive(data...) } }) b.Run("concat fast", func(b *testing.B) { b.ResetTimer() b.ReportAllocs()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0) -
.teamcity/subprojects.json
"path": "platforms/jvm/distributions-jvm", "unitTests": false, "functionalTests": false, "crossVersionTests": false }, { "name": "distributions-native", "path": "platforms/native/distributions-native", "unitTests": false, "functionalTests": false, "crossVersionTests": false }, { "name": "distributions-publishing",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 23 22:33:41 UTC 2024 - 34.3K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml
<!-- These packages are duplicated in ide-native from ide, don't require a package-info.java in each place --> <suppress checks="JavadocPackage" files=".*[/\\]ide-native[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]plugins[/\\]ide[/\\]api[/\\][^/\\]+"/> <!-- These packages are duplicated in platform-native from language-native, don't require a package-info.java in each place -->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
// In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case // (which seems to make more sense). try { UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1); fail(); } catch (NumberFormatException expected) { } catch (IllegalArgumentException expected) { // Kotlin native, see above } try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
.github/CODEOWNERS
# Native platforms/native/ @gradle/bt-native-maintainers # IDE Experience team platforms/ide/ @gradle/bt-ide-experience # Eventually be moved to the core platform. # Currently heavily developed by the bt-ide-experience team. platforms/ide/problems/ @gradle/bt-ide-experience
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 24 14:46:27 UTC 2024 - 10.6K bytes - Viewed (0)