Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 965 for functions (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/response-headers.md

    # 回應標頭 { #response-headers }
    
    ## 使用 `Response` 參數 { #use-a-response-parameter }
    
    你可以在你的*路徑操作函式(path operation function)*中宣告一個 `Response` 型別的參數(就像處理 Cookie 一樣)。
    
    然後你可以在那個*暫時性的* `Response` 物件上設定標頭。
    
    {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}
    
    接著你可以像平常一樣回傳任何你需要的物件(`dict`、資料庫模型等)。
    
    如果你宣告了 `response_model`,它仍會用來過濾並轉換你回傳的物件。
    
    FastAPI 會使用那個暫時性的回應來擷取標頭(還有 Cookie 與狀態碼),並把它們放到最終回應中;最終回應包含你回傳的值,且會依任何 `response_model` 進行過濾。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantShellTask.java

    import org.gradle.api.DefaultTask;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.TaskAction;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.function.UnaryOperator;
    import java.util.stream.Collectors;
    
    import static org.elasticsearch.gradle.internal.vagrant.VagrantMachine.convertLinuxPath;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.3K bytes
    - Click Count (0)
  3. internal/amztime/iso8601_time.go

    	iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision.
    )
    
    // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec.
    //
    // This function is needed to avoid a Go's float64 precision bug, where Go avoids
    // padding the extra '0' before the timezone.
    func ISO8601Format(t time.Time) string {
    	value := t.Format(iso8601TimeFormat)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedWith;
    import java.util.function.BiConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMap} with exactly one entry.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnenc.goals;
    
    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.apache.maven.cling.invoker.mvnenc.EncryptContext;
    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/extra-data-types.md

    ## Example { #example }
    
    Here's an example *path operation* with parameters using some of the above types.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Note that the parameters inside the function have their natural data type, and you can, for example, perform normal date manipulations, like:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. internal/config/help.go

    			Optional:    true,
    		},
    		HelpKV{
    			Key:         Comment,
    			Type:        "sentence",
    			Description: DefaultComment,
    			Optional:    true,
    		},
    	}
    )
    
    // DefaultHelpPostfix - Helper function to add (default: $value) messages in config help
    func DefaultHelpPostfix(subsystem KVS, key string) string {
    	val, found := subsystem.Lookup(key)
    	if !found || val == "" {
    		return ""
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JavaClassPublicifier.java

    import org.objectweb.asm.tree.InnerClassNode;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.util.List;
    import java.util.function.Consumer;
    
    import static org.objectweb.asm.Opcodes.ACC_PRIVATE;
    import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
    
    /**
     * A task to manipulate an existing class file.
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

        NtTransQuerySecurityDesc(final int fid, final int securityInformation) {
            this.fid = fid;
            this.securityInformation = securityInformation;
            command = SMB_COM_NT_TRANSACT;
            function = NT_TRANSACT_QUERY_SECURITY_DESC;
            setupCount = 0;
            totalDataCount = 0;
            maxParameterCount = 4;
            maxDataCount = 32768;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli;
    
    import java.util.function.UnaryOperator;
    
    import com.google.inject.Binder;
    import com.google.inject.Module;
    import com.google.inject.name.Names;
    import org.apache.maven.api.services.Interpolator;
    import org.apache.maven.api.xml.XmlNode;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top