- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for newObject (0.26 sec)
-
test/codegen/alloc.go
// introduce a call to runtime.newobject. package codegen func zeroAllocNew1() *struct{} { // 386:-`CALL\truntime\.newobject` // amd64:-`CALL\truntime\.newobject` // arm:-`CALL\truntime\.newobject` // arm64:-`CALL\truntime\.newobject` return new(struct{}) } func zeroAllocNew2() *[0]int { // 386:-`CALL\truntime\.newobject` // amd64:-`CALL\truntime\.newobject` // arm:-`CALL\truntime\.newobject`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 26 23:08:15 UTC 2019 - 902 bytes - Viewed (0) -
pkg/registry/apps/controllerrevision/storage/storage_test.go
badRevision = stripObjectMeta(newControllerRevision("validname", "validns", newObject(), -1)) emptyName = stripObjectMeta(newControllerRevision("", "validns", newObject(), 0)) invalidName = stripObjectMeta(newControllerRevision("NoUppercaseOrSpecialCharsLike=Equals", "validns", newObject(), 0))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 5.6K bytes - Viewed (0) -
test/uintptrescapes2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 24 18:24:24 UTC 2021 - 2.2K bytes - Viewed (0) -
pkg/registry/apps/controllerrevision/strategy_test.go
var ( valid = newControllerRevision("validname", "validns", newObject(), 0) badRevision = newControllerRevision("validname", "validns", newObject(), -1) emptyName = newControllerRevision("", "validns", newObject(), 0) invalidName = newControllerRevision("NoUppercaseOrSpecialCharsLike=Equals", "validns", newObject(), 0) emptyNs = newControllerRevision("validname", "", newObject(), 100)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 09 11:14:08 UTC 2017 - 4.5K bytes - Viewed (0) -
test/fixedbugs/issue15747.go
package p var global *[]byte type Q struct{} type T struct{ M string } var b bool func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at entry to f1: xx$" // xx was copied from the stack to the heap on the previous line: // xx was live for the first two prints but then it switched to &xx // being live. We should not see plain xx again. if b {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedupdater_test.go
} } func TestLargeLastApplied(t *testing.T) { tests := []struct { name string oldObject *unstructured.Unstructured newObject *unstructured.Unstructured }{ { name: "old object + new object last-applied annotation is too big", oldObject: func() *unstructured.Unstructured { u := &unstructured.Unstructured{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 7.4K bytes - Viewed (0) -
test/fixedbugs/issue16948.go
} var x int32 type T [10]int var sink *T func f() (t T) { atomic.AddInt32(&x, 1) g(42, 42, 42, 42, 42, &t) // use int values that is invalid pointer to smash the stack slot of return value of runtime.newobject return } //go:noinline func g(a, b, c, d, e int, p *T) { var t [10000]int // a large stack frame to trigger stack growing _ = t sink = p // force p (in caller) heap allocated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 01 14:25:46 UTC 2016 - 703 bytes - Viewed (0) -
test/fixedbugs/issue16249.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 02 00:40:40 UTC 2016 - 1.3K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager.go
items: make(map[objectKey]*objectStoreItem), defaultTTL: ttl, getTTL: getTTL, } } func isObjectOlder(newObject, oldObject runtime.Object) bool { if newObject == nil || oldObject == nil { return false } newVersion, _ := storage.APIObjectVersioner{}.ObjectResourceVersion(newObject) oldVersion, _ := storage.APIObjectVersioner{}.ObjectResourceVersion(oldObject) return newVersion < oldVersion }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/ir/symtab.go
Goschedguarded *obj.LSym Growslice *obj.LSym InterfaceSwitch *obj.LSym Memmove *obj.LSym Msanread *obj.LSym Msanwrite *obj.LSym Msanmove *obj.LSym Newobject *obj.LSym Newproc *obj.LSym Panicdivide *obj.LSym Panicshift *obj.LSym PanicdottypeE *obj.LSym PanicdottypeI *obj.LSym Panicnildottype *obj.LSym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:26 UTC 2023 - 2K bytes - Viewed (0)