Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,459 for Int (0.03 seconds)

  1. docs_src/query_param_models/tutorial002_an_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 483 bytes
    - Click Count (0)
  2. docs_src/body_multiple_params/tutorial003_an_py310.py

        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int, item: Item, user: User, importance: Annotated[int, Body()]
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 550 bytes
    - Click Count (0)
  3. internal/s3select/jstream/decoder_test.go

    package jstream
    
    import (
    	"bytes"
    	"testing"
    )
    
    func mkReader(s string) *bytes.Reader { return bytes.NewReader([]byte(s)) }
    
    func TestDecoderSimple(t *testing.T) {
    	var (
    		counter int
    		mv      *MetaValue
    		body    = `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`
    	)
    
    	decoder := NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		counter++
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
            fun String.fooExt() {}
    
            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. internal/config/heal/heal.go

    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    		// -1: bitrot enabled, 0: bitrot disabled, > 0: bitrot cycle
    		bitrotCycle time.Duration
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 04 19:06:02 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        private static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Constant for the radix of hex numbers.*/
        private static final int HEX_RADIX = 16;
    
        /** Constant for the length of a unicode literal.*/
        private static final int UNICODE_LEN = 4;
    
        private final Map<String, String> storage = new LinkedHashMap<>();
        private final Map<String, Layout> layout = new LinkedHashMap<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        private static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Constant for the radix of hex numbers.*/
        private static final int HEX_RADIX = 16;
    
        /** Constant for the length of a unicode literal.*/
        private static final int UNICODE_LEN = 4;
    
        private final Map<String, String> storage = new LinkedHashMap<>();
        private final Map<String, Layout> layout = new LinkedHashMap<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. api/go1.19.txt

    pkg debug/pe, const IMAGE_COMDAT_SELECT_LARGEST = 6 #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_LARGEST ideal-int #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_NODUPLICATES = 1 #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_NODUPLICATES ideal-int #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_SAME_SIZE = 3 #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_SAME_SIZE ideal-int #51868
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Click Count (0)
  9. cmd/api-response.go

    	UploadID string `xml:"UploadId"`
    
    	Initiator Initiator
    	Owner     Owner
    
    	// The class of storage used to store the object.
    	StorageClass string
    
    	PartNumberMarker     int
    	NextPartNumberMarker int
    	MaxParts             int
    	IsTruncated          bool
    
    	ChecksumAlgorithm string
    	ChecksumType      string
    
    	// List of parts.
    	Parts []Part `xml:"Part"`
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

                setPosition(1);
            }
            return (attribute == null) ? null : new Xpp3DomAttributePointer(parent, attribute);
        }
    
        @Override
        public int getPosition() {
            return position;
        }
    
        @Override
        public boolean setPosition(int position) {
            this.position = position;
            attribute = (position > 0 && position <= attributes.size()) ? attributes.get(position - 1) : null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top