Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for Addr (0.04 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. cmd/server-main.go

    	}
    	return strings.Fields(v)
    }
    
    func configCommonToSrvCtx(cf config.ServerConfigCommon, ctxt *serverCtxt) {
    	ctxt.RootUser = cf.RootUser
    	ctxt.RootPwd = cf.RootPwd
    
    	if cf.Addr != "" {
    		ctxt.Addr = cf.Addr
    	}
    	if cf.ConsoleAddr != "" {
    		ctxt.ConsoleAddr = cf.ConsoleAddr
    	}
    	if cf.CertsDir != "" {
    		ctxt.CertsDir = cf.CertsDir
    		ctxt.certsDirSet = true
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

         */
        public int encode(byte[] dst, int dstIndex) {
            return transform.encode(dst, dstIndex);
        }
    
        @Override
        public String toString() {
            return String.format("RdmaChannelInfo[key=0x%x, addr=0x%x, len=%d]", getRemoteKey(), getAddress(), getLength());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NameServiceClient.java

         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
         *             if address cannot be resolved
         */
        NetbiosAddress[] getNbtAllByAddress(NetbiosAddress addr) throws UnknownHostException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/http/NtlmHttpFilter.java

        }
    
        private static NtlmChallenge interrogate(final CIFSContext tf, final Address addr) throws SmbException {
            final UniAddress dc = new UniAddress(addr);
            try (SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced())
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. cmd/sftp-server_test.go

    func (m *MockConnMeta) ClientVersion() []byte {
    	return []byte{}
    }
    
    func (m *MockConnMeta) ServerVersion() []byte {
    	return []byte{}
    }
    
    func (m *MockConnMeta) RemoteAddr() net.Addr {
    	return nil
    }
    
    func (m *MockConnMeta) LocalAddr() net.Addr {
    	return nil
    }
    
    func newSSHConnMock(username string) ssh.ConnMetadata {
    	return &MockConnMeta{username: username}
    }
    
    func TestSFTPAuthentication(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
            } while (dr != start);
            throw last;
        }
    
        /**
         * @param loc
         * @param addr
         * @param trans
         * @param t
         * @throws CIFSException
         */
        private SmbTreeImpl connectTree(final SmbResourceLocatorImpl loc, final String addr, final String share,
                final SmbTransportInternal trans, final SmbTreeImpl t, final DfsReferralData referral) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	anonAddr := func(addr string) string {
    		if anonParam != anonymizeStrict {
    			return addr
    		}
    		newAddr, found := hostAnonymizer[addr]
    		if found {
    			return newAddr
    		}
    
    		// If we reach here, it means that the given addr doesn't contain any of the hosts.
    		// Return it as is. Can happen for drive paths in non-distributed mode
    		return addr
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

                long linkSpeed = readInt8(data, offset + 16);
                
                // Parse socket address
                InetAddress addr = parseSockaddr(data, offset + 24);
                
                NetworkInterfaceInfo info = new NetworkInterfaceInfo(
                    addr, (int)(linkSpeed / 1000000));
                info.setInterfaceIndex(ifIndex);
                info.setCapability(capability);
                
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top