Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 111 for maskOf (0.11 sec)

  1. pkg/apis/networking/fuzzer/fuzzer.go

    		// generateRandomIP already panics if returns a not valid ip
    		panic(err)
    	}
    
    	n := 32
    	if is6 {
    		n = 128
    	}
    
    	bits := c.Rand.Intn(n)
    	prefix := netip.PrefixFrom(ip, bits)
    	return prefix.Masked().String()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/bidi/trieval.go

    	LRI // LeftToRightIsolate
    	RLI // RightToLeftIsolate
    	FSI // FirstStrongIsolate
    	PDI // PopDirectionalIsolate
    
    	unknownClass = ^Class(0)
    )
    
    // A trie entry has the following bits:
    // 7..5  XOR mask for brackets
    // 4     1: Bracket open, 0: Bracket close
    // 3..0  Class type
    
    const (
    	openMask     = 0x10
    	xorMaskShift = 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. src/math/trig_reduce.go

    	const PI4 = Pi / 4
    	if x < PI4 {
    		return 0, x
    	}
    	// Extract out the integer and exponent such that,
    	// x = ix * 2 ** exp.
    	ix := Float64bits(x)
    	exp := int(ix>>shift&mask) - bias - shift
    	ix &^= mask << shift
    	ix |= 1 << shift
    	// Use the exponent to extract the 3 appropriate uint64 digits from mPi4,
    	// B ~ (z0, z1, z2), such that the product leading digit has the exponent -61.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/certificates/v1beta1/generated.proto

      // If request was approved, the controller will place the issued certificate here.
      // +listType=atomic
      // +optional
      optional bytes certificate = 2;
    }
    
    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message ExtraValue {
      // items, if empty, will result in an empty slice
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/math/floor.go

    	//
    	// func Round(x float64) float64 {
    	//   t := Trunc(x)
    	//   if Abs(x-t) >= 0.5 {
    	//     return t + Copysign(1, x)
    	//   }
    	//   return t
    	// }
    	bits := Float64bits(x)
    	e := uint(bits>>shift) & mask
    	if e < bias {
    		// Round abs(x) < 1 including denormals.
    		bits &= signMask // +-0
    		if e == bias-1 {
    			bits |= uvone // +-1
    		}
    	} else if e < bias+shift {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. test/abi/result_regalloc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Bug: in (*bb).d, the value to be returned was not allocated to
    // a register that satisfies its register mask.
    
    package main
    
    type bb struct {
    	r float64
    	x []float64
    }
    
    //go:noinline
    func B(r float64, x []float64) I {
    	return bb{r, x}
    }
    
    func (b bb) d() (int, int) {
    	if b.r == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 28 16:13:40 UTC 2021
    - 765 bytes
    - Viewed (0)
  7. pkg/kubeapiserver/options/options.go

    // DefaultServiceIPCIDR is a CIDR notation of IP range from which to allocate service cluster IPs
    var DefaultServiceIPCIDR = net.IPNet{IP: netutils.ParseIPSloppy("10.0.0.0"), Mask: net.CIDRMask(24, 32)}
    
    // DefaultEtcdPathPrefix is the default key prefix of etcd for API Server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. src/net/interface_windows.go

    				}
    				switch sa := sa.(type) {
    				case *syscall.SockaddrInet4:
    					ifat = append(ifat, &IPNet{IP: IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3]), Mask: CIDRMask(int(puni.OnLinkPrefixLength), 8*IPv4len)})
    				case *syscall.SockaddrInet6:
    					ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(puni.OnLinkPrefixLength), 8*IPv6len)}
    					copy(ifa.IP, sa.Addr[:])
    					ifat = append(ifat, ifa)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/options/validation.go

    	// bigger cidr (specially those offered by IPv6) will add no value
    	// significantly increase snapshotting time.
    	var ones, bits = cidr.Mask.Size()
    	if bits-ones > maxCIDRBits {
    		return fmt.Errorf("specified %s is too large; for %d-bit addresses, the mask must be >= %d", cidrFlag, bits, bits-maxCIDRBits)
    	}
    
    	return nil
    }
    
    func validateServiceNodePort(options Extra) []error {
    	var errs []error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. cmd/peer-rest-common.go

    	peerRESTReleaseInfo = "releaseinfo"
    
    	peerRESTListenBucket = "bucket"
    	peerRESTListenPrefix = "prefix"
    	peerRESTListenSuffix = "suffix"
    	peerRESTListenEvents = "events"
    	peerRESTLogMask      = "log-mask"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top