- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 2,146 for Bratch (0.04 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val byteRead = inputStream.read() // OpenJDK behavior: end of stream. assertThat(byteRead).isEqualTo(-1) } catch (e: ProtocolException) { // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp // treats an incomplete response body as a ProtocolException. } catch (ioe: IOException) { // Change in https://bugs.openjdk.org/browse/JDK-8335135
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
} /** * Test if the PIPE_TYPE_WRONLY constant has the correct value. */ @Test void testPipeTypeWronly() { assertEquals(SmbConstants.O_WRONLY, SmbPipeResource.PIPE_TYPE_WRONLY, "PIPE_TYPE_WRONLY should match SmbConstants.O_WRONLY"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
try { throw new ResultOffsetExceededException(expectedMessage); } catch (ResultOffsetExceededException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught ResultOffsetExceededException"); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
*/ public class SearchResult { /** The list of documents returned by the search query. */ protected final List<Map<String, Object>> documentList; /** The total number of records that match the search criteria. */ protected final long allRecordCount; /** The relation type indicating how the record count should be interpreted (e.g., "eq", "gte"). */ protected final String allRecordCountRelation;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertEquals(expectHost, hp.getHost()); // Check the post-withDefaultPort() instance (if any). if (!badDefaultPort) { try { int port = hp2.getPort(); assertTrue(expectPort != -1); assertEquals(expectPort, port); } catch (IllegalStateException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertEquals(expectHost, hp.getHost()); // Check the post-withDefaultPort() instance (if any). if (!badDefaultPort) { try { int port = hp2.getPort(); assertTrue(expectPort != -1); assertEquals(expectPort, port); } catch (IllegalStateException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Object obj = interpolationTargets.removeFirst(); try { traverseObjectWithParents(obj.getClass(), obj); } catch (ModelInterpolationException e) { return e; } } return null; } @SuppressWarnings({"unchecked", "checkstyle:methodlength"})
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentDifferentValue() { try { getMap().putIfAbsent(k0(), v3()); } catch (UnsupportedOperationException tolerated) { }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
try (SmbFileHandle h = ensureOpen()) {} this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); } init(th); } catch (final CIFSException e) { throw SmbException.wrap(e); } } /** * @throws SmbException * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
cancel(false); return; } catch (ExecutionException e) { // Set the cause of the exception as this future's exception. setException(e.getCause()); return; } catch (Exception e) { // sneaky checked exception // Bug in inputFuture.get(). Propagate to the output Future so that its consumers don't hang. setException(e); return; } catch (Error e) { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0)