Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 502 for corrupt (0.14 sec)

  1. src/test/java/jcifs/util/transport/RequestTest.java

        void testSetRequestCredits() {
            // Test case for setRequestCredits method
            int credits = 5;
            mockRequest.setRequestCredits(credits);
    
            // Verify that setRequestCredits was called with the correct argument
            verify(mockRequest, times(1)).setRequestCredits(credits);
        }
    
        @Test
        void testIsCancelTrue() {
            // Test case for isCancel method when it returns true
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            request = new Smb2TreeConnectRequest(mockConfig, TEST_PATH);
        }
    
        @Test
        @DisplayName("Should create request with correct command type and path")
        void testConstructorSetsCorrectCommandAndPath() throws Exception {
            // Given & When
            String path = "\\\\testserver\\testshare";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

         * else a dependency collection request will be done.
         *
         * @return the id of the path scope
         */
        String pathScope() default "";
    
        /**
         * The request type, in case the default one is not correct.
         * Valid values are {@code collect}, {@code flatten}, or {@code resolve}.
         *
         * @return the request type
         */
        String requestType() default "";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. docs/ru/llm-prompt.md

    Translate to Russian (русский язык).
    
    Language code: ru.
    
    ---
    
    Use a neutral tone (not overly formal or informal).
    
    Use correct Russian grammar — appropriate cases, suffixes, and endings depending on context.
    
    For the following technical terms, use these specific translations to ensure consistency and clarity across the documentation:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Oct 06 11:09:58 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. 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)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         * @throws PACDecodingException if the PAC decoding fails.
         */
        @Test
        void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
            // A byte array with a length less than 32 should be correct.
            byte[] validData = new byte[31];
            PacCredentialType pacCredentialType = new PacCredentialType(validData);
            assertTrue(pacCredentialType.isCredentialTypeCorrect());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    ///
    
    Whenever a new request arrives, **FastAPI** will take care of:
    
    * Calling your dependency ("dependable") function with the correct parameters.
    * Get the result from your function.
    * Assign that result to the parameter in your *path operation function*.
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. cmd/xl-storage_unix_test.go

    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    	// Verify if umask is correct.
    	if int(currentUmask) != testCase.expectedUmask {
    		t.Fatalf("Umask check failed expected %d, got %d", testCase.expectedUmask, currentUmask)
    	}
    }
    
    // Tests if the file creations happen with proper umask.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        }
    
        @Test
        @DisplayName("Test decode reads correct number of bytes")
        void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
    
            // Fill with pattern to verify we read correct bytes
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i + 1);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseKey Tests")
    class Smb2LeaseKeyTest {
    
        @Test
        @DisplayName("Should generate random lease key with correct size")
        void testRandomLeaseKeyGeneration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    
            assertNotNull(key.getKey());
            assertEquals(16, key.getKey().length);
            assertFalse(key.isZero());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top