- Sort Score
- Num 10 results
- Language All
Results 4161 - 4170 of 4,519 for Signal (0.05 seconds)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
} @J2ktIncompatible @GwtIncompatible // CountDownLatch static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> { private final AtomicBoolean shouldWait; private final CountDownLatch delayLatch; DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) { this.shouldWait = shouldWait;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
suite.addTest(testsForTransform()); suite.addTestSuite(Collections2Test.class); return suite; } static final Predicate<@Nullable String> NOT_YYY_ZZZ = input -> !Objects.equals(input, "yyy") && !Objects.equals(input, "zzz"); static final Predicate<String> LENGTH_1 = input -> input.length() == 1; @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
class NegotiateContextRequestTest { @Mock private Configuration mockConfig; private static final int BUFFER_SIZE = 1024; /** * Test custom implementation of NegotiateContextRequest for interface testing */ static class TestNegotiateContextRequest implements NegotiateContextRequest { private final int contextType; TestNegotiateContextRequest(int contextType) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
} private Process createMockProcess(String output) { return new MockProcess(output); } private static class MockProcess extends Process { private final InputStream inputStream; public MockProcess(String output) { this.inputStream = new ByteArrayInputStream(output.getBytes()); } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
private static final class PickyIterable<E> implements Iterable<E> { final List<E> elements; int modCount = 0; PickyIterable(E... elements) { this.elements = new ArrayList<E>(asList(elements)); } @Override public Iterator<E> iterator() { return new PickyIterator(); } final class PickyIterator implements Iterator<E> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbFileOutputStream out = mock(SmbFileOutputStream.class); byte[] payload = new byte[] { 1, 2, 3, 4 }; w.start(); // Wait until writer thread signals readiness synchronized (w) { long deadline = System.currentTimeMillis() + 2000; while (!w.isReady() && System.currentTimeMillis() < deadline) { w.wait(10); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/StandardSystemProperty.java
/** User's account name. */ USER_NAME("user.name"), /** User's home directory. */ USER_HOME("user.home"), /** User's current working directory. */ USER_DIR("user.dir"); private final String key; StandardSystemProperty(String key) { this.key = key; } /** Returns the key used to look up this system property. */ public String key() { return key; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 06 10:03:30 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
* * @author Qian Huang */ @NullUnmarked public class HashingInputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'}; private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newHashMapWithExpectedSize(int expectedSize) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.5K bytes - Click Count (0)