- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,345 for add (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java
assertEquals(3, queue.remainingCapacity()); assertTrue(queue.add("one")); assertTrue(queue.add("two")); assertTrue(queue.add("three")); assertEquals("one", queue.element()); assertEquals("one", queue.peek()); assertEquals(3, queue.size()); assertEquals(0, queue.remainingCapacity()); assertTrue(queue.add("four")); assertEquals("two", queue.element());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java
boolean hasFatalErrors(); default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) { add(severity, version, message, null, null); } default void add( BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) { add(severity, version, message, location, null); } default void add(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
.add(BigInteger.valueOf(Integer.MAX_VALUE).add(bigI)) .add(BigInteger.valueOf(Integer.MIN_VALUE).add(bigI)) .add(BigInteger.ONE.shiftLeft(63).add(bigI)) .add(BigInteger.ONE.shiftLeft(64).add(bigI)); } TEST_LONGS = testLongsBuilder.build(); TEST_BIG_INTEGERS = testBigIntegersBuilder.build(); } public void testAsUnsignedAndLongValueAreInverses() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
ms.add("foo"); ms.add("a"); ms.add("bar"); ms.add("b"); ms.add("c"); assertEquals(2, ms.count("bar")); assertEquals(3, ms.count("b")); Multiset<String> ms2 = TreeMultiset.create(DEGENERATE_COMPARATOR); ms2.add("cat", 2); ms2.add("x", 3); assertEquals(ms, ms2); assertEquals(ms2, ms);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
@CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() { assertTrue("add(present) should return true", getList().add(e0())); expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
cmdList.add(sessionId); cmdList.add("--numOfThreads"); cmdList.add(Integer.toString(numOfThreads)); if (cleanup) { cmdList.add("--cleanup"); } final File propFile = ComponentUtil.getSystemHelper().createTempFile(getExecuteType() + "_", ".properties"); try { cmdList.add("-p"); cmdList.add(propFile.getAbsolutePath());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList(); for (int i = 0; i < size; i++) { builder.add(OBJECT); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList(); for (int i = 0; i < size; i++) { builder.add(OBJECT); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
internal/event/rules_test.go
rules2Case4 := make(Rules) rules2Case4.Add(NewPattern("2010*", ""), TargetID{"1", "webhook"}) rules2Case4.Add(NewPattern("", "*.png"), TargetID{"2", "amqp"}) expectedResultCase4 := make(Rules) expectedResultCase4.Add(NewPattern("*", "*"), TargetID{"1", "webhook"}) rulesCase5 := make(Rules) rulesCase5.Add(NewPattern("*", ""), TargetID{"1", "webhook"})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.8K bytes - Viewed (0)