- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,270 for cases (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* * The connection is implicit, and will generally relate to the last [connectionAcquired] event. * * This will usually be invoked only 1 time for a single [Call], exceptions are a limited set of * cases including failure recovery. * * Prior to OkHttp 4.3 this was incorrectly invoked when the client was ready to read the response * body. This was misleading for tracing because it was too early. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
monitor.enter(); try { State previous = state(); switch (previous) { case NEW: case TERMINATED: case FAILED: throw new IllegalStateException("Cannot notifyStopped() when the service is " + previous); case RUNNING: case STARTING: case STOPPING: snapshot = new StateSnapshot(TERMINATED); enqueueTerminatedEvent(previous);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* * public void onFailure(Call call, IOException e) { * ... // Handle the failure. * } * }); * ``` * * These examples will not work if you're consuming the response body on another thread. In such * cases the consuming thread must call [close] when it has finished reading the response * body. * * ### The response body can be consumed only once. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see * {@link PairedStatsTest}. * * @author Pete Gillin */ @NullUnmarkedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertTrue(ace.isInherited()); ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_INHERIT_ONLY; assertTrue(ace.isInherited()); } @Test @DisplayName("Test edge cases in getApplyToText") void testGetApplyToTextEdgeCases() { // Test with only FLAGS_INHERIT_ONLY (should return Invalid) ace.flags = ACE.FLAGS_INHERIT_ONLY;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Test writing a comment line updater.write("# This is a comment"); updater.close(); } // Test edge cases public void test_emptyFile() { String content = ""; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(0xFF, mockRequest.getContextType()); verify(mockRequest).getContextType(); } } @Nested @DisplayName("Edge Cases and Error Conditions") class EdgeCasesTests { @Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() { // Test with reasonably large arraysRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm64enc.s
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The cases are auto-generated by disassembler. // The uncommented cases means they can be handled by assembler // and they are consistent with disassembler decoding. // TODO means they cannot be handled by current assembler. #include "../../../../../runtime/textflag.h"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 24 01:11:41 UTC 2023 - 43.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
switch (state.get()) { case SUBSUMED: throw new IllegalStateException( "Cannot call finishToFuture() after deriving another step"); case WILL_CREATE_VALUE_AND_CLOSER: throw new IllegalStateException( "Cannot call finishToFuture() after calling finishToValueAndCloser()"); case WILL_CLOSE: case CLOSING: case CLOSED:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
assertNotNull(result); assertTrue(result.contains("title=Empty Map Test")); assertTrue(result.contains("queryMap={}")); } // Test edge cases public void test_addQuery_withNullValues() { facetQueryView.addQuery(null, "query1"); assertEquals("query1", facetQueryView.getQueryMap().get(null)); facetQueryView.addQuery("key1", null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0)