Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1781 - 1790 of 2,077 for boolean (0.22 sec)

  1. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        return suite;
      }
    
      public void testIteratesOnce() {
        Map<AnEnum, AnEnum> map =
            Maps.asMap(
                ImmutableSet.of(AnEnum.A),
                new Function<AnEnum, AnEnum>() {
                  boolean used = false;
    
                  @Override
                  public AnEnum apply(AnEnum ae) {
                    checkState(!used, "should not be applied more than once");
                    used = true;
                    return ae;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
            this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Checks if this registration has expired based on the timeout.
         *
         * @param timeoutMs the timeout in milliseconds
         * @return true if the registration is expired
         */
        public boolean isExpired(long timeoutMs) {
            return System.currentTimeMillis() - lastHeartbeat > timeoutMs;
        }
    
        // Getters and setters
    
        /**
         * Gets the last heartbeat timestamp.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

        IS_DIRECTORY {
          @Override
          public boolean apply(File file) {
            return file.isDirectory();
          }
    
          @Override
          public String toString() {
            return "Files.isDirectory()";
          }
        },
    
        IS_FILE {
          @Override
          public boolean apply(File file) {
            return file.isFile();
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final String fieldName = item.getFieldName();
            final Charset encoding = Charset.forName(request.getCharacterEncoding());
            String value = null;
            boolean haveValue = false;
            if (encoding != null) {
                try {
                    value = item.getString(encoding);
                    haveValue = true;
                } catch (final Exception e) {}
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(explicitAdapter.fromDer(bytes)).isEqualTo("hi")
        assertThat(explicitAdapter.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `boolean`() {
        val bytes = "0101FF".decodeHex()
        assertThat(Adapters.BOOLEAN.fromDer(bytes)).isEqualTo(true)
        assertThat(Adapters.BOOLEAN.toDer(true)).isEqualTo(bytes)
      }
    
      @Test fun `positive integer`() {
        val bytes = "020132".decodeHex()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        /**
         * Checks if the response data represents HTML content.
         *
         * @param responseData the response data to check
         * @return true if the content is HTML, false otherwise
         */
        protected boolean isHtml(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if ("text/html".equals(mimeType) || "application/xhtml+xml".equals(mimeType)) {
                return true;
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top