Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 487 for MASK (0.3 sec)

  1. src/runtime/cgo/gcc_sigaction.c

    			oldgoact->handler = (uintptr_t)(oldact.sa_sigaction);
    		} else {
    			oldgoact->handler = (uintptr_t)(oldact.sa_handler);
    		}
    		oldgoact->mask = 0;
    		for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) {
    			if (sigismember(&oldact.sa_mask, (int)(i+1)) == 1) {
    				oldgoact->mask |= (uint64_t)(1)<<i;
    			}
    		}
    		oldgoact->flags = (uint64_t)oldact.sa_flags;
    	}
    
    	_cgo_tsan_release();
    	return ret;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

            index = (index + 1) & mask;
          }
        }
        return new SmallCharMatcher(table, filter, containsZero, description);
      }
    
      @Override
      public boolean matches(char c) {
        if (c == 0) {
          return containsZero;
        }
        if (!checkFilter(c)) {
          return false;
        }
        int mask = table.length - 1;
        int startingIndex = smear(c) & mask;
        int index = startingIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
      RegularImmutableSet(
          @Nullable Object[] elements, int hashCode, @Nullable Object[] table, int mask, int size) {
        this.elements = elements;
        this.hashCode = hashCode;
        this.table = table;
        this.mask = mask;
        this.size = size;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  5. src/runtime/mbitmap.go

    	// the address of the first word referenced by mask.
    	addr uintptr
    
    	// mask is a bitmask where each bit corresponds to pointer-words after addr.
    	// Bit 0 is the pointer-word at addr, Bit 1 is the next word, and so on.
    	// If a bit is 1, then there is a pointer at that word.
    	// nextFast and next mask out bits in this mask as their pointers are processed.
    	mask uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  6. src/net/interface_solaris.go

    	var ifat []Addr
    	for _, a := range as {
    		var ip IP
    		var mask IPMask
    		switch a := a.(type) {
    		case *lif.Inet4Addr:
    			ip = IPv4(a.IP[0], a.IP[1], a.IP[2], a.IP[3])
    			mask = CIDRMask(a.PrefixLen, 8*IPv4len)
    		case *lif.Inet6Addr:
    			ip = make(IP, IPv6len)
    			copy(ip, a.IP[:])
    			mask = CIDRMask(a.PrefixLen, 8*IPv6len)
    		}
    		ifat = append(ifat, &IPNet{IP: ip, Mask: mask})
    	}
    	return ifat, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    static void segvHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigset_t mask;
    	int i;
    
    	// Call an arbitrary function that requires the stack to be properly aligned.
    	callWithVarargs("dummy arg", 3.1415);
    
    	if (sigemptyset(&mask) < 0) {
    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGSEGV) < 0) {
    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/topology_hints.go

    	bitmask.IterateBitMasks(m.numaNodes, func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    		devicesInMask := 0
    		for _, device := range m.allDevices[resource] {
    			if mask.AnySet(m.getNUMANodeIds(device.Topology)) {
    				devicesInMask++
    			}
    		}
    		if devicesInMask >= request && mask.Count() < minAffinitySize {
    			minAffinitySize = mask.Count()
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/constants/constants_test.go

    		expectedErr                 bool
    	}{
    		{
    			name:        "subnet mask 24",
    			svcSubnet:   "10.96.0.12/24",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 12",
    			svcSubnet:   "10.96.0.0/12",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 26",
    			svcSubnet:   "10.87.116.64/26",
    			expectedIP:  "10.87.116.65",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/image/draw/draw_test.go

    	// Since golden is a newly allocated image, we don't have to check if the
    	// input source and mask images and the output golden image overlap.
    	b := dst.Bounds()
    	sb := src.Bounds()
    	mb := image.Rect(-1e9, -1e9, 1e9, 1e9)
    	if mask != nil {
    		mb = mask.Bounds()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top