Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 502 for corrupt (0.04 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

    @ExtendWith(MockitoExtension.class)
    public class SmbCopyUtilTest {
    
        // --- Tests for openCopyTargetFile ---
    
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("openCopyTargetFile sets correct access flags depending on alsoRead")
        void openCopyTargetFile_accessMask_respectsAlsoRead(boolean alsoRead) throws Exception {
            // Arrange
            SmbFile dest = mock(SmbFile.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport).ensureConnected();
        }
    
        // Happy path: getDfsReferrals returns referral, verify arguments captured
        @Test
        @DisplayName("getDfsReferrals returns data and receives correct args")
        void getDfsReferrals_happy() throws Exception {
            when(transport.getDfsReferrals(any(), any(), any(), any(), anyInt())).thenReturn(referral);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    		},
    		// Corrupted Base 64 result
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusBadRequest,
    			accessKey:          credentials.AccessKey,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
            int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. cmd/storage-interface.go

    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            preauthService.updatePreauthHash(sessionId, "Message2".getBytes());
    
            byte[] expectedHash = preauthService.getCurrentPreauthHash(sessionId);
    
            // Validation should pass with correct hash
            assertTrue(preauthService.validatePreauthIntegrity(sessionId, expectedHash));
    
            // Validation should fail with incorrect hash
            byte[] incorrectHash = new byte[expectedHash.length];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Pydantic has an official <a href="https://docs.pydantic.dev/latest/migration/" class="external-link" target="_blank">Migration Guide</a> from v1 to v2.
    
    It also includes what has changed, how validations are now more correct and strict, possible caveats, etc.
    
    You can read it to understand better what has changed.
    
    ## Tests { #tests }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

     * code, running tests, packaging the project, and deploying it. Executing a phase
     * triggers all preceding phases, ensuring that each step of the build process is
     * completed in the correct order. The three main lifecycles in Maven are
     * {@link #DEFAULT default}, {@link #CLEAN clean}, and {@link #SITE site}, with the
     * {@code default} lifecycle being the most commonly used for project builds.
     *
     * @since 4.0.0
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

        }
    
        protected PromptBuilder confirmPrompt(PromptBuilder promptBuilder) {
            promptBuilder
                    .createConfirmPromp()
                    .name("confirm")
                    .message("Are values above correct?")
                    .defaultValue(ConfirmChoice.ConfirmationValue.YES)
                    .addPrompt();
            return promptBuilder;
        }
    
        protected PromptBuilder dispatcherPrompt(PromptBuilder promptBuilder) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            String currentRelativePath =
                    relativePathElement != null ? relativePathElement.textContent().trim() : DEFAULT_PARENT_RELATIVE_PATH;
    
            // Try to find the correct parent POM
            String parentGroupId = parentElement.childText(MavenPomElements.Elements.GROUP_ID);
            String parentArtifactId = parentElement.childText(MavenPomElements.Elements.ARTIFACT_ID);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top