Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for testMap (0.26 sec)

  1. tests/test_ws_router.py

        app.include_router(router)
        app.include_router(prefix_router, prefix="/prefix")
        app.include_router(native_prefix_route)
        return app
    
    
    app = make_app(app)
    
    
    def test_app():
        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, world!"
    
    
    def test_router():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. docs/pt/docs/benchmarks.md

    Especificamente, observa-se Uvicorn, Starlette e FastAPI comparados juntos (entre muitas outras ferramentas).
    
    Quanto mais simples o problema resolvido pela ferramenta, melhor a performance que ela terá. E a maioria dos _benchmarks_ não testam as características adicionais fornecidas pela ferramenta.
    
    A hierarquia segue assim:
    
    * **Uvicorn**: um servidor ASGI
        * **Starlette**: (utiliza Uvicorn) um _microframework web_
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

                  .isTrue();
            }
          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) 127);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(
                max(
                    (int) 8L,
                    (int) 6L,
                    (int) 7L,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. cmd/utils_test.go

    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    				t.Fatalf("test %d: keyvalues[%d] does not match", i+1, j)
    			}
    		}
    	}
    }
    
    func TestLCP(t *testing.T) {
    	testCases := []struct {
    		prefixes     []string
    		commonPrefix string
    	}{
    		{[]string{"", ""}, ""},
    		{[]string{"a", "b"}, ""},
    		{[]string{"a", "a"}, "a"},
    		{[]string{"a/", "a/"}, "a/"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

                .isEqualTo(signum(Integer.compare(i, j)));
          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) 255);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     *
     * <pre>
     * copyBeanToMap(srcBean, destMap);
     * copyMapToBean(srcMap, destBean);
     * </pre>
     * <p>
     * You can also create a new instance of the destination JavaBean or {@link Map} and copy to it.
     * </p>
     *
     * <pre>
     * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class);
     * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class);
     * Map&lt;String, Object&gt; destMap = copyBeanToNewMap(srcBean);
     * </pre>
     * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. tensorflow/c/BUILD

        ],
    )
    
    tf_custom_op_library(
        name = "test_op1.so",
        srcs = ["test_op1.cc"],
    )
    
    tf_kernel_library(
        name = "test_op_kernel",
        srcs = ["test_op.cc"],
        deps = [
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
        ],
        alwayslink = 1,
    )
    
    tf_cuda_cc_test(
        name = "env_test",
        size = "medium",
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sun Dec 07 13:04:09 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params.md

    ### Suporte do OpenAPI { #openapi-support }
    
    O OpenAPI não oferece suporte a uma maneira de declarar um *parâmetro de path* que contenha um *path* dentro, pois isso poderia levar a cenários difíceis de testar e definir.
    
    Ainda assim, você pode fazer isso no **FastAPI**, usando uma das ferramentas internas do Starlette.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/generate-clients.md

    * <a href="https://developers.liblab.com/tutorials/sdk-for-fastapi?utm_source=fastapi" class="external-link" target="_blank">liblab</a>
    
    Algumas dessas soluções também podem ser open source ou oferecer planos gratuitos, para que você possa testá-las sem compromisso financeiro. Outros geradores comerciais de SDK estão disponíveis e podem ser encontrados online. 🤓
    
    ## Crie um SDK em TypeScript { #create-a-typescript-sdk }
    
    Vamos começar com uma aplicação FastAPI simples:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top