Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 2,560 for void (0.03 seconds)

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

          new Runnable() {
            @Override
            public void run() {
              try {
                MILLISECONDS.sleep(DELAY_MS);
              } catch (InterruptedException e) {
                throw new RuntimeException(e);
              }
            }
          };
      private static final Runnable BAD_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {
              try {
                MILLISECONDS.sleep(DELAY_MS);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * fails.
       */
      void awaitTermination(Thread t) {
        awaitTermination(t, LONG_DELAY_MS);
      }
    
      // Some convenient Runnable classes
    
      public abstract class CheckedRunnable implements Runnable {
        protected abstract void realRun() throws Throwable;
    
        @Override
        public final void run() {
          try {
            realRun();
          } catch (Throwable t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
      public void testRemove() {
        create().remove(null);
      }
    
      public void testClear() {
        create().clear();
      }
    
      public void testContainsKey() {
        boolean unused = create().containsKey(null);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 28 19:11:14 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                .createTestSuite());
        suite.addTestSuite(ImmutableListMultimapTest.class);
        return suite;
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1));
      }
    
      public void testBuilderWithExpectedKeysZero() {
        ImmutableListMultimap.Builder<String, String> builder =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/FilesTest.java

        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java

            }
        }
    
        @Override
        public void debug(Throwable error) {
            logger.debug("", error);
        }
    
        @Override
        public void info(CharSequence content) {
            if (isInfoEnabled()) {
                logger.info(toString(content));
            }
        }
    
        @Override
        public void info(CharSequence content, Throwable error) {
            if (isInfoEnabled()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

      @GwtIncompatible // SerializableTester
      public void testToStringFunctionSerializable() {
        checkCanReserializeSingleton(Functions.toStringFunction());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Functions.class);
      }
    
      public void testForMapWithoutDefault() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 16K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            };
        assertFailure(tester);
      }
    
      public void testUnknownOrder() {
        new IteratorTester<Integer>(
            3, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.UNKNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return newArrayList(2, 1).iterator();
          }
        }.test();
      }
    
      public void testUnknownOrderUnrecognizedElement() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

        return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE);
      }
    
      public void testCellSet() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(CELLS, testInstance.cellSet());
        }
      }
    
      public void testValues() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

         * @see org.apache.maven.plugin.logging.Log#debug(java.lang.CharSequence)
         */
        @Override
        public void debug(CharSequence content) {
            print("debug", content);
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#debug(java.lang.CharSequence, java.lang.Throwable)
         */
        @Override
        public void debug(CharSequence content, Throwable error) {
            print("debug", content, error);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top