- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 351 for Funnels (0.06 seconds)
-
android/guava/src/com/google/common/hash/Funnels.java
import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * Funnels for common types. All implementations are serializable. * * @author Dimitris Andreou * @since 11.0 */ @Beta public final class Funnels { private Funnels() {} /** Returns a funnel that extracts the bytes from a {@code byte} array. */ public static Funnel<byte[]> byteArrayFunnel() { return ByteArrayFunnel.INSTANCE; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Funnel.java
* Implementations for common types can be found in {@link Funnels}. * * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper * serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), ItemCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
package com.google.common.hash; import static com.google.common.hash.Funnels.byteArrayFunnel; import static com.google.common.hash.Funnels.integerFunnel; import static com.google.common.hash.Funnels.longFunnel; import static com.google.common.hash.Funnels.sequentialFunnel; import static com.google.common.hash.Funnels.stringFunnel; import static com.google.common.hash.Funnels.unencodedCharsFunnel; import static com.google.common.truth.Truth.assertThat;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.hash; import static com.google.common.hash.Funnels.byteArrayFunnel; import static com.google.common.hash.Hashing.murmur3_128; import static com.google.common.truth.Truth.assertThat; import static java.nio.charset.StandardCharsets.UTF_8;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.hash; import static com.google.common.hash.Funnels.byteArrayFunnel; import static com.google.common.hash.Hashing.murmur3_32; import static com.google.common.hash.Hashing.murmur3_32_fixed; import static java.nio.charset.StandardCharsets.UTF_16;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.hash; import static com.google.common.hash.Funnels.byteArrayFunnel; import static com.google.common.hash.Hashing.murmur3_32; import static com.google.common.hash.Hashing.murmur3_32_fixed; import static java.nio.charset.StandardCharsets.UTF_16;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
* That may happen later by the connection pool thread. */ fun cancel() /** * Carries an exchange. This is usually a connection, but it could also be a connect plan for * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections. */ interface Carrier { val route: Route fun trackFailure( call: RealCall, e: IOException?, )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java
import com.google.common.collect.Ordering; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NullUnmarked; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for an undirected {@link StandardMutableNetwork}. */ @AndroidIncompatible @RunWith(Parameterized.class) @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
*/ @Immutable abstract class AbstractHashFunction implements HashFunction { @Override public <T extends @Nullable Object> HashCode hashObject( @ParametricNullness T instance, Funnel<? super T> funnel) { return newHasher().putObject(instance, funnel).hash(); } @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length(); return newHasher(len * 2).putUnencodedChars(input).hash();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
*/ package com.google.common.graph; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NullUnmarked; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for an undirected {@link StandardMutableGraph}. */ @AndroidIncompatible @RunWith(Parameterized.class) @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0)