Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for if (0.17 sec)

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

            if (errorCode != null) {
              return false
            }
            if ((source.finished || source.closed) &&
              (sink.finished || sink.closed) &&
              hasResponseHeaders
            ) {
              return false
            }
            return true
          }
        }
    
      /** Returns true if this stream was created by this peer. */
      val isLocallyInitiated: Boolean
        get() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // If the connection is in use, keep searching.
            if (pruneAndGetAllocationCount(connection, now) > 0) {
              inUseConnectionCount++
              return@withLock
            }
    
            val idleAtNs = connection.idleAtNs
    
            if (idleAtNs < earliestOldIdleAtNs) {
              earliestOldIdleAtNs = idleAtNs
              earliestOldConnection = connection
            }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    class CacheStrategy internal constructor(
      /** The request to send on the network, or null if this call doesn't use the network. */
      val networkRequest: Request?,
      /** The cached response to return or validate; or null if this call doesn't use a cache. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          if (response.socketPolicy === DisconnectAfterRequest) {
            socket.close()
            return false
          }
          if (response.socketPolicy === HalfCloseAfterRequest) {
            socket.shutdownOutput()
            return false
          }
          if (response.socketPolicy === NoResponse) {
            // This read should block until the socket is closed. (Because nobody is writing.)
            if (source.exhausted()) return false
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        ): KtSymbol? {
            val classLikeDeclaration = this.toSymbol(session)?.fir
            if (classLikeDeclaration is FirRegularClass) {
                if (calleeReference is FirResolvedNamedReference) {
                    val callee = calleeReference.resolvedSymbol.fir as? FirCallableDeclaration
                    // TODO: check callee owner directly?
                    if (callee !is FirConstructor && callee?.isStatic != true) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  6. helm/minio/templates/_helper_create_svcacct.txt

      #check accessKey_and_secretKey_tmp file
      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      SVCACCT=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the svcacct if it does not exist
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. .cm/estimated_time_to_review.cm

      estimated_time_to_review:
        if:
          - {{ ('estimated_time_to_review' | isEnabledAutomation(pr)) }}
        run:
          - action: add-label@v1
            # etr is defined in the last section of this example
            args:
              label: "{{ calc.etr }} min review"
              color: {{ 'E94637' if (calc.etr >= 20) else ('FBBD10' if (calc.etr >= 5) else '36A853') }}
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

        private val activeLoggers = mutableListOf<Logger>()
    
        fun configureLogging(
          debug: Boolean,
          showHttp2Frames: Boolean,
          sslDebug: Boolean,
        ) {
          if (debug || showHttp2Frames || sslDebug) {
            if (sslDebug) {
              System.setProperty("javax.net.debug", "")
            }
            LogManager.getLogManager().reset()
            val handler =
              object : ConsoleHandler() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

            if (arg !is FirQualifiedAccessExpression) return
            val callableSymbol = arg.calleeReference.toResolvedCallableSymbol() ?: return
            if (callableSymbol.containingClassLookupTag()?.classId != expectedEnumClass) return
            val identifier = callableSymbol.callableId.callableName.identifier
            transformer(identifier)?.let(::add)
        }
    
        if (this@findFromRawArguments is FirAnnotationCall) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10VariableLikeSignature.kt

            )
        }
    
        override fun equals(other: Any?): Boolean {
            if (this === other) return true
            if (javaClass != other?.javaClass) return false
    
            other as KtFe10VariableLikeSignature<*>
    
            if (backingSymbol != other.backingSymbol) return false
            if (backingReturnType != other.backingReturnType) return false
            if (backingReceiverType != other.backingReceiverType) return false
    
            return true
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top