Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for closeQuietly (0.1 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getTika_hpp() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/program/test.hpp");
            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (!failed && streamsToClose != null && receivedCloseCode != -1) {
          listener.onClosed(this, code, reason!!)
        }
    
        readerToClose?.closeQuietly()
        streamsToClose?.closeQuietly()
      }
    
      /** For testing: force this web socket to release its threads. */
      @Throws(InterruptedException::class)
      fun tearDown() {
        taskQueue.shutdown()
        taskQueue.idleLatch().await(10, TimeUnit.SECONDS)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            plan = this,
            nextPlan = retryTlsConnection,
            throwable = e,
          )
        } finally {
          user.removePlanToCancel(this)
          if (!success) {
            socket?.closeQuietly()
            rawSocket?.closeQuietly()
          }
        }
      }
    
      /** Does all the work necessary to build a full HTTP or HTTPS connection on a raw socket. */
      @Throws(IOException::class)
      private fun connectSocket() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    import okhttp3.Cache
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.Interceptor
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.discard
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http.RealResponseBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                            }
                            parser.parse(in, new BodyContentHandler(writer), metadata, parseContext);
                        } finally {
                            CloseableUtil.closeQuietly(in);
                        }
                    }, contentEncoding, normalizeText);
                    if (StringUtil.isBlank(content)) {
                        if (resourceName != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

    import okhttp3.Address
    import okhttp3.ConnectionListener
    import okhttp3.ConnectionPool
    import okhttp3.Route
    import okhttp3.internal.assertHeld
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskQueue
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          serverSocket?.closeQuietly()
    
          val openClientSocket = openClientSockets.iterator()
          while (openClientSocket.hasNext()) {
            openClientSocket.next().closeQuietly()
            openClientSocket.remove()
          }
    
          val httpConnection = openConnections.iterator()
          while (httpConnection.hasNext()) {
            httpConnection.next().closeQuietly()
            httpConnection.remove()
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.canReuseConnectionFor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.connection.RoutePlanner.Plan
    import okhttp3.internal.platform.Platform
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

    import java.io.Closeable
    import java.io.EOFException
    import java.io.Flushable
    import java.io.IOException
    import okhttp3.internal.assertThreadHoldsLock
    import okhttp3.internal.cache.DiskLruCache.Editor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.deleteContents
    import okhttp3.internal.deleteIfExists
    import okhttp3.internal.isCivilized
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache2
    
    import java.io.File
    import java.io.IOException
    import java.io.RandomAccessFile
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.notifyAll
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Source
    import okio.Timeout
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top