Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,077 for boolean (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      private fun requestIsOneShot(
        e: IOException,
        userRequest: Request,
      ): Boolean {
        val requestBody = userRequest.body
        return (requestBody != null && requestBody.isOneShot()) ||
          e is FileNotFoundException
      }
    
      private fun isRecoverable(
        e: IOException,
        requestSendStarted: Boolean,
      ): Boolean {
        // If there was a protocol problem, don't recover.
        if (e is ProtocolException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         * @return true if the stream contains valid sitemap data, false otherwise
         */
        protected boolean isValid(final InputStream in, final boolean recursive) {
            final BufferedInputStream bis = new BufferedInputStream(in);
            bis.mark(preloadSize);
    
            final byte[] bytes = new byte[preloadSize];
            try {
                if (bis.read(bytes) == -1) {
                    return false;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            private byte[] rawPayload;
    
            // Response interface fields
            private boolean received = false;
            private int grantedCredits = 0;
            private int errorCode = 0;
            private boolean verifyFailed = false;
            private boolean error = false;
            private Exception exception;
            private Long expiration;
    
            public MockNotifyResponse(List<FileNotifyInformation> notifyInfo) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Boolean.TRUE, DocumentUtil.getValue(doc, "boolTrue", Boolean.class));
    
            doc.put("boolFalse", false);
            assertEquals(Boolean.FALSE, DocumentUtil.getValue(doc, "boolFalse", Boolean.class));
    
            doc.put("boolStr", "anything");
            assertEquals(Boolean.FALSE, DocumentUtil.getValue(doc, "boolStr", Boolean.class));
        }
    
        public void test_unsupported_type_conversion() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            Boolean testValue = true;
            OptionalEntity<Boolean> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(Boolean.TRUE, result.get());
        }
    
        public void test_ofNullable_withFalseBoolean() {
            Boolean testValue = false;
            OptionalEntity<Boolean> result = OptionalUtil.ofNullable(testValue);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

    internal fun parseCookie(
      currentTimeMillis: Long,
      url: HttpUrl,
      setCookie: String,
    ): Cookie? = Cookie.parse(currentTimeMillis, url, setCookie)
    
    internal fun cookieToString(
      cookie: Cookie,
      forObsoleteRfc2965: Boolean,
    ): String = cookie.toString(forObsoleteRfc2965)
    
    internal fun addHeaderLenient(
      builder: Headers.Builder,
      line: String,
    ): Headers.Builder = builder.addLenient(line)
    
    internal fun addHeaderLenient(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         * Not exactly sure what that is all about, certainly legacy stuff
         *
         * @return resolveHashes
         */
        boolean isResolveHashes();
    
        /**
         * Check if this referral needs to be resolved further
         *
         * @return whether this refrral needs to be resolved further
         */
        boolean isIntermediate();
    
        /**
         * Combine this referral with another to form a chain
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

                      + listener
                      + " with executor "
                      + executor,
                  e);
        }
      }
    
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        return false;
      }
    
      // TODO(lukes): Consider throwing InterruptedException when appropriate.
      @Override
      @ParametricNullness
      public V get() {
        return value;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestTest.java

                return errorCode;
            }
    
            @Override
            public boolean verifySignature(byte[] buffer, int i, int size) {
                return true;
            }
    
            @Override
            public boolean isVerifyFailed() {
                return false;
            }
    
            @Override
            public boolean isError() {
                return errorCode != 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         */
        @NotThreadSafe
        class ProjectBuilderRequestBuilder {
            Session session;
            RequestTrace trace;
            Path path;
            Source source;
            boolean allowStubModel;
            boolean recursive;
            boolean processPlugins = true;
            List<RemoteRepository> repositories;
    
            ProjectBuilderRequestBuilder() {}
    
            /**
             * Sets the Maven session for this request.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top