Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for addr1 (0.07 sec)

  1. src/net/http/client_test.go

    func testClientWrites(t *testing.T, mode testMode) {
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    	})).ts
    
    	writes := 0
    	dialer := func(netz string, addr string) (net.Conn, error) {
    		c, err := net.Dial(netz, addr)
    		if err == nil {
    			c = &writeCountingConn{c, &writes}
    		}
    		return c, err
    	}
    	c := ts.Client()
    	c.Transport.(*Transport).Dial = dialer
    
    	_, err := c.Get(ts.URL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            return ssn;
        }
    
    
        boolean matches ( Address addr, int prt, InetAddress laddr, int lprt, String hostName ) {
            if ( this.state == 5 || this.state == 6 ) {
                // don't reuse disconnecting/disconnected transports
                return false;
            }
            if ( hostName == null )
                hostName = addr.getHostName();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            when:
            from.clear()
    
            then:
            from.empty
            collection.from.empty
    
            when:
            def add1 = from.add('a')
            def add2 = from.add('b')
            def add3 = from.add('a')
    
            then:
            add1
            add2
            !add3
    
            and:
            from as List == ['a', 'b']
            collection.from as List == ['a', 'b']
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/loong64/asm.go

    	}
    
    	out[0] = o1
    	out[1] = o2
    	out[2] = o3
    	out[3] = o4
    	out[4] = o5
    }
    
    func (c *ctxt0) vregoff(a *obj.Addr) int64 {
    	c.instoffset = 0
    	c.aclass(a)
    	return c.instoffset
    }
    
    func (c *ctxt0) regoff(a *obj.Addr) int32 {
    	return int32(c.vregoff(a))
    }
    
    func (c *ctxt0) oprrr(a obj.As) uint32 {
    	switch a {
    	case AADD:
    		return 0x20 << 15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "LDEBR", argLength: 1, reg: fp11, asm: "LDEBR"}, // convert float32 to float64
    
    		{name: "MOVDaddr", argLength: 1, reg: addr, aux: "SymOff", rematerializeable: true, symEffect: "Addr"}, // arg0 + auxint + offset encoded in aux
    		{name: "MOVDaddridx", argLength: 2, reg: addridx, aux: "SymOff", symEffect: "Addr"},                    // arg0 + arg1 + auxint + aux
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/lib.go

    	return s
    }
    
    func datoff(ldr *loader.Loader, s loader.Sym, addr int64) int64 {
    	if uint64(addr) >= Segdata.Vaddr {
    		return int64(uint64(addr) - Segdata.Vaddr + Segdata.Fileoff)
    	}
    	if uint64(addr) >= Segtext.Vaddr {
    		return int64(uint64(addr) - Segtext.Vaddr + Segtext.Fileoff)
    	}
    	ldr.Errorf(s, "invalid datoff %#x", addr)
    	return 0
    }
    
    func Entryvalue(ctxt *Link) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    func bufToUTF16(buf []byte) []uint16 {
    	sl := struct {
    		addr *uint16
    		len  int
    		cap  int
    	}{(*uint16)(unsafe.Pointer(&buf[0])), len(buf) / 2, cap(buf) / 2}
    	return *(*[]uint16)(unsafe.Pointer(&sl))
    }
    
    // utf16ToBuf function reinterprets []uint16 as []byte
    func utf16ToBuf(buf []uint16) []byte {
    	sl := struct {
    		addr *byte
    		len  int
    		cap  int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  8. src/net/http/fs_test.go

    	}
    
    	res, err := Get(fmt.Sprintf("http://%s/%s", ln.Addr(), filename))
    	if err != nil {
    		t.Fatalf("http client error: %v", err)
    	}
    	_, err = io.Copy(io.Discard, res.Body)
    	if err != nil {
    		t.Fatalf("client body read error: %v", err)
    	}
    	res.Body.Close()
    
    	// Force child to exit cleanly.
    	Post(fmt.Sprintf("http://%s/quit", ln.Addr()), "", nil)
    	child.Wait()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/xcoff.go

    }
    
    // addSection adds section to the XCOFF file f.
    func (f *xcoffFile) addSection(name string, addr uint64, size uint64, fileoff uint64, flags uint32) *XcoffScnHdr64 {
    	sect := &XcoffScnHdr64{
    		Spaddr:  addr,
    		Svaddr:  addr,
    		Ssize:   size,
    		Sscnptr: fileoff,
    		Sflags:  flags,
    	}
    	copy(sect.Sname[:], name) // copy string to [8]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	addrs, _ := s.AddressInformation(sets.New[string](s.svcXdsName("svc1"), s.podXdsName("pod2")))
    	got := sets.New[string]()
    	for _, addr := range addrs {
    		if got.Contains(addr.ResourceName()) {
    			t.Fatalf("got duplicate address %v", addr.ResourceName())
    		}
    		got.Insert(addr.ResourceName())
    	}
    }
    
    func TestRBACConvert(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top