Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 454 for zeroed (0.26 sec)

  1. pkg/kubelet/kubelet_node_status.go

    		}
    	}
    	return requiresUpdate
    }
    
    // Zeros out extended resource capacity during reconciliation.
    func (kl *Kubelet) reconcileExtendedResource(initialNode, node *v1.Node) bool {
    	requiresUpdate := updateDefaultResources(initialNode, node)
    	// Check with the device manager to see if node has been recreated, in which case extended resources should be zeroed until they are available
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. src/crypto/internal/bigmod/nat.go

    func (x *Nat) IsZero() choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    
    	zero := yes
    	for i := 0; i < size; i++ {
    		zero &= ctEq(xLimbs[i], 0)
    	}
    	return zero
    }
    
    // cmpGeq returns 1 if x >= y, and 0 otherwise.
    //
    // Both operands must have the same announced length.
    func (x *Nat) cmpGeq(y *Nat) choice {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/staticinit/sched.go

    		return true
    	}
    	if rn.Class != ir.PEXTERN || rn.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    	if rn.Defn == nil {
    		// No explicit initialization value. Probably zeroed but perhaps
    		// supplied externally and of unknown value.
    		return false
    	}
    	if rn.Defn.Op() != ir.OAS {
    		return false
    	}
    	if rn.Type().IsString() { // perhaps overwritten by cmd/link -X (#34675)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/link.go

    // those bulk allocators should always be used, rather than new(Prog).
    //
    // The other fields not yet mentioned are for use by the back ends and should
    // be left zeroed by creators of Prog lists.
    type Prog struct {
    	Ctxt     *Link     // linker context
    	Link     *Prog     // next Prog in linked list
    	From     Addr      // first source operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ppc64/ssa.go

    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = ppc64.REG_VS32
    			p.To.Type = obj.TYPE_MEM
    			p.To.Reg = v.Args[0].Reg()
    			p.To.Offset = 48
    
    			// Increment address for the
    			// 64 bytes just zeroed.
    			p = s.Prog(ppc64.AADD)
    			p.Reg = v.Args[0].Reg()
    			p.From.Type = obj.TYPE_CONST
    			p.From.Offset = 64
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = v.Args[0].Reg()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/list/list.go

    error and instead processes the erroneous packages with the usual
    printing. Erroneous packages will have a non-empty ImportPath and
    a non-nil Error field; other information may or may not be missing
    (zeroed).
    
    The -export flag causes list to set the Export field to the name of a
    file containing up-to-date export information for the given package,
    and the BuildID field to the build ID of the compiled package.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. src/runtime/mgcsweep.go

    			// Only mark the span as needing zeroing if we've freed any
    			// objects, because a fresh span that had been allocated into,
    			// wasn't totally filled, but then swept, still has all of its
    			// free slots zeroed.
    			s.needzero = 1
    			stats := memstats.heapStats.acquire()
    			atomic.Xadd64(&stats.smallFreeCount[spc.sizeclass()], int64(nfreed))
    			memstats.heapStats.release()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. src/net/netip/netip.go

    func (ip Addr) appendTo6(ret []byte) []byte {
    	zeroStart, zeroEnd := uint8(255), uint8(255)
    	for i := uint8(0); i < 8; i++ {
    		j := i
    		for j < 8 && ip.v6u16(j) == 0 {
    			j++
    		}
    		if l := j - i; l >= 2 && l > zeroEnd-zeroStart {
    			zeroStart, zeroEnd = i, j
    		}
    	}
    
    	for i := uint8(0); i < 8; i++ {
    		if i == zeroStart {
    			ret = append(ret, ':', ':')
    			i = zeroEnd
    			if i >= 8 {
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. src/index/suffixarray/sais.go

    		// an empty slot and a non-empty zero, but there's no need
    		// to distinguish them anyway: the final suffix array will end up
    		// with one zero somewhere, and that will be a real zero.
    		k := j - 1
    		c1 := text[k]
    		if k > 0 {
    			if c0 := text[k-1]; c0 < c1 {
    				k = -k
    			}
    		}
    
    		if cB != c1 {
    			bucket[cB] = b
    			cB = c1
    			b = bucket[cB]
    		}
    		sa[b] = int32(k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. src/strings/strings.go

    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    // This allocates a total of 32 bytes even though the upper half
    // is unused to avoid bounds checks in asciiSet.contains.
    type asciiSet [8]uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top