- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 1,164 for ToOperation (0.31 seconds)
-
docs/zh-hant/docs/tutorial/request-files.md
`File` 是直接繼承自 `Form` 的類別。 但請記住,當你從 `fastapi` 匯入 `Query`、`Path`、`File` 等時,它們其實是回傳特殊類別的函式。 /// /// tip 要宣告檔案本文,必須使用 `File`,否則參數會被解讀為查詢參數或本文(JSON)參數。 /// 檔案會以「表單資料」上傳。 如果你將路徑操作函式(path operation function)的參數型別宣告為 `bytes`,**FastAPI** 會替你讀取檔案,你會以 `bytes` 取得內容。 請注意,這表示整個內容會存放在記憶體中,適合小檔案。 但在許多情況下,使用 `UploadFile` 會更好。 ## 使用 `UploadFile` 的檔案參數 { #file-parameters-with-uploadfile } 將檔案參數型別設為 `UploadFile`: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) -
cmd/kms-handlers.go
writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL) return } kmsContext := kms.Context{"MinIO admin API": "KMSKeyStatusHandler"} // Context for a test key operation // 1. Generate a new key using the KMS. key, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{Name: keyID, AssociatedData: kmsContext}) if err != nil { response.EncryptionErr = err.Error()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 10.1K bytes - Click Count (0) -
src/archive/tar/writer_test.go
case testClose: err := tw.Close() if !equalError(err, tf.wantErr) { t.Fatalf("test %d, Close() = %v, want %v", i, err, tf.wantErr) } default: t.Fatalf("test %d, unknown test operation: %T", i, tf) } } if v.file != "" { path := v.file if v.obscured { tf, err := obscuretestdata.DecodeToTempFile(path) if err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
status->status = tensorflow::errors::InvalidArgument( "Got a null or uninitialized `op` argument"); return; } tensorflow::EagerOperation* operation = OperationFromInterface(tensorflow::unwrap(const_cast<TFE_Op*>(op))); operation->MutableAttrs()->Set(attr_name, attr_value); } TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName } } catch (_: UnsupportedOperationException) { // UnsupportedOperationException – if the underlying provider does not implement the operation // https://github.com/bcgit/bc-java/issues/1773 listOf() } } @Throws(IOException::class) open fun connectSocket( socket: Socket, address: InetSocketAddress,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
import okio.ByteString /** * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create * instances; usually this is [OkHttpClient]. * * ## Web Socket Lifecycle * * Upon normal operation each web socket progresses through a sequence of states: * * * **Connecting:** the initial state of each web socket. Messages may be enqueued but they won't * be transmitted until the web socket is open. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
return invertedMultimap; } /** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final ImmutableList<V> removeAll(@Nullable Object key) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Queues.java
return added; } /** * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a * different behavior in case it is interrupted while waiting. In that case, the operation will * continue as usual, and in the end the thread's interruption status will be set (no {@code * InterruptedException} is thrown). * * @param q the blocking queue to be drainedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18.2K bytes - Click Count (0) -
docs/bucket/replication/README.md
The replication configuration in use on a bucket can be viewed using the `mc replicate export alias/bucket` command.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
* * @param input the image input stream containing the source image data * @param outputFile the file where the processed thumbnail will be saved * @return the result of the image processing operation * @throws IOException if an error occurs during image reading or writing operations */ protected Result saveImage(final ImageInputStream input, final File outputFile) throws IOException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (0)