Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for newObject (0.27 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. 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)
  3. 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)
  4. src/runtime/map_fast64.go

    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork_fast64(t, h, bucket)
    	}
    	b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/runtime/map_fast32.go

    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork_fast32(t, h, bucket)
    	}
    	b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    // to avoid depending on having a working compiler binary.
    
    //go:build ignore
    
    package runtime
    
    // emitted by compiler, not referred to by go programs
    
    import "unsafe"
    
    func newobject(typ *byte) *any
    func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer
    func panicdivide()
    func panicshift()
    func panicmakeslicelen()
    func panicmakeslicecap()
    func throwinit()
    func panicwrap()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/builtin.go

    	for i, typ := range tlist {
    		flist[i] = types.NewField(src.NoXPos, nil, typ)
    	}
    	return flist
    }
    
    var runtimeDecls = [...]struct {
    	name string
    	tag  int
    	typ  int
    }{
    	{"newobject", funcTag, 4},
    	{"mallocgc", funcTag, 8},
    	{"panicdivide", funcTag, 9},
    	{"panicshift", funcTag, 9},
    	{"panicmakeslicelen", funcTag, 9},
    	{"panicmakeslicecap", funcTag, 9},
    	{"throwinit", funcTag, 9},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    	hash := t.Hasher(noescape(unsafe.Pointer(&s)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork_faststr(t, h, bucket)
    	}
    	b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/runtime/arena.go

    		*sl = slice{makeslicecopy(et, len, len, (*slice)(e.data).array), len, len}
    		xe := efaceOf(&x)
    		xe._type = t
    		xe.data = unsafe.Pointer(sl)
    	case abi.Pointer:
    		et := (*ptrtype)(unsafe.Pointer(t)).Elem
    		e2 := newobject(et)
    		typedmemmove(et, e2, e.data)
    		xe := efaceOf(&x)
    		xe._type = t
    		xe.data = e2
    	}
    	return x
    }
    
    const (
    	// userArenaChunkBytes is the size of a user arena chunk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. src/cmd/internal/goobj/objfile.go

    	PkgIdxHashed                        // Hashed (content-addressable) symbols
    	PkgIdxBuiltin                       // Predefined runtime symbols (ex: runtime.newobject)
    	PkgIdxSelf                          // Symbols defined in the current package
    	PkgIdxSpecial  = PkgIdxSelf         // Indices above it has special meanings
    	PkgIdxInvalid  = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top