- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 530 for Allocate (0.12 sec)
-
pkg/kubelet/cm/doc.go
// to manage containers. For example, they contain functions to configure containers' cgroups, // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory, // devices...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 05 18:20:51 UTC 2023 - 934 bytes - Viewed (0) -
pilot/pkg/util/runtime/runtime.go
package runtime import ( "runtime" "istio.io/istio/pkg/log" ) // LogPanic logs the caller tree when a panic occurs. func LogPanic(r any) { // Same as stdlib http server code. Manually allocate stack trace buffer size // to prevent excessively large logs const size = 64 << 10 stacktrace := make([]byte, size) stacktrace = stacktrace[:runtime.Stack(stacktrace, false)]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td
}]; } def AllocateControlFuturesOp: Mlrt_Op<"allocate_control_futures", [AttrSizedResultSegments]> { let summary = "Allocate futures and corresponding promises"; let description = [{ Allocate futures and corresponding promises. $num: The number of futures to be allocated. $promises: There are $num promises, and promises[i] shares the state with futures[i].
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 22:07:30 UTC 2023 - 6.4K bytes - Viewed (0) -
src/runtime/msize.go
// Malloc small size classes. // // See malloc.go for overview. // See also mksizeclasses.go for how we decide what size classes to use. package runtime // Returns size of the memory block that mallocgc will allocate if you ask for the size, // minus any inline space for metadata. func roundupsize(size uintptr, noscan bool) (reqSize uintptr) { reqSize = size if reqSize <= maxSmallSize-mallocHeaderSize { // Small object.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/kubelet/cm/admission/errors.go
Error() string Type() string } type unexpectedAdmissionError struct{ Err error } var _ Error = (*unexpectedAdmissionError)(nil) func (e *unexpectedAdmissionError) Error() string { return fmt.Sprintf("Allocate failed due to %v, which is unexpected", e.Err) } func (e *unexpectedAdmissionError) Type() string { return ErrorReasonUnexpected } func GetPodAdmitResult(err error) lifecycle.PodAdmitResult { if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 08 21:15:37 UTC 2021 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue30041.go
// call on stack should not have write barrier. package main import ( "reflect" "runtime" "unsafe" ) var badPtr uintptr var sink []byte func init() { // Allocate large enough to use largeAlloc. b := make([]byte, 1<<16-1) sink = b // force heap allocation // Any space between the object and the end of page is invalid to point to. badPtr = uintptr(unsafe.Pointer(&b[len(b)-1])) + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 01 19:23:02 UTC 2019 - 1.1K bytes - Viewed (0) -
test/fixedbugs/issue27695c.go
// via reflect. package main import ( "io" "reflect" "runtime" "unsafe" ) var badPtr uintptr var sink []byte func init() { // Allocate large enough to use largeAlloc. b := make([]byte, 1<<16-1) sink = b // force heap allocation // Any space between the object and the end of page is invalid to point to. badPtr = uintptr(unsafe.Pointer(&b[len(b)-1])) + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 13 22:52:09 UTC 2018 - 1.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue21897.go
func test21897(t *testing.T) { // Please write barrier, kick in soon. defer debug.SetGCPercent(debug.SetGCPercent(1)) for i := 0; i < 10000; i++ { testCFNumberRef() testCFDateRef() testCFBooleanRef() // Allocate some memory, so eventually the write barrier is enabled // and it will see writes of bad pointers in the test* functions below. byteSliceSink = make([]byte, 1024) } } var byteSliceSink []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue16515.go
*x = T{} // DUFFZERO again } //go:noinline // a function with large frame func g() { var x [1000]int _ = x } func main() { var s struct { a T; b [8192-62]int } // allocate 64K, hopefully it's in a new span and a few bytes before it is garbage sink = &s // force heap allocation s.a[0] = 2 zero(&s.a) if s.a[0] != 0 { println("s.a[0] =", s.a[0]) panic("zeroing failed") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 29 01:09:55 UTC 2016 - 1.1K bytes - Viewed (0) -
src/runtime/iface_test.go
{name: "E16", fn: func() { e = zero16 }}, // zero values do not allocate {name: "E32", fn: func() { e = zero32 }}, {name: "E64", fn: func() { e = zero64 }}, {name: "Estr", fn: func() { e = zerostr }}, {name: "Eslice", fn: func() { e = zeroslice }}, {name: "Econstflt", fn: func() { e = 99.0 }}, // constants do not allocate {name: "Econststr", fn: func() { e = "change" }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.5K bytes - Viewed (0)