- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,351 for BYTE (0.21 sec)
-
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
private static class TestServerMessageBlock extends ServerMessageBlock { private byte[] paramWords; private byte[] bytes; TestServerMessageBlock() { super(); this.paramWords = new byte[0]; this.bytes = new byte[0]; } void setParamWords(byte[] paramWords) { this.paramWords = paramWords;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Given - Create a complete SMB2 message with header byte[] buffer = new byte[512]; int headerStart = 0; int bodyStart = Smb2Constants.SMB2_HEADER_LENGTH; // Write SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, headerStart, 4); // Structure size (64)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testReadBytesWireFormatNegativeAsUnsigned() { // Given byte[] buffer = new byte[10]; // Write -1 which will be read as 65535 unsigned buffer[0] = (byte) 0xFF; buffer[1] = (byte) 0xFF; // When & Then SMBProtocolDecodingException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/bytes/compare_test.go
) var compareTests = []struct { a, b []byte i int }{ {[]byte(""), []byte(""), 0}, {[]byte("a"), []byte(""), 1}, {[]byte(""), []byte("a"), -1}, {[]byte("abc"), []byte("abc"), 0}, {[]byte("abd"), []byte("abc"), 1}, {[]byte("abc"), []byte("abd"), -1}, {[]byte("ab"), []byte("abc"), -1}, {[]byte("abc"), []byte("ab"), 1}, {[]byte("x"), []byte("ab"), 1}, {[]byte("ab"), []byte("x"), -1}, {[]byte("x"), []byte("a"), 1},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
byte[] dst = new byte[42]; // When int result = trans2SetFileInformation.writeDataWireFormat(dst, 0); // Then assertEquals(40, result); // Returns 40 bytes written } @Test void testReadSetupWireFormat() { // When int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
assertCrc(0x62a8ab43, fulls); } public void testFull100() { // Test 100 byte array of 0xFF. byte[] fulls = new byte[100]; Arrays.fill(fulls, (byte) 0xFF); assertCrc(0xbc753add, fulls); } public void testAscending() { // Test 32 byte arrays of ascending. byte[] ascending = new byte[32]; for (int i = 0; i < 32; i++) { ascending[i] = (byte) i; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
} return } // MarshalMsg implements msgp.Marshaler func (z BatchJobSize) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendInt64(o, int64(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchJobSize) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 int64 zb0001, bts, err = msgp.ReadInt64Bytes(bts) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
private static final SecureRandom RANDOM = new SecureRandom(); private byte[] lmResponse; private byte[] ntResponse; private String domain; private String user; private String workstation; private byte[] masterKey = null; private byte[] sessionKey = null; static { DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Test initial encryption byte[] plaintext1 = "Before rotation".getBytes(); byte[] encrypted1 = context.encryptMessage(plaintext1, 1L); byte[] decrypted1 = context.decryptMessage(encrypted1); assertArrayEquals(plaintext1, decrypted1); // When - Rotate keys byte[] newEncKey = new byte[16]; byte[] newDecKey = new byte[16]; new SecureRandom().nextBytes(newEncKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)