Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for add1 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Test failover mechanism
            ChannelFailover failover = new ChannelFailover(channelManager);
    
            // Create a channel
            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo nic = new NetworkInterfaceInfo(addr, 445);
    
            // Mock transport doesn't have isConnected, but we can work around it
            ChannelInfo channel = new ChannelInfo("failover-test", mockTransport, nic, nic);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            assertTrue(channelManager.getHealthyChannels().isEmpty());
    
            // Add a healthy channel manually for testing
            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000);
            NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            Address addr1 = mock(Address.class);
            when(addr1.getHostAddress()).thenReturn("10.0.0.1");
    
            Address addr2 = mock(Address.class);
            when(addr2.getHostAddress()).thenReturn("10.0.0.2");
    
            when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });
    
            // Set fail counts (addr1 has more failures, addr2 has fewer)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	MOVV $0x821, R4                         // MOVV $2081, R4                       // 0484a003
    
    	// ADDV C_SCON, [r1], r2
    	ADDV	$0x321, R4			// ADDV	$801, R4			// 8484cc02
    	ADDV	$0x321, R5, R4			// ADDV	$801, R5, R4			// a484cc02
    	ADDV	$0xfffffffffffffc21, R4		// ADDV	$-991, R4			// 8484f002
    	ADDV	$0xfffffffffffffc21, R5, R4	// ADDV	$-991, R5, R4			// a484f002
    
    	// AND C_SCON, [r1], r2
    	AND	$0x321, R4			// AND	$801, R4			// 84844c03
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 19:24:25 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                    while (addresses.hasMoreElements()) {
                        InetAddress addr = addresses.nextElement();
    
                        // Estimate link speed (would need platform-specific code for actual speed)
                        int linkSpeed = ni.isVirtual() ? 100 : 1000; // Default 1Gbps
    
                        NetworkInterfaceInfo info = new NetworkInterfaceInfo(addr, linkSpeed);
                        if (info.isUsableForChannel()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. cmd/common-main.go

    				}
    				for _, addr := range addrs {
    					domainIPs.Add(addr)
    				}
    			}
    			domainIPs.Add(endpoint)
    		}
    		updateDomainIPs(domainIPs)
    	} else {
    		// Add found interfaces IP address to global domain IPS,
    		// loopback addresses will be naturally dropped.
    		domainIPs := mustGetLocalIP4()
    		for _, host := range globalEndpoints.Hostnames() {
    			domainIPs.Add(host)
    		}
    		updateDomainIPs(domainIPs)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            for (final Address addr : addrs) {
                final SmbTransportImpl found =
                        findConnection(tf, addr, port, tf.getConfig().getLocalAddr(), tf.getConfig().getLocalPort(), name, forceSigning, true);
                if (found != null) {
                    return found;
                }
            }
    
            IOException ex = null;
            for (final Address addr : addrs) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. cmd/net_test.go

    				t.Errorf("error: expected = %v, got = %v", testCase.expectedErr, err)
    			}
    		})
    	}
    }
    
    func TestExtractHostPort(t *testing.T) {
    	testCases := []struct {
    		addr        string
    		host        string
    		port        string
    		expectedErr error
    	}{
    		{"", "", "", errors.New("unable to process empty address")},
    		{"localhost:9000", "localhost", "9000", nil},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            request.addr = addr != null ? addr : getWINSAddress();
            request.isBroadcast = request.addr == null || isBroadcastAddress(request.addr);
    
            if (request.isBroadcast) {
                if (request.addr == null) {
                    request.addr = this.baddr;
                }
                n = config.getNetbiosRetryCount();
            } else {
                n = 1;
            }
    
            do {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. pom.xml

    								<group>root</group>
    							</mapper>
    						</data>
    						<!-- Adds systemd file -->
    						<data>
    							<type>file</type>
    							<src>${project.build.directory}/generated-packaging/deb/systemd/fess.service</src>
    							<dst>${packaging.fess.systemd.dir}/fess.service</dst>
    						</data>
    						<!-- Adds systemd/sysctl.d configuration file -->
    						<data>
    							<type>file</type>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
Back to top