Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 346 for Mello (0.14 sec)

  1. docs_src/dependency_testing/tutorial001_an_py39.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        writer.append("Hello,");
        writer.append(' ');
        writer.append("The World Wide Web", 4, 9);
        writer.append("!");
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testCloseFlush() throws IOException {
        SpyAppendable spy = new SpyAppendable();
        Writer writer = new AppendableWriter(spy);
    
        writer.write("Hello");
        assertFalse(spy.flushed);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

        }
      }
    
      @Test
      fun testFileDescriptorRead() {
        assertOnFileDescriptor(content = "Hello") { fd ->
          val requestBody = fd.toRequestBody()
    
          val buffer = Buffer()
          requestBody.writeTo(buffer)
          assertThat(buffer.readUtf8()).isEqualTo("Hello")
        }
      }
    
      @Test
      fun testFileDescriptorDefaultMediaType() {
        assertOnFileDescriptor { fd ->
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  4. docs_src/dependency_testing/tutorial001_py310.py

    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py

        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    def test_override_in_users_with_q():
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. tests/test_tuples.py

                    "post": {
                        "summary": "Hello",
                        "operationId": "hello_tuple_form__post",
                        "requestBody": {
                            "content": {
                                "application/x-www-form-urlencoded": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_hello_tuple_form__post"
                                    }
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  7. src/bytes/compare_test.go

    			a[j+1] = b[j+1]
    		}
    	}
    }
    
    func BenchmarkCompareBytesEqual(b *testing.B) {
    	b1 := []byte("Hello Gophers!")
    	b2 := []byte("Hello Gophers!")
    	for i := 0; i < b.N; i++ {
    		if Compare(b1, b2) != 0 {
    			b.Fatal("b1 != b2")
    		}
    	}
    }
    
    func BenchmarkCompareBytesToNil(b *testing.B) {
    	b1 := []byte("Hello Gophers!")
    	var b2 []byte
    	for i := 0; i < b.N; i++ {
    		if Compare(b1, b2) != 1 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
      public void testWrap() {
        new EqualsTester()
            .addEqualityGroup(
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("world"))
            .addEqualityGroup(LENGTH_EQUIVALENCE.wrap("hi"), LENGTH_EQUIVALENCE.wrap("yo"))
            .addEqualityGroup(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject_test.go

    				" "),
    			GoldenFilename: "testdata/deployment/hello.yaml.iop.injected",
    		},
    		{ // case 6 with iops and values override
    			Args: strings.Split(
    				"--operatorFileName testdata/istio-operator.yaml"+
    					" --injectConfigFile testdata/inject-config-iop.yaml -f testdata/deployment/hello.yaml"+
    					" -f testdata/deployment/hello.yaml"+
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

        assertHash32(0x1C8600E3, CRC_32, "hell");
        assertHash32(0x3610A686, CRC_32, "hello");
        assertHash32(0xED81F9F6, CRC_32, "hello ");
        assertHash32(0x4850DDC2, CRC_32, "hello w");
        assertHash32(0x7A2D6005, CRC_32, "hello wo");
        assertHash32(0x1C192672, CRC_32, "hello wor");
        assertHash32(0x414FA339, CRC_32, "The quick brown fox jumps over the lazy dog");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
Back to top