Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isLoggable (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          }
        } else {
          // The server reads the CONNECTION_PREFACE byte string.
          val connectionPreface = source.readByteString(CONNECTION_PREFACE.size.toLong())
          if (logger.isLoggable(FINE)) logger.fine(format("<< CONNECTION ${connectionPreface.hex()}"))
          if (CONNECTION_PREFACE != connectionPreface) {
            throw IOException("Expected a connection header but was ${connectionPreface.utf8()}")
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        } catch (ConflictingRequirementsException e) {
          throw new RuntimeException(e);
        }
        if (!features.containsAll(requirements.getPresentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> missingFeatures = copyToSet(requirements.getPresentFeatures());
            missingFeatures.removeAll(features);
            logger.finer(
                Platform.format(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        } catch (ConflictingRequirementsException e) {
          throw new RuntimeException(e);
        }
        if (!features.containsAll(requirements.getPresentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> missingFeatures = copyToSet(requirements.getPresentFeatures());
            missingFeatures.removeAll(features);
            logger.finer(
                Platform.format(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      fun connectionPreface() {
        this.withLock {
          if (closed) throw IOException("closed")
          if (!client) return // Nothing to write; servers don't send connection headers!
          if (logger.isLoggable(FINE)) {
            logger.fine(format(">> CONNECTION ${CONNECTION_PREFACE.hex()}"))
          }
          sink.write(CONNECTION_PREFACE)
          sink.flush()
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

       * should be used specifically for [java.io.Closeable] objects and in conjunction with
       * [logCloseableLeak].
       */
      open fun getStackTraceForCloseable(closer: String): Any? {
        return when {
          logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate.
          else -> null
        }
      }
    
      open fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            handleWebSocketUpgrade(socket, source, sink, request, response)
            reuseSocket = false
          } else {
            writeHttpResponse(socket, sink, response)
          }
    
          if (logger.isLoggable(Level.FINE)) {
            logger.fine(
              "${this@MockWebServer} received request: $request and responded: $response",
            )
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top