- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 190 for Indexes (0.44 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) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
ImmutableSet<Integer> indexes = ImmutableSet.of(50, 90, 99); Map<Integer, Double> referenceQuantiles = REFERENCE_ALGORITHM.multipleQuantiles(indexes, 100, dataset.clone()); assertThat(referenceQuantiles.keySet()).isEqualTo(indexes); for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) { Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
return Quantiles.scale(scale).index(index).computeInPlace(dataset); } @Override Map<Integer, Double> multipleQuantiles( Collection<Integer> indexes, int scale, double[] dataset) { return Quantiles.scale(scale).indexes(indexes).computeInPlace(dataset); } }, ; /** * Calculates a single quantile. Equivalent to {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go
// the purpose of estimating the cost of incoming mutating requests. type watchTracker struct { // indexes represents a set of registered indexes. // It can't change after creation. indexes builtinIndexes lock sync.Mutex watchCount map[watchIdentifier]int } func NewWatchTracker() WatchTracker { return &watchTracker{ indexes: getBuiltinIndexes(), watchCount: make(map[watchIdentifier]int), } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 7.4K bytes - Viewed (0) -
test/fixedbugs/issue30116.go
var indexes = []int64{-9876543210, -1, 0, 2, 3, 9876543210} var slices = []int64{-9876543210, -1, 0, 3, 4, 9876543210} var w *tabwriter.Writer func main() { w = tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', tabwriter.AlignRight) defer w.Flush() doIndex() doSlice() doSlice3() } func doIndex() { a := []int{1, 2, 3} for _, i := range indexes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:33:38 UTC 2019 - 2.2K bytes - Viewed (0) -
test/fixedbugs/issue30116u.go
var indexes = []uint64{0, 2, 3, 1<<32 - 1, 1<<64 - 1} var slices = []uint64{0, 3, 4, 1<<32 - 1, 1<<64 - 1} var w *tabwriter.Writer func main() { w = tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', tabwriter.AlignRight) defer w.Flush() doIndex() doSlice() doSlice3() } func doIndex() { a := []int{1, 2, 3} for _, i := range indexes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:33:38 UTC 2019 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.h
~XlaLocalLaunchBase() override = default; void ComputeAsync(OpKernelContext* ctx, DoneCallback done) override; protected: // Indexes of compile-time constant inputs const std::vector<int> constants_; // Indexes of resource inputs const std::vector<int> resources_; const NameAttrList function_; const XlaPlatformInfo platform_info_; bool has_ref_vars_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 23:44:26 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/vendor.go
} pre114 := false if !inWorkspaceMode() { // workspace mode was added after Go 1.14 if len(indexes) != 1 { panic(fmt.Errorf("not in workspace mode but number of indexes is %v, not 1", len(indexes))) } index := indexes[0] if gover.Compare(index.goVersion, "1.14") < 0 { // Go versions before 1.14 did not include enough information in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 24 18:09:22 UTC 2023 - 9.5K bytes - Viewed (0) -
src/internal/diff/diff.go
if c := m[s]; c > -8 { m[s] = c - 4 } } // Now unique strings can be identified by m[s] = -1+-4. // // Gather the indexes of those strings in x and y, building: // xi[i] = increasing indexes of unique strings in x. // yi[i] = increasing indexes of unique strings in y. // inv[i] = index j such that x[xi[i]] = y[yi[j]]. var xi, yi, inv []int for i, s := range y { if m[s] == -1+-4 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 14:13:04 UTC 2023 - 7.5K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/rotate.go
} // NewRotateParams creates a set of parameters representing a // rotation left by the amount provided and a selection of the bits // between the provided start and end indexes (inclusive). // // The start and end indexes and the rotation amount must all // be in the range 0-63 inclusive or this function will panic. func NewRotateParams(start, end, amount uint8) RotateParams { if start&^63 != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 21 19:19:04 UTC 2020 - 3.6K bytes - Viewed (0)