- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 6,890 for width (0.02 seconds)
-
tests/test_computed_fields.py
from pydantic import BaseModel, computed_field class Rectangle(BaseModel): width: int length: int @computed_field @property def area(self) -> int: return self.width * self.length @app.get("/") def read_root() -> Rectangle: return Rectangle(width=3, length=4) @app.get("/responses", responses={200: {"model": Rectangle}})Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/bpool/bpool.go
} // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new // byte arrays sized based on width. func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) { if capwidth <= 0 { panic("total buffer capacity must be provided") } if capwidth < 64 { panic("buffer capped with smaller than 64 bytes is not supported") } if width > capwidth {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3K bytes - Click Count (0) -
internal/bpool/bpool_test.go
} // Check with width cap if bp.WidthCap() != capWidth { t.Fatalf("bytepool capWidth invalid: got %v want %v", bp.WidthCap(), capWidth) } // Check that retrieved buffer are of the expected width b := bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) } if cap(b) != capWidth { t.Fatalf("bytepool cap invalid: got %v want %v", cap(b), capWidth) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image05.py
# Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item", exact=True).click() page.set_viewport_size({"width": 960, "height": 700}) # Manually add the screenshot page.screenshot(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 984 bytes - Click Count (0) -
architecture/platforms.md
core_configuration["core-configuration module"] style core_configuration stroke:#1abc9c,fill:#b1f4e7,stroke-width:2px,color:#000; core_execution["core-execution module"] style core_execution stroke:#1abc9c,fill:#b1f4e7,stroke-width:2px,color:#000; end style core fill:#c2e0f4,stroke:#3498db,stroke-width:2px,color:#000;Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu May 02 06:42:46 GMT 2024 - 5.4K bytes - Click Count (0) -
docs/en/docs/css/termynal.css
* @version 0.0.1 * @license MIT */ :root { --color-bg: #252a33; --color-text: #eee; --color-text-subtle: #a2a2a2; } [data-termynal] { width: 750px; max-width: 100%; background: var(--color-bg); color: var(--color-text); /* font-size: 18px; */ font-size: 15px; /* font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; */Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Nov 23 09:27:40 GMT 2025 - 2.2K bytes - Click Count (0) -
cmd/update-notifier.go
maxContentWidth := max(line1Length, line2Length) // termWidth is set to a default one to use when we are // not able to calculate terminal width via OS syscalls termWidth := 25 if width, err := pb.GetTerminalWidth(); err == nil { termWidth = width } // Box cannot be printed if terminal width is small than maxContentWidth if maxContentWidth > termWidth { return "\n" + line1InColor + "\n" + line2InColor + "\n\n" }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Click Count (0) -
src/bufio/scan.go
return 1, data[0:1], nil } // Fast path 2: Correct UTF-8 decode without error. _, width := utf8.DecodeRune(data) if width > 1 { // It's a valid encoding. Width cannot be one for a correctly encoded // non-ASCII rune. return width, data[0:width], nil } // We know it's an error: we have width==1 and implicitly r==utf8.RuneError. // Is the error because there wasn't a full rune to be decoded?
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
" <div class=\"wistia_embed wistia_async_$2 seo=true videoFoam=true\" style=\"height:100%;position:relative;width:100%\"> \n" + " <div class=\"wistia_swatch\" style=\"height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;\"> \n" +Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 11.7K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image04.py
# Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item-Input").click() page.get_by_role("button", name="Item-Output").click() page.set_viewport_size({"width": 960, "height": 820}) # Manually add the screenshot page.screenshot(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1K bytes - Click Count (0)