- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,146 for heal (0.04 sec)
-
src/cmd/link/internal/ld/outbuf_nommap.go
package ld // Mmap allocates an in-heap output buffer with the given size. It copies // any old data (if any) to the new buffer. func (out *OutBuf) Mmap(filesize uint64) error { // We need space to put all the symbols before we apply relocations. oldheap := out.heap if filesize < uint64(len(oldheap)) { panic("mmap size too small") } out.heap = make([]byte, filesize) copy(out.heap, oldheap) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:20:31 UTC 2024 - 660 bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:44 UTC 2021 - 2.8K bytes - Viewed (0) -
src/internal/abi/escape.go
import "unsafe" // NoEscape hides the pointer p from escape analysis, preventing it // from escaping to the heap. It compiles down to nothing. // // WARNING: This is very subtle to use correctly. The caller must // ensure that it's truly safe for p to not escape to the heap by // maintaining runtime pointer invariants (for example, that globals // and the heap may not generally point into a stack). // //go:nosplit //go:nocheckptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 884 bytes - Viewed (0) -
test/escape_runtime_atomic.go
} var ptr unsafe.Pointer func Storep() { var x int // ERROR "moved to heap: x" atomic.StorepNoWB(unsafe.Pointer(&ptr), unsafe.Pointer(&x)) } func Casp1() { // BAD: should always be "does not escape" x := new(int) // ERROR "escapes to heap|does not escape" var y int // ERROR "moved to heap: y" atomic.Casp1(&ptr, unsafe.Pointer(x), unsafe.Pointer(&y))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 874 bytes - Viewed (0) -
test/typeparam/cons.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 21 23:41:49 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_issue61415.txt
stdout '"Reuse": true' # Experiment case: if the nested module doesn't exist at "latest", # the Origin metadata should include the ref that we tried to resolve # (HEAD for a repo without version tags) and the hash to which it refers, # so that changing the HEAD ref will invalidate the result. go list -json -m --versions -e vcs-test.golang.org/git/issue61415.git/nested@latest cp stdout no-nested.json
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 22:15:45 UTC 2023 - 3.1K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/test_entity.xml
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 151 bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_windows.go
bufHdr.Data = unsafe.Pointer(ptr) bufHdr.Len = int(filesize) bufHdr.Cap = int(filesize) // copy heap to new mapping if uint64(oldlen+len(out.heap)) > filesize { panic("mmap size too small") } copy(out.buf[oldlen:], out.heap) out.heap = out.heap[:0] return nil } func (out *OutBuf) munmap() { if out.buf == nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 01:59:25 UTC 2022 - 2.3K bytes - Viewed (0) -
test/escape_array.go
return foo(foo(bar(a, b))) } func tbff1() *string { a := "cat" b := "dog" // ERROR "moved to heap: b$" u := bff(&a, &b) _ = u[0] return &b } // BAD: need fine-grained analysis to track u[0] and u[1] differently. func tbff2() *string { a := "cat" // ERROR "moved to heap: a$" b := "dog" // ERROR "moved to heap: b$" u := bff(&a, &b) _ = u[0] return u[1] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 3.6K bytes - Viewed (0) -
test/escape4.go
p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x" } f() } func f2() {} // ERROR "can inline f2" // No inline for recover; panic now allowed to inline. func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap" func f4() { recover() } func f5() *byte { // ERROR "can inline f5" type T struct { x [1]byte } t := new(T) // ERROR "new.T. escapes to heap"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 19:43:26 UTC 2023 - 1.4K bytes - Viewed (0)