Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,294 for has (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      }
    
      /**
       * Asserts that {@code code} has a {@link SetView#minSize()} of {@code min} and a {@link
       * Set#size()} of at least {@code min}.
       */
      private static void assertMinSize(SetView<?> set, int min) {
        assertThat(set.minSize()).isEqualTo(min);
        assertThat(set.size()).isAtLeast(min);
      }
    
      /**
       * Asserts that {@code code} has a {@link SetView#maxSize()} of {@code max} and a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * {@snippet :
     * class Foo {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. As of 2025, Android
       * has not added {@link AnnotatedType}. That means that we cannot implement that interface in
       * source code in a way that will compile on both Java and Android. If we include the {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        private static final Logger logger = LogManager.getLogger(PluginHelper.class);
    
        /**
         * Cache for storing available artifacts by type.
         * The cache expires after 5 minutes and has a maximum size of 10 entries.
         */
        protected LoadingCache<ArtifactType, Artifact[]> availableArtifacts = CacheBuilder.newBuilder()
                .maximumSize(10)
                .expireAfterWrite(5, TimeUnit.MINUTES)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            boolean updateScope = false;
            Artifact farthestArtifact = farthest.getArtifact();
            Artifact nearestArtifact = nearest.getArtifact();
    
            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      @Override
      public boolean readBoolean() throws IOException {
        return readUnsignedByte() != 0;
      }
    
      /**
       * Reads a byte from the input stream checking that the end of file (EOF) has not been
       * encountered.
       *
       * @return byte read from input
       * @throws IOException if an error is encountered while reading
       * @throws EOFException if the end of file (EOF) is encountered.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

      /** Creates a new, empty {@link ExecutionList}. */
      public ExecutionList() {}
    
      /**
       * Adds the {@code Runnable} and accompanying {@code Executor} to the list of listeners to
       * execute. If execution has already begun, the listener is executed immediately.
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
            entry.removeChild("nonexistent.txt");
            assertTrue(entry.hasChanges()); // Still has changes from previous removal
        }
    
        @Test
        public void testGetChildren() {
            // Add multiple children
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            for (WeakReference<Class<? extends Exception>> knownGood : validClasses) {
              if (exceptionClass.equals(knownGood.get())) {
                return;
              }
              // TODO(cpovirk): if reference has been cleared, remove it?
            }
            checkExceptionClassValidity(exceptionClass);
    
            /*
             * It's very unlikely that any loaded Futures class will see getChecked called with more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top