Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,270 for cases (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractService.java

        monitor.enter();
        try {
          State previous = state();
          switch (previous) {
            case NEW:
            case TERMINATED:
            case FAILED:
              throw new IllegalStateException("Cannot notifyStopped() when the service is " + previous);
            case RUNNING:
            case STARTING:
            case STOPPING:
              snapshot = new StateSnapshot(TERMINATED);
              enqueueTerminatedEvent(previous);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

         */
        if (isFinite(previousMean)) {
          // This is case 1.
          return value;
        } else if (isFinite(value) || previousMean == value) {
          // This is case 2. or 3b.
          return previousMean;
        } else {
          // This is case 3a. or 3c.
          return NaN;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

    import java.util.Set;
    import java.util.SortedMap;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link TreeBasedTable}.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class TreeBasedTableTest extends AbstractTableTest<Character> {
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(0, dst[nullTerminatorIndex]);
                assertEquals(0, dst[nullTerminatorIndex + 1]);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // But we can verify the object is created successfully with these values
        }
    
        @Test
        @DisplayName("Test information level mapping edge cases")
        void testInformationLevelMappingEdgeCases() {
            // Test with SMB_INFO_ALLOCATION (-1 as byte)
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

       *
       * <p><b>Performance note:</b> in most cases this method can return quickly without actually
       * copying anything. The exact circumstances under which the copy is performed are undefined and
       * subject to change.
       *
       * @since 2.0
       */
      public ImmutableList<E> asList() {
        switch (size()) {
          case 0:
            return ImmutableList.of();
          case 1:
            return ImmutableList.of(iterator().next());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         * Determines whether the content at the given URL has been updated since the last crawl.
         * This method implements incremental crawling by comparing timestamps and checking document
         * expiration. It also handles special cases for different URL schemes (SMB, file, FTP).
         *
         * @param client the crawler client to use for accessing the URL
         * @param urlQueue the URL queue item containing the URL to check
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is
     * interrupted during such a call, the call continues to block until the result is available or the
     * timeout elapses, and only then re-interrupts the thread.
     *
     * @author Anthony Zana
     * @since 10.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    Thread.currentThread().setContextClassLoader(classLoader);
                    resolve(artifact, remoteRepositories, session);
                } catch (ArtifactNotFoundException anfe) {
                    // These are cases where the artifact just isn't present in any of the remote repositories
                    // because it wasn't deployed, or it was deployed in the wrong place.
    
                    synchronized (result) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
       *       detected, sacrificing the compactness guarantee in very rare cases in exchange for much
       *       more reliable worst-case behavior.
       *   <li>null, if no entries have yet been added to the map
       * </ul>
       */
      private transient @Nullable Object table;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top