Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 2,451 for Booleans (0.04 seconds)

  1. android/guava/src/com/google/common/io/MultiReader.java

            long result = current.skip(n);
            if (result > 0) {
              return result;
            }
            advance();
          }
        }
        return 0;
      }
    
      @Override
      public boolean ready() throws IOException {
        return (current != null) && current.ready();
      }
    
      @Override
      public void close() throws IOException {
        if (current != null) {
          try {
            current.close();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      public static <E> QueueTestSuiteBuilder<E> using(TestQueueGenerator<E> generator) {
        return new QueueTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      private boolean runCollectionTests = true;
    
      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
         * {@return the string representation of this version}
         */
        @Nonnull
        @Override
        String toString();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

    internal open class RecordingConnectionListener(
      /**
       * An override to ignore the normal order that is enforced.
       * EventListeners added by Interceptors will not see all events.
       */
      private val enforceOrder: Boolean = true,
    ) : ConnectionListener() {
      val eventSequence: Deque<ConnectionEvent> = ConcurrentLinkedDeque()
    
      private val forbiddenLocks = mutableSetOf<Any>()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

        replaceWith = ReplaceWith(expression = "localPrincipal"),
        level = DeprecationLevel.ERROR,
      )
      fun localPrincipal(): Principal? = localPrincipal
    
      override fun equals(other: Any?): Boolean =
        other is Handshake &&
          other.tlsVersion == tlsVersion &&
          other.cipherSuite == cipherSuite &&
          other.peerCertificates == peerCertificates &&
          other.localCertificates == localCertificates
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Apr 05 09:48:10 GMT 2025
    - 6.6K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsUserCB.java

        @Override
        public UserDbm asDBMeta() {
            return UserDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "user";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    
        @Override
        public ConditionQuery localCQ() {
            return doGetConditionQuery();
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. internal/config/heal/heal.go

    	},
    	config.KV{
    		Key:   DriveWorkers,
    		Value: "",
    	},
    }
    
    const minimumBitrotCycleInMonths = 1
    
    func parseBitrotConfig(s string) (time.Duration, error) {
    	// Try to parse as a boolean
    	enabled, err := config.ParseBool(s)
    	if err == nil {
    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 04 19:06:02 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                        "minimumSupported must be at least $minimumMinimum, was $minimumSupported"
                    }
                }
            }
    
            private
            val VersionNumber.isStable: Boolean
                get() = qualifier == null
    
            private
            fun List<VersionNumber>.applyMinimumSupported(minimumSupported: VersionNumber?): List<VersionNumber> =
                when (minimumSupported) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
      private static boolean isEqualsDefined(Class<?> cls) {
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top