Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for addr1 (0.15 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    }
    
    // nolint: unparam
    func createEndpointSlice(t *testing.T, c kubernetes.Interface, name, serviceName, namespace string, ports []v1.EndpointPort, addrs []string) {
    	createEndpointSliceWithType(t, c, name, serviceName, namespace, ports, addrs, discovery.AddressTypeIPv4)
    }
    
    // nolint: unparam
    func createEndpointSliceWithType(t *testing.T, c kubernetes.Interface, name, serviceName, namespace string,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/out.go

    const noMsanProlog = `
    #define _cgo_msan_write(addr, sz)
    `
    
    // yesMsanProlog is a prologue defining an MSAN function in C.
    // This is used when compiling with -fsanitize=memory.
    // See the comment above where _cgo_msan_write is called.
    const yesMsanProlog = `
    extern void __msan_unpoison(const volatile void *, size_t);
    
    #define _cgo_msan_write(addr, sz) __msan_unpoison((addr), (sz))
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm.s

    //	{
    //		var g obj.Addr
    //
    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64($6);
    //		outcode($1, $2, &$3, 0, &g);
    //	}
    	MOVM	0(R1), [R2,R5,R8,g] // MOVM	(R1), [R2,R5,R8,g]
    	MOVM	(R1), [R2-R5] // MOVM (R1), [R2,R3,R4,R5]
    	MOVM	(R1), [R2]
    
    //	LTYPE8 cond '[' reglist ']' ',' ioreg
    //	{
    //		var g obj.Addr
    //
    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
Back to top