Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 89 of 89 for isNotEmpty (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          if (MAGIC != magic ||
            VERSION_1 != version ||
            appVersion.toString() != appVersionString ||
            valueCount.toString() != valueCountString ||
            blank.isNotEmpty()
          ) {
            throw IOException(
              "unexpected journal header: [$magic, $version, $valueCountString, $blank]",
            )
          }
    
          var lineCount = 0
          while (true) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            }
            try {
              waitForIo()
            } finally {
              if (doReadTimeout) {
                readTimeout.exitAndThrowIfTimedOut()
              }
            }
          }
          if (headersQueue.isNotEmpty()) {
            return headersQueue.removeFirst()
          }
          throw errorException ?: StreamResetException(errorCode!!)
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            System.setProperty(Constants.FESS_LOG_LEVEL, logLevel.toString());
            split(ComponentUtil.getFessConfig().getLoggingAppPackages(), ",")
                    .of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> Configurator.setLevel(s, logLevel)));
        }
    
        public String getLogLevel() {
            return System.getProperty(Constants.FESS_LOG_LEVEL, Level.WARN.toString());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                throw new SsoLoginException("unexpected set of artifacts received");
            }
        }
    
        protected StateData validateState(final HttpSession session, final String state) {
            if (StringUtils.isNotEmpty(state)) {
                final StateData stateDataInSession = removeStateFromSession(session, state);
                if (stateDataInSession != null) {
                    return stateDataInSession;
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

         * 文字列が<code>null</code>でも空文字列でもなければ<code>true</code>を返します。
         *
         * @param text
         *            文字列
         * @return 文字列が<code>null</code>でも空文字列でもなければ<code>true</code>
         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
         * 文字列を置き換えます。
         *
         * @param text
         *            テキスト
         * @param fromText
         *            置き換え対象のテキスト
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(recordedRequest.chunkSizes).isNotEmpty()
      }
    
      @Test
      fun uploadBodyLargeChunkedEncoding() {
        upload(true, 1048576, 65536)
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.bodySize).isEqualTo(1048576)
        assertThat(recordedRequest.chunkSizes).isNotEmpty()
      }
    
      @Test
      fun uploadBodySmallFixedLength() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      ) {
        this.assertThreadDoesntHoldLock()
    
        ignoreIoExceptions {
          shutdown(connectionCode)
        }
    
        var streamsToClose: Array<Http2Stream>? = null
        this.withLock {
          if (streams.isNotEmpty()) {
            streamsToClose = streams.values.toTypedArray()
            streams.clear()
          }
        }
    
        streamsToClose?.forEach { stream ->
          ignoreIoExceptions {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isGreaterThanOrEqualTo
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isLessThan
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.fail
    import java.io.File
    import java.io.IOException
    import java.io.InputStream
    import java.net.ConnectException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        }
    
        protected Client createHttpClient(final FessConfig fessConfig, final String host) {
            final String[] hosts =
                    split(host, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder().putList("http.hosts", hosts).put("processors", fessConfig.availableProcessors())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top