- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 134 for Combiner (0.07 seconds)
-
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
} /** * Reduces a map of boolean flags to a single property by applying the given combiner function * to the corresponding values of the properties that are true. * * @param flags The map of boolean properties to their values. * @param combiner The function to combine the values of the true properties. * * @return A property that contains the reduced value. */
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 18.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector, * so its return value will get used naturally. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") TopKSelector<T> combine(TopKSelector<T> other) { for (int i = 0; i < other.bufferSize; i++) { this.offer(uncheckedCastNullableTToT(other.buffer[i])); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/fr/docs/alternatives.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 27.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
.doubleValue(); /** * Returns a stream of a million primitive doubles. The stream is parallel, which should cause * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the * supplier and accumulator. */ static DoubleStream megaPrimitiveDoubleStream() { return DoubleStream.iterate(0.0, x -> x + 1.0).limit(MEGA_STREAM_COUNT).parallel(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 23.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
} @Test @DisplayName("Should combine referral data") void testCombine() { DfsReferralDataInternal combined = mock(DfsReferralDataInternal.class); // Test with mock when(mockReferralData.combine(mockDfsReferralData)).thenReturn(combined); DfsReferralDataInternal result = mockReferralData.combine(mockDfsReferralData); assertSame(combined, result);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
second.setDomain("DOMAIN"); // Combine DfsReferralDataInternal combined = first.combine(second); assertNotNull(combined); assertEquals("server2", combined.getServer()); assertEquals("share2", combined.getShare()); assertEquals("path2", combined.getPath()); assertEquals("DOMAIN", combined.getDomain());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
}, cli.BoolFlag{ Usage: "combine inline data", Name: "combine", }, cli.BoolFlag{ Usage: "combine inline data across versions when size matches", Name: "xver", }, } app.Action = func(c *cli.Context) error { ndjson := c.Bool("ndjson") if c.Bool("data") && c.Bool("combine") { return errors.New("cannot combine --data and --combine") } // file / version / fileCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
.newBuilder() .body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer())) .build() } companion object { /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */ private fun combine( cachedHeaders: Headers, networkHeaders: Headers, ): Headers { val result = Headers.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.3K bytes - Click Count (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
long hash1 = lowerEight(bytes); long hash2 = upperEight(bytes); boolean bitsChanged = false; long combinedHash = hash1; for (int i = 0; i < numHashFunctions; i++) { // Make the combined hash positive and indexable bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); combinedHash += hash2; } return bitsChanged; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jan 08 14:27:16 GMT 2025 - 10.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
return propertyValue; } /** * Checks if the passed in line should be combined with the following. * This is true, if the line ends with an odd number of backslashes. * * @param line the line * @return a flag if the lines should be combined */ private static boolean checkCombineLines(String line) { int bsCount = 0;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0)