- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,693 for byte2 (0.02 sec)
-
src/main/java/jcifs/ntlmssp/Type3Message.java
hmac.update(this.ntResponse, 0, 16); // only first 16 bytes of ntResponse final byte[] userSessionKey = hmac.digest(); if (getFlag(NTLMSSP_NEGOTIATE_KEY_EXCH)) { this.masterKey = new byte[16]; tc.getConfig().getRandom().nextBytes(this.masterKey); final byte[] encryptedKey = new byte[16]; final Cipher rc4 = Crypto.getArcfour(userSessionKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K 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/main/java/jcifs/smb1/util/Encdec.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
@Override public Hasher putByte(byte b) { update(1, b & 0xFF); return this; } @CanIgnoreReturnValue @Override public Hasher putBytes(byte[] bytes, int off, int len) { checkPositionIndexes(off, off + len, bytes.length); int i; for (i = 0; i + 4 <= len; i += 4) { update(4, getIntLittleEndian(bytes, off + i)); } for (; i < len; i++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
tests/serializer_test.go
} type CustomSerializer struct { prefix []byte } func NewCustomSerializer(prefix string) *CustomSerializer { return &CustomSerializer{prefix: []byte(prefix)} } func (c *CustomSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) { switch value := dbValue.(type) { case []byte: err = field.Set(ctx, dst, bytes.TrimPrefix(value, c.prefix)) case string:Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals((byte) 0xCC, buffer[4]); assertEquals((byte) 0xCC, buffer[5]); assertEquals((byte) 0xCC, buffer[6]); assertEquals((byte) 0xCC, buffer[7]); // FileId (16 bytes) - should match our test file ID byte[] wireFileId = new byte[16]; System.arraycopy(buffer, 8, wireFileId, 0, 16); assertArrayEquals(testFileId, wireFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Arrange: revision=1, count=2, identAuth zeros except last byte, subauth 10, 20 byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; rpc.sid_t st = buildSidT((byte) 1, ident, 10, 20); byte[] bytes = SID.toByteArray(st); // Act: construct from bytes and re-encode SID sid = new SID(bytes, 0); byte[] roundTrip = sid.toByteArray(); // AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int namedPipeState = 0x02; int readDataAvailable = 256; int numberOfMessages = 5; int messageLength = 128; byte[] testData = { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 }; // Write values to buffer at offset SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
// Context header: 16 bytes // Name: 4 bytes ("DLse") // Padding: 4 bytes (to align data to 8-byte boundary) // Standard lease data: 32 bytes // Directory-specific data: 20 bytes (CacheScope(4) + MaxCacheAge(8) + Flags(4) + NotificationFilter(4)) return 16 + 4 + 4 + 32 + 20; } @Override public int encode(byte[] buffer, int offset) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0)