Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 476 for zeroed (0.28 sec)

  1. src/runtime/slice.go

    // Added entries [oldLen, newLen) are not initialized by growslice
    // (although for pointer-containing element types, they are zeroed). They
    // must be initialized by the caller.
    // Trailing entries [newLen, newCap) are zeroed.
    //
    // growslice's odd calling convention makes the generated code that calls
    // this function simpler. In particular, it accepts and returns the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/runtime/string.go

    // The storage is not zeroed. Callers should use
    // b to set the string contents and then drop b.
    func rawstring(size int) (s string, b []byte) {
    	p := mallocgc(uintptr(size), nil, false)
    	return unsafe.String((*byte)(p), size), unsafe.Slice((*byte)(p), size)
    }
    
    // rawbyteslice allocates a new byte slice. The byte slice is not zeroed.
    func rawbyteslice(size int) (b []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    		arenaBase := base % heapArenaBytes
    		if arenaBase < zeroedBase {
    			// We extended into the non-zeroed part of the
    			// arena, so this region needs to be zeroed before use.
    			//
    			// zeroedBase is monotonically increasing, so if we see this now then
    			// we can be sure we need to zero this memory region.
    			//
    			// We still need to update zeroedBase for this arena, and
    			// potentially more arenas.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/container_manager.go

    	// registration.
    	GetPluginRegistrationHandler() cache.PluginHandler
    
    	// ShouldResetExtendedResourceCapacity returns whether or not the extended resources should be zeroed,
    	// due to node recreation.
    	ShouldResetExtendedResourceCapacity() bool
    
    	// GetAllocateResourcesPodAdmitHandler returns an instance of a PodAdmitHandler responsible for allocating pod resources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/os/dir.go

    // creating dir if necessary.
    //
    // Newly created directories and files have their default modes
    // where any bits from the file in fsys that are not part of the
    // standard read, write, and execute permissions will be zeroed
    // out, and standard read and write permissions are set for owner,
    // group, and others while retaining any existing execute bits from
    // the file in fsys.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/runtime/malloc.go

    // already zeroed. Otherwise if needzero is true, objects are zeroed as
    // they are allocated. There are various benefits to delaying zeroing
    // this way:
    //
    //	1. Stack frame allocation can avoid zeroing altogether.
    //
    //	2. It exhibits better temporal locality, since the program is
    //	   probably about to write to the memory.
    //
    //	3. We don't zero pages that never get reused.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    // does not execute write barriers for [dst, dst+size).
    //
    // In addition to the requirements of bulkBarrierPreWrite
    // callers need to ensure [dst, dst+size) is zeroed.
    //
    // This is used for special cases where e.g. dst was just
    // created and zeroed with malloc.
    //
    // The type of the space can be provided purely as an optimization.
    // See bulkBarrierPreWrite's comment for more details -- use this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/crypto/sha512/sha512.go

    	if len%128 < 112 {
    		t = 112 - len%128
    	} else {
    		t = 128 + 112 - len%128
    	}
    
    	// Length in bits.
    	len <<= 3
    	padlen := tmp[:t+16]
    	// Upper 64 bits are always zero, because len variable has type uint64,
    	// and tmp is already zeroed at that index, so we can skip updating it.
    	// byteorder.BePutUint64(padlen[t+0:], 0)
    	byteorder.BePutUint64(padlen[t+8:], len)
    	d.Write(padlen)
    
    	if d.nx != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// insert low width bits of arg0 into the result starting at bit lsb, bits to the left and right of the inserted bit field are zeroed
    		{name: "UBFIZ", argLength: 1, reg: gp11, asm: "UBFIZ", aux: "ARM64BitField"},
    		// extract width bits of arg0 starting at bit lsb and insert at low end of result, remaining high bits are zeroed
    		{name: "UBFX", argLength: 1, reg: gp11, asm: "UBFX", aux: "ARM64BitField"},
    
    		// moves
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  10. src/runtime/profbuf.go

    // time of the first discarded write. The high 32 bits of 'overflow'
    // increment each time the low 32 bits transition from zero to non-zero
    // or vice versa. This sequence number avoids ABA problems in the use of
    // compare-and-swap to coordinate between reader and writer.
    // The overflowTime is only written when the low 32 bits of overflow are
    // zero, that is, only when there is no pending overflow entry, in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top