- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 893 for lose (0.16 sec)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertNotNull(s1); assertEquals(1, transport.getNumSessions()); s1.close(); // Act: request again with same context -> reuse existing SmbSessionImpl s2 = transport.getSmbSession(ctx); assertNotNull(s2); assertEquals(1, transport.getNumSessions(), "Should reuse existing session"); s2.close(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
internal val writeTimeout = StreamTimeout() /** * The reason why this stream was closed, or null if it closed normally or has not yet been * closed. * * If there are multiple reasons to abnormally close this stream (such as both peers closing it * near-simultaneously) then this is the first reason known to this peer. */ internal var errorCode: ErrorCode? = null get() = withLock { field }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* <p> * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param zipFile * Zip file. Must not be {@literal null}. */ public static void close(final ZipFile zipFile) { assertArgumentNotNull("zipFile", zipFile); try { zipFile.close(); } catch (final IOException e) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
if (logStreamMockedStatic != null) logStreamMockedStatic.close(); if (uniAddressMockedStatic != null) uniAddressMockedStatic.close(); if (smbTransportMockedStatic != null) smbTransportMockedStatic.close(); if (configMockedStatic != null) configMockedStatic.close(); } @Test void testCacheEntry() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
fun shutdown() { delegate.close() } @Synchronized override fun after() { try { shutdown() } catch (e: IOException) { logger.log(Level.WARNING, "MockWebServer shutdown failed", e) } } override fun toString(): String = delegate.toString() @Throws(IOException::class) override fun close() = delegate.close() companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 00:19:42 UTC 2025 - 4.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
for (int i = 2; i <= 997; i++) { System.out.println(i); Thread.sleep(10); sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i))); } sink.close(); } catch (IOException | InterruptedException e) { e.printStackTrace(); } } private String factor(int n) { for (int i = 2; i < n; i++) { int x = n / i;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
server.enqueue(response) val request = newRequest("/") val c1 = getResponse(request) assertContent("ABCDE", c1, 5) val c2 = getResponse(request) assertContent("ABCDE", c2, 5) c1.close() c2.close() } @Test fun connectionsArePooled() { val response = MockResponse( body = "ABCDEFGHIJKLMNOPQR", ) server.enqueue(response)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
handler.processResource(path, is); } }); } @Override public void close() { JarFileUtil.close(jarFile); } } /** * Object that handles a collection of resources represented by the vfszip protocol of JBossAS5. * * @author koichik */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
deflatedBytes.writeByte(0x00) } buffer.write(deflatedBytes, deflatedBytes.size) } @Throws(IOException::class) override fun close() = deflaterSink.close() private fun Buffer.endsWith(suffix: ByteString): Boolean = rangeEquals(size - suffix.size, suffix)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0)