Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for newObject (0.26 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    // for late-expanded calls, recognize newobject and remove zeroing and nilchecks
    (Zero (SelectN [0] call:(StaticLECall _ _)) mem:(SelectN [1] call))
    	&& isSameCall(call.Aux, "runtime.newobject")
    	=> mem
    
    (Store (SelectN [0] call:(StaticLECall _ _)) x mem:(SelectN [1] call))
    	&& isConstZero(x)
    	&& isSameCall(call.Aux, "runtime.newobject")
    	=> mem
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.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/cmd/compile/internal/ssagen/ssa.go

    	s.assign(addr, ptr, false, 0)
    }
    
    // newObject returns an SSA value denoting new(typ).
    func (s *state) newObject(typ *types.Type, rtype *ssa.Value) *ssa.Value {
    	if typ.Size() == 0 {
    		return s.newValue1A(ssa.OpAddr, types.NewPtr(typ), ir.Syms.Zerobase, s.sb)
    	}
    	if rtype == nil {
    		rtype = s.reflectType(typ)
    	}
    	return s.rtcall(ir.Syms.Newobject, true, []*types.Type{types.NewPtr(typ)}, rtype)[0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1_openapi.json

    "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 388.1K bytes
    - Viewed (0)
  7. 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)
  8. cmd/test-utils_test.go

    	}
    	return erasureDisks, nil
    }
    
    // Initialize object layer with the supplied disks, objectLayer is nil upon any error.
    func newTestObjectLayer(ctx context.Context, endpointServerPools EndpointServerPools) (newObject ObjectLayer, err error) {
    	initAllSubsystems(ctx)
    
    	return newErasureServerPools(ctx, endpointServerPools)
    }
    
    // initObjectLayer - Instantiates object layer and returns it.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    }
    
    // getPoolIdx returns the found previous object and its corresponding pool idx,
    // if none are found falls back to most available space pool, this function is
    // designed to be only used by PutObject, CopyObject (newObject creation) and NewMultipartUpload.
    func (z *erasureServerPools) getPoolIdx(ctx context.Context, bucket, object string, size int64) (idx int, err error) {
    	idx, err = z.getPoolIdxExistingWithOpts(ctx, bucket, object, ObjectOptions{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.15.md

    - Added `objectSelector` to admission webhook configurations. `objectSelector` is evaluated the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
Back to top