Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for ns (0.14 sec)

  1. 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)
  2. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

            return newW3cXmlSchemaFactory(false);
        }
    
        public static SchemaFactory newW3cXmlSchemaFactory(final boolean external) {
            final SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
            if (!external) {
                disableExternalResources(schemaFactory);
            }
            return schemaFactory;
        }
    
        /**
         * RELAX NGのための{@link SchemaFactory}を生成します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

                break;
            }
            switch ( this.recordType ) {
            case A:
                recordTypeString = "A";
                break;
            case NS:
                recordTypeString = "NS";
                break;
            case NULL:
                recordTypeString = "NULL";
                break;
            case NB:
                recordTypeString = "NB";
                break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    break;
            }
            switch( recordType ) {
                case A:
                    recordTypeString = "A";
                    break;
                case NS:
                    recordTypeString = "NS";
                    break;
                case NULL:
                    recordTypeString = "NULL";
                    break;
                case NB:
                    recordTypeString = "NB";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       */
      static void delay(long millis) throws InterruptedException {
        long startTime = System.nanoTime();
        long ns = millis * 1000 * 1000;
        for (; ; ) {
          if (millis > 0L) Thread.sleep(millis);
          else // too short to sleep
          Thread.yield();
          long d = ns - (System.nanoTime() - startTime);
          if (d > 0L) millis = d / (1000 * 1000);
          else break;
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

          s.add("maximumWeight", maximumWeight);
        }
        if (expireAfterWriteNanos != UNSET_INT) {
          s.add("expireAfterWrite", expireAfterWriteNanos + "ns");
        }
        if (expireAfterAccessNanos != UNSET_INT) {
          s.add("expireAfterAccess", expireAfterAccessNanos + "ns");
        }
        if (keyStrength != null) {
          s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString()));
        }
        if (valueStrength != null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top