Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 600 for num1 (0.1 sec)

  1. pilot/pkg/serviceregistry/kube/controller/util.go

    				return serviceTargetPort{num: int(p.TargetPort.IntVal), name: p.Name, explicitName: false}
    			}
    			return serviceTargetPort{num: 0, name: p.TargetPort.StrVal, explicitName: true}
    		}
    	}
    	// should never happen
    	log.Debugf("did not find matching target port for %v on service %s", servicePort, k8sService.Name)
    	return serviceTargetPort{num: 0, name: "", explicitName: false}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 02:01:47 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	}
    
    	// extract the numerator
    Num:
    	for i := pos; ; i++ {
    		if i >= end {
    			num = str[pos:end]
    			value = str[0:end]
    			return
    		}
    		switch str[i] {
    		case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9':
    		default:
    			num = str[pos:i]
    			pos = i
    			break Num
    		}
    	}
    
    	// if we stripped all numerator positions, always return 0
    	if len(num) == 0 {
    		num = "0"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. src/math/big/prime.go

    // The number n is known to be non-zero.
    func (n nat) probablyPrimeMillerRabin(reps int, force2 bool) bool {
    	nm1 := nat(nil).sub(n, natOne)
    	// determine q, k such that nm1 = q << k
    	k := nm1.trailingZeroBits()
    	q := nat(nil).shr(nm1, k)
    
    	nm3 := nat(nil).sub(nm1, natTwo)
    	rand := rand.New(rand.NewSource(int64(n[0])))
    
    	var x, y, quotient nat
    	nm3Len := nm3.bitLen()
    
    NextRandom:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    func (conn *Conn) write(num byte, data []byte) (int, error) {
    	conn.resetTimeout()
    	switch conn.codec {
    	case rawCodec:
    		frame := make([]byte, len(data)+1)
    		frame[0] = num
    		copy(frame[1:], data)
    		if err := websocket.Message.Send(conn.ws, frame); err != nil {
    			return 0, err
    		}
    	case base64Codec:
    		frame := string('0'+num) + base64.StdEncoding.EncodeToString(data)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue59740.go

    type List[T any] func(T, func(T, List[T]) T) T
    
    func nil[T any](n T, _ List[T]) T        { return n }
    func cons[T any](h T, t List[T]) List[T] { return func(n T, f func(T, List[T]) T) T { return f(h, t) } }
    
    func nums[T any](t T) List[T] {
    	return cons(t, cons(t, nil /* ERROR "type func(n T, _ List[T]) T of nil[T] does not match inferred type List[T] for List[T]" */ [T]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 12:32:24 UTC 2023
    - 800 bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString();
            List<Map<String, String>> attrList = JsonPath.from(response).getList(getJsonPath() + ".attributes");
            assertEquals(NUM, attrList.size());
            for (Map<String, String> attr : attrList) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. istioctl/pkg/install/k8sversion/version.go

    	ver, err := goversion.NewVersion(versionInfo.String())
    	if err != nil {
    		return 0, fmt.Errorf("could not parse %v", err)
    	}
    	// Segments provide slice of int eg: v1.19.1 => [1, 19, 1]
    	num := ver.Segments()[1]
    	return num, nil
    }
    
    // IsK8VersionSupported checks minimum supported Kubernetes version for Istio.
    // If the K8s version is not at least the `MinK8SVersion`, it logs a message warning the user that they
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 02:07:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. pkg/controller/endpointslicemirroring/metrics/cache.go

    	spc.items[pmKey] = eInfo
    }
    
    // numEndpoints returns the total number of endpoints represented by a
    // EndpointPortCache.
    func (spc *EndpointPortCache) numEndpoints() int {
    	num := 0
    	for _, eInfo := range spc.items {
    		num += eInfo.Endpoints
    	}
    	return num
    }
    
    // UpdateEndpointPortCache updates a EndpointPortCache in the global cache for a
    // given Service and updates the corresponding metrics.
    // Parameters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        }
        public void encode_in(NdrBuffer buf) throws NdrException {
            buf.enc_ndr_short(max_xmit);
            buf.enc_ndr_short(max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/types.go

    	// pods with optimal NUMA node alignment for requested resources
    	RestrictedTopologyManagerPolicy = "restricted"
    	// BestEffortTopologyManagerPolicy is a mode in which kubelet will favour
    	// pods with NUMA alignment of CPU and device resources.
    	BestEffortTopologyManagerPolicy = "best-effort"
    	// NoneTopologyManagerPolicy is a mode in which kubelet has no knowledge
    	// of NUMA alignment of a pod's CPU and device resources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top