- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 330 for newobject (0.17 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) -
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/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) -
cmd/server-main.go
initDataScanner(GlobalContext, newObject) } }) // Initialize background replication bootstrapTrace("initBackgroundReplication", func() { initBackgroundReplication(GlobalContext, newObject) }) // Initialize background ILM worker poool bootstrapTrace("initBackgroundExpiry", func() { initBackgroundExpiry(GlobalContext, newObject) })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 04 15:12:57 UTC 2024 - 34.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/managedfieldsupdater_test.go
} updater := internal.NewManagedFieldsUpdater(NoopManager{}) newObject, _, err := updater.Apply(obj, obj.DeepCopyObject(), managed, "some_manager", false) if err != nil { t.Fatalf("failed to apply configuration %v", err) } if newObject == obj { t.Fatalf("returned newObject must not be the same instance as the passed in liveObj") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 13.2K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager.go
} store := &objectCache{ listObject: listObject, watchObject: watchObject, newObject: newObject, isImmutable: isImmutable, groupResource: groupResource, clock: clock, maxIdleTime: maxIdleTime, items: make(map[objectKey]*objectCacheItem), } go wait.Until(store.startRecycleIdleWatch, time.Minute, stopCh) go store.shutdownWhenStopped(stopCh)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.6K 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) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt
private fun objectByIdentity(key: ObjectAccessKey, newObject: () -> Any?): Any? { // This code does not use `computeIfAbsent` because `newObject` can make reentrant calls, leading to CME. // Also, it does not check for the value being null, because null values are potentially allowed if (key !in reflectionIdentityObjects) { val newInstance = newObject() reflectionIdentityObjects[key] = newInstance
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 10.6K bytes - Viewed (0)