Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,158 for booleans (0.08 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * @throws NullPointerException if the specified element is null
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public boolean offer(E e) {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          boolean ok = q.offer(e);
          if (!ok) {
            throw new AssertionError();
          }
          return true;
        } finally {
          monitor.leave();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      public void testRoundIntegralDoubleToInt() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

            entry = entry.nextInVToKBucket) {
          if (valueHash == entry.valueHash && Objects.equal(value, entry.value)) {
            return entry;
          }
        }
        return null;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return seekByKey(key, smearedHash(key)) != null;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            // nothing
        }
    
        @Override
        public void invokeOrderBy(String columnFlexibleName, boolean isAsc) {
            // nothing
        }
    
        @Override
        public ConditionQuery invokeForeignCQ(String foreignPropertyName) {
            return null;
        }
    
        @Override
        public boolean invokeHasForeignCQ(String foreignPropertyName) {
            return false;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java

    import org.apache.maven.model.Profile;
    
    /**
     * ProfileActivator
     */
    @Deprecated
    public interface ProfileActivator {
    
        String ROLE = ProfileActivator.class.getName();
    
        boolean canDetermineActivation(Profile profile);
    
        boolean isActive(Profile profile) throws ProfileActivationException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public void setResolveInDfs ( boolean resolve ) {
            addFlags(SMB2_FLAGS_DFS_OPERATIONS);
            this.resolveDfs = resolve;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#isResolveInDfs()
         */
        @Override
        public boolean isResolveInDfs () {
            return this.resolveDfs;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertTrue(service.shutDownCalled);
      }
    
      private class WaitOnRunService extends AbstractExecutionThreadService {
        private boolean startUpCalled = false;
        private boolean runCalled = false;
        private boolean shutDownCalled = false;
        private State expectedShutdownState = State.STOPPING;
    
        @Override
        protected void startUp() {
          assertFalse(startUpCalled);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

      private static byte[] ipStringToBytes(String ipStringParam, @Nullable Scope scope) {
        String ipString = ipStringParam;
        // Make a first pass to categorize the characters in this string.
        boolean hasColon = false;
        boolean hasDot = false;
        int percentIndex = -1;
        for (int i = 0; i < ipString.length(); i++) {
          char c = ipString.charAt(i);
          if (c == '.') {
            hasDot = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

      @Override
      public void putLast(E e) throws InterruptedException {
        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
      public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerLast(e, timeout, unit);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top