Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 958 for prefer (0.05 seconds)

  1. tests/test_additional_response_extra.py

    router = APIRouter()
    
    sub_router = APIRouter()
    
    app = FastAPI()
    
    
    @sub_router.get("/")
    def read_item():
        return {"id": "foo"}
    
    
    router.include_router(sub_router, prefix="/items")
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Streams.java

            // we can drill down to exactly the smallest nonempty spliterator
            while (true) {
              Spliterator<T> prefix = spliterator.trySplit();
              if (prefix == null || prefix.getExactSizeIfKnown() == 0) {
                break;
              } else if (spliterator.getExactSizeIfKnown() == 0) {
                spliterator = prefix;
                break;
              }
            }
    
            // spliterator is known to be nonempty now
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/sub-applications.md

    You will see the automatic API docs for the sub-application, including only its own _path operations_, all under the correct sub-path prefix `/subapi`:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    If you try interacting with any of the two user interfaces, they will work correctly, because the browser will be able to talk to each specific app or sub-app.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. docs/pt/docs/how-to/index.md

    A maioria dessas ideias será mais ou menos **independente**, e na maioria dos casos você só precisará estudá-las se elas se aplicarem diretamente ao **seu projeto**.
    
    Se algo parecer interessante e útil para o seu projeto, vá em frente e dê uma olhada. Caso contrário, você pode simplesmente ignorá-lo.
    
    /// tip | Dica
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 689 bytes
    - Click Count (0)
  5. tensorflow/c/c_api.cc

        const char* child_scope_name;
        if (prefix == nullptr) {
          child_scope_name = "gradients";
        } else {
          prefix_cmp = string(prefix) + "/";
          // The operation should fail if the provided name prefix has already been
          // used in this graph
          for (const auto& pair : g->name_map) {
            const string& name = pair.first;
            if ((name == prefix) || absl::StartsWith(name, prefix_cmp)) {
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  6. docs_src/bigger_applications/app_an_py39/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1011 bytes
    - Click Count (0)
  7. schema/naming_test.go

    	}
    }
    
    func TestFormatNameWithStringLongerThan63Characters(t *testing.T) {
    	ns := NamingStrategy{IdentifierMaxLength: 63}
    
    	formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString")
    	if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVer180f2c67" {
    		t.Errorf("invalid formatted name generated, got %v", formattedName)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Click Count (0)
  8. docs/bucket/lifecycle/DESIGN.md

    Transition tiers can be added to MinIO using `mc admin tier add` command to associate a `gcs`, `s3` or `azure` bucket or prefix path on a bucket to the tier name.
    Lifecycle transition rules can be applied to buckets (both versioned and un-versioned) by specifying the tier name defined above as the transition storage class for the lifecycle rule.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. docs/resiliency/resiliency-verify-script.sh

    	exit 1
    fi
    
    ./mc ready "${ALIAS_NAME}" --json
    
    OUT=$(./mc cp --quiet "${SRC_DIR}"/* "${ALIAS_NAME}"/"${BUCKET}"/new-data/)
    RET=${?}
    if [ ${RET} -ne 0 ]; then
    	echo "Error copying objects to new prefix: ${OUT}"
    	exit 1
    fi
    
    OBJ_COUNT_AFTER_COPY=$(./mc ls "${ALIAS_NAME}"/"${BUCKET}"/new-data/ | wc -l)
    if [ "${OBJ_COUNT_AFTER_COPY}" -ne "${OBJ_COUNT_AFTER_STOP}" ]; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/StringsTest.java

            void testFromUNIBytesWithOffset() {
                // Given
                String prefix = "PREFIX";
                String target = "TARGET";
                String combined = prefix + target;
                byte[] combinedBytes = combined.getBytes(StandardCharsets.UTF_16LE);
                int prefixBytes = prefix.getBytes(StandardCharsets.UTF_16LE).length;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top