Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 107 for Atack (0.12 sec)

  1. src/runtime/mem_linux.go

    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    const (
    	_EACCES = 13
    	_EINVAL = 22
    )
    
    // Don't split the stack as this method may be invoked without a valid G, which
    // prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	p, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/runtime/tracebuf.go

    		}
    		v >>= 7
    		pos++
    	}
    	if v != 0 {
    		throw("v could not fit in traceBytesPerNumber")
    	}
    }
    
    // traceBufFlush flushes a trace buffer.
    //
    // Must run on the system stack because trace.lock must be held.
    //
    //go:systemstack
    func traceBufFlush(buf *traceBuf, gen uintptr) {
    	assertLockHeld(&trace.lock)
    
    	// Write out the non-header length of the batch in the header.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/runtime/pprof/protomem_test.go

    	rec := []profilerecord.MemProfileRecord{
    		{AllocBytes: 4096, FreeBytes: 1024, AllocObjects: 4, FreeObjects: 1, Stack: []uintptr{a1, a2}},
    		{AllocBytes: 512 * 1024, FreeBytes: 0, AllocObjects: 1, FreeObjects: 0, Stack: []uintptr{a2 + 1, a2 + 2}},
    		{AllocBytes: 512 * 1024, FreeBytes: 512 * 1024, AllocObjects: 1, FreeObjects: 1, Stack: []uintptr{a1 + 1, a1 + 2, a2 + 3}},
    	}
    
    	periodType := &profile.ValueType{Type: "space", Unit: "bytes"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/runtime/os_openbsd.go

    	if err != 0 || uintptr(a) != s.base() {
    		print("runtime: remapping stack memory ", hex(s.base()), " ", s.npages*pageSize, " a=", a, " err=", err, "\n")
    		throw("remapping stack memory failed")
    	}
    }
    
    //go:nosplit
    func raise(sig uint32) {
    	thrkill(getthrid(), int(sig))
    }
    
    func signalM(mp *m, sig int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/go/types/errors.go

    )
    
    func assert(p bool) {
    	if !p {
    		msg := "assertion failed"
    		// Include information about the assertion location. Due to panic recovery,
    		// this location is otherwise buried in the middle of the panicking stack.
    		if _, file, line, ok := runtime.Caller(1); ok {
    			msg = fmt.Sprintf("%s:%d: %s", file, line, msg)
    		}
    		panic(msg)
    	}
    }
    
    // An errorDesc describes part of a type-checking error.
    type errorDesc struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/runtime/sys_openbsd2.go

    func thrkill(tid int32, sig int) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(thrkill_trampoline)), unsafe.Pointer(&tid))
    }
    func thrkill_trampoline()
    
    // mmap is used to do low-level memory allocation via mmap. Don't allow stack
    // splits, since this function (used by sysAlloc) is called in a lot of low-level
    // parts of the runtime and callers often assume it won't acquire any locks.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/net/ipsock_posix.go

    //     "udp", with a wildcard address: If the platform supports
    //     both IPv6 and IPv4-mapped IPv6 communication capabilities,
    //     or does not support IPv4, we use a dual stack, AF_INET6 and
    //     IPV6_V6ONLY=0, wildcard address listen. The dual stack
    //     wildcard address listen may fall back to an IPv6-only,
    //     AF_INET6 and IPV6_V6ONLY=1, wildcard address listen.
    //     Otherwise we prefer an IPv4-only, AF_INET, wildcard address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/runtime/defs_darwin_arm64.go

    	exc uint32 // number of arm exception taken
    }
    
    type regs64 struct {
    	x     [29]uint64 // registers x0 to x28
    	fp    uint64     // frame register, x29
    	lr    uint64     // link register, x30
    	sp    uint64     // stack pointer, x31
    	pc    uint64     // program counter
    	cpsr  uint32     // current program status register
    	__pad uint32
    }
    
    type neonstate64 struct {
    	v    [64]uint64 // actually [32]uint128
    	fpsr uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/internal/telemetry/telemetry.go

    func Inc(name string) {
    	counter.Inc(name)
    }
    
    // NewCounter returns a counter with the given name.
    func NewCounter(name string) *counter.Counter {
    	return counter.New(name)
    }
    
    // NewStackCounter returns a new stack counter with the given name and depth.
    func NewStackCounter(name string, depth int) *counter.StackCounter {
    	return counter.NewStack(name, depth)
    }
    
    // CountFlags creates a counter for every flag that is set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/unicode/utf16/utf16.go

    // Decode returns the Unicode code point sequence represented
    // by the UTF-16 encoding s.
    func Decode(s []uint16) []rune {
    	// Preallocate capacity to hold up to 64 runes.
    	// Decode inlines, so the allocation can live on the stack.
    	buf := make([]rune, 0, 64)
    	return decode(s, buf)
    }
    
    // decode appends to buf the Unicode code point sequence represented
    // by the UTF-16 encoding s and return the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top