Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for isNotEmpty (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            }
        }
    
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
                if (values.length == 2) {
                    return values;
                }
                if (values.length == 1 && StringUtil.isNotEmpty(values[0])) {
                    return new String[] { values[0], StringUtil.EMPTY };
                }
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                // We want to see the flaky tests for flakiness detection
                supportTestRetry = (performanceTestBuildSpec.type != PerformanceTestType.flakinessDetection)
            }
            if (testProjects.isNotEmpty()) {
                steps {
                    preBuildSteps()
                    killProcessStep(buildTypeThis, KILL_ALL_GRADLE_PROCESSES, os)
                    substDirOnWindows(os)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

            this.handshake = socket.session.handshake()
          } catch (e: IOException) {
            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

            return cipherSuites(*strings)
          }
    
        fun cipherSuites(vararg cipherSuites: String) =
          apply {
            require(tls) { "no cipher suites for cleartext connections" }
            require(cipherSuites.isNotEmpty()) { "At least one cipher suite is required" }
    
            this.cipherSuites = cipherSuites.copyOf() as Array<String> // Defensive copy.
          }
    
        fun allEnabledTlsVersions() =
          apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                }
            }
    
            final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",")
                    .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/"))));
            nodeManager.setHeartbeatInterval(fessConfig.getFesenHeartbeatInterval());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

          } catch (e: IOException) {
            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
          this.handshakeServerNames = listOf()
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

      private val connectResults = taskRunner.backend.decorate(LinkedBlockingDeque<ConnectResult>())
    
      override fun find(): RealConnection {
        var firstException: IOException? = null
        try {
          while (tcpConnectsInFlight.isNotEmpty() || routePlanner.hasNext()) {
            if (routePlanner.isCanceled()) throw IOException("Canceled")
    
            // Launch a new connection if we're ready to.
            val now = taskRunner.backend.nanoTime()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

     */
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isTrue
    import okhttp3.Address
    import okhttp3.ConnectionPool
    import okhttp3.FakeRoutePlanner
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TestUtil.awaitGarbageCollection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

            val schedules = mutableListOf(50.µs)
            val delays = mutableListOf(200.µs, -1)
    
            override fun runOnce(): Long {
              log += "run@${taskFaker.nanoTime}"
              if (schedules.isNotEmpty()) {
                redQueue.schedule(this, schedules.removeAt(0))
              }
              return delays.removeAt(0)
            }
          }
        redQueue.schedule(task, 100.µs)
    
        taskFaker.advanceUntil(0.µs)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                // filter out the directories that have only a `build` subdirectory - this usually happens after branch switching
                dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty()
            }
            assertFalse(subProjectFolders.isEmpty())
            return subProjectFolders
        }
    
        @Test
        fun allSubprojectsAreListed() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top