Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 270 for MASK (0.05 sec)

  1. src/cmd/link/internal/ppc64/asm.go

    	}
    	su.SetUint32(target.Arch, offset, newinsn)
    }
    
    // Rewrite the instruction at offset into a hardware nop instruction. Also, verify the
    // existing instruction under mask matches the check value.
    func rewritetonop(target *ld.Target, ldr *loader.Loader, su *loader.SymbolBuilder, offset int64, mask, check uint32) {
    	rewritetoinsn(target, ldr, su, offset, mask, check, OP_NOP)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux.go

    // from stopped via the core dump bit.
    
    const (
    	mask    = 0x7F
    	core    = 0x80
    	exited  = 0x00
    	stopped = 0x7F
    	shift   = 8
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. pkg/api/pod/util.go

    // spec in the given pod spec with type set in mask. If visitor returns false,
    // visiting is short-circuited. VisitContainers returns true if visiting completes,
    // false if visiting was short-circuited.
    func VisitContainers(podSpec *api.PodSpec, mask ContainerType, visitor ContainerVisitor) bool {
    	if mask&InitContainers != 0 {
    		for i := range podSpec.InitContainers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  4. src/runtime/defs_freebsd.go

    // Local consts.
    const (
    	_NBBY            = C.NBBY            // Number of bits in a byte.
    	_CTL_MAXNAME     = C.CTL_MAXNAME     // Largest number of components supported.
    	_CPU_LEVEL_WHICH = C.CPU_LEVEL_WHICH // Actual mask/id for which.
    	_CPU_WHICH_PID   = C.CPU_WHICH_PID   // Specifies a process id.
    )
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    	EAGAIN    = C.EAGAIN
    	ETIMEDOUT = C.ETIMEDOUT
    
    	O_WRONLY   = C.O_WRONLY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

        return BASE16;
      }
    
      static final class Alphabet {
        private final String name;
        // this is meant to be immutable -- don't modify it!
        private final char[] chars;
        final int mask;
        final int bitsPerChar;
        final int charsPerChunk;
        final int bytesPerChunk;
        private final byte[] decodabet;
        private final boolean[] validPadding;
        private final boolean ignoreCase;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. src/runtime/map.go

    	}
    	// Increment with probability 1/(1<<(h.B-15)).
    	// When we reach 1<<15 - 1, we will have approximately
    	// as many overflow buckets as buckets.
    	mask := uint32(1)<<(h.B-15) - 1
    	// Example: if h.B == 18, then mask == 7,
    	// and rand() & 7 == 0 with probability 1/8.
    	if uint32(rand())&mask == 0 {
    		h.noverflow++
    	}
    }
    
    func (h *hmap) newoverflow(t *maptype, b *bmap) *bmap {
    	var ovf *bmap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. pkg/api/pod/util_test.go

    			wantContainers: []string{"i1", "i2", "c1", "c2", "e1", "e2"},
    			mask:           AllContainers,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			if tc.mask == setAllFeatureEnabledContainersDuringTest {
    				tc.mask = AllFeatureEnabledContainers()
    			}
    
    			gotContainers := []string{}
    			VisitContainers(tc.spec, tc.mask, func(c *api.Container, containerType ContainerType) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. src/net/addrselect.go

    type policyTableEntry struct {
    	Prefix     netip.Prefix
    	Precedence uint8
    	Label      uint8
    }
    
    type policyTable []policyTableEntry
    
    // RFC 6724 section 2.1.
    // Items are sorted by the size of their Prefix.Mask.Size,
    var rfc6724policyTable = policyTable{
    	{
    		// "::1/128"
    		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01}), 128),
    		Precedence: 50,
    		Label:      0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/decodesym.go

    			}
    			return r
    		}
    		Exitf("cannot find gcmask for %s", ctxt.loader.SymName(s))
    		return nil
    	}
    	relocs := ctxt.loader.Relocs(s)
    	mask := decodeRelocSym(ctxt.loader, s, &relocs, 2*int32(ctxt.Arch.PtrSize)+8+1*int32(ctxt.Arch.PtrSize))
    	return ctxt.loader.Data(mask)
    }
    
    // Type.commonType.gc
    func decodetypeGcprog(ctxt *Link, s loader.Sym) []byte {
    	if ctxt.loader.SymType(s) == sym.SDYNIMPORT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/crypto/internal/bigmod/nat.go

    func (x *Nat) assign(on choice, y *Nat) *Nat {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	mask := ctMask(on)
    	for i := 0; i < size; i++ {
    		xLimbs[i] ^= mask & (xLimbs[i] ^ yLimbs[i])
    	}
    	return x
    }
    
    // add computes x += y and returns the carry.
    //
    // Both operands must have the same announced length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top