- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for Indexes (0.6 sec)
-
schema/index.go
}) indexes[index.Name] = idx } } } for _, index := range indexes { if index.Class == "UNIQUE" && len(index.Fields) == 1 { index.Fields[0].Field.UniqueIndex = index.Name } } return indexes } func (schema *Schema) LookIndex(name string) *Index { if schema != nil { indexes := schema.ParseIndexes() for _, index := range indexes {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
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) -
pkg/controller/job/metrics/metrics.go
}, []string{"event"}) // JobFinishedIndexesTotal records the number of finished indexes. JobFinishedIndexesTotal = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: JobControllerSubsystem, Name: "job_finished_indexes_total", Help: `The number of finished indexes. Possible values for the status label are: "succeeded", "failed". Possible values for the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/api/job/warnings.go
if completions > completionsSoftLimit && parallelism > parallelismSoftLimitForUnlimitedCompletions { msg := "In Indexed Jobs with a number of completions higher than 10^5 and a parallelism higher than 10^4, Kubernetes might not be able to track completedIndexes when a big number of indexes fail" warnings = append(warnings, fmt.Sprintf("%s: %s", path, msg)) } } var oldPodTemplate *core.PodTemplateSpec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 11:44:07 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
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) -
src/cmd/go/internal/modindex/scan.go
// a directory with a go.mod file. return ErrNotIndexed } } return nil } // indexModule indexes the module at the given directory and returns its // encoded representation. It returns ErrNotIndexed if the module can't // be indexed because it contains symlinks. func indexModule(modroot string) ([]byte, error) { fsys.Trace("indexModule", modroot) var packages []*rawPackage
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/compress/bzip2/huffman.go
nodes []huffmanNode nextNode int } // A huffmanNode is a node in the tree. left and right contain indexes into the // nodes slice of the tree. If left or right is invalidNodeValue then the child // is a left node and its value is in leftValue/rightValue. // // The symbols are uint16s because bzip2 encodes not only MTF indexes in the // tree, but also two magic values for run-length encoding and an EOF symbol.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:44:37 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// // fmt.Printf("%d") // fmt.Printf format reads arg 1, but call has 0 args // // nor too many: // // fmt.Printf("%d", 1, 2) // fmt.Printf call needs 1 arg, but has 2 args // // Explicit argument indexes must be no greater than the number of // arguments: // // fmt.Printf("%[3]d", 1, 2) // fmt.Printf call has invalid argument index 3 // // The checker also uses a heuristic to report calls to Print-like
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/metacache-bucket.go
) // a bucketMetacache keeps track of all caches generated // for a bucket. type bucketMetacache struct { // Name of bucket bucket string // caches indexed by id. caches map[string]metacache // cache ids indexed by root paths cachesRoot map[string][]string `msg:"-"` // Internal state mu sync.RWMutex `msg:"-"` updated bool `msg:"-"` } type deleteAllStorager interface {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.6K bytes - Viewed (0)