Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 254 for 0x11 (0.01 sec)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] headerData = { (byte) 0x81, (byte) 0x00, (byte) 0x00, (byte) 0x44 };
            ByteArrayInputStream bais = new ByteArrayInputStream(headerData);
            byte[] buffer = new byte[10];
    
            int type = SessionServicePacket.readPacketType(bais, buffer, 0);
    
            assertEquals(0x81, type);
            assertEquals((byte) 0x81, buffer[0]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      fun hostIpv6WithIpv4SuffixWithHexadecimalPrefix() {
        // Chrome interprets a leading '0x' as hexadecimal; Firefox rejects them. (We reject them.)
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0x10.0.0x10]/",
          "Invalid URL host: \"[0:0:0:0:0:1:0.0x10.0.0x10]\"",
        )
      }
    
      @Test
      fun hostIpv6WithMalformedIpv4Suffix() {
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0:0.0]/",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl

    		[case(200)] DfsEnumArray200 *info200;
    		[case(300)] DfsEnumArray300 *info300;
    	} DfsEnumInfo;
    
    	typedef struct {
    		uint32_t level,
    		[switch_is(level)] DfsEnumInfo e;
    	} DfsEnumStruct;
    
    	[op(0x15)]
    	int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name,
    			[in] uint32_t level,
    			[in] uint32_t prefmaxlen,
    			[in,out,unique] DfsEnumStruct *info,
    			[in,out,unique] uint32_t *totalentries);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

    class AvChannelBindingsTest {
    
        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

                dst[dstIndex] = (byte) 0x01;
            }
            dstIndex++;
            writeInt2(length, dst, dstIndex);
            return HEADER_LENGTH;
        }
    
        int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            type = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes");
    
            // Verify little-endian encoding (0x1234 -> 0x34 0x12)
            assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level");
            assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level");
        }
    
        @Test
        @DisplayName("all read* methods return zero")
        void testReadMethodsReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
            isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            if (extendedSecurity) {
                final int blobLength = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                blob = new byte[blobLength];
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Lock and read write and unlock flag */
        int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
        /** Receive buffer posted flag */
        int FLAGS_RECEIVE_BUFFER_POSTED = 0x02;
        /** Path names are caseless flag */
        int FLAGS_PATH_NAMES_CASELESS = 0x08;
        /** Path names canonicalized flag */
        int FLAGS_PATH_NAMES_CANONICALIZED = 0x10;
        /** Oplock requested or granted flag */
        int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

        /**
         * No lease caching
         */
        public static final int SMB2_LEASE_NONE = 0x00;
    
        /**
         * Read caching lease (R)
         */
        public static final int SMB2_LEASE_READ_CACHING = 0x01;
    
        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    			[in] uint32_t acct_flags,
    			[out,unique] SamrSamArray *sam,
    			[out] uint32_t num_entries);
    
    	[op(0x1b)]
    	int SamrOpenAlias([in] policy_handle *domain_handle,
    			[in] uint32_t access_mask,
    			[in] uint32_t rid,
    			[out] policy_handle *alias_handle);
    
    	[op(0x21)]
    	int SamrGetMembersInAlias([in] policy_handle *alias_handle,
    			[out] LsarSidArray *sids);
    
    	typedef [v1_enum] enum {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top