Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 697 for addTests (0.04 seconds)

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

        NbtAddress[] addressArray;
    
        /*
         * It is a little awkward but prudent to pass the quering address
         * so that it may be included in the list of results. IOW we do
         * not want to create a new NbtAddress object for this particular
         * address from which the query is constructed, we want to populate
         * the data of the existing address that should be one of several
         * returned by the node status.
         */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            this.address = address;
            this.port = port;
            this.localAddr = localAddr;
            this.localPort = localPort;
    
            // Initialize circuit breaker with connection-specific name
            String circuitBreakerName = String.format("SMB-%s:%d", address.getHostAddress(), port);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      fun tearDown() {
        factory.close()
      }
    
      @Test
      fun address() {
        val address: Address = factory.newAddress()
        val url: HttpUrl = address.url
        val dns: Dns = address.dns
        val socketFactory: SocketFactory = address.socketFactory
        val proxyAuthenticator: Authenticator = address.proxyAuthenticator
        val protocols: List<Protocol> = address.protocols
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         */
        Set<RdmaCapability> getSupportedCapabilities();
    
        /**
         * Create RDMA connection to remote endpoint
         *
         * @param remote remote socket address
         * @param local local socket address, may be null for auto-binding
         * @return new RDMA connection instance
         * @throws IOException if connection creation fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbTransportTest.java

            when(smbTransport.getRemoteAddress()).thenReturn(remoteAddress);
    
            // Act
            Address result = smbTransport.getRemoteAddress();
    
            // Assert
            assertNotNull(result, "Remote address should not be null");
            assertEquals(remoteAddress, result, "Returned remote address should be the mocked address");
            verify(smbTransport).getRemoteAddress(); // Verify that the method was called
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Determines the address of a host given it's host name. The name can be a
         * machine name like "jcifs.samba.org",  or an IP address like "192.168.1.15".
         *
         * @param hostname NetBIOS or DNS hostname to resolve
         * @throws java.net.UnknownHostException if there is an error resolving the name
         */
    
        /**
         * Determines the address of a host given its host name.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    @AndroidIncompatible // test-suite builders
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(OpenJdk6SetTests.suite());
        suite.addTest(OpenJdk6ListTests.suite());
        suite.addTest(OpenJdk6QueueTests.suite());
        suite.addTest(OpenJdk6MapTests.suite());
        return suite;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
    
      private fun Socket.peerName(): String {
        val address = remoteSocketAddress
        return if (address is InetSocketAddress) address.hostName else address.toString()
      }
    
      companion object {
        val logger: Logger = Logger.getLogger(Http2Server::class.java.name)
    
        @JvmStatic
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
        /**
         * Gets the server address.
         *
         * @return the server address
         */
        public InetAddress getServerAddress() {
            return serverAddress;
        }
    
        /**
         * Gets the service type.
         *
         * @return the service type
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

        NbtAddress[] addressArray;
    
        /* It is a little awkward but prudent to pass the quering address
         * so that it may be included in the list of results. IOW we do
         * not want to create a new NbtAddress object for this particular
         * address from which the query is constructed, we want to populate
         * the data of the existing address that should be one of several
         * returned by the node status.
         */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top