Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 106 for 0x0000 (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // 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;
        }
    
        /**
         * Build a basic CREATE response body without create contexts.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		{"06 k=v\n", "06 k=v\n", "", "", false},
    		{"00006 k=v\n", "00006 k=v\n", "", "", false},
    		{"000006 k=v\n", "000006 k=v\n", "", "", false},
    		{"000000 k=v\n", "000000 k=v\n", "", "", false},
    		{"0 k=v\n", "0 k=v\n", "", "", false},
    		{"+0000005 x=\n", "+0000005 x=\n", "", "", false},
    	}
    
    	for _, v := range vectors {
    		key, val, res, err := parsePAXRecord(v.in)
    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/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            String expectedDescr = "WrLeh\u0000B13BWz\u0000";
            byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII");
            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
            // Verify level (0x0001 - 2 bytes)
            int descrEnd = 2 + expectedDescrBytes.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
         * Provide a range of values that are valid for the constructor.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        void testConstructor() throws Exception {
            // Verify command is set correctly (SMB2_FLUSH = 0x0007)
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(request);
            assertEquals(0x0007, command); // SMB2_FLUSH value
    
            // Verify file ID is set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

          }
        }
    
        // Testing multibyte escape sequences
        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
        assertEscaping(e, "%EF%BF%BF", '\uffff'); // xxx-1111,x-111111,x-11,1111
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00,
    		0x00, 0x00, 0x6b, 0xb4, 0xba, 0x46, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x03, 0x00, 0x18, 0x00, 0xca, 0x64,
    		0x55, 0x75, 0x78, 0x0b, 0x00, 0x50, 0x4b, 0x05,
    		0x06, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,
    		0x00, 0x49, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00,
    		0x00, 0x31, 0x31, 0x31, 0x32, 0x32, 0x32, 0x0a,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

    class NetServerEnum2 extends SmbComTransaction {
    
        static final int SV_TYPE_ALL = 0xFFFFFFFF;
        static final int SV_TYPE_DOMAIN_ENUM = 0x80000000;
    
        static final String[] DESCR = { "WrLehDO\u0000B16BBDz\u0000", "WrLehDz\u0000B16BBDz\u0000", };
    
        String domain, lastName = null;
        int serverTypes;
    
        NetServerEnum2(final String domain, final int serverTypes) {
            this.domain = domain;
            this.serverTypes = serverTypes;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Hexdump.java

            while (size > 0) {
                final int i = dstIndex + size - 1;
                if (i < dst.length) {
                    dst[i] = HEX_DIGITS[val & 0x000F];
                }
                if (val != 0) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top