Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 364 for 0xE0 (0.01 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    			[in,out] int *level,
    			[in,out,switch_is(*level)] ShareCtr *info,
    			[in] unsigned long prefmaxlen,
    			[out] unsigned long *totalentries,
    			[in,out] unsigned long *resume_handle);
    
    	[op(0x10)]
    	int ShareGetInfo([in,string,unique] wchar_t *servername,
    			[in,string] wchar_t *sharename,
    			[in] int level,
    			[out,switch_is(level)] ShareInfo *info);
    
    	typedef struct {
    		unsigned long platform_id;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K 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/smb1/smb1/SmbFile.java

         * a directory
         */
        public static final int ATTR_DIRECTORY = 0x10;
        /**
         * A file with this bit on as returned by {@code getAttributes()} or set
         * with {@code setAttributes()} is an archived file
         */
        public static final int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        static final int ATTR_COMPRESSED = 0x800;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(8, getFieldValue(netServerEnum2, "maxParameterCount"));
            assertEquals(16384, getFieldValue(netServerEnum2, "maxDataCount"));
            assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount"));
            assertEquals(0, getFieldValue(netServerEnum2, "setupCount"));
            assertEquals(5000, getFieldValue(netServerEnum2, "timeout"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            offset += 8;
            SMBUtil.writeInt4(expectedNumberOfLinks, buffer, offset);
            offset += 4;
            buffer[offset++] = (byte) 0xFF; // Non-zero value for deletePending
            buffer[offset++] = (byte) 0x80; // Non-zero value for directory
    
            // Decode
            int bytesDecoded = fileStandardInfo.decode(buffer, 0, buffer.length);
    
            // Verify - non-zero values should be treated as true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top