Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,037 for tail (0.08 sec)

  1. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

          hashFunction.hashBytes(new byte[128], -1, 128);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[64], 0, -1);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LongAddables.java

    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                )
            }
        }
    
        @Test
        fun `should fail if some method was upgraded but it was not actually changed`() {
            checkBinaryCompatibleFailsWithoutReport(
                v1 = {
                    withFile(
                        "java/com/example/Task.java",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

        assertLessThan(STOPPING, FAILED);
        assertLessThan(STOPPING, TERMINATED);
      }
    
      private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) {
        if (a.compareTo(b) >= 0) {
          fail(String.format(Locale.ROOT, "Expected %s to be less than %s", a, b));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        if (expectHasExplicitPort) {
          assertTrue(hp.hasPort());
          assertEquals(expectPort, hp.getPort());
        } else {
          assertFalse(hp.hasPort());
          try {
            hp.getPort();
            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
        }
        assertEquals(expectHost, hp.getHost());
    
        // Check the post-withDefaultPort() instance (if any).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * executor promptly, or else the returned {@code ListenableFuture} may fail to work. The task's
       * execution consists of blocking until the input future is {@linkplain Future#isDone() done}, so
       * each call to this method may claim and hold a thread for an arbitrary length of time. Use of
       * bounded executors or other executors that may fail to execute a task promptly may result in
       * deadlocks.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top