- Sort Score
- Num 10 results
- Language All
Results 1321 - 1330 of 1,810 for cause (0.02 seconds)
-
guava/src/com/google/common/base/Optional.java
import org.jspecify.annotations.Nullable; /** * An immutable object that may contain a non-null reference to another object. Each instance of * this type either contains a non-null reference, or contains nothing (in which case we say that * the reference is "absent"); it is never said to "contain {@code null}". * * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
docs/en/docs/tutorial/first-steps.md
#### API "schema" { #api-schema } In this case, [OpenAPI](https://github.com/OAI/OpenAPI-Specification) is a specification that dictates how to define a schema of your API. This schema definition includes your API paths, the possible parameters they take, etc. #### Data "schema" { #data-schema } The term "schema" might also refer to the shape of some data, like a JSON content.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/ru/docs/advanced/response-change-status-code.md
Но в некоторых случаях нужно вернуть другой статус-код, отличный от значения по умолчанию. ## Пример использования { #use-case } Например, представьте, что вы хотите по умолчанию возвращать HTTP статус-код «OK» `200`. Но если данные не существовали, вы хотите создать их и вернуть HTTP статус-код «CREATED» `201`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 2.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
@Override public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk(); // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here. if (jdk.startsWith("[") || jdk.startsWith("(")) { try { return matchJdkVersionRange(jdk);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/response-change-status-code.md
# 回應 - 變更狀態碼 { #response-change-status-code } 你可能已經讀過,可以設定預設的[回應狀態碼](../tutorial/response-status-code.md)。 但有些情況你需要回傳與預設不同的狀態碼。 ## 使用情境 { #use-case } 例如,假設你預設想回傳 HTTP 狀態碼 "OK" `200`。 但如果資料不存在,你想要建立它,並回傳 HTTP 狀態碼 "CREATED" `201`。 同時你仍希望能用 `response_model` 過濾並轉換所回傳的資料。 在這些情況下,你可以使用 `Response` 參數。 ## 使用 `Response` 參數 { #use-a-response-parameter }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* it may throw the exception on the (n-1)th element (oops!). */ /* Checks the case where the first element throws an exception. */ List<Integer> list = emptyList(); Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list)); assertNextThrows(iterator); /* Checks the case where a later element throws an exception. */ list = Lists.newArrayList(1, 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
For example: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` In this case, `fluffy` is an instance of the class `Cat`. And to create `fluffy`, you are "calling" `Cat`. So, a Python class is also a **callable**. Then, in **FastAPI**, you could use a Python class as a dependency.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.8K bytes - Click Count (0) -
internal/crypto/key.go
case SealAlgorithm: mac := hmac.New(sha256.New, extKey) mac.Write(sealedKey.IV[:]) mac.Write([]byte(domain)) mac.Write([]byte(SealAlgorithm)) mac.Write([]byte(path.Join(bucket, object))) // use path.Join for canonical 'bucket/object' unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil)} case InsecureSealAlgorithm: sha := sha256.New()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
} /** * Sets an error in the current request with the specified status code and exception. * * @param statusCode The HTTP status code * @param e The exception that caused the error */ public static void setError(final int statusCode, final Exception e) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, e)));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.2K bytes - Click Count (0) -
helm/minio/templates/_helper_create_svcacct.txt
MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # AccessKey and secretkey credentials file are added to prevent shell execution errors caused by special characters. # Special characters for example : ',",<,>,{,} MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_svcacct_tmp" # connectToMinioCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Mar 28 23:20:50 GMT 2024 - 3.4K bytes - Click Count (0)