Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for srv (0.71 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

                    if (i < len && data[i] == '.') {
                        dots++;
                        i++;
                    }
                }
            }
    
            return false;
        }
    
        /**
         * Perform DNS SRV lookup on successively shorter suffixes of name
         * and return successful suffix or throw an UnknownHostException.
         * import javax.naming.*;
         * import javax.naming.directory.*;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDTest.java

                SID sid = new SID("S-1-5-21-1-2");
                sid.initContext("srv", mockCtx);
    
                // First accessor triggers resolution
                int t1 = sid.getType();
                assertEquals(t1, sid.getType()); // second call should not trigger again
                verify(mockResolver, times(1)).resolveSids(eq(mockCtx), eq("srv"), any(jcifs.SID[].class));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", -42, ph));
            }
    
            @Test
            @DisplayName("should handle null policy handle")
            void testNullPolicyHandleHandled() {
                // Act & Assert - The constructor accepts null policy handle without throwing
                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Create a spy to track method calls
            SmbTreeConnection c = spy(newConn());
    
            // Prepare a minimal locator
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://srv/share/path"));
    
            // Setup a tree that will fail with transport error first, then succeed
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

                } catch (final IOException ioe) {
                    // Failure
                }
            }
            throw new UnknownHostException(hostname);
        }
    
        /**
         * Perform DNS SRV lookup on successively shorter suffixes of name
         * and return successful suffix or throw an UnknownHostException.
        import javax.naming.*;
        import javax.naming.directory.*;
    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/smb/SmbResourceLocatorImplTest.java

            // Query parameter 'server' takes precedence
            UniAddress a1 = mock(UniAddress.class);
            when(nsc.getByName("srv-from-query")).thenReturn(a1);
            SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");
            assertSame(a1, l1.getAddress());
    
            // Query parameter 'address' builds UniAddress from IP
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NetbiosNameTest.java

            }
        }
    
        @Test
        @DisplayName("Should handle special characters in names")
        void testSpecialCharacters() {
            String[] testNames = { "SERVER-1", "SERVER_A", "SRV123", "MY-SRV" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(8L, true, true);
    
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 1, 2, 3 }, tree, "//srv/share", 0, 0, 0, 0, 0L);
    
            // Increase usage to 2
            h.acquire();
    
            // First release: should not close yet
            h.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    spjelkavik.no
    spock.replit.dev
    sport
    sport.hu
    spot
    spydeberg.no
    square7.ch
    square7.de
    square7.net
    squares.net
    sr
    sr.gov.pl
    sr.it
    srht.site
    srl
    srv.br
    srv.us
    ss
    ss.it
    ssl.origin.cdn77-secure.org
    st
    st.no
    staba.jp
    stackhero-network.com
    stackit.gg
    stackit.rocks
    stackit.run
    stackit.zone
    stada
    stage.nodeart.io
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
Back to top