Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,867 for sample (0.09 sec)

  1. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      // Test for common pitfall regarding sign extension.
      // For example: (long) data[i++] | (long) data[i++] << 8 | ...
      // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80,
      // masking the remaining seven bytes.
      // To test this, we give an input where bit 7 is not cleared. For example:
      // (1) 00 01 02 03 04 05 06 07 80
      // (2) 00 01 02 03 04 05 06 07 81
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
     * </ol>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         * If the {@linkplain #getBaseVersion() base version} contains a meta-version such as {@code SNAPSHOT},
         * those keywords are replaced by, for example, the actual timestamp.
         *
         * @see ArtifactCoordinates#getVersionConstraint()
         */
        @Nonnull
        Version getVersion();
    
        /**
         * {@return the version or meta-version of the artifact}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

      }
    
      // Helper to assert common properties of xml escapers.
      static void assertBasicXmlEscaper(
          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test &amp; test &amp; test", xmlEscaper.escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", xmlEscaper.escape("test << 1"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * certificate is issued to `example.com` and the request is to `localhost`, the connection will
         * fail. Use a custom [HostnameVerifier] to ignore such problems.
         *
         * Other TLS features are still used but provide no security benefits in absence of the above
         * gaps. For example, an insecure TLS connection is capable of negotiating HTTP/2 with ALPN and
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. docs_src/security/tutorial002_an_py310.py

        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="john@example.com", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 761 bytes
    - Viewed (0)
  7. cmd/testdata/invalid_test_key.pub

    2mnFz/MnrKJTECN3Fy0GPCCQ5dxmG8p8DyMiNl7JYkX2r3XYgxmioCzkcg8fDs5p0CaQcipu+MA7iK7APKq7v4Zr/wNltXHI3DE9S8J88Hxb2FZAyEhCRfcgGmCVfoZxVNCRHNkGYzfe63BkxtnseUCzpYEhKv02H5u9rjFpdMY37kDfHDVqBbgutdMij+tQAEp1kyqi6TQL+4XHjPHkLaeekW07yB+VI90dK1A9dzTpOvE= liza@example.io...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 569 bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Indicates when the dependency will be used.
     * For example, it may be at compile time only, at runtime, or at test time.
     * For a given dependency, the scope is directly derived from the
     * {@link org.apache.maven.api.model.Dependency#getScope()} and will be used when using {@link PathScope}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/extending-openapi.md

    ///
    
    ## Overriding the defaults
    
    Using the information above, you can use the same utility function to generate the OpenAPI schema and override each part that you need.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms.md

    ```
    
    ////
    
    For example, in one of the ways the OAuth2 specification can be used (called "password flow") it is required to send a `username` and `password` as form fields.
    
    The <abbr title="specification">spec</abbr> requires the fields to be exactly named `username` and `password`, and to be sent as form fields, not JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top