- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for checkMap (0.12 sec)
-
src/internal/trace/batchcursor_test.go
"slices" ) func TestHeap(t *testing.T) { var heap []*batchCursor // Insert a bunch of values into the heap. checkHeap(t, heap) heap = heapInsert(heap, makeBatchCursor(5)) checkHeap(t, heap) for i := int64(-20); i < 20; i++ { heap = heapInsert(heap, makeBatchCursor(i)) checkHeap(t, heap) } // Update an element in the middle to be the new minimum. for i := range heap { if heap[i].ev.time == 5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3K bytes - Viewed (0) -
src/runtime/symtab.go
// Put the new element at the beginning, // since it is the most likely to be newly used. if debugCheckCache && checkPC != 0 { if checkVal != val || checkPC != prevpc { print("runtime: table value ", val, "@", prevpc, " != cache value ", checkVal, "@", checkPC, " at PC ", targetpc, " off ", off, "\n") throw("bad pcvalue cache") } } else { mp := acquirem()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
if !existed { l.symsByName[ver][name] = i addToGlobal() return i } // symbol already exists if osym.Dupok() { if l.flags&FlagStrictDups != 0 { l.checkdup(name, r, li, oldi) } // Fix for issue #47185 -- given two dupok symbols with // different sizes, favor symbol with larger size. See // also issue #46653. szdup := l.SymSize(oldi)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)