Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 103 for isNotEmpty (0.25 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      }
    
      private fun certificateSupportHost(
        url: HttpUrl,
        handshake: Handshake,
      ): Boolean {
        val peerCertificates = handshake.peerCertificates
    
        return peerCertificates.isNotEmpty() &&
          OkHostnameVerifier.verify(url.host, peerCertificates[0] as X509Certificate)
      }
    
      @Throws(SocketException::class)
      internal fun newCodec(
        client: OkHttpClient,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

                value =
                  BasicConstraints(
                    ca = true,
                    maxIntermediateCas = maxIntermediateCas.toLong(),
                  ),
              )
          }
    
          if (altNames.isNotEmpty()) {
            val extensionValue =
              altNames.map {
                when {
                  it.canParseAsIpAddress() -> {
                    generalNameIpAddress to InetAddress.getByName(it).address.toByteString()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        ): String {
            val prefix = "${testCoveragePrefix}_"
            val shortenedSubprojectName = shortenSubprojectName(model.projectId, prefix + subProject)
            return model.projectId + "_" + if (subProject.isNotEmpty()) shortenedSubprojectName else "${prefix}0"
        }
    
        private fun shortenSubprojectName(
            prefix: String,
            subProjectName: String,
        ): String {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 13:00:26 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         */
        open fun query(body: RequestBody): Builder = method("QUERY", body)
    
        open fun method(
          method: String,
          body: RequestBody?,
        ): Builder =
          apply {
            require(method.isNotEmpty()) {
              "method.isEmpty() == true"
            }
            if (body == null) {
              require(!HttpMethod.requiresRequestBody(method)) {
                "method $method must have a request body."
              }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.prop
    import java.io.File
    import java.io.IOException
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Checks if the string is not empty.
         *
         * @param text the string to check
         * @return true if not empty, false otherwise
         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
         * Replaces all occurrences of a substring within a string with another string.
         *
         * @param text
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            taskQueue.schedule("$name ping", pingIntervalNanos) {
              writePingFrame()
              return@schedule pingIntervalNanos
            }
          }
          if (messageAndCloseQueue.isNotEmpty()) {
            runWriter() // Send messages that were enqueued before we were connected.
          }
        }
    
        reader =
          WebSocketReader(
            isClient = client,
            source = socket.source,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (list == null) {
                list = split(getApiCorsAllowOrigin(), "\n")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).collect(Collectors.toList()));
                propMap.put(CORS_ALLOW_ORIGIN, list);
            }
            return list;
        }
    
        String getIndexerLanguageFields();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                                .stream();
                    } catch (OpenSearchStatusException | IllegalStateException e) {
                        final String msg = e.getMessage();
                        if (StringUtil.isNotEmpty(msg) && msg.contains("index.analyze.max_token_count")) {
                            logger.warn("Failed to parse document (token count exceeded): index={}, message={}", index, msg);
                            return Stream.empty();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                final String pdfPassword) {
            final Metadata metadata = new Metadata();
            if (StringUtil.isNotEmpty(resourceName)) {
                metadata.set(ExtractData.RESOURCE_NAME_KEY, resourceName);
            }
            if (StringUtil.isNotBlank(contentType)) {
                metadata.set(ExtractData.CONTENT_TYPE, contentType);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
Back to top