Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 254 for 0x41 (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    
        private int rootDirectoryFid;
    
        private final int extFileAttributes;
    
        private final int shareAccess;
    
        private int createDisposition;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SpnegoContextTest.java

            when(this.mechContext.getFlags()).thenReturn(0x1234);
            when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 });
    
            // Act: len==0 triggers initial token construction
            byte[] out = ctx.initSecContext(null, 0, 0);
    
            // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                testName = "CREATE_CONTEXT_TEST".getBytes(StandardCharsets.UTF_8);
                testResponse = new TestCreateContextResponse(testName);
                testBuffer = new byte[256];
                Arrays.fill(testBuffer, (byte) 0x42);
            }
    
            @Test
            @DisplayName("Should correctly store and return name")
            void testNameStorage() {
                assertArrayEquals(testName, testResponse.getName());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            int testCapabilities = 0x0000002F; // DFS, LEASING, LARGE_MTU, MULTI_CHANNEL, PERSISTENT_HANDLES, DIRECTORY_LEASING
    
            // Random but realistic GUID
            byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF,
                    (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test next response chain
            assertNull(concreteResponse.getNextResponse());
    
            // Test reset functionality
            concreteResponse.setMid(789L);
            concreteResponse.setCommand(0x42);
            concreteResponse.setDigest(digest);
            concreteResponse.reset();
            assertEquals(0L, concreteResponse.getMid());
            assertEquals(0, concreteResponse.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
            out[i++] = 0x01; // TOK_ID[1]
            out[i++] = (byte) ((der.length >> 8) & 0xFF);
            out[i++] = (byte) (der.length & 0xFF);
            System.arraycopy(der, 0, out, i, der.length);
            i += der.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. cmd/batch-handlers_gen.go

    	// string "ID"
    	o = append(o, 0x86, 0xa2, 0x49, 0x44)
    	o = msgp.AppendString(o, z.ID)
    	// string "User"
    	o = append(o, 0xa4, 0x55, 0x73, 0x65, 0x72)
    	o = msgp.AppendString(o, z.User)
    	// string "Started"
    	o = append(o, 0xa7, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.Started)
    	// string "Replicate"
    	o = append(o, 0xa9, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65)
    	if z.Replicate == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

                // Act
                var inputStream = smbFile.getInputStream();
    
                // Assert
                assertNotNull(inputStream);
                verify(smbFile).openUnshared(0, // SmbConstants.O_RDONLY = 0x01, but SmbFileInputStream uses 0
                        SmbFile.O_RDONLY, SmbConstants.DEFAULT_SHARING, // 7 = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE
                        SmbConstants.ATTR_NORMAL, // 128
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
            // Verify level (0x0001 - 2 bytes)
            int descrEnd = 2 + expectedDescrBytes.length;
            assertEquals(0x01, dst[descrEnd]);
            assertEquals(0x00, dst[descrEnd + 1]);
    
            // Verify maxDataCount (2 bytes)
            int maxDataCount = SMBUtil.readInt2(dst, descrEnd + 2);
            assertTrue(maxDataCount > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            assertEquals(999, bufDataStartField.get(response));
        }
    
        @ParameterizedTest
        @DisplayName("Test reserved bytes are properly skipped")
        @ValueSource(bytes = { 0x00, 0x01, (byte) 0xFF, 0x7F, (byte) 0x80 })
        void testReservedBytesSkipped(byte reservedValue) throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top