Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 129 for 0x2d (0.04 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            when(nsc.getAllByName(eq("server"), eq(true))).thenReturn(new Address[] { addr });
            assertTrue(workgroupLike.isWorkgroup());
    
            // Server: return a NetBIOS type not 0x1d/0x1b
            when(nb.getNameType()).thenReturn(0x20);
            SmbResourceLocatorImpl server = locator("smb://server");
            when(nsc.getAllByName(eq("server"), eq(true))).thenReturn(new Address[] { addr });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

                    0x04, // FILE_ATTRIBUTE_SYSTEM
                    0x10, // FILE_ATTRIBUTE_DIRECTORY
                    0x20, // FILE_ATTRIBUTE_ARCHIVE
                    0x80, // FILE_ATTRIBUTE_NORMAL
                    0x100, // FILE_ATTRIBUTE_TEMPORARY
                    0x21, // Combination: ARCHIVE | READONLY
                    0x06 // Combination: HIDDEN | SYSTEM
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

                try {
                    addrs = tc.getNameServiceClient().getNodeStatus(this);
                    if (this.getNameType() == 0x1D) {
                        for (final NetbiosAddress addr : addrs) {
                            if (addr.getNameType() == 0x20) {
                                return addr.getHostName();
                            }
                        }
                        return null;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        /**
         * File information class for both names with file IDs.
         */
        public static final byte FILE_ID_BOTH_DIRECTORY_INFO = 0x24;
    
        /**
         * File information class for full directory information with file IDs.
         */
        public static final byte FILE_ID_FULL_DIRECTORY_INFO = 0x26;
    
        /**
         * Flag to restart the directory enumeration from the beginning.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

            final Sem sem = new Sem(2);
            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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
                message.setContext(testContext);
                byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 };
                message.setTargetInformation(testTargetInfo);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Should match with same values
            assertTrue(fileInfo.matches(1024L, 1000L, 0x20));
    
            // Should not match with different size
            assertFalse(fileInfo.matches(2048L, 1000L, 0x20));
    
            // Should not match with different last modified
            assertFalse(fileInfo.matches(1024L, 2000L, 0x20));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals(0x20, nbtAddress.getNameType());
        }
    
        @Test
        void testHashCode() {
            // Test hashCode consistency
            mockName = new Name(mockConfig, "TEST1", 0x20, null);
            Name mockName2 = new Name(mockConfig, "TEST2", 0x20, null);
            NbtAddress nbtAddress1 = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameTest.java

            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST", 0x20, "scope");
    
            assertTrue(name1.equals(name2));
        }
    
        @Test
        void equals_withDifferentName_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope");
    
            assertFalse(name1.equals(name2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/NameServiceClientTest.java

        }
    
        @Test
        void testGetNbtAllByAddress_StringIntString() throws UnknownHostException {
            // Arrange
            String host = "testHost";
            int type = 0x20;
            String scope = "testScope";
            NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) };
            when(nameServiceClient.getNbtAllByAddress(host, type, scope)).thenReturn(expectedAddresses);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top