Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 342 for fOo (0.01 seconds)

  1. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

    public class SingleValueIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo");
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        Foo foo = new Foo();
        try {
          WeakReference<Object> ref = new WeakReference<>(foo);
          RuntimeException expected =
              assertThrows(RuntimeException.class, () -> GcFinalization.awaitClear(ref));
          assertWrapsInterruptedException(expected);
        } finally {
          reachabilityFence(foo);
          interruptenator.shutdown();
          Thread.interrupted();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun addParsing() {
        val headers =
          Headers
            .Builder()
            .add("foo: bar")
            .add(" foo: baz") // Name leading whitespace is trimmed.
            .add("foo : bak") // Name trailing whitespace is trimmed.
            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Splitter.java

     *
     * {@snippet :
     * Splitter.on(',').split("foo,bar,qux")
     * }
     *
     * ... produces an {@code Iterable} containing {@code "foo"}, {@code "bar"} and {@code "qux"}, in
     * that order.
     *
     * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following
     * expression:
     *
     * {@snippet :
     * Splitter.on(',').split(" foo,,,  bar ,")
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

     */
    class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Language("kotlin")
        private
        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
            internal var bazar = "bazar"
    
            internal fun String.fooExt() {}
    
            internal fun Int.fooExt() {}
    
            internal val String.barExt: String
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(
                    named("foo").addPeers("bar", "baz"),
                    named("bar").addPeers("foo"),
                    named("baz").addPeers("foo"));
        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "bar [group 1, item 2] must be Object#equals to baz [group 1, item 3]");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ComparisonChain.java

     * import static java.util.Comparator.naturalOrder;
     *
     * ...
     *   private static final Comparator<Foo> COMPARATOR =
     *       comparing((Foo foo) -> foo.aString)
     *           .thenComparing(foo -> foo.anInt)
     *           .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder()));
     *
     *   @Override
     *   public int compareTo(Foo that) {
     *     return COMPARATOR.compare(this, that);
     *   }
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("foo");
        assertThat(map.entrySet())
            .containsExactly(immutableEntry("bar", 2), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveMiddle() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTest.java

      public void testEntryEquals() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
    
        new EqualsTester()
            .addEqualityGroup(entry, immutableCell("foo", 1, 'a'))
            .addEqualityGroup(immutableCell("bar", 1, 'a'))
            .addEqualityGroup(immutableCell("foo", 2, 'a'))
            .addEqualityGroup(immutableCell("foo", 1, 'b'))
            .addEqualityGroup(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.1K bytes
    - Click Count (0)
Back to Top