Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,214 for correct (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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            } catch (final Exception e) {
                throw new CrawlingAccessException("Failed to parse FileAttributeView.", e);
            }
        }
    
        /**
         * Preprocesses a URI to ensure it's in the correct format for file system access.
         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(104, bytesWritten); // 40 bytes header + 64 bytes input buffer
        }
    
        @Test
        @DisplayName("Test setFileInfoClass sets correct info type")
        void testSetFileInfoClassSetsCorrectInfoType() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Initially set a different info type
            request.setInfoType((byte) 0x05);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    	resp, err := httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

     */
    @TestInstance(TestInstance.Lifecycle.PER_CLASS)
    class FileInformationTest {
    
        /**
         * Test that interface constants are correctly defined
         */
        @Test
        @DisplayName("Test FileInformation constants are correctly defined")
        void testInterfaceConstants() {
            // Verify all constants have expected values
            assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionFeature.RESTRICTS_ELEMENTS;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            }
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(threadCount * eventsPerThread), stats.get(EventType.AUTHENTICATION_SUCCESS),
                    "Should have correct total number of events");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            assertTrue(deleteSearchLogCalled[0]);
            assertTrue(deleteJobLogCalled[0]);
            assertTrue(deleteUserInfoCalled[0]);
            assertTrue(updateJobLogStatusCalled[0]);
    
            // Assert correct parameters were passed - verify that time passed is greater than 0
            assertTrue(crawlingInfoDeletedBeforeTime[0] > 0);
            assertEquals(30, searchLogDeletedDays[0]);
            assertEquals(14, jobLogDeletedDays[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode response from bytes correctly")
            void testReadBytesWireFormat() throws Exception {
                // Given - Prepare a valid SMB2 Tree Connect Response buffer
                byte[] buffer = new byte[16];
                // Structure size (16)
                buffer[0] = 0x10;
                buffer[1] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SMBSigningDigestTest.java

                // Assert
                verify(signingDigest).sign(largeData, offset, 10, request, response);
            }
    
            // Verify method was called correct number of times
            verify(signingDigest, times(offsets.length)).sign(any(byte[].class), anyInt(), anyInt(), any(CommonServerMessageBlock.class),
                    any(CommonServerMessageBlock.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top