Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 310 for 0x03 (1.8 sec)

  1. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        void testFileInformationConstantsMatchProtocol() {
            // These values are defined in MS-FSCC specification
            assertEquals(0x04, FileInformation.FILE_BASIC_INFO);
            assertEquals(0x05, FileInformation.FILE_STANDARD_INFO);
            assertEquals(0x06, FileInformation.FILE_INTERNAL_INFO);
            assertEquals(10, FileInformation.FILE_RENAME_INFO);
            assertEquals(20, FileInformation.FILE_ENDOFFILE_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to rename a file.
         */
        public static final byte SMB_COM_RENAME = (byte) 0x07;
    
        /**
         * SMB command to query file information.
         */
        public static final byte SMB_COM_QUERY_INFORMATION = (byte) 0x08;
    
        /**
         * SMB command to set file information.
         */
        public static final byte SMB_COM_SET_INFORMATION = (byte) 0x09;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvPair.java

        /**
         * Channel bindings type
         */
        public static final int MsvAvChannelBindings = 0x0A;
    
        private final int type;
        private final byte[] raw;
    
        /**
         * Constructs an AV pair with type and raw data
         * @param type the AV pair type
         * @param raw the raw data bytes
         */
        public AvPair(final int type, final byte[] raw) {
            this.type = type;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    	} SamrSamEntry;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] SamrSamEntry *entries;
    	} SamrSamArray;
    
    	[op(0x0f)]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // Then
            assertTrue(result > 0);
            assertEquals((byte) 0x04, dst[0]); // First buffer format byte
    
            // Find the second buffer format byte
            int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
        }
    
        /**
         * Test writeBytesWireFormat with Unicode encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

                buffer[i] = (byte) (i * 2);
            }
    
            // Mock number of links (4 bytes)
            buffer[16] = 0x01;
            buffer[17] = 0x00;
            buffer[18] = 0x00;
            buffer[19] = 0x00;
    
            // Mock delete pending and directory flags
            buffer[20] = 0x00;
            buffer[21] = 0x00;
    
            return buffer;
        }
    
        private byte[] createMockFileInternalInfoBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                request.setOffset(1000L);
                request.setRemainingBytes(500);
                request.setWriteFlags(0x01);
    
                // Update parameters
                request.setData(new byte[200], 0, 200);
                request.setOffset(2000L);
                request.setRemainingBytes(1000);
                request.setWriteFlags(0x02);
    
                // Update file ID
                byte[] newFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
            // Act
            int result = nodeStatusRequest.readWireFormat(src, 0);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. cmd/untar.go

    		header: []byte{0x2a, 0x4d, 0x18},
    		f:      formatZstd,
    	},
    	{
    		// LZ4
    		header: []byte{0x4, 0x22, 0x4d, 0x18},
    		f:      formatLZ4,
    	},
    	{
    		// Snappy/S2 stream
    		header: []byte{0xff, 0x06, 0x00, 0x00},
    		f:      formatS2,
    	},
    	{
    		header: []byte{0x42, 0x5a, 'h'},
    		f:      formatBZ2,
    	},
    }
    
    type untarOptions struct {
    	ignoreDirs bool
    	ignoreErrs bool
    	prefixAll  string
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
  10. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top