- Sort Score
- Num 10 results
- Language All
Results 1881 - 1890 of 2,977 for toType (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/grid/handlers_string.go
// Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT. package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[handlerInvalid-0] _ = x[HandlerLockLock-1] _ = x[HandlerLockRLock-2] _ = x[HandlerLockUnlock-3]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Dec 12 05:50:57 GMT 2024 - 4.4K bytes - Click Count (0) -
internal/ioutil/hardlimitreader.go
// A HardLimitedReader reads from R but limits the amount of // data returned to just N bytes. Each call to Read // updates N to reflect the new amount remaining. // Read returns EOF when N <= 0 or when the underlying R returns EOF. type HardLimitedReader struct { R io.Reader // underlying reader N int64 // max bytes remaining } func (l *HardLimitedReader) Read(p []byte) (n int, err error) { if l.N < 0 { return 0, ErrOverread }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2K bytes - Click Count (0) -
internal/s3select/csv/recordtransform.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package csv import ( "bytes" "io" ) // recordTransform will convert records to always have newline records. type recordTransform struct { reader io.Reader // recordDelimiter can be up to 2 characters. recordDelimiter []byte oneByte []byte useOneByte bool }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java
if (value instanceof Hc4Authentication[]) { return convertFromHc4Authentication((Hc4Authentication[]) value); } logger.warn("Unknown authentication type: type={}", value.getClass().getName()); return new Hc5Authentication[0]; } /** * Converts WebAuthenticationConfig array to Hc5Authentication array. *
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Jan 31 12:23:29 GMT 2026 - 62.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/response-model.md
因此,FastAPI 會負責(透過 Pydantic)過濾掉輸出模型中未宣告的所有資料。 ### `response_model` 或回傳型別 { #response-model-or-return-type } 在這種情況下,因為兩個模型不同,如果我們把函式回傳型別註解為 `UserOut`,編輯器和工具會抱怨我們回傳了無效的型別,因為它們是不同的類別。 這就是為什麼在這個例子中我們必須在 `response_model` 參數中宣告它。 ...但繼續往下讀看看如何克服這個問題。 ## 回傳型別與資料過濾 { #return-type-and-data-filtering } 讓我們延續前一個範例。我們想要用一種型別來註解函式,但實際上希望能夠從函式回傳包含更多資料的內容。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.5K bytes - Click Count (0) -
src/archive/tar/tar_test.go
"os" "path" "path/filepath" "reflect" "slices" "strings" "testing" "time" ) type testError struct{ error } type fileOps []any // []T where T is (string | int64) // testFile is an io.ReadWriteSeeker where the IO operations performed // on it must match the list of operations in ops. type testFile struct { ops fileOps pos int64 } func (f *testFile) Read(b []byte) (int, error) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
* * @return this CurlRequest instance */ public CurlRequest gzip() { return compression(GZIP); } /** * Sets the compression type for the request. * * @param compression the compression type * @return this CurlRequest instance */ public CurlRequest compression(final String compression) { this.compression = compression; return this;Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
The username and password parameters to `Credentials.basic()` are now non-null strings. In OkHttp 3.x, null would yield a username or password of "null". #### HttpUrl.queryParameterValues() The return type of `HttpUrl.queryParameterValues()` is `List<String?>`. Lists that may contain null are uncommon and Kotlin callers may have incorrectly assigned the result to `List<String>`. Code Cleanup ------------
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-files.md
### `UploadFile` { #uploadfile } `UploadFile` 具有以下屬性: * `filename`:一個 `str`,為上傳的原始檔名(例如 `myimage.jpg`)。 * `content_type`:一個 `str`,為內容類型(MIME type / media type)(例如 `image/jpeg`)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.6K bytes - Click Count (0) -
src/bytes/bytes_test.go
defer func() { if r := recover(); r != nil { switch v := r.(type) { case error: err = v default: err = fmt.Errorf("%s", v) } } }() Repeat(b, count) return } // See Issue golang.org/issue/16237 func TestRepeatCatchesOverflow(t *testing.T) { type testCase struct { s string count int errStr string }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)