Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 479 for corrupt (0.14 sec)

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

            assertTrue(ex.getMessage().contains("failed"));
            verify(session).treeConnectLogon();
        }
    
        // Happy path: getSmbTree returns a tree and receives correct args
        @Test
        @DisplayName("getSmbTree returns tree and captures arguments")
        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    **FastAPI** will make sure that the "exit code" in each dependency with `yield` is run in the correct order.
    
    For example, `dependency_c` can have a dependency on `dependency_b`, and `dependency_b` on `dependency_a`:
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    And all of them can use `yield`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
                assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position");
            }
    
            @Test
            @DisplayName("findUNITermination should throw exception when termination not found")
            void testFindUNITerminationNotFound() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. cmd/signature-v2_test.go

    		{
    			authString:    "NoV2Prefix",
    			expectedError: ErrSignatureVersionNotSupported,
    		},
    		// Test case - 3.
    		// Test case with missing parts in the Auth string.
    		// below is the correct format of V2 Authorization header.
    		// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    		{
    			authString:    signV2Algorithm,
    			expectedError: ErrMissingFields,
    		},
    		// Test case - 4.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dtyp/ACE.java

     *
     * the access check would fail because the direct ACE has an access mask
     * of <code>0x001200A9</code> which doesn't have the
     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            // Act
            SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
    
            // Assert
            assertNotNull(handle);
            // Verify sendrecv was called once with the correct RPC message
            verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture());
            MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue();
            assertNotNull(capturedRpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertEquals(0, stackTrace.length);
        }
    
        public void test_serialization() {
            // Test that the exception has correct serialVersionUID
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top