Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for course (0.11 sec)

  1. src/strings/clone.go

    // overuse of Clone can make programs use more memory.
    // Clone should typically be used only rarely, and only when
    // profiling indicates that it is needed.
    // For strings of length zero the string "" will be returned
    // and no allocation is made.
    func Clone(s string) string {
    	return stringslite.Clone(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 809 bytes
    - Viewed (0)
  2. src/syscall/rlimit.go

    // best approach was for Go to raise the limit unconditionally for itself,
    // and then leave old software to set the limit back as needed.
    // Code that really wants Go to leave the limit alone can set the hard limit,
    // which Go of course has no choice but to respect.
    func init() {
    	var lim Rlimit
    	if err := Getrlimit(RLIMIT_NOFILE, &lim); err == nil && lim.Cur != lim.Max {
    		origRlimitNofile.Store(&lim)
    		nlim := lim
    		nlim.Cur = nlim.Max
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-multiple-params.md

    # Body - Multiple Parameters
    
    Now that we have seen how to use `Path` and `Query`, let's see more advanced uses of request body declarations.
    
    ## Mix `Path`, `Query` and body parameters
    
    First, of course, you can mix `Path`, `Query` and request body parameter declarations freely and **FastAPI** will know what to do.
    
    And you can also declare body parameters as optional, by setting the default to `None`:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/os/pidfd_linux.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Support for pidfd was added during the course of a few Linux releases:
    //  v5.1: pidfd_send_signal syscall;
    //  v5.2: CLONE_PIDFD flag for clone syscall;
    //  v5.3: pidfd_open syscall, clone3 syscall;
    //  v5.4: P_PIDFD idtype support for waitid syscall;
    //  v5.6: pidfd_getfd syscall.
    
    package os
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    So, even with the code above that doesn't use Pydantic explicitly, FastAPI is using Pydantic to convert those standard dataclasses to Pydantic's own flavor of dataclasses.
    
    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_fetched_objects_total",
    			Help:           "Number of objects read from watch cache in the course of serving a LIST request",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource_prefix", "index"},
    	)
    	listCacheNumReturned = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/websockets.md

    Or you might have any other way to communicate with the WebSocket endpoint.
    
    ---
    
    But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string.
    
    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    !!! warning
        The supporting additional functions are just to demo a possible flow of the data, but they of course are not providing any real security.
    
    ## Reduce duplication
    
    Reducing code duplication is one of the core ideas in **FastAPI**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. gradlew

    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    # This will of course break if any of these variables contains a newline or
    # an unmatched quote.
    #
    
    eval "set -- $(
            printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
            xargs -n1 |
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/init_scripts.adoc

    ====
    
    This sample uses this feature to configure an additional repository to be used only for specific environments.
    
    [source.multi-language-sample,kotlin]
    ----
    > gradle --init-script init.gradle.kts -q showRepos
    include::{snippetsPath}/initScripts/configurationInjection/tests-common/initScriptConfiguration.out[]
    ----
    [source.multi-language-sample,groovy]
    ----
    > gradle --init-script init.gradle -q showRepos
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top