Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for MASK (0.1 sec)

  1. src/sync/atomic/type.go

    // And atomically performs a bitwise AND operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) And(mask int32) (old int32) { return AndInt32(&x.v, mask) }
    
    // Or atomically performs a bitwise OR operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) Or(mask int32) (old int32) { return OrInt32(&x.v, mask) }
    
    // An Int64 is an atomic int64. The zero value is zero.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/net/interface_plan9.go

    			}
    			if ip.To16() != nil && ip.To4() == nil { // IPv6 address
    				mask = CIDRMask(pfxlen, 8*IPv6len)
    			}
    
    			addrs = append(addrs, &IPNet{IP: ip, Mask: mask})
    		}
    	}
    
    	return addrs, nil
    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    // interface.
    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K 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. cmd/listen-notification-handlers.go

    	}
    
    	pattern := event.NewPattern(prefix, suffix)
    
    	var eventNames []event.Name
    	var mask pubsub.Mask
    	for _, s := range values[peerRESTListenEvents] {
    		eventName, err := event.ParseName(s)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		mask.MergeMaskable(eventName)
    		eventNames = append(eventNames, eventName)
    	}
    
    	if bucketName != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/crypto/sha1/sha1.go

    	separator := byte(0x80) // gets reset to 0x00 once used
    	for i := byte(0); i < chunk; i++ {
    		mask := byte(int8(i-nx) >> 7) // 0x00 after the end of data
    
    		// if we reached the end of the data, replace with 0x80 or 0x00
    		d.x[i] = (^mask & separator) | (mask & d.x[i])
    
    		// zero the separator once used
    		separator &= mask
    
    		if i >= 56 {
    			// we might have to write the length here if all fit in one block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s

    	// for VPERMXOR
    	MOVD $consts<>+0xa0(SB), MASK
    	MOVD $16, R20
    	// V16
    	LXVW4X (CONSTBASE)(R0), VS48
    	ADD $80,CONSTBASE
    
    	// Load key into V17,V18
    	LXVW4X (KEY)(R0), VS49
    	LXVW4X (KEY)(R8), VS50
    
    	// Load CNT, NONCE into V19
    	LXVW4X (CNT)(R0), VS51
    
    	// Clear V27
    	VXOR V27, V27, V27
    
    	// V28
    	LXVW4X (CONSTBASE)(R11), VS60
    
    	// Load mask constants for VPERMXOR
    	LXVW4X (MASK)(R0), V20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top