- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,146 for heal (0.06 sec)
-
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) -
fess-crawler/src/test/resources/extractor/test_utf8.html
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 162 bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
// The heap variables aren't protected by a mutex. For now, just bomb if you // try to use OutBuf in parallel. (Note this probably could be fixed.) if out.isView { panic("cannot write to heap in parallel") } // See if our heap would grow to be too large, and if so, copy it to the end // of the mmapped area. if heapLen > maxOutBufHeapLen && out.copyHeap() { heapPos -= heapLen
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
test/escape5.go
p := leaktoret(&x) _ = p } func f3() { var x int // ERROR "moved to heap: x" p := leaktoret(&x) gp = p } func f4() { var x int // ERROR "moved to heap: x" p, q := leaktoret2(&x) gp = p gp = q } func f5() { var x int leaktoret22(leaktoret2(&x)) } func f6() { var x int // ERROR "moved to heap: x" px1, px2 := leaktoret22(leaktoret2(&x)) gp = px1 _ = px2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/test/loadbalancersim/loadbalancer/edf.go
func (pq priorityQueue) Less(i, j int) bool { // Flip logic to make this a min queue. if pq[i].deadline == pq[j].deadline { return pq[i].index < pq[j].index } return pq[i].deadline < pq[j].deadline } // Swap implements heap.Interface/sort.Interface func (pq priorityQueue) Swap(i, j int) { pq[i], pq[j] = pq[j], pq[i] } // Push implements heap.Interface for pushing an item into the heap
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2.8K bytes - Viewed (0) -
src/runtime/traceexp.go
// Experimental heap span events. IDs map reversibly to base addresses. traceEvSpan // heap span exists [timestamp, id, npages, type/class] traceEvSpanAlloc // heap span alloc [timestamp, id, npages, type/class] traceEvSpanFree // heap span free [timestamp, id] // Experimental heap object events. IDs map reversibly to addresses. traceEvHeapObject // heap object exists [timestamp, id, type]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 2.4K bytes - Viewed (0) -
test/stackobj.go
type StkObj struct { h *HeapObj } var n int var c int = -1 func gc() { // encourage heap object to be collected, and have its finalizer run. runtime.GC() runtime.GC() runtime.GC() n++ } func main() { f() gc() // prior to stack objects, heap object is not collected until here if c < 0 { panic("heap object never collected") } if c != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 03 19:54:16 UTC 2018 - 975 bytes - Viewed (0) -
test/fixedbugs/issue4252.dir/main.go
package main import "./a" func main() { if a.InlinedFakeTrue() { panic("returned true was the real one") } if !a.InlinedFakeFalse() { panic("returned false was the real one") } if a.InlinedFakeNil() == nil { panic("returned nil was the real one") } a.Test()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 435 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/cgonoescape.go
// #cgo noescape annotations for a C function means its arguments won't escape to heap. // We assume that there won't be 100 new allocated heap objects in other places, // i.e. runtime.ReadMemStats or other runtime background works. // So, the tests are: // 1. at least 100 new allocated heap objects after invoking withoutNoEscape 100 times. // 2. less than 100 new allocated heap objects after invoking withoutNoEscape 100 times. /*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 16:43:23 UTC 2023 - 1.8K bytes - Viewed (0) -
test/typeparam/issue50485.dir/a.go
} // Header is constrains interface type, enforce Head type of Cons is HT type Header[HT any] interface { HList Head() HT } // Cons means H :: T // zero value of Cons[H,T] is not allowed. // so Cons defined as interface type type Cons[H any, T HList] interface { HList Head() H Tail() T } type Nil struct { } func (r Nil) Head() Nil { return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0)