- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,385 for 1byte (0.02 sec)
-
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) { return 33; } }; testBlock.configureForTest(true, 2); testBlock.setCommand((byte) ServerMessageBlock.SMB_COM_NT_CREATE_ANDX); byte[] buffer = new byte[1024]; buffer[33] = 34; // wordCount for extended response buffer[34] = (byte) 0xFF; // andxCommand
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9. byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER); byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }); byte[] packet = new byte[header.length + body.length]; System.arraycopy(header, 0, packet, 0, header.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test @DisplayName("Test readParametersWireFormat with valid data") void testReadParametersWireFormat() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
return false; } byte[] bytes = ip.getAddress(); if ((bytes[8] | (byte) 0x03) != (byte) 0x03) { // Verify that high byte of the 64 bit identifier is zero, modulo // the U/L and G bits, with which we are not concerned. return false; } return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
// Test Trans2 subcommands assertEquals((byte) 0x01, SmbComTransaction.TRANS2_FIND_FIRST2); assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2); assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION); assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION); assertEquals((byte) 0x10, SmbComTransaction.TRANS2_GET_DFS_REFERRAL);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/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
return true; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
} func (x xlMetaInlineData) json(value bool) ([]byte, error) { if len(x) == 0 { return []byte("{}"), nil } if !x.versionOK() { return nil, errors.New("xlMetaInlineData: unknown version") } sz, buf, err := msgp.ReadMapHeaderBytes(x.afterVersion()) if err != nil { return nil, err } res := []byte("{") for i := range sz { var key, val []byte key, buf, err = msgp.ReadMapKeyZC(buf)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
if (dataSize > outputBuffer.length) { return; // Skip sizes larger than buffer } byte[] sourceData = new byte[dataSize]; for (int i = 0; i < dataSize; i++) { sourceData[i] = (byte) (i % 256); } byte[] buffer = new byte[dataSize + 50]; System.arraycopy(sourceData, 0, buffer, 10, dataSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
String sessionId = "test-session-2"; byte[] salt = preauthService.generatePreauthSalt(); preauthService.initializeSession(sessionId, salt, PreauthIntegrityService.HASH_ALGO_SHA512); byte[] initialHash = preauthService.getCurrentPreauthHash(sessionId); assertNotNull(initialHash); // Update with negotiate message byte[] negotiateMessage = "SMB2 Negotiate Request".getBytes();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
// Tag [1] IMPLICIT, content is 0x01 0x02 0x03 byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 }; ByteArrayInputStream bais = new ByteArrayInputStream(data); ASN1InputStream ais = new ASN1InputStream(bais); byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais); assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0)