Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,786 for Booleans (0.03 sec)

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

       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesWritten, long contentLength, boolean done) {
            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            }
    
            public boolean add(final E e) {
                return parent.add(e);
            }
    
            public boolean remove(final Object o) {
                return parent.remove(o);
            }
    
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
            public boolean addAll(final Collection<? extends E> c) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

          return delegate.hostName
        }
    
      var protocolNegotiationEnabled: Boolean by delegate::protocolNegotiationEnabled
    
      @get:JvmName("protocols")
      var protocols: List<Protocol> by delegate::protocols
    
      init {
        delegate.dispatcher = dispatcher.wrap()
      }
    
      private var started: Boolean = false
    
      @Synchronized override fun before() {
        if (started) return
        try {
          start()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static final boolean isEmpty(final String text) {
            return text == null || text.length() == 0;
        }
    
        /**
         * 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);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
            // Then
            assertTrue(valid);
            assertEquals(DialectVersion.SMB311, response.getSelectedDialect());
        }
    
        @Test
        @DisplayName("Should fail validation when not received")
        void testIsValidNotReceived() {
            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashSet.java

         */
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

    import okhttp3.internal.http2.Http2
    
    class LoggingUtil {
      companion object {
        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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. .ci/init.gradle

          buildScan.server = 'https://gradle-enterprise.elastic.co'
        }
      }
    }
    
    
    final String buildCacheUrl = System.getProperty('org.elasticsearch.build.cache.url')
    final boolean buildCachePush = Boolean.valueOf(System.getProperty('org.elasticsearch.build.cache.push', 'false'))
    
    if (buildCacheUrl) {
      final Map<String, String> buildCacheCredentials = vault.logical()
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Nov 13 10:14:04 UTC 2019
    - 3K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          @JvmStatic
          fun isAlpnBootEnabled(): Boolean =
            try {
              Class.forName("org.eclipse.jetty.alpn.ALPN", true, null)
              true
            } catch (cnfe: ClassNotFoundException) {
              false
            }
    
          val isCorrettoSupported: Boolean =
            try {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
Back to top