Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for MASK (0.03 sec)

  1. src/sync/atomic/doc.go

    func AndUint32(addr *uint32, mask uint32) (old uint32)
    
    // AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old value.
    // Consider using the more ergonomic and less error-prone [Int64.And] instead.
    func AndInt64(addr *int64, mask int64) (old int64)
    
    // AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	} else if nbits == 32 {
    		mb = bits.LeadingZeros32(uint32(mask))
    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/node_ipam_controller.go

    		}
    
    		for idx, cidr := range clusterCIDRs {
    			mask := cidr.Mask
    			if maskSize, _ := mask.Size(); maskSize > nodeCIDRMaskSizes[idx] {
    				return nil, fmt.Errorf("Controller: Invalid --cluster-cidr, mask size of cluster CIDR must be less than or equal to --node-cidr-mask-size configured for CIDR family")
    			}
    		}
    	}
    
    	ic := &Controller{
    		cloud:                cloud,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/os/signal/doc.go

    the SIGPROF signal in particular.
    
    The non-Go code should not change the signal mask on any threads
    created by the Go runtime. If the non-Go code starts new threads
    itself, those threads may set the signal mask as they please.
    
    If the non-Go code starts a new thread, changes the signal mask, and
    then invokes a Go function in that thread, the Go runtime will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. test/codegen/bits.go

    }
    
    func bitSetTest(x int) bool {
    	// amd64:"ANDL\t[$]9, AX"
    	// amd64:"CMPQ\tAX, [$]9"
    	return x&9 == 9
    }
    
    // mask contiguous one bits
    func cont1Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]16, [$]47, [$]0,"
    	return x & 0x0000ffffffff0000
    }
    
    // mask contiguous zero bits
    func cont0Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]48, [$]15, [$]0,"
    	return x & 0xffff00000000ffff
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

                source[offset]);
          }
    
          @Override
          public void putLongLittleEndian(byte[] sink, int offset, long value) {
            long mask = 0xFFL;
            for (int i = 0; i < 8; mask <<= 8, i++) {
              sink[offset + i] = (byte) ((value & mask) >> (i * 8));
            }
          }
        }
      }
    
      static {
        LittleEndianBytes theGetter = JavaLittleEndianBytes.INSTANCE;
        try {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

                source[offset]);
          }
    
          @Override
          public void putLongLittleEndian(byte[] sink, int offset, long value) {
            long mask = 0xFFL;
            for (int i = 0; i < 8; mask <<= 8, i++) {
              sink[offset + i] = (byte) ((value & mask) >> (i * 8));
            }
          }
        }
      }
    
      static {
        LittleEndianBytes theGetter = JavaLittleEndianBytes.INSTANCE;
        try {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/build/relnote/links.go

    func isIdentASCII(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,
    	// and this function will return false.
    	const mask = 0 |
    		(1<<26-1)<<'A' |
    		(1<<26-1)<<'a' |
    		(1<<10-1)<<'0' |
    		1<<'_'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    		(uint64(1)<<(c-64))&(mask>>64)) != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

        Object[] table = new Object[tableSize];
        int mask = tableSize - 1;
        int hashCode = 0;
        int uniques = 0;
        for (int i = 0; i < n; i++) {
          Object element = checkElementNotNull(elements[i], i);
          int hash = element.hashCode();
          for (int j = Hashing.smear(hash); ; j++) {
            int index = j & mask;
            Object value = table[index];
            if (value == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    		k, d := it.Next()
    		live := d.(*liveSlot)
    		slots[k] = live.VarLoc
    		if live.VarLoc.Registers == 0 {
    			continue
    		}
    
    		mask := uint64(live.VarLoc.Registers)
    		for {
    			if mask == 0 {
    				break
    			}
    			reg := uint8(bits.TrailingZeros64(mask))
    			mask &^= 1 << reg
    
    			registers[reg] = append(registers[reg], SlotID(k))
    		}
    	}
    	state.slots, state.registers = slots, registers
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top