Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 339 for foo (0.35 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "Foo.foo()")
                )
            }
    
            checkBinaryCompatibleKotlin(
                v1 = baseline,
                v2 = """
    
                /** @since 1.0 */
                interface Foo {
    
                    /** @since 2.0 */
                    @Incubating
                    fun foo()
                }
    
                /** @since 1.0 */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertGetThumbnailUrl(data, expected);
    
            data = "<meta property=\"og:image\" content=\"/foo.jpg\" />";
            expected = "http://example.com/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<img src=\"http://example/foo.jpg\">";
            expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<img src=\"http://example/foo.jpg\">" //
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("google", 6);
        multimap.put("foo", 3);
        multimap.put("foo", 1);
        multimap.put("foo", 7);
        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", Arrays.asList(3, 1, 2));
        multimap.putAll("foo", Arrays.asList(2, 3, 1, -1, 4));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. 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()));}
     *
     *   {@code @Override}{@code
     *   public int compareTo(Foo that) {
     *     return COMPARATOR.compare(this, that);
     *   }
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. tests/test_extra_routes.py

        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": "foo", "item": {"name": "Foo", "price": None}}
    
    
    def test_head():
        response = client.head("/items/foo")
        assert response.status_code == 200, response.text
        assert response.headers["x-fastapi-item-id"] == "foo"
    
    
    def test_options():
        response = client.options("/items/foo")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body/test_tutorial001.py

            "tax": None,
        }
    
    
    def test_post_with_str_float_description_tax(client: TestClient):
        response = client.post(
            "/items/",
            json={"name": "Foo", "price": "50.5", "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
            "tax": 0.3,
        }
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 14.7K bytes
    - Viewed (5)
  7. tests/test_tutorial/test_body/test_tutorial001_py310.py

            "tax": None,
        }
    
    
    @needs_py310
    def test_post_with_str_float_description_tax(client: TestClient):
        response = client.post(
            "/items/",
            json={"name": "Foo", "price": "50.5", "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15K bytes
    - Viewed (2)
  8. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
        public interface Foo<T1, T2> {
    
            /**
             * @param foo
             * @return T2
             */
            T2 foo(T1 foo);
        }
    
        /**
         *
         */
        public interface Bar extends Foo<Integer, Long> {
        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base32(), "MZXW6===", "foo"); // proper padding length
        testDecodes(base32(), "MZXW6====", "foo");
        testDecodes(base32(), "MZXW6=====", "foo");
      }
    
      public void testBase32AlternatePadding() {
        BaseEncoding enc = base32().withPadChar('~');
        testEncodingWithCasing(enc, "", "");
        testEncodingWithCasing(enc, "f", "MY~~~~~~");
        testEncodingWithCasing(enc, "fo", "MZXQ~~~~");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  10. tests/test_query.py

        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_int_optional_query_50():
        response = client.get("/query/int/optional?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_int_optional_query_foo():
        response = client.get("/query/int/optional?query=foo")
        assert response.status_code == 422
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top