Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 333 for Indexer (0.52 sec)

  1. pkg/apis/batch/validation/validation_test.go

    					Selector:       validGeneratedSelector,
    					Template:       validPodTemplateSpecForGenerated,
    					CompletionMode: completionModePtr(batch.NonIndexedCompletion),
    				},
    			},
    		},
    		"valid Indexed completion mode": {
    			opts: JobValidationOptions{RequirePrefixedLabels: true},
    			job: batch.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "myjob",
    					Namespace: metav1.NamespaceDefault,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller.go

    }
    
    // activePodsForRemoval returns Pods that should be removed because there
    // are too many pods running or, if this is an indexed job, there are repeated
    // indexes or invalid indexes or some pods don't have indexes.
    // Sorts candidate pods in the order such that not-ready < ready, unscheduled
    // < scheduled, and pending < running. This ensures that we delete pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

          return new ImmutableAsList<E>() {
            @Override
            public E get(int index) {
              return Indexed.this.get(index);
            }
    
            @Override
            Indexed<E> delegateCollection() {
              return Indexed.this;
            }
          };
        }
      }
    
      public static <E> Builder<E> builder() {
        return new Builder<E>();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/encoding/csv/reader.go

    	rawBuffer []byte
    
    	// recordBuffer holds the unescaped fields, one after another.
    	// The fields can be accessed by using the indexes in fieldIndexes.
    	// E.g., For the row `a,"b","c""d",e`, recordBuffer will contain `abc"de`
    	// and fieldIndexes will contain the indexes [1, 2, 5, 6].
    	recordBuffer []byte
    
    	// fieldIndexes is an index of fields inside recordBuffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. src/slices/iter.go

    // The indexes range in the usual order, from 0 through len(s)-1.
    func All[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] {
    	return func(yield func(int, E) bool) {
    		for i, v := range s {
    			if !yield(i, v) {
    				return
    			}
    		}
    	}
    }
    
    // Backward returns an iterator over index-value pairs in the slice,
    // traversing it backward. The indexes range from len(s)-1 down to 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/3-iter.md

    The new [iter] package provides the basic definitions for working with
    user-defined iterators.
    
    The [slices] package adds several functions that work with iterators:
    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/compiler_internal.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    )
    
    // This file should not be copied to go/types.  See go.dev/issue/67477
    
    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy.go

    }
    
    // Indexers returns the indexers for pod storage.
    func Indexers() *cache.Indexers {
    	var indexers = cache.Indexers{
    		storage.FieldIndex("spec.nodeName"): NodeNameIndexFunc,
    	}
    	if utilfeature.DefaultFeatureGate.Enabled(features.StorageNamespaceIndex) {
    		indexers[storage.FieldIndex("metadata.namespace")] = NamespaceIndexFunc
    	}
    	return &indexers
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    		}
    
    		return status, true
    	}
    
    	si := o.LocalStorageInfo(ctx, true)
    
    	indexed := make(map[string][]madmin.Disk)
    	for _, disk := range si.Disks {
    		setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex)
    		indexed[setIdx] = append(indexed[setIdx], disk)
    	}
    
    	for id, disks := range indexed {
    		ss := madmin.SetStatus{
    			ID:        id,
    			SetIndex:  disks[0].SetIndex,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.h

      std::optional<CalibrationStatistics> GetStatistics() const override;
    
     private:
      // Expands the histogram so the lower_bound and upper_bound can fit in the
      // histogram. Returns the indexes associated to those values.
      std::pair<int32_t, int32_t> ExpandHistogramIfNeeded(float lower_bound,
                                                          float upper_bound);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top