Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for reporter (0.16 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Open a stream to the slice.
        InputStream in = slice.openStream();
    
        // Append 10 more bytes to the source.
        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
        // should be reading the byte at index 10.
        // We could use a custom InputStream instead to make the read start at index 10, but since this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

              .isEqualTo(MoreFiles.asByteSource(fooCopy).size());
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse();
    
          // should also assert that a Path that erroneously reports a size 0 can still be compared,
          // not sure how to do that with the Path API
        }
      }
    
      public void testEqual_links() throws IOException {
    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. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> c = objects.compound(numbers);
    
        Ordering<Integer> d = numbers.compound(integers);
        Ordering<Integer> e = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> f = numbers.compound(objects).compound(objects); // bad IDEA
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> c = objects.compound(numbers);
    
        Ordering<Integer> d = numbers.compound(integers);
        Ordering<Integer> e = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> f = numbers.compound(objects).compound(objects); // bad IDEA
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
       * <p>See also <a href="http://www.unicode.org/reports/tr11/">UAX #11 East Asian Width</a>.
       *
       * @deprecated Many such characters are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code SINGLE_WIDTH})
       */
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        List<String> results = getDone(compound);
        assertThat(results).containsExactly(DATA1, DATA2, DATA3).inOrder();
      }
    
      /** A single non-error failure is not logged because it is reported via the output future. */
      public void testAllAsList_logging_exception() throws Exception {
        try {
          getDone(allAsList(immediateFailedFuture(new MyException())));
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .put("SEC_WEBSOCKET_PROTOCOL", "Sec-WebSocket-Protocol")
                .put("SEC_WEBSOCKET_VERSION", "Sec-WebSocket-Version")
                .put("X_WEBKIT_CSP", "X-WebKit-CSP")
                .put("X_WEBKIT_CSP_REPORT_ONLY", "X-WebKit-CSP-Report-Only")
                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE", "UA",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 17 17:41:51 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .put("SEC_WEBSOCKET_PROTOCOL", "Sec-WebSocket-Protocol")
                .put("SEC_WEBSOCKET_VERSION", "Sec-WebSocket-Version")
                .put("X_WEBKIT_CSP", "X-WebKit-CSP")
                .put("X_WEBKIT_CSP_REPORT_ONLY", "X-WebKit-CSP-Report-Only")
                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "GPC", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

     */
    
    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
Back to top