- Sort Score
- Num 10 results
- Language All
Results 1371 - 1380 of 2,175 for IF (0.01 seconds)
-
docs_src/query_params/tutorial003_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_item(item_id: str, q: str | None = None, short: bool = False): item = {"item_id": item_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long description"} )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 374 bytes - Click Count (0) -
CODE_OF_CONDUCT.md
If the behavior is threatening or harassing, or for other reasons requires immediate escalation, please see below. However, for the vast majority of issues, we aim to empower individuals to first resolve conflicts themselves, asking for help when needed, and only after that fails to escalate further. This approach gives people more control over the outcome of their dispute.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Feb 05 18:43:16 GMT 2021 - 5.2K bytes - Click Count (0) -
internal/s3select/jstream/scratch.go
copy(ndata, s.data) s.data = ndata } // append single byte to scratch buffer func (s *scratch) add(c byte) { if s.fill+1 >= cap(s.data) { s.grow() } s.data[s.fill] = c s.fill++ } // append encoded rune to scratch buffer func (s *scratch) addRune(r rune) int { if s.fill+utf8.UTFMax >= cap(s.data) { s.grow() } n := utf8.EncodeRune(s.data[s.fill:], r) s.fill += n return n
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 758 bytes - Click Count (0) -
src/arena/arena_test.go
func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 { t.Errorf("Slice() len = %d, want 99", len(ts)) } if cap(ts) != 100 { t.Errorf("Slice() cap = %d, want 100", cap(ts)) } ts[1].n = 42 } func TestSmokeLarge(t *testing.T) { a := arena.NewArena() defer a.Free()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 742 bytes - Click Count (0) -
cmd/object-api-common.go
healthCheck bool } // Depending on the disk type network or local, initialize storage API. func newStorageAPI(endpoint Endpoint, opts storageOpts) (storage StorageAPI, err error) { if endpoint.IsLocal { storage, err := newXLStorage(endpoint, opts.cleanUp) if err != nil { return nil, err } return newXLStorageDiskIDCheck(storage, opts.healthCheck), nil } return newStorageRESTClient(endpoint, opts.healthCheck, globalGrid.Load())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 2.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy
this.document = document this.parent = parent } protected Element createNode(Object name) { Element element = document.createElement(name as String) if (getCurrent() == null) { elements << element parent?.appendChild(element) } return element } protected Element createNode(Object name, Map attributes) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
description = "Set to 'true' if you want to skip all dependency builds", ) } var prevStage: Stage? = null val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf() val previousCrossVersionTests: MutableList<BaseGradleBuildType> = mutableListOf() model.stages.forEach { stage ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 3.9K bytes - Click Count (1) -
docs/compression/README.md
This is particularly so if the compression ratio of your content reveals information about it. See [CRIME TLS](https://en.wikipedia.org/wiki/CRIME) as an example of this. Therefore, compression is disabled when encrypting by default, and must be enabled separately. Consult our security experts on [SUBNET](https://min.io/pricing) to help you evaluate if your setup can use this feature combination safely.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 5.2K bytes - Click Count (0) -
docs_src/request_files/tutorial001_02_py310.py
app = FastAPI() @app.post("/files/") async def create_file(file: bytes | None = File(default=None)): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile | None = None): if not file: return {"message": "No upload file sent"} else:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 470 bytes - Click Count (0)