- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 378 for 0xF0 (0.02 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0x02, Smb2QueryDirectoryRequest.SMB2_RETURN_SINGLE_ENTRY); assertEquals(0x04, Smb2QueryDirectoryRequest.SMB2_INDEX_SPECIFIED); assertEquals(0x10, Smb2QueryDirectoryRequest.SMB2_REOPEN); } @Test @DisplayName("Test with Unicode filename") void testUnicodeFileName() { request = new Smb2QueryDirectoryRequest(mockConfig);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertTrue(n > 0); // Common AndX header: command at +1, reserved at +2, offset at +3/+4 assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining"); assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0"); assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining"); assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Initialize test data for (int i = 0; i < 16; i++) { testMachineId[i] = (byte) (i + 1); } for (int i = 0; i < 32; i++) { testSalt[i] = (byte) (i + 0x10); } // Default configuration for SMB 3.1.1 with encryption when(mockConfig.isDfsDisabled()).thenReturn(false); when(mockConfig.isEncryptionEnabled()).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
this.flags0 |= fl; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x00; dstIndex++; // name length without counting null termination this.namelen_index = dstIndex; dstIndex += 2; SMBUtil.writeInt4(this.flags0, dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test setCommand with various SMB command codes") void testSetCommandWithVariousCodes() { // Test common SMB command codes int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF }; for (int command : commandCodes) { doNothing().when(messageBlock).setCommand(command); when(messageBlock.getCommand()).thenReturn(command);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
final int padLen = bufferNdx < 56 ? 56 - bufferNdx : 120 - bufferNdx; // padding is alwas binary 1 followed by binary 0s final byte[] tail = new byte[padLen + 8]; tail[0] = (byte) 0x80; // append length before final transform: // save number of bits, casting the long to an array of 8 bytes // save low-order byte first. for (int i = 0; i < 8; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
internal/grid/msg_gen.go
if err != nil { return } err = en.WriteBytes((z.ID)[:]) if err != nil { err = msgp.WrapError(err, "ID") return } // write "Accepted" err = en.Append(0xa8, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64) if err != nil { return } err = en.WriteBool(z.Accepted) if err != nil { err = msgp.WrapError(err, "Accepted") return } // write "RejectedReason"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 22.4K bytes - Click Count (0) -
cmd/object-api-interface_gen.go
// MarshalMsg implements msgp.Marshaler func (z ExpirationOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 1 // string "Expire" o = append(o, 0x81, 0xa6, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65) o = msgp.AppendBool(o, z.Expire) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *ExpirationOptions) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB_LEGACY }; int flags = NegTokenInit.REPLAY_DETECTION | NegTokenInit.SEQUENCE_CHECKING; byte[] mic = new byte[] { 0x00, 0x0A, (byte) 0xFF }; NegTokenInit init = new NegTokenInit(mechs, flags, null, mic); String s = init.toString(); assertTrue(s.contains("flags=" + flags), "toString should include flags");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); } @ParameterizedTest @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF }) @DisplayName("initSecContext throws on invalid token type") void testInitSecContextInvalidTokenType(byte firstByte) throws Exception { SpnegoContext ctx = newContext();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0)