Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,195 for know (0.06 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:125,129:135,140,156] *}
    
    Now let's review those changes step by step.
    
    ## OAuth2 Security scheme
    
    The first change is that now we are declaring the OAuth2 security scheme with two available scopes, `me` and `items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    				locksFailed++
    				if locksFailed > tolerance {
    					// We know that we are not going to get the lock anymore,
    					// so exit out and release any locks that did get acquired
    					done = true
    				}
    			}
    		case <-ctx.Done():
    			// Capture timedout locks as failed or took too long
    			locksFailed++
    			if locksFailed > tolerance {
    				// We know that we are not going to get the lock anymore,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    //
    // That is, have we annotated it after successfully sending it to the node proxy and set up iptables rules.
    //
    // If you just want to know if the pod _should be_ configured for traffic redirection, see PodRedirectionEnabled
    func PodRedirectionActive(pod *corev1.Pod) bool {
    	return pod.GetAnnotations()[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    
    /**
     * This prints events for a single in-flight call. It won't work for multiple concurrent calls
     * because we don't know what callStartNanos refers to.
     */
    public final class PrintEventsNonConcurrent {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .eventListener(new PrintingEventListener())
          .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

        private boolean insecureBasic;
    
        private String realm;
    
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 10min.
             */
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "300000" );
            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "600" );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. fastapi/security/oauth2.py

        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
        know that that it is application specific, it's not part of the specification.
        """
    
        def __init__(
            self,
            *,
            grant_type: Annotated[
                Union[str, None],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/background-tasks.md

    ## Create a task function
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

    private val QUOTED_STRING_DELIMITERS = "\"\\".encodeUtf8()
    private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8()
    
    /**
     * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to
     * interpret a token.
     *
     * For example, the first line has a parameter name/value pair and the second line has a single
     * token68:
     *
     * ```
     * WWW-Authenticate: Digest foo=bar
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. RELEASE_BRANCHES.md

    * All code merged in after the feature freeze must have an associated GitHub issue and a release note (exception for
      unit and integration test changes).
        * The release managers may not know of all the features being worked on for an Istio release. Developers must
          make their case as to why their PR should be merged.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 16 21:14:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
      public void testAwaitFullGc() {
        final CountDownLatch finalizerRan = new CountDownLatch(1);
        final WeakReference<Object> ref =
            new WeakReference<Object>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top