- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 310 for nBytes (0.04 sec)
-
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
Murmur3_32Hasher(int seed) { this.h1 = seed; this.length = 0; isDone = false; } private void update(int nBytes, long update) { // 1 <= nBytes <= 4 buffer |= (update & 0xFFFFFFFFL) << shift; shift += nBytes * 8; length += nBytes; if (shift >= 32) { h1 = mixH1(h1, mixK1((int) buffer)); buffer >>>= 32; shift -= 32; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
Murmur3_32Hasher(int seed) { this.h1 = seed; this.length = 0; isDone = false; } private void update(int nBytes, long update) { // 1 <= nBytes <= 4 buffer |= (update & 0xFFFFFFFFL) << shift; shift += nBytes * 8; length += nBytes; if (shift >= 32) { h1 = mixH1(h1, mixK1((int) buffer)); buffer >>>= 32; shift -= 32; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p>This escaper is suitable for escaping parameter names and values even when <a * href="https://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2">using the non-standard
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
* byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p>This escaper is suitable for escaping parameter names and values even when <a * href="https://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2">using the non-standard
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
public static boolean isCompatIPv4Address(Inet6Address ip) { if (!ip.isIPv4CompatibleAddress()) { return false; } byte[] bytes = ip.getAddress(); if ((bytes[12] == 0) && (bytes[13] == 0) && (bytes[14] == 0) && ((bytes[15] == 0) || (bytes[15] == 1))) { return false; } return true; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
public static boolean isCompatIPv4Address(Inet6Address ip) { if (!ip.isIPv4CompatibleAddress()) { return false; } byte[] bytes = ip.getAddress(); if ((bytes[12] == 0) && (bytes[13] == 0) && (bytes[14] == 0) && ((bytes[15] == 0) || (bytes[15] == 1))) { return false; } return true; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
import com.google.common.collect.Lists; public class MemoryUtilTest extends UnitFessTestCase { public void test_byteCountToDisplaySize() { assertEquals("0bytes", MemoryUtil.byteCountToDisplaySize(0L)); assertEquals("999bytes", MemoryUtil.byteCountToDisplaySize(999L)); assertEquals("1000bytes", MemoryUtil.byteCountToDisplaySize(1000L));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes) } @Test fun `point with only y set`() { val bytes = "3003810109".decodeHex() val point = Point(null, 9L) assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point) assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes) } @Test fun `point with both fields set`() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
// loop we keep 56 bytes of state: v, w, x, y, and z. long x = load64(bytes, offset); long y = load64(bytes, offset + length - 16) ^ K1; long z = load64(bytes, offset + length - 56) ^ K0; long[] v = new long[2]; long[] w = new long[2]; weakHashLength32WithSeeds(bytes, offset + length - 64, length, y, v);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
val body = body("") assertThat(body.bytes().size).isEqualTo(0) } @Test fun bytesSeesBom() { val body = body("efbbbf68656c6c6f") val bytes = body.bytes() assertThat(bytes[0] and 0xff).isEqualTo(0xef) assertThat(bytes[1] and 0xff).isEqualTo(0xbb) assertThat(bytes[2] and 0xff).isEqualTo(0xbf) assertThat(String(bytes, 3, 5, StandardCharsets.UTF_8)).isEqualTo("hello") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.4K bytes - Viewed (0)