Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 103 for isNotEmpty (0.04 sec)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url = makeJarUrlWithName("To test unescaped spaces in jar file name.jar");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null);
        assertThat(ClassPath.from(classloader).getTopLevelClasses()).isNotEmpty();
      }
    
      @AndroidIncompatible // ClassPath is documented as not supporting Android
    
      public void testScan_classPathCycle() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          }
          try {
            bytesRemainingInChunk = socket.source.readHexadecimalUnsignedLong()
            val extensions = socket.source.readUtf8LineStrict().trim()
            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
                "expected chunk size and optional extensions" +
                  " but was \"$bytesRemainingInChunk$extensions\"",
              )
            }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          }
        }
    
        when {
          toEvict != null -> {
            // We've chosen a connection to evict. Confirm it's still okay to be evicted, then close it.
            toEvict.withLock {
              if (toEvict.calls.isNotEmpty()) return 0L // No longer idle.
              if (toEvict.idleAtNs != toEvictIdleAtNs) return 0L // No longer oldest.
              toEvict.noNewExchanges = true
              connections.remove(toEvict)
            }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

            length = 8 + debugData.size,
            type = TYPE_GOAWAY,
            flags = FLAG_NONE,
          )
          sink.writeInt(lastGoodStreamId)
          sink.writeInt(errorCode.httpCode)
          if (debugData.isNotEmpty()) {
            sink.write(debugData)
          }
          sink.flush()
        }
      }
    
      /**
       * Inform peer that an additional `windowSizeIncrement` bytes can be sent on `streamId`, or the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          fun addPart(part: Part) =
            apply {
              parts += part
            }
    
          /** Assemble the specified parts into a request body. */
          fun build(): MultipartBody {
            check(parts.isNotEmpty()) { "Multipart body must have at least one part." }
            return MultipartBody(boundary, type, parts.toImmutableList())
          }
        }
    
      companion object {
        /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                        smallElementAggregateFunction,
                        expectedBucketNumber,
                        Integer.MAX_VALUE,
                        { listOf() },
                    ).filter { it.isNotEmpty() }
    
                buckets.mapIndexed { index: Int, classesInBucket: List<PerformanceTestDuration> ->
                    TestProjectSplitBucket(testProject, index + 1, classesInBucket)
                }
            }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            responseHeaders = responseHeadersBuilder.build()
    
            if (url.isHttps) {
              val blank = source.readUtf8LineStrict()
              if (blank.isNotEmpty()) {
                throw IOException("expected \"\" but was \"$blank\"")
              }
              val cipherSuiteString = source.readUtf8LineStrict()
              val cipherSuite = CipherSuite.forJavaName(cipherSuiteString)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          if (!address.hostnameVerifier!!.verify(address.url.host, sslSocketSession)) {
            val peerCertificates = unverifiedHandshake.peerCertificates
            if (peerCertificates.isNotEmpty()) {
              val cert = peerCertificates[0] as X509Certificate
              throw SSLPeerUnverifiedException(
                """
                |Hostname ${address.url.host} not verified:
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 19.3K bytes
    - Viewed (2)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

              append(scheme)
              append("://")
            } else {
              append("//")
            }
    
            if (encodedUsername.isNotEmpty() || encodedPassword.isNotEmpty()) {
              append(encodedUsername)
              if (encodedPassword.isNotEmpty()) {
                append(':')
                append(encodedPassword)
              }
              append('@')
            }
    
            if (host != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                key,
                                "must be 'pom' to import the managed dependencies.",
                                dependency);
                    } else if (StringUtils.isNotEmpty(dependency.getClassifier())) {
                        addViolation(
                                problems,
                                errOn30,
                                Version.V20,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
Back to top