Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 164 for 0x1d (0.24 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl

    			[in,out] int *level,
    			[in,out,switch_is(*level)] ShareCtr *info,
    			[in] unsigned long prefmaxlen,
    			[out] unsigned long *totalentries,
    			[in,out] unsigned long *resume_handle);
    
    	[op(0x10)]
    	int ShareGetInfo([in,string,unique] wchar_t *servername,
    			[in,string] wchar_t *sharename,
    			[in] int level,
    			[out,switch_is(level)] ShareInfo *info);
    
    	typedef struct {
    		unsigned long platform_id;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
            byte[] buf = new byte[12];
            buf[0] = 0x34; // Low byte
            buf[1] = 0x12; // High byte
            int written = resp.readParameterWordsWireFormat(buf, 0);
    
            assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            assertEquals(1, SMBUtil.readInt2(buffer, 8));
            assertEquals(1, SMBUtil.readInt2(buffer, 10));
        }
    
        /**
         * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly.
         */
        @ParameterizedTest
        @ValueSource(ints = { 0x10, 0x11 })
        void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception {
            Configuration cfg = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HexdumpTest.java

            PrintStream ps = new PrintStream(baos);
    
            // Test with control characters and printable characters
            byte[] data = { 0x00, 0x01, 0x09, 0x0A, 0x0D, 0x1F, // Control characters
                    0x20, 0x41, 0x42, 0x7E, // Printable characters
                    (byte) 0x7F, (byte) 0x80, (byte) 0xFF // Extended/control
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    			[in,out] int *level,
    			[in,out,switch_is(*level)] ShareCtr *info,
    			[in] unsigned long prefmaxlen,
    			[out] unsigned long *totalentries,
    			[in,out] unsigned long *resume_handle);
    
    	[op(0x10)]
    	int ShareGetInfo([in,string,unique] wchar_t *servername,
    			[in,string] wchar_t *sharename,
    			[in] int level,
    			[out,switch_is(level)] ShareInfo *info);
    
    	typedef struct {
    		unsigned long platform_id;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

              0x01, (byte) 0xc0, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x14, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x04, 0x00,
              0x00, 0x00, 0x00, 0x14,
              0x00, 0x00, 0x00, 0x18,
              0x28, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x02, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt2(0x1234, dst, 0);
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
        }
    
        @Test
        void testWriteInt4() {
            byte[] dst = new byte[4];
            NameServicePacket.writeInt4(0x12345678, dst, 0);
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) 0x56, dst[2]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeUtf8("custom-foo")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
        bytesIn.writeByte(0x40) // Literal indexed
        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-bar")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            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 }),
                    Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F }));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top