Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for zeroing (0.18 sec)

  1. src/runtime/slice.go

    	var to unsafe.Pointer
    	if !et.Pointers() {
    		to = mallocgc(tomem, nil, false)
    		if copymem < tomem {
    			memclrNoHeapPointers(add(to, copymem), tomem-copymem)
    		}
    	} else {
    		// Note: can't use rawmem (which avoids zeroing of memory), because then GC can scan uninitialized memory.
    		to = mallocgc(tomem, et, true)
    		if copymem > 0 && writeBarrier.enabled {
    			// Only shade the pointers in old.array since we know the destination slice to
    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/mbarrier.go

    	if goexperiment.CgoCheck2 {
    		cgoCheckMemmove2(typ, dst, src, 0, typ.Size_)
    	}
    }
    
    // wbZero performs the write barrier operations necessary before
    // zeroing a region of memory at address dst of type typ.
    // Does not actually do the zeroing.
    //
    //go:nowritebarrierrec
    //go:nosplit
    func wbZero(typ *_type, dst unsafe.Pointer) {
    	// This always copies a full value of type typ so it's safe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/pgen.go

    	// Sort pointer-typed before non-pointer types.
    	// Keeps the stack's GC bitmap compact.
    	ap := a.Type().HasPointers()
    	bp := b.Type().HasPointers()
    	if ap != bp {
    		return ap
    	}
    
    	// Group variables that need zeroing, so we can efficiently zero
    	// them altogether.
    	ap = a.Needzero()
    	bp = b.Needzero()
    	if ap != bp {
    		return ap
    	}
    
    	// Sort variables in descending alignment order, so we can optimally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/block.go

    	b.Kind = kind
    	b.ResetControls()
    	b.Aux = nil
    	b.AuxInt = 0
    	b.Controls[0] = v
    	b.Controls[1] = w
    	v.Uses++
    	w.Uses++
    }
    
    // truncateValues truncates b.Values at the ith element, zeroing subsequent elements.
    // The values in b.Values after i must already have had their args reset,
    // to maintain correct value uses counts.
    func (b *Block) truncateValues(i int) {
    	tail := b.Values[i:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// large or unaligned zeroing
    		// arg0 = address of memory to zero (in R3, changed as side effect)
    		// returns mem
    		//
    		// a loop is generated when there is more than one iteration
    		// needed to clear 4 doublewords
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    				}
    				if n.Heapaddr != nil {
    					// If this variable moved to the heap, then
    					// its stack copy is not live.
    					continue
    				}
    				// Note: zeroing is handled by zeroResults in walk.go.
    				livedefer.Set(int32(i))
    			}
    			if n.IsOutputParamHeapAddr() {
    				// This variable will be overwritten early in the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/certificates/v1/types.go

    	// "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints,
    	// which kube-apiserver can connect to securely.
    	// Never auto-approved by kube-controller-manager.
    	// Can be issued by the "csrsigning" controller in kube-controller-manager.
    	KubeletServingSignerName = "kubernetes.io/kubelet-serving"
    )
    
    // ExtraValue masks the value so protobuf can generate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. pkg/config/analysis/msg/messages.yaml

        code: IST0150
        level: Warning
        description: "Proxy may prevent tcp named ports and unmatched traffic for ports serving TCP protocol from being forwarded correctly for ExternalName services."
        template: "Port name for ExternalName service is invalid. Proxy may prevent tcp named ports and unmatched traffic for ports serving TCP protocol from being forwarded correctly"
    
      - name: "EnvoyFilterUsesRelativeOperation"
        code: IST0151
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top