Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 933 for behaviour (0.5 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } else {
          assertThrows(UnsupportedOperationException.class, map::clear);
        }
        assertInvariants(map);
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      public void testContainsKey() {
        Map<K, V> map;
        K unmappedKey;
        try {
          map = makePopulatedMap();
          unmappedKey = getKeyNotInPopulatedMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

     * The service for access token.
     */
    public class AccessTokenService {
    
        /**
         * Default constructor.
         */
        public AccessTokenService() {
            // nothing
        }
    
        /**
         * The behavior of access token.
         */
        @Resource
        protected AccessTokenBhv accessTokenBhv;
    
        /**
         * The Fess configuration.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

         * This constructor is used by the DI container to create an instance of the service.
         */
        public RelatedQueryService() {
            super();
        }
    
        /**
         * Behavior class for accessing related query data in the database.
         * This provides database operations for RelatedQuery entities.
         */
        @Resource
        protected RelatedQueryBhv relatedQueryBhv;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/MapIteratorCache.java

     *
     * @author James Sexton
     */
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
       * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after
       * the entry was returned by the iterator, except through the setValue operation on the map entry"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Collections;
    import java.util.Iterator;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            // Act & Assert: attempting to call any method on null should throw NPE
            Assertions.assertThrows(NullPointerException.class, () -> {
                // Intentionally dereference null to validate exception behavior
                // This checks that callers must handle null references defensively
                info.getSize();
            });
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

                    || FAIL_NEVER.equals(failureBehavior)) {
                this.failureBehavior = failureBehavior;
            } else {
                throw new IllegalArgumentException("Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '"
                        + FAIL_AT_END + "', '" + FAIL_NEVER + "').");
            }
        }
    
        public String getFailureBehavior() {
            return failureBehavior;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Closer.java

     * {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's
     * <a href="https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html"
     * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be
     * approximately equivalent in behavior to the same code written with try-with-resources.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/PathValidatorTest.java

            // This test validates that paths which should be UNC but aren't detected due to normalization
            // still pass validation (which is the current behavior, though not ideal)
    
            // These paths normalize to \server\share which is NOT detected as UNC due to normalization
            String normalizedPath = noUncValidator.validatePath("\\\\\\\\server\\\\\\\\share");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Adds the given source to the given project.
         * If a source already exists for the given scope, language and directory,
         * then the behavior depends on the {@code ProjectManager} implementation.
         * It may do nothing or thrown {@linkplain IllegalArgumentException}.
         *
         * @param project the project to update
         * @param source the source to add
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top