Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for Addr (0.05 sec)

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

                _domains = null;
            }
            if (_domains != null)
                return _domains.map;
            try {
                UniAddress addr = UniAddress.getByName(auth.domain, true);
                SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
                DfsReferral dr = trans.getDfsReferrals(auth, "", 0);
                if (dr != null) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  2. callbacks/callmethod.go

    				if value := reflect.Indirect(db.Statement.ReflectValue.Index(i)); value.CanAddr() {
    					fc(value.Addr().Interface(), tx)
    				} else {
    					db.AddError(gorm.ErrInvalidValue)
    					return
    				}
    				db.Statement.CurDestIndex++
    			}
    		case reflect.Struct:
    			if db.Statement.ReflectValue.CanAddr() {
    				fc(db.Statement.ReflectValue.Addr().Interface(), tx)
    			} else {
    				db.AddError(gorm.ErrInvalidValue)
    			}
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 846 bytes
    - Viewed (0)
  3. internal/http/listener_test.go

    					continue nextTest
    				}
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		addr := listener.Addr()
    		if addr.String() != testCase.expectedAddr {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddr, addr)
    		}
    
    		listener.Close()
    	}
    }
    
    func TestHTTPListenerAddrs(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cni/pkg/repair/netns.go

    		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)
  5. cni/pkg/nodeagent/cni-watcher_test.go

    	assert.Error(t, err)
    }
    
    func TestCNIPluginServer(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    		IPs: []IPConfig{{
    			Address: *addr,
    		}},
    	}
    
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/cmd/addr2line/addr2line_test.go

    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading symbols: %v", err)
    	}
    	return syms
    }
    
    func runAddr2Line(t *testing.T, dbgExePath, addr string) (funcname, path, lineno string) {
    	cmd := testenv.Command(t, testenv.Executable(t), dbgExePath)
    	cmd.Stdin = strings.NewReader(addr)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go tool addr2line %v: %v\n%s", os.Args[0], err, string(out))
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    }
                }
            }
    
            IOException ex = null;
            for ( Address addr : addrs ) {
                if ( log.isDebugEnabled() ) {
                    log.debug("Trying address {}", addr);
                }
                try ( SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class) ) {
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K 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/SessionRetargetResponsePacket.java

                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            new NbtAddress(null, addr, false, NbtAddress.B_NODE);
            readInt2(buffer, bufferIndex);
            return this.length;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. internal/http/dial_others.go

    func NewInternodeDialContext(dialTimeout time.Duration, _ TCPOptions) DialContext {
    	return func(ctx context.Context, network, addr string) (net.Conn, error) {
    		dialer := &net.Dialer{
    			Timeout: dialTimeout,
    		}
    		return dialer.DialContext(ctx, network, addr)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 24 04:08:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top