Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 2,057 for Boolean (0.05 sec)

  1. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // java.math.BigInteger
      public void testIsPowerOfTwo() {
        for (int x : ALL_INTEGER_CANDIDATES) {
          // Checks for a single bit set.
          BigInteger bigX = BigInteger.valueOf(x);
          boolean expected = (bigX.signum() > 0) && (bigX.bitCount() == 1);
          assertEquals(expected, IntMath.isPowerOfTwo(x));
        }
      }
    
      public void testLog2ZeroAlwaysThrows() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/EndpointPair.java

        public N source() {
          return nodeU();
        }
    
        @Override
        public N target() {
          return nodeV();
        }
    
        @Override
        public boolean isOrdered() {
          return true;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj == this) {
            return true;
          }
          if (!(obj instanceof EndpointPair)) {
            return false;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multimap.java

       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @Nullable Object key);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream = newStream(0, requestHeaders, out)
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        val outFinished = !out
        val inFinished = false
        val flushHeaders: Boolean
        val stream: Http2Stream
        val streamId: Int
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            boolean available = false;
            boolean target = false;
            Tuple3<String, String, String> task = null;
            boolean generateResult = false;
            boolean generateCalled = false;
    
            @Override
            public String getName() {
                return "testGenerator";
            }
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

        @CsvSource({ "notes.txt,true", "REPORT.TXT,true", "image.png,false", "archive.tar.gz,false", "txt,false" })
        void nameBasedFilterTxt(String name, boolean expected) throws Exception {
            SmbFilenameFilter filter = (dir, n) -> n != null && n.toLowerCase().endsWith(".txt");
    
            boolean result = filter.accept(mockDir, name);
    
            assertEquals(expected, result, "Filter should evaluate .txt suffix correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegate.containsAll(targets);
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            }
    
            public void deleteElevateWord(String word, boolean apply) {
                // Mock implementation
            }
    
            public void addElevateWord(org.codelibs.fess.suggest.entity.ElevateWord elevateWord, boolean apply) {
                // Mock implementation
            }
    
            public void addBadWord(String word, boolean apply) {
                // Mock implementation
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    @JvmField
    internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!!
    
    internal fun threadFactory(
      name: String,
      daemon: Boolean,
    ): ThreadFactory =
      ThreadFactory { runnable ->
        Thread(runnable, name).apply {
          isDaemon = daemon
        }
      }
    
    internal fun HttpUrl.toHostHeader(includeDefaultPort: Boolean = false): String {
      val host =
        if (":" in host) {
          "[$host]"
        } else {
          host
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  10. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                    @Override
                    public boolean remove(Object o) {
                      return map.entrySet().remove(o);
                    }
    
                    @Override
                    public boolean containsAll(Collection<?> c) {
                      return map.entrySet().containsAll(c);
                    }
    
                    @Override
                    public boolean removeAll(Collection<?> c) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top