Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for newObject (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. test/live.go

    func f27go(b bool) {
    	x := 0
    	if b {
    		go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: &x .autotmp_[0-9]+$" "live at call to newproc: &x$" // allocate two closures, the func literal, and the wrapper for go
    	}
    	go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: .autotmp_[0-9]+$" // allocate two closures, the func literal, and the wrapper for go
    	printnl()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. test/live_regabi.go

    func f27go(b bool) {
    	x := 0
    	if b {
    		go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: &x .autotmp_[0-9]+$" "live at call to newproc: &x$" // allocate two closures, the func literal, and the wrapper for go
    	}
    	go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: .autotmp_[0-9]+$" // allocate two closures, the func literal, and the wrapper for go
    	printnl()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top