Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 132 for tryFind (0.09 sec)

  1. docs/en/docs/advanced/security/http-basic-auth.md

        ...
    ```
    
    But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks".
    
    ### Timing Attacks
    
    But what's a "timing attack"?
    
    Let's imagine some attackers are trying to guess the username and password.
    
    And they send a request with a username `johndoe` and a password `love123`.
    
    Then the Python code in your application would be equivalent to something like:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/cors.md

    Even if they are all in `localhost`, they use different protocols or ports, so, they are different "origins".
    
    ## Steps
    
    So, let's say you have a frontend running in your browser at `http://localhost:8080`, and its JavaScript is trying to communicate with a backend running at `http://localhost` (because we don't specify a port, the browser will assume the default port `80`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Hexdump.java

            }
            return new String( c );
        }
    
    /** 
     * This is the same as {@link jcifs.smb1.util.Hexdump#toHexString(int val, int
     * size)} but provides a more practical form when trying to avoid {@link
     * java.lang.String} concatenation and {@link java.lang.StringBuffer}.
     */ 
        public static void toHexChars( int val, char dst[], int dstIndex, int size ) {
            while( size > 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
        // Look for known client-side or negotiation errors that are unlikely to be fixed by trying
        // again with a different route.
        if (e is SSLHandshakeException) {
          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
          if (e.cause is CertificateException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ////
    
    /// info
    
    FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
    If you have an older version, you would get errors when trying to use `Annotated`.
    
    Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device.cc

                                           TFE_TensorHandle* tensor,
                                           TF_Status* status, void* device_info) {
      TF_SetStatus(
          status, TF_UNIMPLEMENTED,
          absl::StrCat("Trying to copy a tensor ",
                       tensorflow::unwrap(tensor)->DebugString(),
                       " on to a parallel device. Pack non-parallel "
                       "tensors for each device into a parallel tensor explicitly.")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. .github/workflows/update-rbe.yml

              # the end of the line.
              # See https://cloud.google.com/architecture/using-container-images#exploring_image_manifests_digests_and_tags
              echo -n "Trying to map name $1 to tag $2... "
              digest=$(curl -s --head "https://gcr.io/v2/tensorflow-sigs/build/manifests/$2" | egrep -o "sha256:[[:alnum:]]*")
              # Find the line matching the regex "sigbuild-r2.9" (with quotes) and
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testAssignableParameterizedTypeToClass() {
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<List> tokL = new TypeToken<List>() {};
        assertTrue(tokL.isSupertypeOf(StringList.class));
        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

                update(3, charToThreeUtf8Bytes(c));
              } else {
                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/custom_device_testutil.cc

                                                  TF_Status* status,
                                                  void* device_info) {
      TF_SetStatus(status, TF_INTERNAL,
                   "Trying to copy a tensor out of a logging device.");
      return nullptr;
    }
    
    void LoggingDeviceExecute(const TFE_Op* original_op, int* num_outputs,
                              TFE_TensorHandle** outputs, TF_Status* s,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Mar 03 20:47:31 UTC 2021
    - 8.3K bytes
    - Viewed (0)
Back to top