- Sort Score
- Num 10 results
- Language All
Results 3421 - 3430 of 4,422 for Final (0.02 seconds)
-
guava-testlib/test/com/google/common/collect/testing/MyTester.java
* * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably * soon won't be. */ @SuppressWarnings("JUnit4ClassUsedInJUnit3") @Ignore public final class MyTester extends AbstractTester<@Nullable Void> { static int timesTestClassWasRun = 0; public void testNothing() { timesTestClassWasRun++; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestCharSource.java
/** * A char source for testing that has configurable options. * * @author Colin Decker */ @NullUnmarked public class TestCharSource extends CharSource implements TestStreamSupplier { private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) { this.byteSource = new TestByteSource(content.getBytes(UTF_8), options); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
ThumbnailGenerator.Options options = new ThumbnailGenerator.Options(); options.numOfThreads = 4; options.cleanup = false; // Setup mock components with counter final AtomicInteger generateCallCount = new AtomicInteger(0); setupMockComponentsWithCounter(generateCallCount);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
List<Exception> exceptions = Collections.synchronizedList(new ArrayList<>()); // When - Multiple threads accessing trees concurrently for (int t = 0; t < threadCount; t++) { final int threadId = t; executor.submit(() -> { try { startLatch.await(); // Wait for all threads to be ready for (int i = 0; i < opsPerThread; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
import org.jspecify.annotations.NullUnmarked; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) @NullUnmarked public final class InvalidatableSetTest { Set<Integer> wrappedSet; Set<Integer> copyOfWrappedSet; InvalidatableSet<Integer> setToTest; @Before public void createSets() { wrappedSet = new HashSet<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
*/ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultimapFeature implements Feature<Multimap> { VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE; private final Set<Feature<? super Multimap>> implied; MultimapFeature(Feature<? super Multimap>... implied) { this.implied = copyToSet(implied); } @Override public Set<Feature<? super Multimap>> getImpliedFeatures() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
import org.junit.Test; /** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @Test public void testAll() throws Exception { final LruHashMap<String, String> lru = new LruHashMap<String, String>(3); lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/Slf4jLogger.java
import static java.util.Objects.requireNonNull; /** * Proto {@link Logger} that just passes to functioning {@link org.slf4j.Logger} instance. */ public class Slf4jLogger implements Logger { private final org.slf4j.Logger logger; public Slf4jLogger(org.slf4j.Logger logger) { this.logger = requireNonNull(logger, "logger"); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalReaperPlugin.java
import org.gradle.api.file.ProjectLayout; import javax.inject.Inject; import static org.elasticsearch.gradle.ReaperPlugin.registerReaperService; public class InternalReaperPlugin implements Plugin<Project> { private final ProjectLayout projectLayout; @Inject public InternalReaperPlugin(ProjectLayout projectLayout) { this.projectLayout = projectLayout; } @Override public void apply(Project project) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 969 bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
import java.util.Locale; /** * Methods factored out so that they can be emulated differently in GWT. * * <p>This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0)