Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 682 for fo2o (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testContains() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.contains("foo", 1));
        assertTrue(table.contains("bar", 1));
        assertTrue(table.contains("foo", 3));
        assertFalse(table.contains("foo", 2));
        assertFalse(table.contains("bar", 3));
        assertFalse(table.contains("cat", 1));
        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tests/test_response_model_include_exclude.py

            baz="simple_include model2 baz",
        )
    
    
    @app.get(
        "/simple_include_dict",
        response_model=Model2,
        response_model_include={"baz": ..., "ref": {"foo"}},
    )
    def simple_include_dict():
        return {
            "ref": {
                "foo": "simple_include_dict model foo",
                "bar": "simple_include_dict model bar",
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals((Character) 'c', table.get("foo", 3));
        }
      }
    
      public void testRowClearAndPut() {
        if (supportsRemove()) {
          table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
          Map<Integer, C> row = table.row("foo");
          assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
          table.remove("foo", 3);
          assertEquals(ImmutableMap.of(1, 'a'), row);
          table.remove("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            final Map<String, String> params = Maps.of("foo", "bar");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
            assertFalse(fieldConfigs.getConfig("foo").isEmpty());
            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isCache).orElse(false));
            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertNull(map.putIfAbsent("bar", 3));
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
        assertFalse(map.remove("bar", 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testContains() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.contains("foo", 1));
        assertTrue(table.contains("bar", 1));
        assertTrue(table.contains("foo", 3));
        assertFalse(table.contains("foo", 2));
        assertFalse(table.contains("bar", 3));
        assertFalse(table.contains("cat", 1));
        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

            values = "http://www.foo.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/\nhttp://www.bar.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/ \r\nhttp://www.bar.com/";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo"));
        assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperUnderscore() {
        assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. tests/test_additional_properties_bool.py

        else:
    
            class Config:
                extra = "forbid"
    
    
    class Foo(FooBaseModel):
        pass
    
    
    app = FastAPI()
    
    
    @app.post("/")
    async def post(
        foo: Union[Foo, None] = None,
    ):
        return foo
    
    
    client = TestClient(app)
    
    
    def test_call_invalid():
        response = client.post("/", json={"foo": {"bar": "baz"}})
        assert response.status_code == 422
    
    
    def test_call_valid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

                .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder()));
        ImmutableList<Foo> instances =
            ImmutableList.of(
                new Foo("a", 1, TriState.TRUE),
                new Foo("a", 2, TriState.TRUE),
                new Foo("b", 1, TriState.FALSE),
                new Foo("b", 1, TriState.TRUE),
                new Foo("b", 1, null));
        for (Foo a : instances) {
          for (Foo b : instances) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top