- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,355 for add1 (0.01 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
resetContainer(); List<V> values = multimap().get(key); List<V> expectedValues = copyToList(values); assertTrue(multimap().put(key, value)); expectedValues.add(value); assertGet(key, expectedValues); assertEquals(value, values.get(values.size() - 1)); } } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphConnections.java
*/ @CanIgnoreReturnValue @Nullable V removeSuccessor(N node); /** * Add {@code node} as a predecessor to the origin node. In the case of an undirected graph, it * also becomes a successor. Associates {@code value} with the edge connecting the two nodes. */ void addPredecessor(N node, V value); /** * Add {@code node} as a successor to the origin node. In the case of an undirected graph, it also
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListeningExecutorService e = newDirectExecutorService(); List<Callable<Integer>> l = new ArrayList<>(); l.add( new Callable<Integer>() { @Override public Integer call() { throw new ArithmeticException("/ by zero"); } }); l.add(null); try { invokeAnyImpl(e, l, false, 0, NANOSECONDS); fail();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/suggest/SuggestBody.java
package org.codelibs.fess.app.web.api.admin.suggest; import org.codelibs.fess.app.web.admin.suggest.SuggestForm; /** * Represents the request body for suggest API operations. * This class extends {@link SuggestForm} and adds fields for tracking * the number of total, document, and query words. */ public class SuggestBody extends SuggestForm { /** * Constructs a new suggest body. */ public SuggestBody() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
labelType1.setVirtualHost(""); // Locale is derived from value, not set directly labelType1.setIncludedPaths("/test.*"); labelType1.setExcludedPaths("/exclude.*"); labelTypeList.add(labelType1); LabelType labelType2 = new LabelType(); labelType2.setName("Test Label 2"); labelType2.setValue("test2"); labelType2.setPermissions(new String[] { "role1", "role2" });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
return Objects.hash(closeable, thrown, suppressed); } @Override public String toString() { return MoreObjects.toStringHelper(this) .add("closeable", closeable) .add("thrown", thrown) .add("suppressed", suppressed) .toString(); } } private static class TestCloseable implements Closeable { private final Throwable throwOnClose;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
private List<FileNotifyInformation> mockNotifications; @BeforeEach void setUp() { mockNotifications = new ArrayList<>(); mockNotifications.add(fileNotifyInfo1); mockNotifications.add(fileNotifyInfo2); mockNotifications.add(fileNotifyInfo3); } /** * Test watch() method returning notifications */ @Test void testWatch() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size()); for (Entry<Range<K>, ? extends V> entry : map.entrySet()) { rangesBuilder.add(entry.getKey()); valuesBuilder.add(entry.getValue()); } return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build()); } /** Returns a new builder for an immutable range map. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K bytes - Viewed (0) -
src/cmd/asm/internal/lex/stack.go
"text/scanner" "cmd/internal/src" ) // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF, // it resumes reading the next one down. type Stack struct { tr []TokenReader } // Push adds tr to the top (end) of the input stack. (Popping happens automatically.) func (s *Stack) Push(tr TokenReader) { s.tr = append(s.tr, tr) } func (s *Stack) Next() ScanToken { tos := s.tr[len(s.tr)-1]
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jan 09 22:33:23 UTC 2017 - 1.2K bytes - Viewed (0)