Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava/src/com/google/common/hash/BloomFilterStrategies.java

            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
            if (oldValue == newValue) {
              return false;
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/internal/obj/ppc64/doc.go

    Some non-simple shifts have operands in the Go assembly which don't map directly
    onto operands in the PPC64 assembly. When an operand in a shift instruction in the
    Go assembly is a bit mask, that mask is represented as a start and end bit in the
    PPC64 assembly instead of a mask. See the ISA for more detail on these types of shifts.
    Here are a few examples:
    
    	RLWMI $7,R3,$65535,R6 	=>	rlwimi r6,r3,7,16,31
    	RLDMI $0,R4,$7,R6 		=>	rldimi r6,r4,0,61
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/main.go

    			}
    			if v.commutative {
    				fmt.Fprintln(w, "commutative: true,")
    			}
    			if v.resultInArg0 {
    				fmt.Fprintln(w, "resultInArg0: true,")
    				// OpConvert's register mask is selected dynamically,
    				// so don't try to check it in the static table.
    				if v.name != "Convert" && v.reg.inputs[0] != v.reg.outputs[0] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K 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/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)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go

    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
    	_, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/ipallocator.go

    	n := 8*len(bytes) - subnet.Bits()
    	// set all the host bits to 1
    	for i := len(bytes) - 1; i >= 0 && n > 0; i-- {
    		if n >= 8 {
    			bytes[i] = 0xff
    			n -= 8
    		} else {
    			mask := ^uint8(0) >> (8 - n)
    			bytes[i] |= mask
    			break
    		}
    	}
    
    	addr, ok := netip.AddrFromSlice(bytes)
    	if !ok {
    		return netip.Addr{}, fmt.Errorf("invalid address %v", bytes)
    	}
    	return addr, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. 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)
  10. src/os/signal/signal_cgo_test.go

    	// groups. A process group cannot be foreground if it is "orphaned",
    	// unless it masks SIGTTOU.  i.e., to be foreground the process group
    	// must have a parent process group in the same session or mask SIGTTOU
    	// (which we do). An orphaned process group cannot receive
    	// terminal-generated SIGTSTP at all.
    	//
    	// Achieving this requires three processes total:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top