Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 293 for 0xf0 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertNotNull(trans);
            assertEquals(0, trans.maxParameterCount);
            assertEquals(0xFFFF, trans.maxDataCount);
            assertEquals(0x00, trans.maxSetupCount);
            assertEquals(2, trans.setupCount);
            assertEquals("\\PIPE\\", trans.name);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat writes correct data")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

        }
    
        /**
         * Test constructor with a malformed ASN.1 token.
         */
        @Test
        void testConstructor_MalformedToken() {
            // 1. GIVEN
            byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence
            Map<Integer, KerberosKey> keys = new HashMap<>();
    
            // 2. WHEN & 3. THEN
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         */
        @Test
        void testConstructor_CreateAndFailIfExists() {
            int flags = SmbFile.O_CREAT | SmbFile.O_EXCL;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS
        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

            final int type = NbtAddress.isWINS(svr) ? 0x1b : 0x1d;
    
            final QueryThread q1x = new QueryThread(sem, name, type, null, svr);
            final QueryThread q20 = new QueryThread(sem, name, 0x20, null, svr);
            q1x.setDaemon(true);
            q20.setDaemon(true);
            try {
                synchronized (sem) {
                    q1x.start();
                    q20.start();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/StringsTest.java

                System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length);
                bufferWithTermination[stringBytes.length] = 0x00;
                bufferWithTermination[stringBytes.length + 1] = 0x00;
    
                // When
                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameQueryResponse.java

            if (this.resultCode != 0 || this.opCode != QUERY) {
                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
            final int address = readInt4(src, srcIndex);
            if (address != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Hexdump.java

            size = size % 2 == 0 ? size / 2 : size / 2 + 1;
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F];
                j++;
                if (j == c.length) {
                    break;
                }
                c[j++] = HEX_DIGITS[src[i] & 0x0F];
            }
            return new String(c);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    	} SamrSamEntry;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] SamrSamEntry *entries;
    	} SamrSamArray;
    
    	[op(0x0f)]
    	int SamrEnumerateAliasesInDomain([in] policy_handle *domain_handle,
    			[in,out] uint32_t *resume_handle,
    			[in] uint32_t acct_flags,
    			[out,unique] SamrSamArray *sam,
    			[out] uint32_t num_entries);
    
    	[op(0x1b)]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtException.java

        // session service error codes
        /** Connection refused by the remote host */
        public static final int CONNECTION_REFUSED = -1;
        /** Not listening on the called name */
        public static final int NOT_LISTENING_CALLED = 0x80;
        /** Not listening for the calling name */
        public static final int NOT_LISTENING_CALLING = 0x81;
        /** Called name not present */
        public static final int CALLED_NOT_PRESENT = 0x82;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // When/Then - Should throw UnknownHostException quickly
            UnknownHostException exception = assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL", 0x20, null);
            }, "Should throw UnknownHostException for non-existent NetBIOS name with type");
    
            // Verify the exception message indicates name resolution failure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top