- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 1,948 for checks (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
* fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a * method propagate untouched, just as we'd typically let it do for a non-reflective call.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } } // This is safe because we checked `initialized`. return uncheckedCastNullableTToT(value); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
cmd/copy-part-range.go
if err != nil { return nil, err } if hrange.IsSuffixLength || hrange.Start < 0 || hrange.End < 0 { return nil, errInvalidRange } return hrange, nil } // checkCopyPartRangeWithSize adds more check to the range string in case of // copy object part. This API requires having specific start and end range values // e.g. 'bytes=3-10'. Other use cases will be rejected.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 18 03:27:04 GMT 2021 - 2.5K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// tasks to initialize the eager context and TF server for multi-client // execution. virtual absl::Status EnableCollectiveOps(const ServerDef& server_def) = 0; // Check if the remote task is alive. virtual absl::Status CheckRemoteAlive(const std::string& remote_task_name, bool* is_alive) = 0; // Get pointer to the coordination service agent instance.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
/* * Coverage mode generates synthetic fields. If we ever add private * fields, they will cause similar problems, and we may want to switch * this check to isAccessible(). */ if (!field.isSynthetic() && field.getType() == String.class) { builder.add(field); } } return builder.build(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/header-param-models.md
在 **Pydantic 模型**中声明所需的 **header 参数**,然后将参数声明为 `Header` : {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *} **FastAPI** 将从请求中接收到的 **headers** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。 ## 查看文档 { #check-the-docs } 您可以在文档 UI 的 `/docs` 中查看所需的 headers: <div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## 禁止额外的 Headers { #forbid-extra-headers }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:39:41 GMT 2026 - 2.5K bytes - Click Count (0) -
fastapi/utils.py
def get_path_param_names(path: str) -> set[str]: return set(re.findall("{(.*?)}", path)) _invalid_args_message = ( "Invalid args for response field! Hint: " "check that {type_} is a valid Pydantic field type. " "If you are using a return type annotation that is not a valid Pydantic " "field (e.g. Union[Response, dict, None]) you can disable generating the "
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 4.2K bytes - Click Count (0) -
callbacks/helper.go
withCondition = len(whereClause.Exprs) > 1 } } if !withCondition { db.AddError(gorm.ErrMissingWhereClause) } return } } type visitMap = map[reflect.Value]bool // Check if circular values, return true if loaded func loadOrStoreVisitMap(visitMap *visitMap, v reflect.Value) (loaded bool) { if v.Kind() == reflect.Ptr { v = v.Elem() } switch v.Kind() {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Apr 14 12:32:57 GMT 2022 - 3.7K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy
when: def result = gradleRunner("licenseHeaders").buildAndFail() then: result.task(":licenseHeaders").outcome == TaskOutcome.FAILED assertOutputContains(result.output, "> Check failed. License header problems were found. Full details: ./build/reports/licenseHeaders/rat.xml") assertOutputContains(result.output, "./src/main/java/org/acme/UnknownLicensed.java")Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 4.1K bytes - Click Count (0) -
helm-releases/minio-2.0.1.tgz
in the event of a failed command. {{- if .Values.configPathmc }} MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for Minio service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ;...Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 31 09:09:09 GMT 2021 - 13.6K bytes - Click Count (0)