Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for takes (0.01 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        }
      }
    
      /**
       * Generates test cases for the given combination of scenario and timeouts. For methods that take
       * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For
       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            // Test that allow takes precedence over disallow
            RobotsTxt robotsTxt = new RobotsTxt();
    
            Directive directive = new Directive("MyBot");
            directive.addDisallow("/admin/");
            directive.addAllow("/admin/public/");
            robotsTxt.addDirective(directive);
    
            // Allow should take precedence
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharStreams.java

       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
       * @return the number of characters copied
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

             * According to RFC 9309:
             * 1. Find the longest matching pattern (by priority length)
             * 2. If both Allow and Disallow patterns match with the same length, Allow takes precedence
             * 3. If no pattern matches, the path is allowed by default
             *
             * @param path the path to check
             * @return true if the path is allowed, false otherwise
             */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertThat(burst).isAtMost(1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertThat(afterBurst).isAtLeast(1000);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertThat(burst).isAtMost(1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertThat(afterBurst).isAtLeast(1000);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        ImmutableSet.Builder<BigInteger> testBigIntegersBuilder = ImmutableSet.builder();
    
        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        ImmutableSet.Builder<BigInteger> testBigIntegersBuilder = ImmutableSet.builder();
    
        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
        };
      }
    
      /**
       * Shuts down the given executor service gradually, first disabling new submissions and later, if
       * necessary, cancelling remaining tasks.
       *
       * <p>The method takes the following steps:
       *
       * <ol>
       *   <li>calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks.
       *   <li>awaits executor service termination for half of the specified timeout.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            // Test SameLengthBot - Allow wins when same length as Disallow
            // Disallow: /page, Allow: /page
            assertTrue(robotsTxt.allows("/page", "SameLengthBot")); // Allow takes precedence
            assertTrue(robotsTxt.allows("/page.html", "SameLengthBot"));
    
            // Test MultiWildcardBot - multiple wildcards in pattern
            // Disallow: /*.cgi* - should block URLs with .cgi anywhere
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top