Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,177 for adir (0.09 sec)

  1. pilot/pkg/bootstrap/monitoring.go

    	}
    	if addr != "" {
    		m.monitoringServer = &http.Server{
    			Addr:        listener.Addr().String(),
    			Handler:     mux,
    			IdleTimeout: 90 * time.Second, // matches http.DefaultTransport keep-alive timeout
    			ReadTimeout: 30 * time.Second,
    		}
    	}
    
    	version.Info.RecordComponentBuildTag("pilot")
    
    	if addr != "" {
    		go func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/net/http/httptrace/trace_test.go

    	buf.Reset()
    	trace.ConnectStart("net", "addr")
    	if got, want := buf.String(), "NO"; got != want {
    		t.Errorf("got %q; want %q", got, want)
    	}
    }
    
    func TestCompose(t *testing.T) {
    	var buf strings.Builder
    	var testNum int
    
    	connectStart := func(b byte) func(network, addr string) {
    		return func(network, addr string) {
    			if addr != "addr" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:34:30 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/msan_arm64.s

    	MOVD	addr+0(FP), RARG0
    	MOVD	sz+8(FP), RARG1
    	// void __msan_write_go(void *addr, uintptr_t sz);
    	MOVD	$__msan_write_go(SB), FARG
    	JMP	msancall<>(SB)
    
    // func runtime·msanmalloc(addr unsafe.Pointer, sz uintptr)
    TEXT	runtime·msanmalloc(SB), NOSPLIT, $0-16
    	MOVD	addr+0(FP), RARG0
    	MOVD	sz+8(FP), RARG1
    	// void __msan_malloc_go(void *addr, uintptr_t sz);
    	MOVD	$__msan_malloc_go(SB), FARG
    	JMP	msancall<>(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 01:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/sync/atomic/atomic_test.go

    	addr := (*int32)(unsafe.Pointer(uaddr))
    	for i := 0; i < count; i++ {
    		for {
    			v := LoadInt32(addr)
    			if CompareAndSwapInt32(addr, v, v+1) {
    				break
    			}
    		}
    	}
    }
    
    func hammerCompareAndSwapInt32Method(uaddr *uint32, count int) {
    	addr := (*Int32)(unsafe.Pointer(uaddr))
    	for i := 0; i < count; i++ {
    		for {
    			v := addr.Load()
    			if addr.CompareAndSwap(v, v+1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  5. src/runtime/mranges.go

    	}
    	if a.ranges[i-1].contains(addr) {
    		return addr, true
    	}
    	if i < len(a.ranges) {
    		return a.ranges[i].base.addr(), true
    	}
    	return 0, false
    }
    
    // contains returns true if a covers the address addr.
    func (a *addrRanges) contains(addr uintptr) bool {
    	i := a.findSucc(addr)
    	if i == 0 {
    		return false
    	}
    	return a.ranges[i-1].contains(addr)
    }
    
    // add inserts a new address range to a.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go

    func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error {
    	iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))}
    	return ptracePtr(PTRACE_GETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec))
    }
    
    // PtraceSetRegSetArm64 sets the registers used by arm64 binaries.
    func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 721 bytes
    - Viewed (0)
  7. src/internal/race/norace.go

    )
    
    const Enabled = false
    
    func Acquire(addr unsafe.Pointer) {
    }
    
    func Release(addr unsafe.Pointer) {
    }
    
    func ReleaseMerge(addr unsafe.Pointer) {
    }
    
    func Disable() {
    }
    
    func Enable() {
    }
    
    func Read(addr unsafe.Pointer) {
    }
    
    func Write(addr unsafe.Pointer) {
    }
    
    func ReadRange(addr unsafe.Pointer, len int) {
    }
    
    func WriteRange(addr unsafe.Pointer, len int) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 603 bytes
    - Viewed (0)
  8. src/runtime/msan_amd64.s

    	MOVQ	addr+0(FP), RARG0
    	MOVQ	sz+8(FP), RARG1
    	// void __msan_write_go(void *addr, uintptr_t sz);
    	MOVQ	$__msan_write_go(SB), AX
    	JMP	msancall<>(SB)
    
    // func runtime·msanmalloc(addr unsafe.Pointer, sz uintptr)
    TEXT	runtime·msanmalloc(SB), NOSPLIT, $0-16
    	MOVQ	addr+0(FP), RARG0
    	MOVQ	sz+8(FP), RARG1
    	// void __msan_malloc_go(void *addr, uintptr_t sz);
    	MOVQ	$__msan_malloc_go(SB), AX
    	JMP	msancall<>(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/runtime/msan.go

    //go:build msan
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Public memory sanitizer API.
    
    func MSanRead(addr unsafe.Pointer, len int) {
    	msanread(addr, uintptr(len))
    }
    
    func MSanWrite(addr unsafe.Pointer, len int) {
    	msanwrite(addr, uintptr(len))
    }
    
    // Private interface for the runtime.
    const msanenabled = true
    
    // If we are running on the system stack, the C program may have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. internal/handlers/proxy.go

    	raddr, _, _ := net.SplitHostPort(addr)
    	if raddr == "" {
    		return addr
    	}
    	return raddr
    }
    
    // GetSourceIP retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    func GetSourceIP(r *http.Request) string {
    	addr := GetSourceIPRaw(r)
    	if strings.ContainsRune(addr, ':') {
    		return "[" + addr + "]"
    	}
    	return addr
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top