Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,106 for 200M (0.05 sec)

  1. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    			svcs: []*v1.Service{newService("test-svc", []string{"2001:db8::"})},
    			ipAddresses: []*networkingv1alpha1.IPAddress{
    				newIPAddress("2001:db8::", newService("test-svc", []string{"2001:db8::"})),
    			},
    			cidrs: []*networkingv1alpha1.ServiceCIDR{
    				newServiceCIDR("kubernetes", serviceCIDRv4, serviceCIDRv6),
    			},
    			expectedIPs: []string{"2001:db8::"},
    			actions:     [][]string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/endpoint_test.go

    			expectedHost: "1.2.3.4",
    			expectedPort: "1234",
    		},
    		{
    			name:         "valid ipv6",
    			hostport:     "2001:db8::1",
    			expectedHost: "2001:db8::1",
    			expectedPort: "",
    		},
    		{
    			name:         "valid ipv6:port",
    			hostport:     "[2001:db8::1]:1234",
    			expectedHost: "2001:db8::1",
    			expectedPort: "1234",
    		},
    		{
    			name:          "invalid port(not a number)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 03:19:26 UTC 2019
    - 10K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    			// Node2 Score: (50 + 50) / 2 = 50
    			name: "nothing scheduled, resources requested, differently sized nodes",
    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "1000", "memory": "2000"}).
    				Req(map[v1.ResourceName]string{"cpu": "2000", "memory": "3000"}).
    				Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/least_allocated_test.go

    			// Node2 Score: (50 + 50) / 2 = 50
    			name: "nothing scheduled, resources requested, differently sized nodes",
    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "1000", "memory": "2000"}).
    				Req(map[v1.ResourceName]string{"cpu": "2000", "memory": "3000"}).
    				Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  5. src/math/rand/v2/exp.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rand
    
    import (
    	"math"
    )
    
    /*
     * Exponential distribution
     *
     * See "The Ziggurat Method for Generating Random Variables"
     * (Marsaglia & Tsang, 2000)
     * https://www.jstatsoft.org/v05/i08/paper [pdf]
     */
    
    const (
    	re = 7.69711747013104972
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:08:47 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. src/math/rand/exp.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rand
    
    import (
    	"math"
    )
    
    /*
     * Exponential distribution
     *
     * See "The Ziggurat Method for Generating Random Variables"
     * (Marsaglia & Tsang, 2000)
     * https://www.jstatsoft.org/v05/i08/paper [pdf]
     */
    
    const (
    	re = 7.69711747013104972
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/ipallocator_test.go

    		},
    		{
    			name:     "IPv6",
    			cidr:     "2001:db8:1::/116",
    			free:     4095,
    			released: "2001:db8:1::5",
    			outOfRange: []string{
    				"2001:db8::1",   // not in 2001:db8:1::/48
    				"2001:db8:1::",  // reserved (base address)
    				"2001:db8:2::2", // not in 2001:db8:1::/48
    			},
    			alreadyAllocated: "2001:db8:1::1",
    		},
    	}
    	for _, tc := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  8. pkg/proxy/util/nodeport_addresses_test.go

    					ips:      nil,
    				},
    			},
    		},
    		{
    			name:  "IPv6 multiple",
    			cidrs: []string{"2001:db8::/64", "::1/128"},
    			itfAddrsPairs: []InterfaceAddrsPair{
    				{
    					itf:   net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0},
    					addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("2001:db8::1"), Mask: net.CIDRMask(64, 128)}},
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		{"valid IPv4 address", "1.2.3.4", true},
    		{"valid IPv6 address", "2001:db8::1", true},
    		{"invalid IPv6 CIDR provided instead of IPv6 address", "2001:db8::1/64", false},
    		{"invalid hex character in IPv6 address", "2001:xb8::", false},
    		{"invalid use of colons in IPv6 address", "2001::db8::", false},
    	}
    	for _, rt := range tests {
    		actual := ValidateIPFromString(rt.ip, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/staticpod/utils_test.go

    			cfg: &kubeadmapi.Etcd{
    				Local: &kubeadmapi.LocalEtcd{
    					ExtraArgs: []kubeadmapi.Arg{
    						{Name: "listen-metrics-urls", Value: "https://[2001:abcd:bcda::1]:1234,https://[2001:abcd:bcda::2]:2381"},
    					},
    				},
    			},
    			isIPv6:           true,
    			expectedHostname: "2001:abcd:bcda::1",
    			expectedPort:     1234,
    			expectedScheme:   v1.URISchemeHTTPS,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
Back to top