Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for robots (0.16 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        boolean longWait = TimeUnit.NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
        char overWaitNanosFirstDigit =
            Long.toString(
                    thread.timeSpentBlocked - TimeUnit.MILLISECONDS.toNanos(longWait ? 5000 : 3000))
                .charAt(0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

      }
    
      public void testCreateParentDirectories_root() throws IOException {
        // We use a fake filesystem to sidestep flaky problems with Windows (b/136041958).
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path root = fs.getRootDirectories().iterator().next();
          assertNull(root.getParent());
          assertNull(root.toRealPath().getParent());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/PairedStats.java

       *
       * <p>This fit minimizes the root-mean-square error in {@code y} as a function of {@code x}. This
       * error is defined as the square root of the mean of the squares of the differences between the
       * actual {@code y} values of the data and the values predicted by the fit for the {@code x}
       * values (i.e. it is the square root of the mean of the squares of the vertical distances between
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

        temp.setLastModified(0);
        assertEquals(0, temp.lastModified());
        Files.touch(temp);
        assertThat(temp.lastModified()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirs_root() throws IOException {
        File file = root();
        assertNull(file.getParentFile());
        assertNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Traverser.java

       * Returns an unmodifiable {@code Iterable} over the nodes reachable from any of the {@code
       * startNodes}, in the order of a breadth-first traversal. This is equivalent to a breadth-first
       * traversal of a graph with an additional root node whose successors are the listed {@code
       * startNodes}.
       *
       * @throws IllegalArgumentException if any of {@code startNodes} is not an element of the graph
       * @see #breadthFirst(Object)
       * @since 24.1
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          throws ConflictingRequirementsException {
        if (!Collections.disjoint(newFeatures, earlierFeatures)) {
          throw new ConflictingRequirementsException(
              String.format(
                  Locale.ROOT,
                  "Annotation requires to be %s features that earlier "
                      + "annotations required to be %s.",
                  newRequirement,
                  earlierRequirement),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      private static String nameFor(
          Method method, Scenario scenario, boolean fair, Timeout timeout, Outcome expectedOutcome) {
        return String.format(
            Locale.ROOT,
            "%s%s(%s)/%s->%s",
            method.getName(),
            fair ? "(fair)" : "(nonfair)",
            (timeout == null) ? "untimed" : timeout,
            scenario,
            expectedOutcome);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
          events.add(caption + String.format(Locale.ROOT, "%3.2f", (micros / 1000000.0)));
        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
          sleepMicros("R", micros);
        }
    
        String readEventsAndClear() {
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

          int tableIndex = smearedHash(object) & mask;
          int next = CompactHashing.tableGet(table, tableIndex);
          int srcNext = srcIndex + 1;
          if (next == srcNext) {
            // we need to update the root pointer
            CompactHashing.tableSet(table, tableIndex, dstIndex + 1);
          } else {
            // we need to update a pointer in an entry
            int entryIndex;
            int entry;
            do {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top