Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 460 for foo (0.16 sec)

  1. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            duplicateHostHelper.duplicateHostList = new ArrayList<DuplicateHost>();
    
            DuplicateHost foo = new DuplicateHost();
            foo.setRegularName("www.foo.com");
            foo.setDuplicateHostName("foo.com");
            duplicateHostHelper.duplicateHostList.add(foo);
            DuplicateHost bar = new DuplicateHost();
            bar.setRegularName("www.bar.com");
            bar.setDuplicateHostName("mail.bar.com");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py

                    ],
                    "q": "foo",
                },
            ),
            (
                "/items?q=foo&skip=1",
                200,
                {"items": [{"item_name": "Bar"}, {"item_name": "Baz"}], "q": "foo"},
            ),
            (
                "/items?q=bar&limit=2",
                200,
                {"items": [{"item_name": "Foo"}, {"item_name": "Bar"}], "q": "bar"},
            ),
            (
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo")));
            assertThat(foo.getMethodName(), is("foo"));
            assertThat(foo.getParameterTypes().length, is(0));
            assertThat(foo.isPublic(), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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/";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. internal/lock/lock_windows_test.go

    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    		{`c:\long\..\bar\baz`, `c:\long\..\bar\baz`},
    		{`\\?\c:\long\foo.txt`, `\\?\c:\long\foo.txt`},
    		{`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.txt`},
    	} {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
        assert response.status_code == 400
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testCreateFromIterable() {
        Multiset<String> multiset = LinkedHashMultiset.create(Arrays.asList("foo", "bar", "foo"));
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testToString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/query-params.md

    ```
    
    En este caso, si vas a:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    o
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    o
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    o
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    o
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      }
    
      public void testToString() {
        assertEquals("foo=1", entry("foo", 1).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null=1", entry(NK, 1).toString());
        assertEquals("foo=null", entry("foo", NV).toString());
        assertEquals("null=null", entry(NK, NV).toString());
      }
    
      public void testEquals() {
        Entry<String, Integer> foo1 = entry("foo", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. tests/test_ambiguous_params.py

        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Dec 12 00:22:47 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top