Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for newObject (0.46 sec)

  1. pkg/kubelet/util/manager/watch_based_manager_test.go

    func newSecretCache(fakeClient clientset.Interface, fakeClock clock.Clock, maxIdleTime time.Duration) *objectCache {
    	return &objectCache{
    		listObject:    listSecret(fakeClient),
    		watchObject:   watchSecret(fakeClient),
    		newObject:     func() runtime.Object { return &v1.Secret{} },
    		isImmutable:   isSecretImmutable,
    		groupResource: corev1.Resource("secret"),
    		clock:         fakeClock,
    		maxIdleTime:   maxIdleTime,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/internal/trace/testdata/tests/go122-annotations-stress.test

    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/chan.go"
    String id=142
    	data="runtime.(*wakeableSleep).sleep"
    String id=143
    	data="runtime.traceStartReadCPU.func1"
    String id=144
    	data="runtime.newobject"
    String id=145
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/malloc.go"
    String id=146
    	data="sync.(*Mutex).Unlock"
    String id=147
    	data="runtime/trace.Start.func1"
    String id=148
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
Back to top