Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 180 for addrI (0.05 sec)

  1. src/cmd/internal/obj/util.go

    func Dconv(p *Prog, a *Addr) string {
    	buf := new(bytes.Buffer)
    	writeDconv(buf, p, a, false)
    	return buf.String()
    }
    
    // DconvWithABIDetail accepts an argument 'a' within a prog 'p'
    // and returns a string with a formatted version of the argument, in
    // which text symbols are rendered with explicit ABI selectors.
    func DconvWithABIDetail(p *Prog, a *Addr) string {
    	buf := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/runtime/runtime_test.go

    	// readable by user code. So just log the content.
    	// If no addresses fault, we'll fail the test.
    	v := *(*byte)(unsafe.Pointer(addr))
    	t.Logf("addr %#x: %#x\n", addr, v)
    }
    
    func eqstring_generic(s1, s2 string) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	// optimization in assembly versions:
    	// if s1.str == s2.str { return true }
    	for i := 0; i < len(s1); i++ {
    		if s1[i] != s2[i] {
    			return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func raceread(uintptr)
    func racewrite(uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    
    // memory sanitizer
    func msanread(addr, size uintptr)
    func msanwrite(addr, size uintptr)
    func msanmove(dst, src, size uintptr)
    
    // address sanitizer
    func asanread(addr, size uintptr)
    func asanwrite(addr, size uintptr)
    
    func checkptrAlignment(unsafe.Pointer, *byte, uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net.go

    func addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr, hostsideProbeSet *ipset.IPSet) ([]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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/cmd/trace/main.go

    	case 2:
    		logAndDie(debugRawEvents(tracef))
    	}
    
    	ln, err := net.Listen("tcp", *httpFlag)
    	if err != nil {
    		logAndDie(fmt.Errorf("failed to create server socket: %w", err))
    	}
    	addr := "http://" + ln.Addr().String()
    
    	log.Print("Preparing trace for viewer...")
    	parsed, err := parseTraceInteractive(tracef, traceSize)
    	if err != nil {
    		logAndDie(err)
    	}
    	// N.B. tracef not needed after this point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/macho_combine_dwarf.go

    			cSect := compressedSects[i]
    			copy(sect.Name[:], cSect.Name)
    			sect.Size = cSect.Size
    			if cSect.Offset != 0 {
    				sect.Offset = cSect.Offset + uint32(deltaOffset)
    			}
    			if cSect.Addr != 0 {
    				sect.Addr = cSect.Addr
    			}
    		} else {
    			if sect.Offset != 0 {
    				sect.Offset += uint32(deltaOffset)
    			}
    			if sect.Reloff != 0 {
    				sect.Reloff += uint32(deltaOffset)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/util/util_test.go

    					},
    				},
    			},
    		},
    	}
    
    	for _, test := range testCases {
    		t.Run(test.name, func(t *testing.T) {
    			addr := BuildAddress(test.addr, test.port)
    			if !reflect.DeepEqual(addr, test.expected) {
    				t.Errorf("expected add %v, but got %v", test.expected, addr)
    			}
    		})
    	}
    }
    
    func TestGetEndpointHost(t *testing.T) {
    	tests := []struct {
    		name     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network_test.go

    			addresses := c.ambientIndex.All()
    			for _, addr := range addresses {
    				wl := addr.GetWorkload()
    				if wl != nil {
    					if !podNames.Contains(wl.Name) {
    						continue
    					}
    					if addr.GetWorkload().Network != network {
    						return fmt.Errorf("no network workload notify")
    					}
    				}
    				svc := addr.GetService()
    				if svc != nil {
    					if !svcNames.Contains(svc.Name) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/runtime/error.go

    	return "runtime error: " + string(e)
    }
    
    type errorAddressString struct {
    	msg  string  // error message
    	addr uintptr // memory address where the error occurred
    }
    
    func (e errorAddressString) RuntimeError() {}
    
    func (e errorAddressString) Error() string {
    	return "runtime error: " + e.msg
    }
    
    // Addr returns the memory address where a fault occurred.
    // The address provided is best-effort.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/net/sendfile_test.go

    				return
    			}
    		}()
    	}(ln)
    
    	// Connect to listener to retrieve file and verify digest matches
    	// expected.
    	c, err := Dial("tcp", ln.Addr().String())
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer c.Close()
    
    	h := sha256.New()
    	rbytes, err := io.Copy(h, c)
    	if err != nil {
    		t.Error(err)
    	}
    
    	if rbytes != newtonLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top