- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 261 for returningT2 (0.07 seconds)
-
docs/debugging/hash-set/main.go
import ( "bufio" "bytes" "encoding/binary" "flag" "fmt" "hash/crc32" "log" "os" "strings" "github.com/dchest/siphash" "github.com/google/uuid" ) // hashes the key returning an integer based on the input algorithm. // This function currently supports // - SIPMOD func sipHashMod(key string, cardinality int, id [16]byte) int { if cardinality <= 0 { return -1 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
The benefit of raising an exception over returning a value will be more evident in the section about Dependencies and Security. In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
import okhttp3.internal.connection.RoutePlanner.ConnectResult import okhttp3.internal.connection.RoutePlanner.Plan import okhttp3.internal.okHttpName /** * Speculatively connects to each IP address of a target address, returning as soon as one of them * connects successfully. This kicks off new attempts every 250 ms until a connect succeeds. */ internal class FastFallbackExchangeFinder( override val routePlanner: RoutePlanner,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* Performance: O(1) operation with size limit check * * @param buf the buffer to return to the cache */ static public void releaseBuffer(final byte[] buf) { // Validate buffer before returning to cache if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) { return; // Silently ignore invalid buffers } // Only cache if we haven't reached the limit - O(1) checkCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
fastapi/applications.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 176.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* which has a method {@code getParents()} that retrieves its predecessors in a graph: * * {@snippet : * someGraphAlgorithm(startNode, MyNode::getParents); * } * * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't * return a {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * {@snippet :Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* which has a method {@code getChildren()} that retrieves its successors in a graph: * * {@snippet : * someGraphAlgorithm(startNode, MyNode::getChildren); * } * * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't * return an {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * {@snippet :Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 4.2K bytes - Click Count (0) -
cmd/metacache-server-pool.go
o.SetFilter() if o.Transient { o.Create = false } // We have 2 cases: // 1) Cold listing, just list. // 2) Returning, but with no id. Start async listing. // 3) Returning, with ID, stream from list. // // If we don't have a list id we must ask the server if it has a cache or create a new. if o.ID != "" && !o.Transient { // Create or ping with handout...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
import jcifs.internal.smb1.trans.SmbComTransactionResponse; /** * Trans2 QueryPathInformation response message for file metadata queries. * This class handles the response from a TRANS2_QUERY_PATH_INFORMATION request, * returning various file information levels based on the requested information level. */ public class Trans2QueryPathInformationResponse extends SmbComTransactionResponse { private final int informationLevel;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0)