Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 264 for 0x60 (0.02 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

            InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x82, 0x01, 0x00 });
            int length = ASN1Util.readLength(s, 500, false);
            assertEquals(256, length);
        }
    
        @Test
        void testReadLength_Indefinite() throws IOException {
            // Indefinite-length
            InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x80 });
            int length = ASN1Util.readLength(s, 100, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

        }
    
        int writeWireFormat(final byte[] dst, final int dstIndex) {
            // write 0x20 in first byte
            dst[dstIndex] = 0x20;
    
            final byte tmp[] = Strings.getOEMBytes(this.name, this.config);
            int i;
            for (i = 0; i < tmp.length; i++) {
                dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41);
                dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		{" \x0000000\x00", 0, true},
    		{" \x0000003\x00", 3, true},
    		{"00000000227\x00", 0227, true},
    		{"032033\x00 ", 032033, true},
    		{"320330\x00 ", 0320330, true},
    		{"0000660\x00 ", 0660, true},
    		{"\x00 0000660\x00 ", 0660, true},
    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte) 0x00;
            b[off + 2] = (byte) (len >> 8 & 0xFF);
            b[off + 3] = (byte) (len & 0xFF);
    
            out.write(b, off, 4 + len);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            ByteBuffer buffer = ByteBuffer.allocate(size);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // Security descriptor header
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x00); // Padding
            buffer.putShort((short) 0x8004); // Control flags (SE_DACL_PRESENT | SE_SELF_RELATIVE)
            buffer.putInt(20); // Owner offset
            buffer.putInt(40); // Group offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle different buffer positions")
        void testWriteSetupWireFormatWithOffset() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Test successful reading of 6 bytes from the input stream.
            // The content of these bytes is not critical for this test, only that 6 bytes are read.
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		unicode_string name;
    		uint32_t sid_index;
    	} LsarTranslatedName;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedName *names;
    	} LsarTransNameArray;
    
    	[op(0x00)]
    	int LsarClose([in,out] policy_handle *handle);
    
    	[op(0x07)]
    	int LsarQueryInformationPolicy([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		unicode_string name;
    		uint32_t sid_index;
    	} LsarTranslatedName;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedName *names;
    	} LsarTransNameArray;
    
    	[op(0x00)]
    	int LsarClose([in,out] policy_handle *handle);
    
    	[op(0x07)]
    	int LsarQueryInformationPolicy([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Notify of modify action flag */
        int FLAGS_NOTIFY_OF_MODIFY_ACTION = 0x40;
        /** Response flag */
        int FLAGS_RESPONSE = 0x80;
    
        /** No flags2 set */
        int FLAGS2_NONE = 0x0000;
        /** Long filenames supported flag */
        int FLAGS2_LONG_FILENAMES = 0x0001;
        /** Extended attributes supported flag */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top