Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5871 - 5880 of 7,804 for RETURN (0.04 seconds)

  1. internal/kms/context.go

    // key-value pairs as canonical JSON object. The sort order
    // is based on the un-escaped keys. It never returns an error.
    func (c Context) MarshalText() ([]byte, error) {
    	if len(c) == 0 {
    		return []byte{'{', '}'}, nil
    	}
    
    	// Pre-allocate a buffer - 128 bytes is an arbitrary
    	// heuristic value that seems like a good starting size.
    	b := bytes.NewBuffer(make([]byte, 0, 128))
    	if len(c) == 1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Click Count (0)
  2. tests/test_request_params/test_file/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["multipart/form-data"]["schema"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 271 bytes
    - Click Count (0)
  3. docs_src/body_fields/tutorial001_an_py310.py

        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 563 bytes
    - Click Count (0)
  4. docs_src/extra_models/tutorial003_py310.py

            "type": "plane",
            "size": 5,
        },
    }
    
    
    @app.get("/items/{item_id}", response_model=PlaneItem | CarItem)
    async def read_item(item_id: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 612 bytes
    - Click Count (0)
  5. docs_src/security/tutorial006_py310.py

    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 321 bytes
    - Click Count (0)
  6. docs_src/query_params_str_validations/tutorial006_py310.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(min_length=3)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 254 bytes
    - Click Count (0)
  7. docs_src/body_multiple_params/tutorial004_py310.py

        user: User,
        importance: int = Body(gt=0),
        q: str | None = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 10 18:49:18 GMT 2023
    - 603 bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
        return Platform.get()
      }
    
      override fun dependencies(): List<Class<Initializer<*>>> = listOf()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 1K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

    @NullUnmarked
    final class UnannotatedJavaClass {
      // The Checker Framework assumes that unannotated types are non-null instead of unspecified.
      @SuppressWarnings("nullness:return.type.incompatible")
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/TreeBasedTableColumnTest.java

    @NullMarked
    public class TreeBasedTableColumnTest extends ColumnTests {
      public TreeBasedTableColumnTest() {
        super(false, true, true, true, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return TreeBasedTable.create();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top