- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,899 for index1 (0.04 seconds)
-
android/guava/src/com/google/common/escape/CharEscaper.java
// Inlineable fast-path loop which hands off to escapeSlow() only if needed int length = string.length(); for (int index = 0; index < length; index++) { if (escape(string.charAt(index)) != null) { return escapeSlow(string, index); } } return string; } /** * Returns the escaped form of the given character, or {@code null} if this character does not
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
for (int index : indexes) { builder.put(index, singleQuantileFromSorted(index, scale, dataset)); } return builder.buildOrThrow(); } private double singleQuantileFromSorted(int index, int scale, double[] dataset) { long numerator = (long) index * (dataset.length - 1); int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 7.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
.replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); }); List<Entry<K, V>> orderedEntries = getOrderedElements(); int index = 0; for (K key : getMap().keySet()) { assertEquals(orderedEntries.get(index).getKey(), key); index++; } } @MapFeature.Require(absent = SUPPORTS_PUT)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
void writeParameterWordsWireFormatReturnsZero(int index) { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertEquals(0, msg.writeParameterWordsWireFormat(new byte[10], index), "Expected zero returned regardless of index"); assertEquals(0, msg.writeParameterWordsWireFormat(null, index), "Expected zero even when dst array is null"); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
private int queryFreqThreshold = 10; private final List<String> excludeWords = new ArrayList<>(); /** * Sets the index name. * @param index The index name. */ public void setIndex(final String index) { this.index = index; } /** * Sets the size of results. * @param size The size. */ public void setSize(final int size) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Aug 07 02:41:28 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/ConstructorDesc.java
* * @param index * The index of the parameter * @return The element type if the parameter type is a parameterized {@link Collection}, otherwise {@literal null} */ Class<?> getElementClassOfCollection(int index); /** * Returns the key type if the parameter type of the method is a parameterized {@link Map}. * * @param index * The index of the parameterCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.5K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
return client.index(request); } /** * Executes an index request asynchronously. * * @param request The index request. * @param listener The response listener. */ @Override public void index(final IndexRequest request, final ActionListener<IndexResponse> listener) { client.index(request, listener); } /**Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 02:01:26 GMT 2025 - 26.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
assertEquals("", result); } @Test public void test_execute_withCustomIndexName() { // Configure custom index name documentUpdateIndex = "custom.document.index"; // Re-register FessConfig with updated index name fessConfig = new TestFessConfig() { @Override public String getIndexFieldExpires() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0) -
internal/event/target/elasticsearch.go
func (c *esClientV7) updateEntry(ctx context.Context, index string, key string, eventData event.Event) error { doc := map[string]any{ "Records": []event.Event{eventData}, } var buf bytes.Buffer enc := json.NewEncoder(&buf) err := enc.Encode(doc) if err != nil { return err } res, err := c.Index( index, &buf, c.Index.WithDocumentID(key), c.Index.WithContext(ctx), ) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
public @Nullable V get(@Nullable Object key) { Integer index = keyIndex.get(key); if (index == null) { return null; } else { return getValue(index); } } @Override public @Nullable V put(K key, @ParametricNullness V value) { Integer index = keyIndex.get(key); if (index == null) { throw new IllegalArgumentException(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0)