- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,069 for nBytes (0.09 sec)
-
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
public void testMumurHash64() { byte[] bytes = "test".getBytes(UTF_8); assertEquals( 1618900948208871284L, Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1)); bytes = "test test test".getBytes(UTF_8); assertEquals( UnsignedLong.valueOf("12313169684067793560").longValue(), Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/storage-rest-common_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalnsScannerOptions(t *testing.T) { v := nsScannerOptions{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
} // Setters for test control void setSetupBytesWritten(int bytes) { this.setupBytesWritten = bytes; } void setParameterBytesWritten(int bytes) { this.parameterBytesWritten = bytes; } void setDataBytesWritten(int bytes) { this.dataBytesWritten = bytes; } } @BeforeEach void setUp() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// idFileSystem (4 bytes) - skipped in decode SMBUtil.writeInt4(0, buffer, offset); offset += 4; // sectPerAlloc (4 bytes) SMBUtil.writeInt4(8, buffer, offset); offset += 4; // alloc (4 bytes) SMBUtil.writeInt4(1000000, buffer, offset); offset += 4; // free (4 bytes) SMBUtil.writeInt4(500000, buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
* well-formed. * * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space. */ public static boolean isWellFormed(byte[] bytes) { return isWellFormed(bytes, 0, bytes.length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
* * If this flag is set, the next four * bytes represent the mask key. These bytes appear after any additional bytes specified by [B1_MASK_LENGTH]. */ internal const val B1_FLAG_MASK = 128 /** * Byte 1 mask for the payload length. * * If this value is [PAYLOAD_SHORT], the next two * bytes represent the length. If this value is [PAYLOAD_LONG], the next eight bytes * represent the length. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
public void setEpoch(int epoch) { this.epoch = epoch; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqL2") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 52 bytes (lease V2 structure) return 16 + 4 + 4 + 52; } @Override public int encode(byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
int totalBytes = hashCode.bits() / 8; for (int bytes = 0; bytes < totalBytes; bytes++) { byte[] bb = new byte[bytes]; hashCode.writeBytesTo(bb, 0, bb.length); assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb)); } } private static class ExpectedHashCode { final byte[] bytes; final int asInt;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
// Verify the raw bytes are correctly stored assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input"); } /** * Test constructor with a target name string. * Verifies that the string is correctly encoded to UTF-16LE bytes and stored. */ @Test void testConstructorWithString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)