- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 7,081 for returns (0.05 sec)
-
tests/test_infer_param_optionality.py
@user_router.get("/") def get_users(): return [{"user_id": "u1"}, {"user_id": "u2"}] @user_router.get("/{user_id}") def get_user(user_id: str): return {"user_id": user_id} @item_router.get("/") def get_items(user_id: Optional[str] = None): if user_id is None: return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}] else: return [{"item_id": "i2", "user_id": user_id}]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Handshake.kt
/** * Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp * 3.0. For responses cached by preceding versions this returns [TlsVersion.SSL_3_0]. */ @get:JvmName("tlsVersion") val tlsVersion: TlsVersion, /** Returns the cipher suite used for the connection. */ @get:JvmName("cipherSuite") val cipherSuite: CipherSuite,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 15K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}. */ public int size() { return map.size(); } /** Returns {@code true} if this map contains no key-value mappings. */ public boolean isEmpty() { return map.isEmpty(); } /** * Removes all of the mappings from this map. The map will be empty after this call returns. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
internal/crypto/sse-kms.go
return true } if _, ok := h[xhttp.AmzServerSideEncryption]; ok { // Return only true if the SSE header is specified and does not contain the SSE-S3 value return strings.ToUpper(h.Get(xhttp.AmzServerSideEncryption)) != xhttp.AmzEncryptionAES } return false } // ParseHTTP parses the SSE-KMS headers and returns the SSE-KMS key ID // and the KMS context on success.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Range.java
/** Returns {@code true} if this range has an upper endpoint. */ public boolean hasUpperBound() { return upperBound != Cut.aboveAll(); } /** * Returns the upper endpoint of this range. * * @throws IllegalStateException if this range is unbounded above (that is, {@link * #hasUpperBound()} returns {@code false}) */ public C upperEndpoint() { return upperBound.endpoint(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
internal/event/target/kafka_scram_client_contrib.go
// conversation forward. It returns a string to be sent to the server or an // error if the server message is invalid. Calling Step after a conversation // completes is also an error. func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) { response, err = x.ClientConversation.Step(challenge) return } // Done returns true if the conversation is completed or has errored.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 09 04:04:01 UTC 2023 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* {@link Optional#absent} is returned. * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code * Optional.map}, except when {@code function} returns {@code null}. In this case this method * throws an exception, whereas the Java 8+ method returns {@code Optional.absent()}. * * @throws NullPointerException if the function returns {@code null} * @since 12.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/storage-datatypes.go
// - returns "legacy" if FileInfo is XLV1 and DataDir is // empty, returns DataDir otherwise // - returns "dataDir" func (fi FileInfo) GetDataDir() string { if fi.Deleted { return "delete-marker" } if fi.XLV1 && fi.DataDir == "" { return "legacy" } return fi.DataDir } // IsCompressed returns true if the object is marked as compressed. func (fi FileInfo) IsCompressed() bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0)