Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 155 for behaves (0.04 seconds)

  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";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. 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");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 19:42:23 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. cmd/erasure-metadata-utils.go

    	return quorumErr
    }
    
    // reduceReadQuorumErrs behaves like reduceErrs but only for returning
    // values of maximally occurring errors validated against readQuorum.
    func reduceReadQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, readQuorum int) (maxErr error) {
    	return reduceQuorumErrs(ctx, errs, ignoredErrs, readQuorum, errErasureReadQuorum)
    }
    
    // reduceWriteQuorumErrs behaves like reduceErrs but only for returning
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. 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")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 934 bytes
    - Click Count (0)
  6. ci/official/requirements_updater/README.md

    ## Managing hermetic Python
    
    To make sure that TensorFlow's build is reproducible, behaves uniformly across
    supported platforms (Linux, Windows, MacOS) and is properly isolated from
    specifics of a local system, we rely on hermetic Python (see
    [rules_python](https://github.com/bazelbuild/rules_python)) for all build
    and test commands executed via Bazel. This means that your system Python
    installation will be ignored during the build and Python interpreter itself
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Jun 29 00:19:18 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top