- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 1,563 for examples (0.1 sec)
-
docs/en/docs/tutorial/header-param-models.md
/// ```Python hl_lines="10" {!> ../../docs_src/header_param_models/tutorial002.py!} ``` //// If a client tries to send some **extra headers**, they will receive an **error** response. For example, if the client tries to send a `tool` header with a value of `plumbus`, they will receive an **error** response telling them that the header parameter `tool` is not allowed: ```json { "detail": [ {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
"profiler", defaultProfiler, display = ParameterDisplay.PROMPT, allowEmpty = false, description = "Command line option for the performance test task to enable profiling. For example `async-profiler`, `async-profiler-heap`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only." ) } object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 03 06:45:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java
} @BeforeEach void createFileConfig() { final Map<String, Object> requestBody = new HashMap<>(); requestBody.put("name", "test_fileconfig"); requestBody.put("paths", "file:///example/path/"); requestBody.put("num_of_thread", 5); requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0); requestBody.put("available", true);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
dummy += cache.getUnchecked(nextRandomKey()); } requests.addAndGet(reps); return dummy; } private int nextRandomKey() { int a = random.nextInt(max); /* * For example, if concentration=2.0, the following takes the square root of * the uniformly-distributed random integer, then truncates any fractional * part, so higher integers would appear (in this case linearly) more often
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* One Google-authored templating system available for external use is <a * href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML * escaped</a>. As a result, it is impossible to escape an HTML document correctly without
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 3K bytes - Viewed (0) -
bin/check_samples.sh
set -e SCRIPTPATH=$( cd "$(dirname "$0")" && pwd -P ) ROOTDIR=$SCRIPTPATH/.. cd "$ROOTDIR" || exit # rely on go build cache ISTIOCTL=bin/istioctl go build -o $ISTIOCTL ./istioctl/cmd/istioctl for f in samples/**/*.yaml; do if grep -q -e "{{" "$f" ; then echo "Skipping check for helm template $f" continue else echo "Validating $f..." $ISTIOCTL validate -x \ -f "$f" fi
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Nov 04 01:54:50 UTC 2023 - 1010 bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary. /// /// info In this example we use invented custom headers `X-Key` and `X-Token`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
} private fun logWithTime(message: String) { val startNs = startNs val timeMs = if (startNs == null) { // Event occurred before start, for an example an early cancel. 0L } else { TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) } logger.invoke("[$timeMs ms] $message") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
docs/pt/docs/advanced/middleware.md
{* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *} Os seguintes argumentos são suportados: * `allowed_hosts` - Uma lista de nomes de domínio que são permitidos como nomes de host. Domínios com coringa, como `*.example.com`, são suportados para corresponder a subdomínios. Para permitir qualquer nome de host, use `allowed_hosts=["*"]` ou omita o middleware. Se uma requisição recebida não for validada corretamente, uma resposta `400` será enviada.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 20:00:22 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/admin-server-info.go
runtime.ReadMemStats(&memstats) gcStats := debug.GCStats{ // If stats.PauseQuantiles is non-empty, ReadGCStats fills // it with quantiles summarizing the distribution of pause time. // For example, if len(stats.PauseQuantiles) is 5, it will be // filled with the minimum, 25%, 50%, 75%, and maximum pause times. PauseQuantiles: make([]time.Duration, 5), } debug.ReadGCStats(&gcStats)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (1)