Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for Patrick (0.26 sec)

  1. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Unittests for {@link CycleDetectingLockFactory}.
     *
     * @author Darick Tong
     */
    public class CycleDetectingLockFactoryTest extends TestCase {
    
      private ReentrantLock lockA;
      private ReentrantLock lockB;
      private ReentrantLock lockC;
      private ReentrantReadWriteLock.ReadLock readLockA;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/path-operation-advanced-configuration.md

    Nevertheless, we can declare the expected schema for the request body.
    
    ### Custom OpenAPI content type
    
    Using this same trick, you could use a Pydantic model to define the JSON Schema that is then included in the custom OpenAPI schema section for the *path operation*.
    
    And you could do this even if the data type in the request is not JSON.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Dennoch können wir das zu erwartende Schema für den Requestbody deklarieren.
    
    ### Benutzerdefinierter OpenAPI-Content-Type
    
    Mit demselben Trick könnten Sie ein Pydantic-Modell verwenden, um das JSON-Schema zu definieren, das dann im benutzerdefinierten Abschnitt des OpenAPI-Schemas für die *Pfadoperation* enthalten ist.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:27:23 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * by Kadatch and Jenkins, 2010.
         */
    
        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```
    
    ## Order the parameters as you need, tricks
    
    !!! tip
        This is probably not as important or necessary if you use `Annotated`.
    
    Here's a **small trick** that can be handy, but you won't need it often.
    
    If you want to:
    
    * declare the `q` query parameter without a `Query` nor any default value
    * declare the path parameter `item_id` using `Path`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
                int indexOfEntryWithValue(V value) {
                  for (int i = 0; i < orderedEntries.size(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        // an SSL context for an attacking webserver. It includes both these rogue certificates plus the
        // trusted good certificate above. The attack is that by including the good certificate in the
        // chain, we may trick the certificate pinner into accepting the rouge certificate.
        val compromisedIntermediateCa =
          HeldCertificate.Builder()
            .signedBy(rootCa)
            .certificateAuthority(0)
            .serialNumber(4L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
       * Mitzenmacher. The paper argues that this trick doesn't significantly deteriorate the
       * performance of a Bloom filter (yet only needs two 32bit hash functions).
       */
      MURMUR128_MITZ_32() {
        @Override
        public <T extends @Nullable Object> boolean put(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    !!! tip
        This is just standard Python, it's called a "type alias", it's actually not specific to **FastAPI**.
    
        But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. CREDITS

    *
    * Designed and built with all the love in the world @twitter by @mdo and @fat.
    
    ---------------------------------------------------
    For t_cl_generator.cc
    
     * Copyright (c) 2008- Patrick Collison <patrick@collison.ie>
     * Copyright (c) 2006- Facebook
    
    ---------------------------------------------------
    
    ================================================================
    
    github.com/armon/go-metrics
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top