Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 214 for Fmask (0.2 sec)

  1. src/runtime/map.go

    	}
    	// Increment with probability 1/(1<<(h.B-15)).
    	// When we reach 1<<15 - 1, we will have approximately
    	// as many overflow buckets as buckets.
    	mask := uint32(1)<<(h.B-15) - 1
    	// Example: if h.B == 18, then mask == 7,
    	// and rand() & 7 == 0 with probability 1/8.
    	if uint32(rand())&mask == 0 {
    		h.noverflow++
    	}
    }
    
    func (h *hmap) newoverflow(t *maptype, b *bmap) *bmap {
    	var ovf *bmap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. pkg/api/pod/util_test.go

    			wantContainers: []string{"i1", "i2", "c1", "c2", "e1", "e2"},
    			mask:           AllContainers,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			if tc.mask == setAllFeatureEnabledContainersDuringTest {
    				tc.mask = AllFeatureEnabledContainers()
    			}
    
    			gotContainers := []string{}
    			VisitContainers(tc.spec, tc.mask, func(c *api.Container, containerType ContainerType) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. src/net/addrselect.go

    type policyTableEntry struct {
    	Prefix     netip.Prefix
    	Precedence uint8
    	Label      uint8
    }
    
    type policyTable []policyTableEntry
    
    // RFC 6724 section 2.1.
    // Items are sorted by the size of their Prefix.Mask.Size,
    var rfc6724policyTable = policyTable{
    	{
    		// "::1/128"
    		Prefix:     netip.PrefixFrom(netip.AddrFrom16([16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01}), 128),
    		Precedence: 50,
    		Label:      0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/crypto/internal/bigmod/nat.go

    func (x *Nat) assign(on choice, y *Nat) *Nat {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	mask := ctMask(on)
    	for i := 0; i < size; i++ {
    		xLimbs[i] ^= mask & (xLimbs[i] ^ yLimbs[i])
    	}
    	return x
    }
    
    // add computes x += y and returns the carry.
    //
    // Both operands must have the same announced length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    		isDualStack                    bool
    	}{
    		{
    			name:          "subnet mask 12",
    			svcSubnet:     "10.96.0.0/12",
    			expectedDNSIP: "10.96.0.10",
    		},
    		{
    			name:          "subnet mask 26",
    			svcSubnet:     "10.87.116.64/26",
    			expectedDNSIP: "10.87.116.74",
    		},
    		{
    			name:          "dual-stack ipv4 primary, subnet mask 26",
    			svcSubnet:     "10.87.116.64/26,fd03::/112",
    			expectedDNSIP: "10.87.116.74",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Umask(mask int) (oldmask int) {
    	runtime.EnterSyscall()
    	r0, _, _ := CallLeFuncWithErr(GetZosLibVec()+SYS_UMASK<<4, uintptr(mask))
    	runtime.ExitSyscall()
    	oldmask = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	// ServiceCIDR is primary service cidr for cluster.
    	ServiceCIDR *net.IPNet
    	// SecondaryServiceCIDR is secondary service cidr for cluster.
    	SecondaryServiceCIDR *net.IPNet
    	// NodeCIDRMaskSizes is list of node cidr mask sizes.
    	NodeCIDRMaskSizes []int
    }
    
    // New creates a new CIDR range allocator.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/os/file.go

    func (f *File) WriteString(s string) (n int, err error) {
    	b := unsafe.Slice(unsafe.StringData(s), len(s))
    	return f.Write(b)
    }
    
    // Mkdir creates a new directory with the specified name and permission
    // bits (before umask).
    // If there is an error, it will be of type *PathError.
    func Mkdir(name string, perm FileMode) error {
    	longName := fixLongPath(name)
    	e := ignoringEINTR(func() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

            common_dim = dim;
          } else if (common_dim != dim) {
            // If mask_one_dim is true, do not emit an error if this is the only
            // dimension with mismatches. Note down the dimension to mask it from
            // the following types.
            if (mask_one_dim && dim_to_mask == ShapedType::kDynamic) {
              dim_to_mask = i;
              continue;
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/mips/asm0.go

    		return n < 0
    	}
    	n = int(p1.a3) - int(p2.a3)
    	if n != 0 {
    		return n < 0
    	}
    	return false
    }
    
    func opset(a, b0 obj.As) {
    	oprange[a&obj.AMask] = oprange[b0]
    }
    
    func buildop(ctxt *obj.Link) {
    	if oprange[AOR&obj.AMask] != nil {
    		// Already initialized; stop now.
    		// This happens in the cmd/asm tests,
    		// each of which re-initializes the arch.
    		return
    	}
    
    	var n int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
Back to top