Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 925 for sampla (0.06 sec)

  1. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        // See Dispatcher.LegacyAsyncDispatcher for an explanation of why there aren't really any
        // useful testable guarantees about the behavior of that dispatcher in a multithreaded
        // environment. Here we simply test that all the expected dispatches happened in some order.
        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
      public void testImmediateDispatcher() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
     * @author Ben Yu
     * @since 13.0
     */
    @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap")
    public interface TypeToInstanceMap<B extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

        return result;
      }
    
      public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> {
        @Override
        public SampleElements<Double> samples() {
          return new SampleDoubles();
        }
    
        @Override
        public List<Double> create(Object... elements) {
          Double[] array = new Double[elements.length];
          int i = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
     * @author Ben Yu
     * @since 13.0
     */
    @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap")
    public interface TypeToInstanceMap<B extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        // or we can just check for the prefix and suffix.
        // For this test, I'll add a helper in the response class to get super.toString()
        // Or, more simply, check the format of the string.
        @Test
        void testToStringFormat() {
            String str = response.toString();
            assert (str.startsWith("TransTransactNamedPipeResponse["));
            assert (str.endsWith("]"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/middleware.md

    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Pero FastAPI (en realidad Starlette) proporciona una forma más simple de hacerlo que asegura que los middlewares internos manejen errores del servidor y los controladores de excepciones personalizadas funcionen correctamente.
    
    Para eso, usas `app.add_middleware()` (como en el ejemplo para CORS).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        private development environments that only carry test data. Prefer this over creating an
        all-trusting `TrustManager` because only hosts on the allowlist are insecure. From
        [our DevServer sample][dev_server]:
    
        ```kotlin
        val clientCertificates = HandshakeCertificates.Builder()
            .addPlatformTrustedCertificates()
            .addInsecureHost("localhost")
            .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
      }
    
      abstract static class TestEntriesGenerator
          implements TestCollectionGenerator<Entry<String, Integer>> {
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              immutableEntry("bar", 1),
              immutableEntry("bar", 2),
              immutableEntry("foo", 3),
              immutableEntry("bar", 3),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/testing-dependencies.md

    ### Usa el atributo `app.dependency_overrides`
    
    Para estos casos, tu aplicación **FastAPI** tiene un atributo `app.dependency_overrides`, es un simple `dict`.
    
    Para sobrescribir una dependencia para las pruebas, colocas como clave la dependencia original (una función), y como valor, tu dependencia para sobreescribir (otra función).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. ci/official/utilities/setup_docker.sh

    # limitations under the License.
    # ==============================================================================
    if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then
      # Simple retry logic for docker-pull errors. Sleeps if a pull fails.
      # Pulling an already-pulled container image will finish instantly, so
      # repeating the command costs nothing.
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top