- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for FromInt (0.1 sec)
-
guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testFromInt() { for (ExpectedHashCode expected : expectedHashCodes) { if (expected.bytes.length == 4) { HashCode fromInt = HashCode.fromInt(expected.asInt); assertExpectedHashCode(expected, fromInt); } } } // expectedHashCodes must contain at least one hash code with 8 bytes public void testFromLong() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testFromInt() { for (ExpectedHashCode expected : expectedHashCodes) { if (expected.bytes.length == 4) { HashCode fromInt = HashCode.fromInt(expected.asInt); assertExpectedHashCode(expected, fromInt); } } } // expectedHashCodes must contain at least one hash code with 8 bytes public void testFromLong() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); }); } public void testCombineUnordered() { HashCode hash31 = HashCode.fromInt(31); HashCode hash32 = HashCode.fromInt(32); assertEquals(hash32, Hashing.combineUnordered(ImmutableList.of(hash32))); assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
internal/s3select/simdj/record.go
case simdjson.TypeInt: v, err := iter.Int() if err != nil { return nil, err } return sql.FromInt(v), nil case simdjson.TypeUint: v, err := iter.Int() if err != nil { // Can't fit into int, convert to float. v, err := iter.Float() return sql.FromFloat(v), err } return sql.FromInt(v), nil case simdjson.TypeBool: v, err := iter.Bool() if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
switch rval := result.(type) { case string: return FromString(rval), nil case float64: return FromFloat(rval), nil case int64: return FromInt(rval), nil case uint64: if rval <= math.MaxInt64 { return FromInt(int64(rval)), nil } return FromFloat(float64(rval)), nil case bool: return FromBool(rval), nil case jstream.KVS: bs, err := json.Marshal(result)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertEquals(hashUtf16, murmur3_32().newHasher().putString(str, UTF_16).hash()); } } private static void assertHash(int expected, HashCode actual) { assertEquals(HashCode.fromInt(expected), actual); } public void testParanoidHashBytes() { HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:29:46 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Selector: map[string]string{ "app": "productpage", }, Ports: []corev1.ServicePort{ { Name: "http", Port: 9080, TargetPort: intstr.FromInt(9080), }, }, }, }, &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "istio-ingressgateway", Namespace: "default", },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 30.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
private static HashCode fmix(int h1, int length) { h1 ^= length; h1 ^= h1 >>> 16; h1 *= 0x85ebca6b; h1 ^= h1 >>> 13; h1 *= 0xc2b2ae35; h1 ^= h1 >>> 16; return HashCode.fromInt(h1); } private static final class Murmur3_32Hasher extends AbstractHasher { private int h1; private long buffer; private int shift; private int length; private boolean isDone;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 11.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
Port: intstr.FromString("foo-2-port"), }, }, }, StartupProbe: &corev1.Probe{ ProbeHandler: corev1.ProbeHandler{ HTTPGet: &corev1.HTTPGetAction{ Port: intstr.FromInt(7777), }, }, }, } containers := []corev1.Container{app1} var podStatus corev1.PodStatus if v6IP { podStatus = corev1.PodStatus{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 25 16:13:38 UTC 2024 - 10.7K bytes - Viewed (0)