Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 342 for zeroed (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/encoding/gob/decode.go

    	default:
    		panic("gob: unknown size of uintptr")
    	}
    	decOpTable[reflect.Uintptr] = uop
    }
    
    // Gob depends on being able to take the address
    // of zeroed Values it creates, so use this wrapper instead
    // of the standard reflect.Zero.
    // Each call allocates once.
    func allocValue(t reflect.Type) reflect.Value {
    	return reflect.New(t).Elem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager.go

    	return m.podDevices.getContainerDevices(podUID, containerName)
    }
    
    // ShouldResetExtendedResourceCapacity returns whether the extended resources should be zeroed or not,
    // depending on whether the node has been recreated. Absence of the checkpoint file strongly indicates the node
    // has been recreated.
    func (m *ManagerImpl) ShouldResetExtendedResourceCapacity() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top