- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for BB (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/dfs/ReferralTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
} private static void assertExpectedHashCode(ExpectedHashCode expectedHashCode, HashCode hash) { assertThat(hash.asBytes()).isEqualTo(expectedHashCode.bytes); byte[] bb = new byte[hash.bits() / 8]; hash.writeBytesTo(bb, 0, bb.length); assertThat(bb).isEqualTo(expectedHashCode.bytes); assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
} private static void assertExpectedHashCode(ExpectedHashCode expectedHashCode, HashCode hash) { assertThat(hash.asBytes()).isEqualTo(expectedHashCode.bytes); byte[] bb = new byte[hash.bits() / 8]; hash.writeBytesTo(bb, 0, bb.length); assertThat(bb).isEqualTo(expectedHashCode.bytes); assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
cache.evictAll() // Create a new value in its place. set("k1", "bb", "bb") assertThat(cache.size()).isEqualTo(4) // Committing the detached editor should not change the cache's size. editor.commit() assertThat(cache.size()).isEqualTo(4) assertValue("k1", "bb", "bb") } @Test fun noSizeCorruptionAfterEditorDetached() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs while (bb.position() < chunkSize) { bb.putLong(0); } Java8Compatibility.limit(bb, chunkSize); Java8Compatibility.flip(bb); process(bb); } @Override @CanIgnoreReturnValue public final Hasher putBytes(byte[] bytes, int off, int len) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// Verify encoded data ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN); assertEquals(maxReferralLevel, bb.getShort()); // Verify path encoding (UTF-16LE) byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE); byte[] encodedPath = new byte[pathBytes.length]; bb.get(encodedPath); assertArrayEquals(pathBytes, encodedPath);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
} @Test fun headersToString() { val headers = Headers .Builder() .add("A", "a") .add("B", "bb") .build() assertThat(headers.toString()).isEqualTo("A: a\nB: bb\n") } @Test fun headersToStringRedactsSensitiveHeaders() { val headers = Headers .Builder() .add("content-length", "99")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} @Override protected void process(ByteBuffer bb) { processCalled++; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); assertThat(bb.remaining()).isAtLeast(chunkSize); for (int i = 0; i < chunkSize; i++) { out.write(bb.get()); } } @Override protected void processRemaining(ByteBuffer bb) { assertFalse(remainingCalled);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
internal/grid/types.go
func NewBytesWith(b []byte) *Bytes { bb := Bytes(b) return &bb } // NewBytesWithCopyOf returns a new byte slice with a copy of the provided content. func NewBytesWithCopyOf(b []byte) *Bytes { if b == nil { bb := Bytes(nil) return &bb } bb := NewBytesCap(len(b)) *bb = append(*bb, b...) return bb } // Bytes provides a byte slice that can be serialized.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
// Convert from little-endian wire format to Java UUID ByteBuffer bb = ByteBuffer.wrap(bytes).order(java.nio.ByteOrder.LITTLE_ENDIAN); // Read GUID components in little-endian order int data1 = bb.getInt(); // first 4 bytes (little-endian) short data2 = bb.getShort(); // next 2 bytes (little-endian) short data3 = bb.getShort(); // next 2 bytes (little-endian)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0)