- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 27 for sentinel (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
* or empty headers if there were none that followed. * * If the response body was closed prematurely or failed with an error, this will be the sentinel * value [TRAILERS_RESPONSE_BODY_TRUNCATED]. In that case attempts to read the trailers should not * return the value but instead throw an exception. */ private var trailers: Headers? = null
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
cmd/os_unix.go
return &buf }, } direntNamePool = bpool.Pool[*[]byte]{ New: func() *[]byte { buf := make([]byte, blockSize) return &buf }, } ) // unexpectedFileMode is a sentinel (and bogus) os.FileMode // value used to represent a syscall.DT_UNKNOWN Dirent.Type. const unexpectedFileMode os.FileMode = os.ModeNamedPipe | os.ModeSocket | os.ModeDevice
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* * @param method defaults to "GET" if [body] is null, and "POST" otherwise. */ constructor( url: HttpUrl, headers: Headers = headersOf(), // '\u0000' is a sentinel value that'll choose based on what the body is: method: String = "\u0000", body: RequestBody? = null, ) : this( Builder() .url(url) .headers(headers) .method( when {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
internal/rest/client.go
// to set the Body to nil. But turns out too much code // depends on NewRequest returning a non-nil Body, // so we use a well-known ReadCloser variable instead // and have the http package also treat that sentinel // variable to mean explicitly zero. if req.GetBody != nil && req.ContentLength == 0 { req.Body = http.NoBody req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil } } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/bufio/scan.go
// Text returns the most recent token generated by a call to [Scanner.Scan] // as a newly allocated string holding its bytes. func (s *Scanner) Text() string { return string(s.token) } // ErrFinalToken is a special sentinel error value. It is intended to be // returned by a Split function to indicate that the scanning should stop // with no error. If the token being delivered with this error is not nil, // the token is the last token. //
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* * <p>Only runs of two or more hextets are considered. In case of a tie, the leftmost run wins. If * a qualifying run is found, its hextets are replaced by the sentinel value -1. * * @param hextets {@code int[]} mutable array of eight 16-bit hextets */ private static void compressLongestRunOfZeroes(int[] hextets) { int bestRunStart = -1; int bestRunLength = -1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), }, time.Unix(0, 3).UTC(), 4, }, { // 3. Tests common time obtained when elements have a mixture of // sentinel values and don't have read quorum on any of the values. []time.Time{ time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 2).UTC(), time.Unix(0, 1).UTC(), time.Unix(0, 3).UTC(),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
src/cmd/api/main_test.go
} else { environ = append(environ, "CGO_ENABLED=0") } return environ } type apiPackage struct { *types.Package Files []*ast.File } // Importing is a sentinel taking the place in Walker.imported // for a package that is in the process of being imported. var importing apiPackage // Import implements types.Importer.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
docs/de/docs/tutorial/server-sent-events.md
Das ist nützlich zum Senden vorformatierter Texte, Logzeilen oder spezieller <dfn title="Ein Wert, der verwendet wird, um eine besondere Bedingung oder einen besonderen Zustand anzuzeigen">„Sentinel“</dfn>-Werte wie `[DONE]`. {* ../../docs_src/server_sent_events/tutorial003_py310.py hl[17] *} /// note | Hinweis
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 5.1K bytes - Click Count (0) -
tensorflow/c/c_api.cc
return nullptr; } else { return ToOperation(iter->second); } } TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos) { if (*pos == 0) { // Advance past the first sentinel nodes in every graph (the source & sink). *pos += 2; } else { // Advance to the next node. *pos += 1; } mutex_lock l(graph->mu);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0)