- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 946 for functions (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/advanced/response-headers.md
# Response Headers { #response-headers } ## Use a `Response` parameter { #use-a-response-parameter } You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies). And then you can set headers in that *temporal* response object. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} And then you can return any object you need, as you normally would (a `dict`, a database model, etc).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/en/docs/advanced/vibe.md
The idea is that you would receive the payload and send it **directly** to an LLM provider, using a `prompt` to tell the LLM what to do, and return the response **as is**. No questions asked. You don't even need to write the body of the function. The `@app.vibe()` decorator does everything for you based on AI vibes: {* ../../docs_src/vibe/tutorial001_py310.py hl[8:12] *} ## Benefits { #benefits } By using `@app.vibe()`, you get to enjoy:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 2K bytes - Click Count (0) -
internal/lock/lock_windows_test.go
// fixLongPath, but short enough not to make a path component // longer than 255, which is illegal on Windows. (which // doesn't really matter anyway, since this is purely a string // function we're testing, and it's not actually being used to // do a system call) veryLong := "l" + strings.Repeat("o", 248) + "ng" for _, test := range []struct{ in, want string }{ // Short; unchanged:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
*/ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import com.google.common.base.Function; import com.google.common.collect.testing.NavigableMapTestSuiteBuilder; import com.google.common.collect.testing.SafeTreeMap; import com.google.common.collect.testing.TestStringSortedMapGenerator;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 9.7K bytes - Click Count (0) -
internal/stmt_store/stmt_store.go
// it defaults to defaultMaxSize. // - ttl: The time-to-live duration for each cache entry. If the provided ttl is less than or equal to 0, // it defaults to defaultTTL. // // This function defines an onEvicted callback that is invoked when a cache entry is evicted. // The callback ensures that if the evicted value (v) is not nil, its Close method is called asynchronously // to release associated resources. //
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.1K bytes - Click Count (0) -
.github/workflows/go-resiliency.yml
name: Resiliency Functional Tests on: pull_request: branches: - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true permissions: contents: read jobs: build: name: Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 958 bytes - Click Count (0) -
internal/config/lambda/target/lazyinit.go
package target import ( "sync" "sync/atomic" ) // Inspired from Golang sync.Once but it is only marked // initialized when the provided function returns nil. type lazyInit struct { done uint32 m sync.Mutex } func (l *lazyInit) Do(f func() error) error { if atomic.LoadUint32(&l.done) == 0 { return l.doSlow(f) } return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/cookie-params.md
`Cookie` est une classe « sœur » de `Path` et `Query`. Elle hérite également de la même classe commune `Param`. Mais rappelez-vous que lorsque vous importez `Query`, `Path`, `Cookie` et d'autres depuis `fastapi`, il s'agit en réalité de fonctions qui renvoient des classes spéciales. /// /// info Pour déclarer des cookies, vous devez utiliser `Cookie`, sinon les paramètres seraient interprétés comme des paramètres de requête. /// /// info
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 1.9K bytes - Click Count (0) -
.github/workflows/go-healing.yml
name: Healing Functional Tests on: pull_request: branches: - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true permissions: contents: read jobs: build: name: Go ${{ matrix.go-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.misc; import java.util.Locale; import java.util.function.Supplier; /** * Utility class for {@link Locale}. * * @author higa */ public abstract class LocaleUtil { /** * Do not instantiate. */ protected LocaleUtil() { }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 2.3K bytes - Click Count (0)