Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 66 of 66 for closeQuietly (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

          value < 0 -> 0
          else -> value.toInt()
        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            if (responseData.getHttpStatusCode() == 404) {
                response.httpStatus(responseData.getHttpStatusCode());
                CloseableUtil.closeQuietly(responseData);
                return response;
            }
            writeFileName(response, responseData);
            writeContentType(response, responseData);
            writeNoCache(response, responseData);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          logger.get().log(SEVERE, "Uh oh! An open ClosingFuture has leaked and will close: {0}", this);
          FluentFuture<V> unused = finishToFuture();
        }
      }
    
      private static void closeQuietly(@CheckForNull final AutoCloseable closeable, Executor executor) {
        if (closeable == null) {
          return;
        }
        try {
          executor.execute(
              () -> {
                try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            } finally {
                EntityUtils.consumeQuietly(httpEntity);
            }
        }
    
        protected void closeResources(final HttpUriRequest httpRequest, final ResponseData responseData) {
            CloseableUtil.closeQuietly(responseData);
            httpRequest.abort();
        }
    
        protected boolean isRedirectHttpStatus(final int httpStatusCode) {
            return redirectHttpStatusPattern.matcher(Integer.toString(httpStatusCode)).matches();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.http.HTTP_EARLY_HINTS
    import okhttp3.internal.http.HTTP_PROCESSING
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/_UtilCommonKt;-><clinit>()V
    HSPLokhttp3/internal/_UtilCommonKt;->checkOffsetAndCount(JJJ)V
    HSPLokhttp3/internal/_UtilCommonKt;->closeQuietly(Ljava/io/Closeable;)V
    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;CII)I
    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top