- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 714 for add2 (0.02 seconds)
-
android/guava/src/com/google/common/collect/ForwardingQueue.java
} /** * A sensible definition of {@link #offer} in terms of {@link #add}. If you override {@link #add}, * you may wish to override {@link #offer} to forward to this implementation. * * @since 7.0 */ protected boolean standardOffer(@ParametricNullness E e) { try { return add(e); } catch (IllegalStateException caught) { return false; } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
int size = getNumElements(); List<V> values = copyToList(multimap().get(k0())); assertTrue(multimap().put(k0(), v1())); assertTrue(multimap().put(k0(), v2())); values.add(v1()); values.add(v2()); assertGet(k0(), values); assertEquals(size + 2, multimap().size()); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPutNullValue_supported() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
int size = getNumElements(); List<V> values = copyToList(multimap().get(k0())); assertTrue(multimap().put(k0(), v1())); assertTrue(multimap().put(k0(), v2())); values.add(v1()); values.add(v2()); assertGet(k0(), values); assertEquals(size + 2, multimap().size()); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPutNullValue_supported() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestQueryBuilder.java
if (isSingleWordQuery(query) && !isHiraganaQuery(query)) { flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.prefixQuery(FieldNames.TEXT, query), ScoreFunctionBuilders.weightFactorFunction(prefixMatchWeight))); } flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.DOC_FREQ)Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
putEdge(N1, N2); assertThat(graphAsMutableGraph.putEdge(N2, N1)).isFalse(); } /** * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then * add the edge connecting them. We are not using the proxy methods here as we want to test {@code * putEdge} when the end-points are not elements of the graph. */ @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private Outcome doCall() { List<Object> arguments = new ArrayList<>(); if (isGuarded(method)) { arguments.add(guard); } if (isLongTimeUnitBased(method)) { arguments.add(timeout.millis); arguments.add(MILLISECONDS); } if (isDurationBased(method)) { arguments.add(Duration.ofMillis(timeout.millis)); } try { Object result; doingCallLatch.countDown();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
ImmutableSet<LocationInfo> locations = locationsFrom(classloader); // Add all locations to the scanned set so that in a classpath [jar1, jar2], where jar1 has a // manifest with Class-Path pointing to jar2, we won't scan jar2 twice. Set<File> scanned = new HashSet<>(); for (LocationInfo location : locations) { scanned.add(location.file()); } // Scan all locations
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
// In this case the graphs are considered equivalent; the edge add orderings are irrelevant. @Test public void equivalent_edgeAddOrdersDiffer() { GraphBuilder<Integer> builder = GraphBuilder.from(graph); MutableGraph<Integer> g1 = builder.build(); MutableGraph<Integer> g2 = builder.build(); // for g1, add 1->2 first, then 3->1 g1.putEdge(N1, N2); g1.putEdge(N3, N1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java
} } public void executeAfter(BuildStep stepToExecuteBefore) { if (!isSuccessorOf(stepToExecuteBefore)) { predecessors.add(stepToExecuteBefore); stepToExecuteBefore.successors.add(this); } } public void executeBefore(BuildStep stepToExecuteAfter) { stepToExecuteAfter.executeAfter(this); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 30 16:21:08 GMT 2025 - 4.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Create a first "Add" computing `arg0 + arg1`. TF_AbstractTensor* add_output1; { // Build an abstract operation, inputs and output. auto* add_op = TF_NewAbstractOp(graph_ctx); TF_AbstractOpSetOpType(add_op, "Add", s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_AbstractOpSetOpName(add_op, "my_add", s);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 39.1K bytes - Click Count (0)