Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 508 for addArg (1.46 sec)

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

        }
         */
    
    
        Object addr;
        String calledName;
    
        /**
         * Create a <tt>UniAddress</tt> by wrapping an <tt>InetAddress</tt> or
         * <tt>NbtAddress</tt>.
         */
    
        public UniAddress( Object addr ) {
            if( addr == null ) {
                throw new IllegalArgumentException();
            }
            this.addr = addr;
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

                NetbiosAddress[] addrs;
    
                try {
                    addrs = tc.getNameServiceClient().getNodeStatus(this);
                    if ( this.getNameType() == 0x1D ) {
                        for ( int i = 0; i < addrs.length; i++ ) {
                            if ( addrs[ i ].getNameType() == 0x20 ) {
                                return addrs[ i ].getHostName();
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    	if interfaces, err = net.Interfaces(); err != nil {
    		return false, fmt.Errorf("failed to get interfaces")
    	}
    
    	for _, ief := range interfaces {
    		var addrs []net.Addr
    		if addrs, err = ief.Addrs(); err != nil {
    			return
    		}
    		for _, addr := range addrs {
    			switch v := addr.(type) {
    			case *net.IPNet:
    				if v.IP.Equal(targetAddr) {
    					return true, nil
    				}
    			}
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/http/listener_test.go

    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		addrs := listener.Addrs()
    		addrSet := set.NewStringSet()
    		for _, addr := range addrs {
    			addrSet.Add(addr.String())
    		}
    
    		if !addrSet.Equals(testCase.expectedAddrs) {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs)
    		}
    
    		listener.Close()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    	}
    
    	return ""
    }
    
    func retrieveListenerAdditionalAddresses(l *listener.Listener) []string {
    	var addrs []string
    	socketAddresses := l.GetAdditionalAddresses()
    	for _, socketAddr := range socketAddresses {
    		addr := socketAddr.Address
    		addrs = append(addrs, addr.GetSocketAddress().Address)
    	}
    
    	return addrs
    }
    
    func retrieveListenerPort(l *listener.Listener) uint32 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  6. cni/pkg/ipset/ipset.go

    	destroySet(name string) error
    	addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error
    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    func (s *meshDataplane) addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr) ([]netip.Addr, error) {
    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    	var addedIps []netip.Addr
    
    	// For each pod IP
    	for _, pip := range podIPs {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. internal/event/target/webhook.go

    		cancelCh:   ctx.Done(),
    	}
    
    	// Calculate the webhook addr with the port number format
    	target.addr = args.Endpoint.Host
    	if _, _, err := net.SplitHostPort(args.Endpoint.Host); err != nil && strings.Contains(err.Error(), "missing port in address") {
    		switch strings.ToLower(args.Endpoint.Scheme) {
    		case "http":
    			target.addr += ":80"
    		case "https":
    			target.addr += ":443"
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

                    addr = new NbtAddress(name, ip, false, NbtAddress.B_NODE, false, false, true, true, NbtAddress.UNKNOWN_MAC_ADDRESS);
                    if ( log.isDebugEnabled() ) {
                        log.debug("Adding " + name + " with addr " + addr);
                    }
                    this.table.put(name, addr);
                }
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  10. internal/http/dial_dnscache.go

    		}).DialContext
    	}
    
    	return func(ctx context.Context, network, addr string) (conn net.Conn, err error) {
    		host, port, err := net.SplitHostPort(addr)
    		if err != nil {
    			return nil, err
    		}
    
    		if net.ParseIP(host) != nil {
    			// For IP only setups there is no need for DNS lookups.
    			return baseDialCtx(ctx, "tcp", addr)
    		}
    
    		ips, err := lookupHost(ctx, host)
    		if err != nil {
    			return nil, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top