Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 288 for MASK (0.12 sec)

  1. src/unicode/utf8/utf8.go

    	if x >= as {
    		// The following code simulates an additional check for x == xx and
    		// handling the ASCII and invalid cases accordingly. This mask-and-or
    		// approach prevents an additional branch.
    		mask := rune(x) << 31 >> 31 // Create 0x0000 or 0xFFFF.
    		return rune(p[0])&^mask | RuneError&mask, 1
    	}
    	sz := int(x & 7)
    	accept := acceptRanges[x>>4]
    	if n < sz {
    		return RuneError, 1
    	}
    	b1 := p[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/net/textproto/reader.go

    //	VCHAR          =  %x21-7E
    func validHeaderValueByte(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c >= 128, then 1<<c and 1<<(c-64) will both be zero.
    	// Since this is the obs-text range, we invert the mask to
    	// create a bitmap with 1s for disallowed bytes.
    	const mask = 0 |
    		(1<<(0x7f-0x21)-1)<<0x21 | // VCHAR: %x21-7E
    		1<<0x20 | // SP: %x20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier.go

    // A ZeroRegion only applies to a single memory state.
    // Each bit in mask is set if the corresponding pointer-sized word of
    // the base object is known to be zero.
    // In other words, if mask & (1<<i) != 0, then [base+i*ptrSize, base+(i+1)*ptrSize)
    // is known to be zero.
    type ZeroRegion struct {
    	base *Value
    	mask uint64
    }
    
    // mightBeHeapPointer reports whether v might point to the heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/policy_static.go

    	bitmask.IterateBitMasks(p.topology.CPUDetails.NUMANodes().List(), func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    		cpusInMask := p.topology.CPUDetails.CPUsInNUMANodes(mask.GetBits()...).Size()
    		if cpusInMask >= request && mask.Count() < minAffinitySize {
    			minAffinitySize = mask.Count()
    		}
    
    		// Then check to see if we have enough CPUs available on the current
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  5. src/runtime/signal_unix.go

    // the signal handler is currently set to the Go signal handler or not.
    // This is uint32 rather than bool so that we can use atomic instructions.
    var handlingSig [_NSIG]uint32
    
    // channels for synchronizing signal mask updates with the signal mask
    // thread
    var (
    	disableSigChan  chan uint32
    	enableSigChan   chan uint32
    	maskUpdatedChan chan struct{}
    )
    
    func init() {
    	// _NSIG is the number of signals on this operating system.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/field/fe.go

    	}
    
    	// Bits 0:51 (bytes 0:8, bits 0:64, shift 0, mask 51).
    	v.l0 = byteorder.LeUint64(x[0:8])
    	v.l0 &= maskLow51Bits
    	// Bits 51:102 (bytes 6:14, bits 48:112, shift 3, mask 51).
    	v.l1 = byteorder.LeUint64(x[6:14]) >> 3
    	v.l1 &= maskLow51Bits
    	// Bits 102:153 (bytes 12:20, bits 96:160, shift 6, mask 51).
    	v.l2 = byteorder.LeUint64(x[12:20]) >> 6
    	v.l2 &= maskLow51Bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/topologymanager/policy.go

    	NUMAInfo *NUMAInfo
    	Hints    [][]TopologyHint
    	// Set bestNonPreferredAffinityCount to help decide which affinity mask is
    	// preferred amongst all non-preferred hints. We calculate this value as
    	// the maximum of the minimum affinity counts supplied for any given hint
    	// provider. In other words, prefer a hint that has an affinity mask that
    	// includes all of the NUMA nodes from the provider that requires the most
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    				dr.p, dr.ln, line, err2)
    		}
    		maskstr := fields[9]
    		mask, err3 := strconv.Atoi(maskstr)
    		if err3 != nil {
    			return funcInlHeur, nil, fmt.Errorf("bad mask val %s line %d: %q err=%v",
    				dr.p, dr.ln, line, err3)
    		}
    		callsites[tag] = propsAndScore{
    			props: CSPropBits(flags),
    			score: score,
    			mask:  scoreAdjustTyp(mask),
    		}
    	}
    
    	// Consume function delimiter.
    	dr.scan()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactLinkedHashMap.java

          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void accessEntry(int index) {
        if (accessOrder) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/config.go

    	gpRegMask      regMask        // general purpose integer register mask
    	fpRegMask      regMask        // floating point register mask
    	fp32RegMask    regMask        // floating point register mask
    	fp64RegMask    regMask        // floating point register mask
    	specialRegMask regMask        // special register mask
    	intParamRegs   []int8         // register numbers of integer param (in/out) registers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top