Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 751 for behaviour (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. docs/bucket/versioning/README.md

    versioning with [object lifecycle management](https://github.com/minio/minio/blob/master/docs/bucket/lifecycle/README.md).  If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when on versioning-enabled bucket, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the versioning-enabled bucket. (A version-enabled bucket maintains...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
        }
    
        @Test
        @DisplayName("Test getBatchLimit with custom implementation")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
            lenient().when(mockSmbNamedPipe.openPipe()).thenReturn(mockSmbPipeHandle);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Act
            long value = (long) f.get(null);
    
            // Assert
            assertEquals(2283323396289696982L, value, "serialVersionUID should be stable");
        }
    
        // Behavior check: toString contains class name and message when present
        @Test
        @DisplayName("toString contains class name and message when provided")
        void toString_containsClassName_and_Message() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An executor service which forwards all its method calls to another executor service. Subclasses
     * should override one or more methods to modify the behavior of the backing executor service as
     * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // Apply dependency inference
                UpgradeContext context = createMockContext();
                strategy.doApply(context, pomMap);
    
                // Verify correct behavior when version doesn't match:
                // - groupId should be removed (can be inferred from project regardless of version)
                // - version should remain (doesn't match project version, so can't be inferred)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * whether nulls were to be permitted or forbidden, but presumably the eventual fix will be to
       * permit them, as it seems more likely that code would depend on that behavior than on the other.
       * Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top