- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 183 for heapUp (0.45 sec)
-
pkg/scheduler/schedule_one.go
return "", nil, errEmptyPriorityList } var h nodeScoreHeap = nodeScoreList heap.Init(&h) cntOfMaxScore := 1 selectedIndex := 0 // The top of the heap is the NodeScoreResult with the highest score. sortedNodeScoreList := make([]framework.NodePluginScores, 0, count) sortedNodeScoreList = append(sortedNodeScoreList, heap.Pop(&h).(framework.NodePluginScores))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
src/runtime/malloc_test.go
} // Try to cause an alignment access fault // by atomically accessing the first 64-bit // value of a tiny-allocated object. // See issue 37262 for details. // GC twice, once to reach a stable heap state // and again to make sure we finish the sweep phase. runtime.GC() runtime.GC() // Disable preemption so we stay on one P's tiny allocator and // nothing else allocates from it. runtime.Acquirem()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 10.6K bytes - Viewed (0) -
src/sort/zsortfunc.go
for i := a + 1; i < b; i++ { for j := i; j > a && data.Less(j, j-1); j-- { data.Swap(j, j-1) } } } // siftDown_func implements the heap property on data[lo:hi]. // first is an offset into the array where the root of the heap lies. func siftDown_func(data lessSwap, lo, hi, first int) { root := lo for { child := 2*root + 1 if child >= hi { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 13 20:16:24 UTC 2022 - 11.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/base" "cmd/compile/internal/types" "container/heap" "sort" ) const ( ScorePhi = iota // towards top of block ScoreArg // must occur at the top of the entry block ScoreInitMem // after the args - used as mark by debug info generation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 15:53:17 UTC 2024 - 16.4K bytes - Viewed (0) -
src/runtime/mpagealloc_test.go
// memory that isn't just in the case where we exhaust the heap. // // It achieves this by placing a chunk such that its summary will be // at the very end of a physical page. It then also places another chunk // much further up in the address space, such that any allocations into the // first chunk do not exhaust the heap and the second chunk's summary is not in the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 19:16:48 UTC 2021 - 32.6K bytes - Viewed (0) -
src/runtime/race.go
} type symbolizeDataContext struct { addr uintptr heap uintptr start uintptr size uintptr name *byte file *byte line uintptr res uintptr } func raceSymbolizeData(ctx *symbolizeDataContext) { if base, span, _ := findObject(ctx.addr, 0, 0); base != 0 { // TODO: Does this need to handle malloc headers? ctx.heap = 1 ctx.start = base ctx.size = span.elemsize ctx.res = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/runtime/runtime2.go
// and cmd/compile/internal/ssagen/ssa.go:(*state).call. // Some defers will be allocated on the stack and some on the heap. // All defers are logically part of the stack, so write barriers to // initialize them are not required. All defers must be manually scanned, // and for heap defers, marked. type _defer struct { heap bool rangefunc bool // true for rangefunc list sp uintptr // sp at time of defer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
final JvmMemoryObj jvmMemoryObj = new JvmMemoryObj(); jvmObj.memory = jvmMemoryObj; final JvmMemoryHeapObj jvmMemoryHeapObj = new JvmMemoryHeapObj(); jvmMemoryObj.heap = jvmMemoryHeapObj; jvmMemoryHeapObj.used = mem.getHeapUsed().getBytes(); jvmMemoryHeapObj.committed = mem.getHeapCommitted().getBytes(); jvmMemoryHeapObj.max = mem.getHeapMax().getBytes();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0) -
src/sort/zsortinterface.go
for i := a + 1; i < b; i++ { for j := i; j > a && data.Less(j, j-1); j-- { data.Swap(j, j-1) } } } // siftDown implements the heap property on data[lo:hi]. // first is an offset into the array where the root of the heap lies. func siftDown(data Interface, lo, hi, first int) { root := lo for { child := 2*root + 1 if child >= hi { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 13 20:16:24 UTC 2022 - 11.2K bytes - Viewed (0) -
src/slices/zsortanyfunc.go
for j := i; j > a && (cmp(data[j], data[j-1]) < 0); j-- { data[j], data[j-1] = data[j-1], data[j] } } } // siftDownCmpFunc implements the heap property on data[lo:hi]. // first is an offset into the array where the root of the heap lies. func siftDownCmpFunc[E any](data []E, lo, hi, first int, cmp func(a, b E) int) { root := lo for { child := 2*root + 1 if child >= hi { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 23:33:29 UTC 2023 - 12.8K bytes - Viewed (0)