Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 300 for foo_vr (0.11 sec)

  1. docs_src/app_testing/app_b_an/test_main.py

    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs_src/app_testing/app_b_an_py310/test_main.py

    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue48974.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type Fooer interface {
    	Foo()
    }
    
    type Fooable[F /* ERROR "instantiation cycle" */ Fooer] struct {
    	ptr F
    }
    
    func (f *Fooable[F]) Adapter() *Fooable[*FooerImpl[F]] {
    	return &Fooable[*FooerImpl[F]]{&FooerImpl[F]{}}
    }
    
    type FooerImpl[F Fooer] struct {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 457 bytes
    - Viewed (0)
  4. test/fixedbugs/issue29612.dir/p2/ssa/ssa.go

    package ssa
    
    type T struct{}
    
    func (T) foo() {}
    
    type fooer interface {
    	foo()
    }
    
    func Works(v interface{}) {
    	switch v.(type) {
    	case interface{}:
    		v.(fooer).foo()
    	}
    }
    
    func Panics(v interface{}) {
    	switch v.(type) {
    	case interface{}:
    		v.(fooer).foo()
    		v.(interface{ foo() }).foo()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 17:27:06 UTC 2019
    - 453 bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/ajax/index.html

                <input type="hidden" name="secret" value="xxx">
                <input type="submit" name="Submit">
            </form>
        </div>
    	<a href="#" onclick="addFooter('XXX')">Footer</a>
    	<div id="footer">
    	</div>
    </body>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/role/admin_role_details.jsp

                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="card-footer">
                                    <button type="submit" class="btn btn-default" name="list" value="back">
                                        <em class="fa fa-arrow-circle-left">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py

        assert response.json() == {"q": ["foo", "bar"]}
    
    
    @needs_py39
    def test_multi_query_values(client: TestClient):
        url = "/items/?q=baz&q=foobar"
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == {"q": ["baz", "foobar"]}
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeDeduplicationIntegrationTest.groovy

                }
                project("foobar") {
                    project("app") {}
                }
            }
    
            when:
            run ideName
    
            then:
            projectName(".") == "root"
            projectName("foo") == "foo"
            projectName("foo/bar") == "bar"
            projectName("foobar") == "foobar"
            projectName("foobar/app") == "app"
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. tests/test_security_http_base.py

    
    client = TestClient(app)
    
    
    def test_security_http_base():
        response = client.get("/users/me", headers={"Authorization": "Other foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Other", "credentials": "foobar"}
    
    
    def test_security_http_base_no_credentials():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. test/typeparam/issue48049.go

    package main
    
    func main() {
    	Gooer2[byte]()
    }
    
    type Fooer[T any] interface {
    	Foo(p T)
    }
    
    type fooer1[T any] struct{}
    
    func (fooer1[T]) Foo(T) {}
    
    type fooer2[T any] struct {
    	r []Fooer[T]
    }
    
    //go:noinline
    func (mr fooer2[T]) Foo(p T) {
    	mr.r[0] = fooer1[T]{}
    	return
    }
    
    func Gooer2[T any]() Fooer[T] {
    	return fooer2[T]{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 493 bytes
    - Viewed (0)
Back to top