Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 308 for mask6 (0.22 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

      }
    
      private RegularImmutableMap(
          Entry<K, V>[] entries, @CheckForNull @Nullable ImmutableMapEntry<K, V>[] table, int mask) {
        this.entries = entries;
        this.table = table;
        this.mask = mask;
      }
    
      /**
       * Checks if the given key already appears in the hash chain starting at {@code keyBucketHead}. If
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mcheckmark.go

    	arena := mheap_.arenas[ai.l1()][ai.l2()]
    	arenaWord := (obj / heapArenaBytes / 8) % uintptr(len(arena.checkmarks.b))
    	mask := byte(1 << ((obj / heapArenaBytes) % 8))
    	bytep := &arena.checkmarks.b[arenaWord]
    
    	if atomic.Load8(bytep)&mask != 0 {
    		// Already checkmarked.
    		return true
    	}
    
    	atomic.Or8(bytep, mask)
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMultiset.java

        if (element == null || hashTable.length == 0) {
          return 0;
        }
        int hash = Hashing.smearedHash(element);
        int mask = hashTable.length - 1;
        for (ImmutableEntry<?> entry = hashTable[hash & mask];
            entry != null;
            entry = entry.nextInBucket()) {
          if (Objects.equal(element, entry.getElement())) {
            return entry.getCount();
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/core.go

    	if maskConfigured {
    		// original mask flag is still the main reference.
    		if maskV4Configured || maskV6Configured {
    			return nil, errors.New("usage of --node-cidr-mask-size-ipv4 and --node-cidr-mask-size-ipv6 is not allowed if --node-cidr-mask-size is set. For dual-stack clusters please unset it and use IPFamily specific flags")
    		}
    
    		mask := int(cfg.NodeCIDRMaskSize)
    		return sortedSizes(mask, mask), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. src/runtime/iface.go

    	// Implemented using quadratic probing.
    	// Probe sequence is h(i) = h0 + i*(i+1)/2 mod 2^k.
    	// We're guaranteed to hit all table entries using this probe sequence.
    	mask := t.size - 1
    	h := itabHashFunc(inter, typ) & mask
    	for i := uintptr(1); ; i++ {
    		p := (**itab)(add(unsafe.Pointer(&t.entries), h*goarch.PtrSize))
    		// Use atomic read here so if we see m != nil, we also see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. src/hash/crc32/gen_const_ppc64le.go

    	var mod, mask, high, div uint64
    
    	if n < deg {
    		div = 0
    		return poly, div
    	}
    	mask = 1<<deg - 1
    	poly &= mask
    	mod = poly
    	div = 1
    	deg--
    	n--
    	for n > deg {
    		high = (mod >> deg) & 1
    		div = (div << 1) | high
    		mod <<= 1
    		if high != 0 {
    			mod ^= poly
    		}
    		n--
    	}
    	return mod & mask, div
    }
    
    func main() {
    	w := new(bytes.Buffer)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          return null;
        }
        if (hashTableObject instanceof byte[]) {
          byte[] hashTable = (byte[]) hashTableObject;
          int mask = hashTable.length - 1;
          for (int h = Hashing.smear(key.hashCode()); ; h++) {
            h &= mask;
            int keyIndex = hashTable[h] & BYTE_MASK; // unsigned read
            if (keyIndex == BYTE_MASK) { // -1 signed becomes 255 unsigned
              return null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. internal/event/name.go

    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    	if name < objectSingleTypesEnd {
    		return 1 << (name - 1)
    	}
    	var mask uint64
    	for _, n := range name.Expand() {
    		mask |= 1 << (n - 1)
    	}
    	return mask
    }
    
    // String - returns string representation of event type.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/os/signal/signal.go

    type stopping struct {
    	c chan<- os.Signal
    	h *handler
    }
    
    type handler struct {
    	mask [(numSig + 31) / 32]uint32
    }
    
    func (h *handler) want(sig int) bool {
    	return (h.mask[sig/32]>>uint(sig&31))&1 != 0
    }
    
    func (h *handler) set(sig int) {
    	h.mask[sig/32] |= 1 << uint(sig&31)
    }
    
    func (h *handler) clear(sig int) {
    	h.mask[sig/32] &^= 1 << uint(sig&31)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top