Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1691 - 1700 of 2,060 for must (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *
       * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
       */
      open fun isDuplex(): Boolean = commonIsDuplex()
    
      /**
       * Returns true if this body expects at most one call to [writeTo] and can be transmitted
       * at most once. This is typically used when writing the request body is destructive and it is not
       * possible to recreate the request body after it has been sent.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionSerializationTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserialize() {
        // For a bare Collection, the most we can guarantee is that the elements are preserved.
        assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/Platform.java

      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
            protected char[] initialValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    package com.google.common.base;
    
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.caliper.Benchmark;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. docs/en/docs/management.md

    Joining the team is by invitation only, and I could update or remove permissions, instructions, or membership.
    
    ## FastAPI Experts
    
    The people that help others the most in GitHub Discussions can become [**FastAPI Experts**](./fastapi-people.md#fastapi-experts){.internal-link target=_blank}.
    
    This is normally the best way to contribute to the project.
    
    ## External Contributions
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/using-request-directly.md

    /// note | "Technical Details"
    
    You could also use `from starlette.requests import Request`.
    
    **FastAPI** provides it directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-form-models.md

    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note
    
    This is supported since FastAPI version `0.113.0`. 🤓
    
    ///
    
    ## Pydantic Models for Forms
    
    You just need to declare a **Pydantic model** with the fields you want to receive as **form fields**, and then declare the parameter as `Form`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9-11  15"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    import com.google.common.testing.GcFinalization;
    import java.io.File;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/cni-watcher_test.go

    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		mock.IsType(pod),
    		util.GetPodIPsIfPresent(pod),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          isDone = true;
          h1 ^= mixK1((int) buffer);
          return fmix(h1, length);
        }
      }
    
      private static long codePointToFourUtf8Bytes(int codePoint) {
        // codePoint has at most 21 bits
        return ((0xFL << 4) | (codePoint >>> 18))
            | ((0x80L | (0x3F & (codePoint >>> 12))) << 8)
            | ((0x80L | (0x3F & (codePoint >>> 6))) << 16)
            | ((0x80L | (0x3F & codePoint)) << 24);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top