Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 2,077 for boolean (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

      private static final class Interruptenator implements Runnable {
        private final long everyMillis;
        private final Thread interruptee;
        private volatile boolean shouldStop = false;
    
        Interruptenator(Thread interruptee, long everyMillis) {
          this.everyMillis = everyMillis;
          this.interruptee = interruptee;
        }
    
        @Override
        public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * {@snippet :
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      private static final int CHUNK_SIZE = 4;
    
      private static final int C1 = 0xcc9e2d51;
      private static final int C2 = 0x1b873593;
    
      private final int seed;
      private final boolean supplementaryPlaneFix;
    
      Murmur3_32HashFunction(int seed, boolean supplementaryPlaneFix) {
        this.seed = seed;
        this.supplementaryPlaneFix = supplementaryPlaneFix;
      }
    
      @Override
      public int bits() {
        return 32;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         * @param id the document ID to update
         * @param field the field name to update
         * @param value the new value for the field
         * @return true if the update was successful, false otherwise
         */
        public boolean updateDocument(final SearchEngineClient searchEngineClient, final String id, final String field, final Object value) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(
      val id: ByteString?,
      val name: String,
    ) {
      fun matches(suiteId: SuiteId): Boolean = id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 834 bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java

     */
    
    package com.google.common.base;
    
    import org.jspecify.annotations.Nullable;
    
    /** Holder for extra methods of {@code Objects} only in web. */
    public abstract class ExtraObjectsMethodsForWeb {
      public static boolean equal(@Nullable String a, @Nullable String b) {
        return a == b;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 883 bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.FALSE));
        }
    
        public void test_sizeOf_complexNestedStructures() {
            // Complex nested structure
            Map<String, Object> complexMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/FieldUtil.java

        /**
         * Checks if the given field is an instance field.
         *
         * @param field the field (must not be {@literal null})
         * @return {@literal true} if it is an instance field
         */
        public static boolean isInstanceField(final Field field) {
            assertArgumentNotNull("field", field);
    
            return !Modifier.isStatic(field.getModifiers());
        }
    
        /**
         * Checks if the given field is a public field.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
        }
    
        /**
         * Counts the number of unique bytes in the data (for entropy estimation).
         */
        private int countUniqueBytes(byte[] data) {
            boolean[] seen = new boolean[256];
            int count = 0;
    
            for (byte b : data) {
                int index = b & 0xFF;
                if (!seen[index]) {
                    seen[index] = true;
                    count++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top