Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 536 for ensures (0.04 sec)

  1. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * no service under management. Listeners would never fire because the ServiceManager was healthy
       * and stopped at the same time. This test ensures that listeners fire and isHealthy makes sense.
       */
      public void testEmptyServiceManager() {
        Logger logger = Logger.getLogger(ServiceManager.class.getName());
        logger.setLevel(Level.FINEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
    
            if (exitCode != Constants.EXIT_OK) {
                System.exit(exitCode);
            }
        }
    
        /**
         * Destroys the DI container and stops the timeout manager.
         * This method ensures proper cleanup of resources when the crawler shuts down.
         * It's called both during normal shutdown and in error conditions.
         */
        private static void destroyContainer() {
            if (running.getAndSet(false)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      /**
       * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only
       * appending a new constant is allowed.
       */
      // This test ensures that our reliance on the ordering elsewhere is safe.
      @SuppressWarnings("EnumOrdinal")
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

          hashCode = ~~hashCode;
          // needed to deal with GWT integer overflow
        }
        return hashCode;
      }
    
      /*
       * Serializes ImmutableLists as their logical contents. This ensures that
       * implementation types do not leak into the serialized representation.
       */
      @J2ktIncompatible // serialization
      static final class SerializedForm implements Serializable {
        final Object[] elements;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class);
            doReturn(fh).when(raf).ensureOpen();
    
            // Act
            raf.open();
    
            // Assert: open() ensures handle and closes it via try-with-resources
            verify(raf, times(1)).ensureOpen();
            verify(fh, times(1)).close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    We will create a FastAPI **dependency** with `yield` that will provide a new `Session` for each request. This is what ensures that we use a single session per request. 🤓
    
    Then we create an `Annotated` dependency `SessionDep` to simplify the rest of the code that will use this dependency.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        Arrays.fill(result, oldSize, newSize, ABSENT);
        return result;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      /**
       * Ensures that all of the internal structures in the HashBiMap are ready for this many elements.
       */
      private void ensureCapacity(int minCapacity) {
        if (nextInBucketKToV.length < minCapacity) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

      int add(@ParametricNullness E element, int occurrences);
    
      /**
       * Adds a single occurrence of the specified element to this multiset.
       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top