Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for Mello (0.14 sec)

  1. android/guava-tests/test/com/google/common/escape/EscapersTest.java

                    .put('x', "<hello>".toCharArray())
                    .put('\uD800', "<hi>".toCharArray())
                    .put('\uDC00', "<lo>".toCharArray())
                    .buildOrThrow());
        UnicodeEscaper unicodeEscaper = Escapers.asUnicodeEscaper(charEscaper);
        EscaperAsserts.assertBasic(unicodeEscaper);
        assertEquals("<hello><hi><lo>", charEscaper.escape("x\uD800\uDC00"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        PrintWriter w = new PrintWriter(Files.newWriter(temp, Charsets.UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
        assertEquals("hello", Files.readFirstLine(temp, Charsets.UTF_8));
        assertEquals(
            ImmutableList.of("hello", "", " world  ", ""), Files.readLines(temp, Charsets.UTF_8));
    
        assertTrue(temp.delete());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              public void run() {
                AbstractFuture<String> future = setFutureFuture.get();
                setFutureSetSuccess.set(currentFuture.get().setFuture(future));
                setFutureCompletionSuccess.set(future.set("hello-async-world"));
                awaitUnchecked(barrier);
              }
            };
        final Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet());
        Runnable collectResultsRunnable =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
                    "first", "second",
                    "polygene", "lubricants",
                    "alpha", "betical"));
    
        LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
                    "first", "second",
                    "polygene", "lubricants",
                    "alpha", "betical"));
    
        LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     * expected to be unequal. For example:
     *
     * <pre>{@code
     * EquivalenceTester.of(someStringEquivalence)
     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }</pre>
     *
     * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        assertHash(1, 0xa78ddff5adae8d10L, 0x128900ef20900135L, "hello");
        assertHash(2, 0x8a486b23f422e826L, 0xf962a2c58947765fL, "hello ");
        assertHash(3, 0x2ea59f466f6bed8cL, 0xc610990acc428a17L, "hello w");
        assertHash(4, 0x79f6305a386c572cL, 0x46305aed3483b94eL, "hello wo");
        assertHash(5, 0xc2219d213ec1f1b5L, 0xa1d8e2e0a52785bdL, "hello wor");
        assertHash(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
Back to top