Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Sprintf (2.45 sec)

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

        long t0 = System.nanoTime();
        try {
          super.runTest();
        } finally {
          long elapsedMillis = (System.nanoTime() - t0) / (1000L * 1000L);
          if (elapsedMillis >= profileThreshold)
            System.out.printf("%n%s: %d%n", toString(), elapsedMillis);
        }
      }
    
      //     /**
      //      * Runs all JSR166 unit tests using junit.textui.TestRunner
      //      */
      //     public static void main(String[] args) {
    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)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

       * this method is recommended over {@link InetAddress#toString()} when an IP address string
       * literal is desired. This is because {@link InetAddress#toString()} prints the hostname and the
       * IP address string joined by a "/".
       *
       * @param ip {@link InetAddress} to be converted to URI string literal
       * @return {@code String} containing URI-safe string literal
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        long t0 = System.nanoTime();
        try {
          super.runTest();
        } finally {
          long elapsedMillis = (System.nanoTime() - t0) / (1000L * 1000L);
          if (elapsedMillis >= profileThreshold)
            System.out.printf("%n%s: %d%n", toString(), elapsedMillis);
        }
      }
    
      //     /**
      //      * Runs all JSR166 unit tests using junit.textui.TestRunner
      //      */
      //     public static void main(String[] args) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       *     }
       * };
       * Multimap<String, String> transformed =
       *     Multimaps.transformValues(multimap, square);
       *   System.out.println(transformed);
       * }</pre>
       *
       * ... prints {@code {a=[4, 16], b=[9, 9], c=[36]}}.
       *
       * <p>Changes in the underlying multimap are reflected in this view. Conversely, this view
       * supports removal operations, and these are reflected in the underlying multimap.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       *         return Math.sqrt((int) in);
       *       }
       *     };
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
       * <p>Changes in the underlying map are reflected in this view. Conversely, this view supports
       * removal operations, and these are reflected in the underlying map.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

          state = null;
        }
    
        @Override
        @CheckForNull
        protected String pendingToString() {
          InCompletionOrderState<T> localState = state;
          if (localState != null) {
            // Don't print the actual array! We don't want inCompletionOrder(list).toString() to have
            // quadratic output.
            return "inputCount=["
                + localState.inputFutures.length
                + "], remaining=["
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top