Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for Billie (0.13 sec)

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

      }
    
      private static class SleepingRunnable implements Runnable {
        final int millis;
        volatile boolean completed;
    
        public SleepingRunnable(int millis) {
          this.millis = millis;
        }
    
        @Override
        public void run() {
          try {
            Thread.sleep(millis);
          } catch (InterruptedException wontHappen) {
            throw new AssertionError();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Instant.groovy

        @Override
        String toString() {
            return "[instant at $nanos]"
        }
    
        int compareTo(Instant t) {
            return nanos.compareTo(t.nanos)
        }
    
        Instant plus(long millis) {
            return new Instant(nanos + millis * 1000)
        }
    
        Duration minus(Instant t) {
            return new Duration(nanos - t.nanos)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/ModificationTimeFileAccessTimeJournal.java

        private static final Logger LOGGER = LoggerFactory.getLogger(ModificationTimeFileAccessTimeJournal.class);
    
        @Override
        public void setLastAccessTime(File file, long millis) {
            try {
                Files.setLastModifiedTime(file.toPath(), FileTime.fromMillis(millis));
            } catch (IOException e) {
                LOGGER.debug("Ignoring failure to set last access time of " + file, e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

      }
    
      private static class SleepingRunnable implements Runnable {
        final int millis;
        volatile boolean completed;
    
        public SleepingRunnable(int millis) {
          this.millis = millis;
        }
    
        @Override
        public void run() {
          try {
            Thread.sleep(millis);
          } catch (InterruptedException wontHappen) {
            throw new AssertionError();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy

            1 * timeSource.nanoTime() >> TimeUnit.MILLISECONDS.toNanos(timestamp)
        }
    
        private void setTime(int hours, int minutes, int seconds, int millis) {
            long dt = (hours * 3600 * 1000) + (minutes * 60 * 1000) + (seconds * 1000) + millis
            setTime(dt)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultFileAccessTimeJournal.java

            });
        }
    
        @Override
        public void stop() {
            cache.close();
        }
    
        @Override
        public void setLastAccessTime(File file, long millis) {
            store.put(file, millis);
        }
    
        @Override
        public long getLastAccessTime(File file) {
            Long value = store.getIfPresent(file);
            if (value == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_1x.md

        adapter. (thanks kwuollett)
     *  Add a media type class to OkHttp.
     *  Change custom header prefix:
    
        ```
        X-Android-Sent-Millis is now OkHttp-Sent-Millis
        X-Android-Received-Millis is now OkHttp-Received-Millis
        X-Android-Response-Source is now OkHttp-Response-Source
        X-Android-Selected-Transport is now OkHttp-Selected-Transport
        ```
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/DefaultFileAccessTimeJournalTest.groovy

            Long.parseLong(loadProperties(fileAccessPropertiesFile).getProperty(INCEPTION_TIMESTAMP_KEY))
        }
    
        private void writeInceptionTimestamp(long millis) {
            fileAccessPropertiesFile.text = "${INCEPTION_TIMESTAMP_KEY} = $millis"
        }
    
        private TestFile getFileAccessPropertiesFile() {
            cachesDir.file(CACHE_KEY, FILE_ACCESS_PROPERTIES_FILE_NAME)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpec.groovy

        void start(Runnable action) {
            executor.execute(action)
        }
    
        /**
         * Returns a range that contains the given milliseconds +/- some error margin
         */
        Range approx(long millis) {
            return new Range(millis)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileAccessTimeJournal.java

     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface FileAccessTimeJournal {
    
        long getLastAccessTime(File file);
    
        void setLastAccessTime(File file, long millis);
    
        void deleteLastAccessTime(File file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 853 bytes
    - Viewed (0)
Back to top