- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,146 for heal (0.04 sec)
-
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/list/LinkedList.groovy.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/list/LinkedList.scala.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 1.7K bytes - Viewed (0) -
test/escape_closure.go
func ClosureCallArgs9() { // BAD: x should not leak x := 0 // ERROR "moved to heap: x" for { defer func(p *int) { // ERROR "func literal escapes to heap" "p does not escape" *p = 1 }(&x) } } func ClosureCallArgs10() { for { x := 0 // ERROR "moved to heap: x" defer func(p *int) { // ERROR "func literal escapes to heap" "p does not escape" *p = 1 }(&x) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 16:36:09 UTC 2023 - 4.6K bytes - Viewed (0) -
src/sync/poolqueue.go
func (d *poolDequeue) unpack(ptrs uint64) (head, tail uint32) { const mask = 1<<dequeueBits - 1 head = uint32((ptrs >> dequeueBits) & mask) tail = uint32(ptrs & mask) return } func (d *poolDequeue) pack(head, tail uint32) uint64 { const mask = 1<<dequeueBits - 1 return (uint64(head) << dequeueBits) | uint64(tail&mask) } // pushHead adds val at the head of the queue. It returns false if the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 18:12:29 UTC 2024 - 8.3K bytes - Viewed (0) -
test/uintptrescapes2.go
var v int // ERROR "moved to heap" t.M1(uintptr(unsafe.Pointer(&v))) // ERROR "live at call to T.M1: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$" } func TestF2() { var v int // ERROR "moved to heap" F2(0, 1, uintptr(unsafe.Pointer(&v)), 2) // ERROR "live at call to newobject: .?autotmp" "live at call to F2: .?autotmp" "escapes to heap" "stack object .autotmp_[0-9]+ unsafe.Pointer$" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 24 18:24:24 UTC 2021 - 2.2K bytes - Viewed (0) -
src/container/heap/example_intheap_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This example demonstrates an integer heap built using the heap interface. package heap_test import ( "container/heap" "fmt" ) // An IntHeap is a min-heap of ints. type IntHeap []int func (h IntHeap) Len() int { return len(h) } func (h IntHeap) Less(i, j int) bool { return h[i] < h[j] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 1.1K bytes - Viewed (0) -
src/runtime/gcinfo_test.go
for i := 0; i < 10; i++ { verifyGCInfo(t, "heap Ptr", runtime.Escape(new(Ptr)), trimDead(infoPtr)) verifyGCInfo(t, "heap PtrSlice", runtime.Escape(&make([]*byte, 10)[0]), trimDead(infoPtr10)) verifyGCInfo(t, "heap ScalarPtr", runtime.Escape(new(ScalarPtr)), trimDead(infoScalarPtr)) verifyGCInfo(t, "heap ScalarPtrSlice", runtime.Escape(&make([]ScalarPtr, 4)[0]), trimDead(infoScalarPtr4))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:58:08 UTC 2023 - 6K bytes - Viewed (0) -
test/fixedbugs/issue11945.go
) var tests = []struct { code string got, want interface{} }{ {"real(1)", real(1), 1.0}, {"real('a')", real('a'), float64('a')}, {"real(2.0)", real(2.0), 2.0}, {"real(3.2i)", real(3.2i), 0.0}, {"imag(1)", imag(1), 0.0}, {"imag('a')", imag('a'), 0.0}, {"imag(2.1 + 3.1i)", imag(2.1 + 3.1i), 3.1}, {"imag(3i)", imag(3i), 3.0}, } func main() { // verify compile-time evaluated constant expressions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 26 01:50:30 UTC 2021 - 1.6K bytes - Viewed (0) -
test/fixedbugs/issue16095.go
} // Force x to be allocated on the heap. sink = &x sink = nil // Go to deferreturn after the panic below. defer func() { recover() }() // This call collects the heap-allocated version of x (oops!) runtime.GC() // Allocate that same object again and clobber it. y := new([20]byte) for i := 0; i < 20; i++ { y[i] = 99 } // Make sure y is heap allocated. sink = y panic(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 27 16:48:48 UTC 2016 - 1.9K bytes - Viewed (0) -
test/ken/rob1.go
type ListItem struct { item Item next *ListItem } type List struct { head *ListItem } func (list *List) Init() { list.head = nil } func (list *List) Insert(i Item) { item := new(ListItem) item.item = i item.next = list.head list.head = item } func (list *List) Print() string { r := "" i := list.head for i != nil { r += i.item.Print() i = i.next } return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.1K bytes - Viewed (0)