- Sort Score
- Result 10 results
- Languages All
Results 1831 - 1840 of 2,345 for add (0.07 sec)
-
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
}); // Don't copy this into your own test! // Use e.g. awaitClear or await(CountDownLatch) instead. GcFinalization.awaitFullGc(); // If this test turns out to be flaky, add a second call to awaitFullGc() // GcFinalization.awaitFullGc(); assertEquals(0, finalizerRan.getCount()); assertNull(ref.get()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
assertEquals(0, shutDownCalled); shutDownCalled++; assertEquals(State.STOPPING, state()); } @Override protected Executor executor() { transitionStates.add(state()); return directExecutor(); } } // Functional tests using real thread. We only verify publicly visible state. // Interaction assertions are done by the single-threaded unit tests.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
if (lookup == null) { return customLifecycles != null ? customLifecycles : new HashMap<>(); } // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution. try { return registry != null ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) { return ops::Mul(ctx, inputs[0], inputs[1], &outputs[0], "Mul"); } // TODO(vnvo2409): Add more tests from `python/ops/gradient_checker_v2_test.py`. // These tests should not be confused with `[*]_grad_test` which compare the // result of `gradient_checker` and `[*]_grad`. The tests here test the
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryFieldConfig.java
pair.setSecond(Float.parseFloat(values[1])); } else { return null; } return pair; }).forEach(additionalDefaultList::add)); } public void setNotAnalyzedFields(final String[] fields) { notAnalyzedFieldSet = new HashSet<>(); Collections.addAll(notAnalyzedFieldSet, fields); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 04:30:56 UTC 2024 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
for (int chunkSize = 4; chunkSize <= 32; chunkSize++) { for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) { // yes, that's a lot of sinks! sinks.add(new Sink(chunkSize, bufferSize)); // For convenience, testing only with big endianness, to match DataOutputStream. // I regard highly unlikely that both the little endianness tests above and this one
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
} } private static List<Callable<String>> createTasks(int n) { List<Callable<String>> callables = Lists.newArrayList(); for (int i = 0; i < n; i++) { callables.add(Callables.returning(RESULT_VALUE + i)); } return callables; } private static final class WrappedCallable<T> implements Callable<T> { private final Callable<T> delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 9.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
String version = model.getVersion(); dependencyManagement .getDependencies() .forEach((dependency) -> dependencies.add(dependency.withVersion(version))); Model.Builder builder = prune( Model.newBuilder(model, true) .preserveModelVersion(false) .root(false)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
outerClass.addInnerClassName(className); currentClass.setOuterClassName(outerClass.getClassName()); } findAnnotations(typeDeclaration, currentClass); allClasses.add(currentClass); repository.put(className, currentClass); classStack.push(currentClass); action.run(); classStack.pop(); } private ClassMetaData getCurrentClass() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
if (files != null) { for (final File f : files) { final String chileUri = f.toURI().toASCIIString(); requestDataSet.add(RequestDataBuilder.newRequestData().get().url(chileUri).build()); } } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0)