- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 460 for logic (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @NullMarked @GwtCompatible public class FluentFutureTest extends TestCase { @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated methodRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
src/archive/tar/writer.go
n = len(b0) - len(b) switch { case err == ErrWriteTooLong: return n, errMissData // Not possible; implies bug in validation logic case err != nil: return n, err case sw.logicalRemaining() == 0 && sw.physicalRemaining() > 0: return n, errUnrefData // Not possible; implies bug in validation logic case overwrite: return n, ErrWriteTooLong default: return n, nil } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
return redirect(getClass()); } // =================================================================================== // Assist Logic // ============ /** * Creates a duplicate host entity based on the form and current user context. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
public void test_getStatus_returnsCorrectValue() { // Since we cannot easily create a real ClusterHealthResponse without a running cluster, // we'll test the class behavior through unit tests that verify the logic // The actual integration with ClusterHealthResponse is tested in integration tests // Test that the constructor and getters work with proper setup FessConfig mockConfig = new FessConfig.SimpleImpl() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
Exception networkError = new java.io.IOException("Network connection failed"); Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out"); // Test fallback logic assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// one. (StringCoding$StringDecoder vs. StreamDecoder). StringCoding has a ton of special cases // theoretically we could duplicate all that logic here to try to beat 'new String' or at least // come close. USING_DECODER_WITH_SIZE_HINT { @Override String read(ByteSource byteSource, Charset cs) throws IOException {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
assertFalse(Ascii.equalsIgnoreCase("x", "")); assertTrue(Ascii.equalsIgnoreCase(LOWER, UPPER)); assertTrue(Ascii.equalsIgnoreCase(UPPER, LOWER)); // Create new strings here to avoid early-out logic. assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED))); // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
assertFalse(Ascii.equalsIgnoreCase("x", "")); assertTrue(Ascii.equalsIgnoreCase(LOWER, UPPER)); assertTrue(Ascii.equalsIgnoreCase(UPPER, LOWER)); // Create new strings here to avoid early-out logic. assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED))); // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(0, dst[35], "Reserved byte should be 0"); } @Test void testWriteParameterWordsWireFormat_ZeroCounts() { // Test with zero parameter and data counts to check conditional logic. smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; smbComNtTransaction.parameterCount = 0; smbComNtTransaction.dataCount = 0; smbComNtTransaction.parameterOffset = 100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)