Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 111 for switch3 (0.3 sec)

  1. pkg/kubelet/kubelet_pods.go

    		// Refer https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation.
    		return runtimeapi.MountPropagation_PROPAGATION_PRIVATE, nil
    	}
    
    	switch {
    	case mountMode == nil:
    		// PRIVATE is the default
    		return runtimeapi.MountPropagation_PROPAGATION_PRIVATE, nil
    	case *mountMode == v1.MountPropagationHostToContainer:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    }
    
    func routeName(route any, routen int) string {
    	switch r := route.(type) {
    	case *networking.HTTPRoute:
    		if r.Name != "" {
    			return fmt.Sprintf("%q", r.Name)
    		}
    		// TCP and TLS routes have no names
    	}
    
    	return fmt.Sprintf("#%d", routen)
    }
    
    func requestName(match any, matchn int) string {
    	switch mr := match.(type) {
    	case *networking.HTTPMatchRequest:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go

    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: ContainerResourceMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
    			}
    			var stringLen uint64
    			for shift := uint(0); ; shift += 7 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/generated.pb.go

    		if wireType == 4 {
    			return fmt.Errorf("proto: CronJob: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: CronJob: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
    			}
    			var msglen int
    			for shift := uint(0); ; shift += 7 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  5. src/net/http/server.go

    	if w.req.ContentLength != 0 && !w.closeAfterReply && !w.fullDuplex {
    		var discard, tooBig bool
    
    		switch bdy := w.req.Body.(type) {
    		case *expectContinueReader:
    			// We only get here if we have already fully consumed the request body
    			// (see above).
    		case *body:
    			bdy.mu.Lock()
    			switch {
    			case bdy.closed:
    				if !bdy.sawEOF {
    					// Body was closed in handler with non-EOF error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    func (a adminAPIHandlers) ServiceHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	action := vars["action"]
    
    	var serviceSig serviceSignal
    	switch madmin.ServiceAction(action) {
    	case madmin.ServiceActionRestart:
    		serviceSig = serviceRestart
    	case madmin.ServiceActionStop:
    		serviceSig = serviceStop
    	case madmin.ServiceActionFreeze:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			writeResponse(w, serr.HTTPStatusCode(), encodedErrorResponse, mimeXML)
    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		}
    		return
    	}
    
    	// Set encryption response headers
    	switch kind, _ := crypto.IsEncrypted(objInfo.UserDefined); kind {
    	case crypto.S3:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case crypto.S3KMS:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. pkg/api/pod/util_test.go

    		return resourcePaths
    	}
    
    	if strings.Contains(strings.ToLower(name), resourcename) {
    		resourcePaths.Insert(path.String())
    	}
    
    	switch tp.Kind() {
    	case reflect.Pointer:
    		resourcePaths.Insert(sets.List[string](collectResourcePaths(t, resourcename, path, name, tp.Elem()))...)
    	case reflect.Struct:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/static/webcomponents.min.js

    dowDOMPolyfill),function(e){"use strict";function t(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function n(e){return e.replace(L,t)}function r(e){return e.replace(N,t)}function o(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}function i(e){if(e.namespaceURI!==D)return!0;var t=e.ownerDocument.doctype;return t&&t.publicId&&t.systemId}function a(e,t){switch(e.nodeType){case Node.ELEMENT_NODE:for(var o,a=e.tagNam...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/pkg.go

    	// The order matters: we must return the index of the final element,
    	// because the final one produces the most restrictive requirement
    	// on the importer.
    	switch {
    	case strings.HasSuffix(path, "/internal"):
    		return len(path) - len("internal"), true
    	case strings.Contains(path, "/internal/"):
    		return strings.LastIndex(path, "/internal/") + 1, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top