- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 66 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
// buffer went back into pool default: // buffer didn't go back into pool, just discard } } // Width returns the width of the byte arrays in this pool. func (bp *BytePoolCap) Width() (n int) { if bp == nil { return 0 } return bp.w } // WidthCap returns the cap width of the byte arrays in this pool. func (bp *BytePoolCap) WidthCap() (n int) { if bp == nil { return 0 }
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
) // Tests - bytePool functionality. func TestBytePool(t *testing.T) { size := uint64(4) width := 1024 capWidth := 2048 bp := NewBytePoolCap(size, width, capWidth) // Check the width if bp.Width() != width { t.Fatalf("bytepool width invalid: got %v want %v", bp.Width(), width) } // Check with width cap if bp.WidthCap() != 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) -
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) -
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) -
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) -
src/bufio/scan.go
// Skip leading spaces. start := 0 for width := 0; start < len(data); start += width { var r rune r, width = utf8.DecodeRune(data[start:]) if !isSpace(r) { break } } // Scan until space, marking end of word. for width, i := 0, start; i < len(data); i += width { var r rune r, width = utf8.DecodeRune(data[i:]) if isSpace(r) { return i + width, data[start:i], nil } }
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) -
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) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(event.getProject()).thenReturn(project); // default width new ExecutionEventLogger(messageBuilderFactory, logger, -1).projectStarted(event); Mockito.verify(logger).info("----------------------------[ maven-plugin ]----------------------------"); // terminal width: 30 new ExecutionEventLogger(messageBuilderFactory, logger, 30).projectStarted(event);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 12.3K bytes - Click Count (0)