- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 79 for Indexes (0.05 seconds)
-
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] forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 30.1K bytes - Click Count (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))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0) -
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))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (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. {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
suggester.indexer().addBadWord(word, apply); } refresh(); } /** * Adds a bad word to the suggest index. * * @param badWord The bad word to add. * @param apply true to apply the changes immediately. */ public void addBadWord(final String badWord, final boolean apply) { suggester.indexer().addBadWord(badWord, apply);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
KeySet() { super(HashBiMap.this); } @Override @ParametricNullness K forEntry(int entry) { // The cast is safe because we call forEntry only for indexes that contain entries. return uncheckedCastNullableTToT(keys[entry]); } @Override public boolean contains(@Nullable Object o) { return HashBiMap.this.containsKey(o); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
cmd/endpoint-ellipses.go
// divisor, it avoids loops. slices.Sort(setCounts) return setCounts } // getSetIndexes returns list of indexes which provides the set size // on each index, this function also determines the final set size // The final set size has the affinity towards choosing smaller // indexes (total sets)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
} /** * Returns a stream consisting of the results of applying the given function to the elements of * {@code stream} and their indexes in the stream. For example, * * {@snippet : * mapWithIndex( * IntStream.of(10, 11, 12), * (e, index) -> index + ":" + e) * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
} /** * Returns a stream consisting of the results of applying the given function to the elements of * {@code stream} and their indexes in the stream. For example, * * {@snippet : * mapWithIndex( * IntStream.of(10, 11, 12), * (e, index) -> index + ":" + e) * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
cmd/erasure-healing-common.go
// Erasure distribution seems to have lesser // number of items than number of online disks. inconsistent++ continue } if meta.Erasure.Distribution[i] != meta.Erasure.Index { // Mismatch indexes with distribution order inconsistent++ } } } erasureDistributionReliable := inconsistent <= len(partsMetadata)/2 metaErrs := make([]error, len(errs)) for i := range onlineDisks {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0)