- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,355 for add1 (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
} @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(getSubjectGenerator().samples().e3()); assertFalse( "A Set should not equal another Set containing different elements.", getSet().equals(MinimalSet.from(elements))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
} @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(getSubjectGenerator().samples().e3()); assertFalse( "A Set should not equal another Set containing different elements.", getSet().equals(MinimalSet.from(elements))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
public void testIndexOf_genericPredicate() { List<CharSequence> sequences = new ArrayList<>(); sequences.add("bob"); sequences.add(new StringBuilder("charlie")); sequences.add(new StringBuilder("henry")); sequences.add(new StringBuilder("apple")); sequences.add("lemon"); assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
if opts.UndoWrite { p.storage.setWriteAttribute(p.totalWrites.Add(^uint64(0))) return } if fi.Deleted { // Delete markers are a write operation not a permanent delete. p.storage.setWriteAttribute(p.totalWrites.Add(1)) return } p.storage.setDeleteAttribute(p.totalDeletes.Add(1)) } }() w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* the type of the array elements * @param array * the array. Must not be {@literal null} * @param obj * the object to add * @return a new array with the object appended */ public static <T> T[] add(final T[] array, final T obj) { assertArgumentNotNull("array", array); final int length = array.length; @SuppressWarnings("unchecked")
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
BooleanQuery.Builder boolBuilder = new BooleanQuery.Builder(); boolBuilder.add(new TermQuery(new Term("title", "fess")), BooleanClause.Occur.MUST); boolBuilder.add(new PrefixQuery(new Term("content", "search")), BooleanClause.Occur.SHOULD); boolBuilder.add(new WildcardQuery(new Term("url", "*.html")), BooleanClause.Occur.MUST_NOT); BooleanQuery boolQuery = boolBuilder.build();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
// incidentEdge is a self-loop adjacentNodeValues.put(thisNode, new PredAndSucc(successorNodeToValueFn.apply(thisNode))); orderedNodeConnectionsBuilder.add(new NodeConnection.Pred<>(thisNode)); orderedNodeConnectionsBuilder.add(new NodeConnection.Succ<>(thisNode)); predecessorCount++; successorCount++; } else if (incidentEdge.nodeV().equals(thisNode)) { // incidentEdge is an inEdge
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
return pendingOperations; } /** * Add a pending operation * * @param operation operation to add */ public void addPendingOperation(CommonServerMessageBlock operation) { pendingOperations.add(operation); } /** * Remove a pending operation * * @param operation operation to remove
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
.github/workflows/multipart/migrate.sh
exit 1 fi if [ $failed_count_site2 -ne 0 ]; then echo "failed with multipart on site2 uploads" exit 1 fi # Add user group test ./mc admin user add site1 site-replication-issue-user site-replication-issue-password ./mc admin group add site1 site-replication-issue-group site-replication-issue-user max_wait_attempts=30 wait_interval=5 attempt=1 while true; do
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
public void listenForStrings(String event) { eventsReceived.add(event); ready = false; try { bus.post(SECOND); } finally { ready = true; } } @Subscribe public void listenForDoubles(Double event) { assertTrue("I received an event when I wasn't ready!", ready); eventsReceived.add(event); } } public void testEventOrderingIsPredictable() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0)