Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for clen (0.06 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    		pathParts := splitPath(requestInfo.Path)
    		// only match /apis/<group>/<version>
    		// only registered under /apis
    		if len(pathParts) == 3 {
    			r.versionDiscoveryHandler.ServeHTTP(w, req)
    			return
    		}
    		// only match /apis/<group>
    		if len(pathParts) == 2 {
    			r.groupDiscoveryHandler.ServeHTTP(w, req)
    			return
    		}
    
    		r.delegate.ServeHTTP(w, req)
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/proxier.go

    			break
    		}
    	}
    	countStaleLB = len(proxier.mapStaleLoadbalancers)
    	if countStaleLB > 0 {
    		klog.V(3).InfoS("Stale loadbalancers still remaining", "LB Count", countStaleLB, "stale_lb_ids", proxier.mapStaleLoadbalancers)
    	}
    }
    
    func getNetworkName(hnsNetworkName string) (string, error) {
    	if len(hnsNetworkName) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/deadness_analysis.cc

    // (nested) tf.while one-by-one, as each (nested) tf.while creates a unique
    // (root) frame.  Note that we don't separate while loops belonging to the same
    // nested while, as there is no clean cut for separating them in the topological
    // order.
    Status DeadnessAnalysisImpl::Populate(bool enable_optimistic) {
      std::vector<string> unreachable_nodes;
      // Compute the loop structure of the graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		}
    	}
    	if len(selectedObjects) == 0 {
    		// Ensure that we never return a nil Items pointer in the result for consistency.
    		listVal.Set(reflect.MakeSlice(listVal.Type(), 0, 0))
    	} else {
    		// Resize the slice appropriately, since we already know that size of result set
    		listVal.Set(reflect.MakeSlice(listVal.Type(), len(selectedObjects), len(selectedObjects)))
    		span.AddEvent("Resized result")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal.go

    	}
    
    	// If all metrics are invalid or some are invalid and we would scale down,
    	// return an error and set the condition of the hpa based on the first invalid metric.
    	// Otherwise set the condition as scaling active as we're going to scale
    	if invalidMetricsCount >= len(metricSpecs) || (invalidMetricsCount > 0 && replicas < specReplicas) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    			continue
    		} else if len(paramRef.Name) > 0 && p.GetName() != paramRef.Name {
    			continue
    		} else if len(paramRef.Namespace) > 0 && p.GetNamespace() != paramRef.Namespace {
    			continue
    		} else if !paramIsClusterScoped && len(paramRef.Namespace) == 0 && p.GetNamespace() != v1.NamespaceDefault {
    			continue
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. src/net/http/fs_test.go

    	if !f.fi.dir {
    		return nil, fs.ErrInvalid
    	}
    	var fis []fs.FileInfo
    
    	limit := f.entpos + count
    	if count <= 0 || limit > len(f.fi.ents) {
    		limit = len(f.fi.ents)
    	}
    	for ; f.entpos < limit; f.entpos++ {
    		fis = append(fis, f.fi.ents[f.entpos])
    	}
    
    	if len(fis) == 0 && count > 0 {
    		return fis, io.EOF
    	} else {
    		return fis, nil
    	}
    }
    
    type fakeFS map[string]*fakeFileInfo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  8. pkg/controller/endpointslice/endpointslice_controller_test.go

    	t.Helper()
    	// if actions are less the below logic will panic
    	if num > len(actions) {
    		t.Fatalf("len of actions %v is unexpected. Expected to be at least %v", len(actions), num+1)
    	}
    
    	for i := 0; i < num; i++ {
    		relativePos := len(actions) - i - 1
    		assert.Equal(t, verb, actions[relativePos].GetVerb(), "Expected action -%d verb to be %s", i, verb)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	if err != nil {
    		return 0, err
    	}
    	if len(files) == 0 {
    		return 0, nil
    	}
    	restartCount := 0
    	restartCountLogFileRegex := regexp.MustCompile(`^(\d+)\.log(\..*)?`)
    	for _, file := range files {
    		if file.IsDir() {
    			continue
    		}
    		matches := restartCountLogFileRegex.FindStringSubmatch(file.Name())
    		if len(matches) == 0 {
    			continue
    		}
    		count, err := strconv.Atoi(matches[1])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  10. src/crypto/tls/conn.go

    		mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
    		record, dst = sliceForAppend(record, len(payload)+len(mac))
    		c.XORKeyStream(dst[:len(payload)], payload)
    		c.XORKeyStream(dst[len(payload):], mac)
    	case aead:
    		nonce := explicitNonce
    		if len(nonce) == 0 {
    			nonce = hc.seq[:]
    		}
    
    		if hc.version == VersionTLS13 {
    			record = append(record, payload...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top