- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,560 for just (0.02 sec)
-
guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
executor.execute(task); assertEquals(1, numCalls.get()); } /* * Under Android, MyError propagates up and fails the test? * * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing * environment? If the latter, maybe write a custom Executor that avoids failing the test when it * sees an Error? */ @AndroidIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
} /** * Tests connectivity to the witness service. * * @throws IOException if connection fails */ private void testConnection() throws IOException { // For now, just test basic connectivity to RPC endpoint try (java.net.Socket socket = new java.net.Socket()) { socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
assertEquals(2, sidArray.sids.length); assertNotNull(sidArray.sids[0]); assertNotNull(sidArray.sids[1]); // Cannot verify decode on non-mock objects - they are created by decode // Just verify they were created assertNotNull(sidArray.sids[0]); assertNotNull(sidArray.sids[1]); } @Test void testLsarSidArrayDecodeNullSids() throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* * @return the logger instance */ Logger getLogger(); /** * Extracts the host name from a URL string. * Removes protocol and path components to return just the hostname. * * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */ default String getHost(final String u) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
"Error while attempting to shut down the service after failure.", ignored); } notifyFailed(t); // requireNonNull is safe now, just as it was above. requireNonNull(runningTask).cancel(false); // prevent future invocations. } finally { lock.unlock(); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* These methods "should" call checkNotNull. However, I'm wary of accidentally introducing * anything that might slow down execution on such a hot path. Given that the methods are only * package-private, I feel OK with just not testing them for NPE. * * Note that testing casValue is particularly dangerous because it uses Unsafe under some * versions of Java, and apparently Unsafe can cause SIGSEGV instead of NPE—almost as if it's
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private interface ChainingCalls { // A method that is defined to 'return this' @CanIgnoreReturnValue ChainingCalls chainingCall(); // A method that just happens to return a ChainingCalls object ChainingCalls nonChainingCall(); } private static class ForwardingChainingCalls implements ChainingCalls { final ChainingCalls delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// that happens, then we will have buffered bytes that are needed by the SSLSocket! // This check is imperfect: it doesn't tell us whether a handshake will succeed, just // that it will almost certainly fail because the proxy has sent unexpected data. if (!socket.source.buffer.exhausted() || !socket.sink.buffer.exhausted()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0)