- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 71 for 0x00000006 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
*/ static Stream<org.junit.jupiter.params.provider.Arguments> validInputs() { return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000), org.junit.jupiter.params.provider.Arguments.of(0xFFFF, 0x12345678), org.junit.jupiter.params.provider.Arguments.of(-1, -123456)); } @ParameterizedTestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertEquals(SmbFile.TYPE_SHARE, otherShare.getType()); // Test with hidden flag (0x80000000) which should be ignored by getType() SmbShareInfo hiddenPrinter = new SmbShareInfo("HIDDEN_PRINTER", 1 | 0x80000000, "hidden printer"); assertEquals(SmbFile.TYPE_PRINTER, hiddenPrinter.getType()); } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5K bytes - Click Count (0) -
cmd/copy-part-range_test.go
// Test success cases. successCases := []struct { rangeString string offsetBegin int64 offsetEnd int64 }{ {"bytes=2-5", 2, 5}, {"bytes=2-9", 2, 9}, {"bytes=2-2", 2, 2}, {"bytes=0000-0006", 0, 6}, } objectSize := int64(10) for _, successCase := range successCases { rs, err := parseCopyPartRangeSpec(successCase.rangeString) if err != nil { t.Fatalf("expected: <nil>, got: %s", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getErrorCode() method. */ @Test void testGetErrorCode() { int errorCode = 0x00000005; // DCERPC_FAULT_ACCESS_DENIED DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "getErrorCode() should return the correct error code."); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
final byte[] temp = new byte[28 + targetInfoLength + 4]; Encdec.enc_uint32le(0x00000101, temp, 0); // Header Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved Encdec.enc_uint64le(nanos1601, temp, 8); System.arraycopy(clientChallenge, 0, temp, 16, 8); Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown if (targetInfo != null) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
testBlock.setErrorCode(0x00000001); String result = testBlock.toString(); assertTrue(result.contains("command=SMB_COM_TREE_CONNECT_ANDX")); assertTrue(result.contains("errorCode=")); // Should show non-zero error code assertTrue(result.contains("errorCode=0x00000001") || result.contains("errorCode=1")); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
* value and the corresponding little-endian byte array. */ static java.util.stream.Stream<Arguments> int32Provider() { return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }), Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
SMBUtil.writeInt4(status, buf, start + 8); // Command at +12 SMBUtil.writeInt2(command, buf, start + 12); // Flags at +16: server-to-redirector SMBUtil.writeInt4(0x00000001, buf, start + 16); // SessionId at +40 (sync header) SMBUtil.writeInt8(sessionId, buf, start + 40); } /** * Build a SESSION_SETUP response body with specified flags and security blob.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
private int maxMpxCount; private int snd_buf_size; private int recv_buf_size; private int tx_buf_size; private int capabilities; private final int sessionKey = 0x00000000; private boolean useUnicode; /** * Creates a new SMB1 negotiate response. * * @param ctx the CIFS context */ public SmbComNegotiateResponse(final CIFSContext ctx) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
*/ private static byte[] buildSmb2Header() { byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length); // Mark as server->client response for realism SMBUtil.writeInt4(0x00000001, header, 16); // Flags // Command SMB2_CREATE (0x0005) SMBUtil.writeInt2(0x0005, header, 12); // Some message id SMBUtil.writeInt8(1L, header, 24); return header; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)