- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 102 for padding (0.03 sec)
-
src/archive/tar/strconv.go
if !validPAXRecord(k, v) { return "", ErrHeader } const padding = 3 // Extra padding for ' ', '=', and '\n' size := len(k) + len(v) + padding size += len(strconv.Itoa(size)) record := strconv.Itoa(size) + " " + k + "=" + v + "\n" // Final adjustment if adding size field increased the record size. if len(record) != size { size = len(record)Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
docs/en/docs/css/custom.css
*/ content: "\00A0↪"; } .shadow { box-shadow: 5px 5px 10px #999; } /* Give space to lower icons so Gitter chat doesn't get on top of them */ .md-footer-meta { padding-bottom: 2em; } .user-list { display: flex; flex-wrap: wrap; margin-bottom: 2rem; } .user-list-center { justify-content: space-evenly; } .user { margin: 1em;Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Jul 17 02:12:29 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/server-startup-msg.go
"github.com/minio/minio/internal/color" "github.com/minio/minio/internal/logger" ) // generates format string depending on the string length and padding. func getFormatStr(strLen int, padding int) string { formatStr := fmt.Sprintf("%ds", strLen+padding) return "%" + formatStr } // Prints the formatted startup message. func printStartupMessage(apiEndpoints []string, err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/en/docs/css/termynal.css
/* font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; */ font-family: 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; border-radius: 4px; padding: 75px 45px 35px; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; /* Custom line-height */ line-height: 1.2; } [data-termynal]:before { content: '';
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Aug 09 01:42:26 UTC 2024 - 2.2K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
arithmetic types. A C struct translates to a Go struct, field by field; unrepresentable fields are replaced with opaque byte arrays. A C union translates into a struct containing the first union member and perhaps additional padding. C arrays become Go arrays. C pointers become Go pointers. C function pointers become Go's uintptr. C void pointers become Go's unsafe.Pointer. For example, mpz_t is defined in <gmp.h> as:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
Nevertheless, you can still do it in **FastAPI**, using one of the internal tools from Starlette. And the docs would still work, although not adding any documentation telling that the parameter should contain a path. ### Path convertor { #path-convertor } Using an option directly from Starlette you can declare a *path parameter* containing a *path* using a URL like:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.3K bytes - Viewed (0) -
src/README.vendor
Vendored packages are internally renamed with a "vendor/" prefix to preserve the invariant that all packages have distinct paths. This is necessary to avoid compiler and linker conflicts. Adding a "vendor/" prefix also maintains the invariant that standard library packages begin with a dotless path element. The module requirements of std and cmd do not influence version
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 30 19:15:39 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`. You should do it after adding all your *path operations*. {* ../../docs_src/path_operation_advanced_configuration/tutorial002.py hl[2, 12:21, 24] *} /// tip If you manually call `app.openapi()`, you should update the `operationId`s before that.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
UserInDB(**user_in.dict()) ``` ...because `user_in.dict()` is a `dict`, and then we make Python "unpack" it by passing it to `UserInDB` prefixed with `**`. So, we get a Pydantic model from the data in another Pydantic model. #### Unpacking a `dict` and extra keywords { #unpacking-a-dict-and-extra-keywords } And then adding the extra keyword argument `hashed_password=hashed_password`, like in: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
## The normal **FastAPI** app { #the-normal-fastapi-app } Let's first see how the normal API app would look like before adding the callback. It will have a *path operation* that will receive an `Invoice` body, and a query parameter `callback_url` that will contain the URL for the callback.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0)