Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 250 for Uint32N (0.11 sec)

  1. cni/pkg/iptables/iptables_linux.go

    		inpodMarkRule := netlink.NewRule()
    		inpodMarkRule.Family = family
    		inpodMarkRule.Table = RouteTableInbound
    		inpodMarkRule.Mark = InpodTProxyMark
    		inpodMarkRule.Mask = ptr.Of(uint32(InpodTProxyMask))
    		inpodMarkRule.Priority = 32764
    		rules = append(rules, inpodMarkRule)
    	}
    
    	for _, rule := range rules {
    		log.Debugf("processing netlink rule: %+v", rule)
    		if err := f(rule); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/debugging/hash-set/main.go

    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    var (
    	file, object, deploymentID, prefix string
    	setCount, shards                   int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. cmd/encryption-v1_test.go

    	// parameters describe the desired read segment. When
    	// `isFromEnd` is true, `skipLen` argument is ignored.
    	decryptedRangeRef := func(s []int64, skipLen, readLen int64, isFromEnd bool) (o, l, skip int64, sn uint32, ps int) {
    		oSize := lsum(s)
    		if isFromEnd {
    			skipLen = oSize - readLen
    		}
    		if skipLen < 0 || readLen < 0 || oSize < 0 || skipLen+readLen > oSize {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    )
    
    // ListenerFilter is used to pass filter information into listener based config writer print functions
    type ListenerFilter struct {
    	Address string
    	Port    uint32
    	Type    string
    	Verbose bool
    }
    
    // Verify returns true if the passed listener matches the filter fields
    func (l *ListenerFilter) Verify(listener *listener.Listener) bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // Number of pod disruptions that are currently allowed.
      optional int32 disruptionsAllowed = 3;
    
      // current number of healthy pods
      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	}
    	return iSpec, nil
    }
    
    func convertToUnsignedInt32Map(s []string) map[string]uint32 {
    	out := make(map[string]uint32, len(s))
    	for _, l := range s {
    		k, v := splitEqual(l)
    		u64, err := strconv.ParseUint(v, 10, 32)
    		if err != nil {
    			log.Errorf("failed to convert to uint32: %v", err)
    		}
    		out[k] = uint32(u64)
    	}
    	return out
    }
    
    func convertToStringMap(s []string) map[string]string {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    		}
    	}
    }
    
    func TestGetIstioVirtualServicePathForSvcFromRoute(t *testing.T) {
    	tests := []struct {
    		name         string
    		inputConfig  string
    		inputService corev1.Service
    		inputPort    int32
    		expected     string
    	}{
    		{
    			name:        "test tls config",
    			inputConfig: "testdata/describe/tls_config.json",
    			inputService: corev1.Service{
    				TypeMeta: metav1.TypeMeta{},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/scheduling/v1/generated.proto

      // value represents the integer value of this priority class. This is the actual priority that pods
      // receive when they have the name of this class in their pod spec.
      optional int32 value = 2;
    
      // globalDefault specifies whether this PriorityClass should be considered as
      // the default priority for pods that do not have any priority class.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. internal/crypto/sse.go

    // multi-part PUT request. It derives an unique encryption key from
    // the partID and the object key.
    func EncryptMultiPart(r io.Reader, partID int, key ObjectKey) io.Reader {
    	partKey := key.DerivePartKey(uint32(partID))
    	return EncryptSinglePart(r, ObjectKey(partKey))
    }
    
    // DecryptSinglePart decrypts an io.Writer which must an object
    // uploaded with the single-part PUT API. The offset and length
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // the webhook call will be ignored or the API call will fail based on the
      // failure policy.
      // The timeout value must be between 1 and 30 seconds.
      // Default to 30 seconds.
      // +optional
      optional int32 timeoutSeconds = 7;
    
      // AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`
      // versions the Webhook expects. API server will try to use first version in
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top