- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for Indexes (0.12 sec)
-
android/guava/src/com/google/common/math/Quantiles.java
* @throws IllegalArgumentException if {@code indexes} is empty */ public ScaleAndIndexes indexes(int... indexes) { return new ScaleAndIndexes(scale, indexes.clone()); } /** * Specifies multiple quantile indexes to be calculated, each index being the k in the kth * q-quantile. * * @param indexes the quantile indexes, each of which must be in the inclusive range [0, q] for
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
// array of indexes to be calculated is modified between the calls to indexes and compute: since // the contract is that it is snapshotted, this shouldn't make any difference to the result. int[] indexes = {0, 10, 5, 1, 8, 10}; ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes); indexes[0] = 3; assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
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: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
} if !reflect.DeepEqual(testCase.indexes, gotIndexes) { t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes) } }) } } // Test tests calculating set indexes. func TestGetSetIndexes(t *testing.T) { testCases := []struct { args []string totalSizes []uint64 indexes [][]uint64 success bool }{ // Invalid inputs. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
// requireNonNull is safe because we use indexes that were populated by the constructor. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value); } @Override V getValue(int index) { // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaperBuilder.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Simple helper class to build a "sparse" array of objects based on the indexes that were added to * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a * CharEscaper based on the generated array. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
// requireNonNull is safe because we use indexes that were populated by the constructor. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value); } @Override V getValue(int index) { // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
migrator.go
DropView(name string) error // Constraints CreateConstraint(dst interface{}, name string) error DropConstraint(dst interface{}, name string) error HasConstraint(dst interface{}, name string) bool // Indexes CreateIndex(dst interface{}, name string) error DropIndex(dst interface{}, name string) error HasIndex(dst interface{}, name string) bool RenameIndex(dst interface{}, oldName, newName string) error
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/migrate_test.go
} } checkIndex := func(t *testing.T, expected []gorm.Index) { indexes, err := DB.Migrator().GetIndexes(table) if err != nil { t.Fatalf("%v: failed to get indexes, got error: %v", utils.FileWithLineNum(), err) } assert.ElementsMatch(t, expected, indexes) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0)