Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for Mello (0.21 sec)

  1. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        writer.append("Hello,");
        writer.append(' ');
        writer.append("The World Wide Web", 4, 9);
        writer.append("!");
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testCloseFlush() throws IOException {
        SpyAppendable spy = new SpyAppendable();
        Writer writer = new AppendableWriter(spy);
    
        writer.write("Hello");
        assertFalse(spy.flushed);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(679745764, murmur3_32().hashUnencodedChars("k"));
        assertHash(1510782915, murmur3_32().hashUnencodedChars("hell"));
        assertHash(-675079799, murmur3_32().hashUnencodedChars("hello"));
        assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/"));
        assertHash(
            -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog"));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

      }
    
      public void testScheduleCallable() throws Exception {
        Callable<String> callable = () -> "hello";
    
        ListenableScheduledFuture<String> future =
            executorService.schedule(callable, Duration.ofMinutes(12));
    
        assertThat(future.get()).isEqualTo("hello");
        assertThat(recordedTimeUnit).isEqualTo(TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 17 20:45:59 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java

      void setUp() {
        eventBus = new EventBus("for benchmarking purposes");
        eventBus.register(this);
      }
    
      @Benchmark
      void postStrings(int reps) {
        for (int i = 0; i < reps; i++) {
          eventBus.post("hello there");
        }
      }
    
      @Subscribe
      public void handleStrings(String string) {
        // Nothing to do here.
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

            UrlSource source = new UrlSource(txtFile);
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

    import junit.framework.TestCase;
    
    /**
     * Test case for {@link AsyncEventBus}.
     *
     * @author Cliff Biffle
     */
    public class AsyncEventBusTest extends TestCase {
      private static final String EVENT = "Hello";
    
      /** The executor we use to fake asynchronicity. */
      private FakeExecutor executor;
    
      private AsyncEventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(679745764, murmur3_32().hashUnencodedChars("k"));
        assertHash(1510782915, murmur3_32().hashUnencodedChars("hell"));
        assertHash(-675079799, murmur3_32().hashUnencodedChars("hello"));
        assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/"));
        assertHash(
            -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog"));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
        String copy = SerializableTester.reserializeAndAssert(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
      public void testClassWhichDoesNotImplementEquals() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        public IntegerSubscriber(String name) {
          this.name = name;
        }
    
        @Subscribe
        public void handleInteger(Integer integer) {
          dispatchedSubscribers.add(this);
          dispatcher.dispatch("hello", stringSubscribers.iterator());
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      public final class StringSubscriber {
        private final String name;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
Back to top