- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 854 for xBytes (0.03 sec)
-
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
@Test void readTrailerWireFormatShouldReadSixBytesSuccessfully() throws IOException { // Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
MountPath: "/tmp/drive1", ID: "uuid", Error: "", } var buf bytes.Buffer gob.NewEncoder(&buf).Encode(v) encoded := buf.Bytes() b.Log("Size:", buf.Len(), "bytes") b.SetBytes(1) b.ReportAllocs() for b.Loop() { dec := gob.NewDecoder(bytes.NewBuffer(encoded)) err := dec.Decode(&v) if err != nil { b.Fatal(err) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
// For CCM cipher, pad nonce to 16 bytes with zeros System.arraycopy(nonce, 0, this.nonce, 0, 12); // Last 4 bytes remain zero-initialized } else if (nonce.length == 16) { // For GCM cipher, use full 16-byte nonce System.arraycopy(nonce, 0, this.nonce, 0, 16); } else { throw new IllegalArgumentException("Nonce must be 12 bytes (CCM) or 16 bytes (GCM)"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
assertEquals(0, response.writeParameterWordsWireFormat(null, 0), "Should write 0 bytes"); } @Test @DisplayName("writeBytesWireFormat returns zero bytes written") void testWriteBytesWireFormat() { byte[] buf = new byte[10]; assertEquals(0, response.writeBytesWireFormat(buf, 0), "Should write 0 bytes"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/batch-handlers_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBatchJobPrefix(t *testing.T) { v := BatchJobPrefix{} 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: Thu Aug 01 12:53:30 UTC 2024 - 6.7K bytes - Viewed (0) -
cmd/local-locker_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshallocalLockMap(t *testing.T) { v := localLockMap{} 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: Mon Feb 19 22:54:46 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
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) -
src/bufio/scan_test.go
genLine(tmp, lineNum, j, false) if j < smallMaxTokenSize { j++ } else { j-- } line := tmp.Bytes() if !bytes.Equal(s.Bytes(), line) { t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Bytes(), line) } } err := s.Err() if err != ErrTooLong { t.Fatalf("expected ErrTooLong; got %s", err) } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K 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)