- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 103 for Mem (0.64 sec)
-
src/runtime/malloc.go
//go:linkname newarray func newarray(typ *_type, n int) unsafe.Pointer { if n == 1 { return mallocgc(typ.Size_, typ, true) } mem, overflow := math.MulUintptr(typ.Size_, uintptr(n)) if overflow || mem > maxAlloc || n < 0 { panic(plainError("runtime: allocation size out of range")) } return mallocgc(mem, typ, true) } // reflect_unsafe_NewArray is meant for package reflect,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
final long freeMemory = Runtime.getRuntime().freeMemory(); final String msg = String.format( "%d words from %d %s: {\"time\":{\"parse\":%d,\"index\":%d},\"cpu\":%f,\"mem\":{\"heap\":\"%dmb\",\"used\":\"%dmb\"}}", items.length, size, type, parseTime, indexTime, cpuLoad, maxMemory / (1024 * 1024), (maxMemory - freeMemory) / (1024 * 1024)); logger.info(msg);
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 26.1K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
addBuiltin(sSTWGoroutineProfile, "goroutine profile") addBuiltin(sSTWGoroutineProfileCleanup, "goroutine profile cleanup") addBuiltin(sSTWAllGoroutinesStackTrace, "all goroutine stack trace") addBuiltin(sSTWReadMemStats, "read mem stats") addBuiltin(sSTWAllThreadsSyscall, "AllThreadsSyscall") addBuiltin(sSTWGOMAXPROCS, "GOMAXPROCS") addBuiltin(sSTWStartTrace, "start trace") addBuiltin(sSTWStopTrace, "stop trace")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule.go
func schedule(f *Func) { // reusable priority queue priq := new(ValHeap) // "priority" for a value score := f.Cache.allocInt8Slice(f.NumValues()) defer f.Cache.freeInt8Slice(score) // maps mem values to the next live memory value nextMem := f.Cache.allocValueSlice(f.NumValues()) defer f.Cache.freeValueSlice(nextMem) // inBlockUses records whether a value is used in the block
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 15:53:17 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
// Design the baseline for the pods, and we will make nodes that don't fit it later. var cpu = int64(4) var mem = int64(500) podWithTooBigResourceRequests := podWithResources("bar", "", v1.ResourceList{ v1.ResourceCPU: *(resource.NewQuantity(cpu, resource.DecimalSI)), v1.ResourceMemory: *(resource.NewQuantity(mem, resource.DecimalSI)), }, v1.ResourceList{ v1.ResourceCPU: *(resource.NewQuantity(cpu, resource.DecimalSI)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
func TestInsufficientCapacityNodeDaemonDoesNotUnscheduleRunningPod(t *testing.T) { for _, strategy := range updateStrategies() { podSpec := resourcePodSpec("too-much-mem", "75M", "75m") podSpec.NodeName = "too-much-mem" ds := newDaemonSet("foo") ds.Spec.UpdateStrategy = *strategy ds.Spec.Template.Spec = podSpec _, ctx := ktesting.NewTestContext(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
{ Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceCPU: cpu, v1.ResourceMemory: mem, }, Requests: v1.ResourceList{ v1.ResourceCPU: cpu, v1.ResourceMemory: mem, }, }, }, }, validators: []InitContainerValidator{assertResource}, }, { name: "Probe",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/op.go
} // NResults returns the number of results. func (a *AuxCall) NResults() int64 { return int64(len(a.abiInfo.OutParams())) } // LateExpansionResultType returns the result type (including trailing mem) // for a call that will be expanded later in the SSA phase. func (a *AuxCall) LateExpansionResultType() *types.Type { var tys []*types.Type for i := int64(0); i < a.NResults(); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 15:29:10 UTC 2024 - 18.7K bytes - Viewed (0) -
src/sync/map.go
// [Map.CompareAndSwap] is a write operation when it returns swapped set to true; // and [Map.CompareAndDelete] is a write operation when it returns deleted set to true. // // [the Go memory model]: https://go.dev/ref/mem type Map struct { mu Mutex // read contains the portion of the map's contents that are safe for // concurrent access (with or without mu held). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 15.6K bytes - Viewed (0) -
src/runtime/arena.go
// heap bitmap for n consecutive values with type typ allocated at address ptr. func userArenaHeapBitsSetSliceType(typ *_type, n int, ptr unsafe.Pointer, s *mspan) { mem, overflow := math.MulUintptr(typ.Size_, uintptr(n)) if overflow || n < 0 || mem > maxAlloc { panic(plainError("runtime: allocation size out of range")) } for i := 0; i < n; i++ { userArenaHeapBitsSetType(typ, add(ptr, uintptr(i)*typ.Size_), s) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0)