Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 2,158 for Boolean (0.28 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          }
    
          @Override
          public int size() {
            return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount);
          }
    
          @Override
          public boolean contains(@CheckForNull Object obj) {
            return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj);
          }
        };
      }
    
      @Override
      public Set<E> inEdges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        String getName() { return className }
    
        String getSimpleName() { return simpleName }
    
        boolean isDeprecated() {
            return classMetaData.deprecated
        }
    
        boolean isIncubating() {
            return classMetaData.incubating
        }
    
        boolean isReplaced() {
            return classMetaData.replaced
        }
    
        @Override
        String getReplacement() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                if (!(value instanceof Float)) {
                    return (T) Float.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Boolean.class) && !(value instanceof Boolean)) {
                return (T) Boolean.valueOf(value.toString());
            }
            return (T) value;
        }
    
        @Override
        public void setInitParameterMap(final Map<String, Object> params) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

        }
    
        @Override
        public void delete(final User user) {
            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getLdapManager().changePassword(username, password);
            return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataCache.java

    @Deprecated
    public interface MavenMetadataCache {
    
        ResolutionGroup get(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories);
    
        void put(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            return binding.toString();
        }
    
        protected abstract void doSendFragment(byte[] buf,
                    int off,
                    int length,
                    boolean isDirect) throws IOException;
        protected abstract void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException;
        public abstract void close() throws IOException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top