Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for 0x1234 (0.2 sec)

  1. src/test/java/jcifs/smb/SpnegoContextTest.java

            SpnegoContext ctx = newContext();
    
            // The initial token path should ask the mechanism for a zero-length optimistic token
            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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        private Configuration config;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private FileInformation mockFileInfo;
    
        private static final int TEST_FID = 0x1234;
        private static final int TEST_ATTRIBUTES = 0x20; // FILE_ATTRIBUTE_ARCHIVE
        private static final long TEST_CREATE_TIME = 131234567890000L;
        private static final long TEST_LAST_WRITE_TIME = 131234567900000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

    public class ContentOutputStreamTest {
    
        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
            byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 };
    
            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
            Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.123D))));
            assertEquals(0, new BigDecimal("0.0123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.0123D))));
            assertEquals(0, new BigDecimal("0.00123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.00123D))));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
        /**
         * Constructs a Trans2FindFirst2 request for finding files.
         *
         * @param config the configuration to use
         * @param filename the path to search in
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
        private int sid;
        private boolean isEndOfSearch;
        private int eaErrorOffset;
        private int lastNameOffset;
        private String lastName;
        private int resumeKey;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            void testRpcPtCancel() {
                assertEquals(0x12, DcerpcConstants.RPC_PT_CANCEL, "RPC_PT_CANCEL should be 0x12");
            }
    
            @Test
            @DisplayName("RPC_PT_ACK should have correct value")
            void testRpcPtAck() {
                assertEquals(0x13, DcerpcConstants.RPC_PT_ACK, "RPC_PT_ACK should be 0x13");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            // Parameters: status (2 bytes), converter (2 bytes), numEntries (2 bytes), totalAvailableEntries (2 bytes)
            byte[] buffer = { 0x00, 0x00, // status = 0 (Success)
                    0x12, 0x34, // converter = 0x3412
                    0x02, 0x00, // numEntries = 2
                    0x05, 0x00 // totalAvailableEntries = 5
            };
    
            int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int RPC_PT_SHUTDOWN = 0x11;
        /**
         * Cancel packet type
         */
        int RPC_PT_CANCEL = 0x12;
        /**
         * Acknowledgment packet type
         */
        int RPC_PT_ACK = 0x13;
        /**
         * Reject packet type
         */
        int RPC_PT_REJECT = 0x14;
        /**
         * Connection-oriented cancel packet type
         */
        int RPC_PT_CO_CANCEL = 0x15;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top