Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ns (0.14 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Stopwatch.java

          return MICROSECONDS;
        }
        return NANOSECONDS;
      }
    
      private static String abbreviate(TimeUnit unit) {
        switch (unit) {
          case NANOSECONDS:
            return "ns";
          case MICROSECONDS:
            return "\u03bcs"; // μs
          case MILLISECONDS:
            return "ms";
          case SECONDS:
            return "s";
          case MINUTES:
            return "min";
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Stopwatch.java

          return MICROSECONDS;
        }
        return NANOSECONDS;
      }
    
      private static String abbreviate(TimeUnit unit) {
        switch (unit) {
          case NANOSECONDS:
            return "ns";
          case MICROSECONDS:
            return "\u03bcs"; // μs
          case MILLISECONDS:
            return "ms";
          case SECONDS:
            return "s";
          case MINUTES:
            return "min";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
Back to top