Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for gather (0.38 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go

    func getHistogramCount(registry compbasemetrics.KubeRegistry, metricName string) (int64, error) {
    	mfs, err := registry.Gather()
    	if err != nil {
    		return 0, fmt.Errorf("failed to gather metrics: %w", err)
    	}
    	for _, mf := range mfs {
    		thisName := mf.GetName()
    		if thisName != metricName {
    			continue
    		}
    		metric := mf.GetMetric()[0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 13 16:03:06 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  2. cluster/kubectl.sh

    
    KUBE_ROOT=${KUBE_ROOT:-$(dirname "${BASH_SOURCE[0]}")/..}
    source "${KUBE_ROOT}/cluster/kube-util.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    source "${KUBE_ROOT}/hack/lib/logging.sh"
    
    # If KUBECTL_PATH isn't set, gather up the list of likely places and use ls
    # to find the latest one.
    if [[ -z "${KUBECTL_PATH:-}" ]]; then
      kubectl=$( kube::util::find-binary "kubectl" )
    
      if [[ ! -x "$kubectl" ]]; then
        {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 06 18:03:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go

    			switch t := n.Assign.(type) {
    			case *ast.ExprStmt:
    				assert = t.X.(*ast.TypeAssertExpr)
    			case *ast.AssignStmt:
    				assert = t.Rhs[0].(*ast.TypeAssertExpr)
    			}
    			// gather target types from case clauses
    			for _, c := range n.Body.List {
    				targets = append(targets, c.(*ast.CaseClause).List...)
    			}
    		}
    		V := pass.TypesInfo.TypeOf(assert.X)
    		for _, target := range targets {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tests/fuzz/analyzer_fuzzer.go

    	var files []local.ReaderSource
    
    	numberOfFiles, err := f.GetInt()
    	if err != nil {
    		return files, err
    	}
    	maxFiles := numberOfFiles % 10
    
    	// Gather test files
    	for i := 0; i < maxFiles; i++ {
    		name, err := f.GetString()
    		if err != nil {
    			return files, err
    		}
    		rBytes, err := f.GetBytes()
    		if err != nil {
    			return files, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc

    // Configure `QuantizationSpecs` to apply `StaticRangePtq` to compute heavy
    // units.
    constexpr absl::string_view kSpecsStaticRangePtqToComputeHeavy =
        R"pb(specs
             [ {
               matcher { function_name { regex: "^.*(conv|dot|gather).*" } }
               method { static_range_ptq {} }
             }])pb";
    
    class TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass
        : public impl::
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers.go

    // such that the number of entries from updates does not exceed f.maxUpdateManagers.
    func (f *capManagersManager) capUpdateManagers(managed Managed) (newManaged Managed, err error) {
    	// Gather all entries from updates
    	updaters := []string{}
    	for manager, fields := range managed.Fields() {
    		if !fields.Applied() {
    			updaters = append(updaters, manager)
    		}
    	}
    	if len(updaters) <= f.maxUpdateManagers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. test/typeparam/orderedmap.go

    	if _, found := m.Find([]byte("d")); found {
    		panic(fmt.Sprintf("unexpectedly found %q", []byte("d")))
    	}
    
    	gather := func(it *_Iterator[[]byte, int]) []int {
    		var r []int
    		for {
    			_, v, ok := it.Next()
    			if !ok {
    				return r
    			}
    			r = append(r, v)
    		}
    	}
    	got := gather(m.Iterate())
    	want := []int{'a', 'b', 'x'}
    	if !_SliceEqual(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins.adoc

    If you suspect issues with your plugin code, try creating a link:https://scans.gradle.com/[Build Scan] to identify bottlenecks.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 02:15:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    }
    
    func addStore(sa *local.IstiodAnalyzer, clusterName string, yamls []string) error {
    	client := &fakeClientImpl{
    		CLIClient: kube.NewFakeClient(),
    		clusterID: cluster.ID(clusterName),
    	}
    	// Gather test files
    	src := file.NewKubeSource(collections.All)
    	for i, yamlFile := range yamls {
    		data, err := os.ReadFile(yamlFile)
    		if err != nil {
    			return err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. hack/verify-api-groups.sh

    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    register_files=()
    while read -r file ; do
    	register_files+=("${file}")
    done < <(find pkg/apis -name register.go | sort)
    
    # every register file should contain a GroupName.  Gather the different representations.
    # 1. group directory name for client gen
    # 2. external group versions for init.sh all APIs list
    # 3. install packages for inclusion in import_known_versions files
    group_dirnames=()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 13 09:26:16 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top