Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for behaves (0.09 sec)

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

    import com.google.common.collect.Lists;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. tests/test_inherited_custom_class.py

        def __class__(self):
            return uuid.UUID
    
        @property
        def __dict__(self):
            """Spoof a missing __dict__ by raising TypeError, this is how
            asyncpg.pgroto.pgproto.UUID behaves"""
            raise TypeError("vars() argument must have __dict__ attribute")
    
    
    def test_pydanticv2():
        from pydantic import field_serializer
    
        app = FastAPI()
    
        @app.get("/fast_uuid")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

                    "false");
    
            assertFalse(Features.deployBuildPom(properties));
        }
    
        @Test
        void testConsistencyWithOtherFeatureMethodsFalse() {
            // Test that deployBuildPom behaves consistently with other feature methods when false
            Map<String, Object> properties = Map.of(
                    Constants.MAVEN_DEPLOY_BUILD_POM, "false",
                    Constants.MAVEN_CONSUMER_POM, "false");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Supplier.java

       * <i>May</i> return {@code true} if {@code object} is a {@code Supplier} that behaves identically
       * to this supplier.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Supplier} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Supplier} instances would in fact behave
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * {@snippet :
     * List<String> expectedElements =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Function.java

       * <i>May</i> return {@code true} if {@code obj} is a {@code Function} that behaves identically to
       * this function.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Function} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Function} instances would in fact behave
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/PatternCompiler.java

          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
       */
      @RestrictedApi(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/PatternCompiler.java

          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
       */
      @RestrictedApi(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        return construct(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
       * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it
       * behaves exactly as {@code copyOf(elements.iterator()}.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/BaseEncoding.java

      /**
       * Returns an encoding that behaves equivalently to this encoding, but omits any padding
       * characters as specified by <a href="http://tools.ietf.org/html/rfc4648#section-3.2">RFC 4648
       * section 3.2</a>, Padding of Encoded Data.
       */
      public abstract BaseEncoding omitPadding();
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but uses an alternate character
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
Back to top