Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 584 for MASK (0.03 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/registry/core/service/ipallocator/bitmap_test.go

    			cidr: "192.168.1.1/28",
    			want: 0,
    		},
    		{
    			name: "small mask IPv4",
    			cidr: "192.168.1.1/27",
    			want: 16,
    		},
    		{
    			name: "small mask IPv6",
    			cidr: "fd00::1/124",
    			want: 0,
    		},
    		{
    			name: "small mask IPv6",
    			cidr: "fd00::1/122",
    			want: 16,
    		},
    		{
    			name: "medium mask IPv4",
    			cidr: "192.168.1.1/22",
    			want: 64,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K 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. subprojects/core/src/main/java/org/gradle/internal/classpath/MethodHandleUtils.java

            }
        }
    
        public static <T> T invokeKotlinStaticDefault(Lazy<MethodHandle> handle, int mask, Object... args) throws Throwable {
            Object[] argsWithDefaultMaskAndFlag = Arrays.copyOf(args, args.length + 2);
            argsWithDefaultMaskAndFlag[args.length] = mask;
            argsWithDefaultMaskAndFlag[args.length + 1] = null; // it's already there, but let's be clear
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 01:37:45 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/image/draw/bench_test.go

    				}
    			}
    		}
    		mask = mask1
    	default:
    		b.Fatal("unknown mask color model", mcm)
    	}
    
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		// Scatter the destination rectangle to draw into.
    		x := 3 * i % (dstw - srcw)
    		y := 7 * i % (dsth - srch)
    
    		DrawMask(dst, dst.Bounds().Add(image.Pt(x, y)), src, image.Point{}, mask, image.Point{}, op)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/affinity_linux.go

    // CPUSet represents a CPU affinity mask.
    type CPUSet [cpuSetSize]cpuMask
    
    func schedAffinity(trap uintptr, pid int, set *CPUSet) error {
    	_, _, e := RawSyscall(trap, uintptr(pid), uintptr(unsafe.Sizeof(*set)), uintptr(unsafe.Pointer(set)))
    	if e != 0 {
    		return errnoErr(e)
    	}
    	return nil
    }
    
    // SchedGetaffinity gets the CPU affinity mask of the thread specified by pid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  10. cmd/xl-storage_unix_test.go

    import (
    	"context"
    	"os"
    	"path"
    	"syscall"
    	"testing"
    )
    
    // Based on `man getumask` a vaporware GNU extension to glibc.
    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top