- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 619 for Correct (0.05 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
throw new CrawlingAccessException("Failed to parse file ownership attributes: file=" + file.getAbsolutePath(), 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 */
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
setErrorCode(response, 0); int bytesRead = response.readDataWireFormat(fullBuffer, startIndex, buffer.length); // Verify the method returns the correct number of bytes read assertTrue(bytesRead > 0); assertTrue(bytesRead <= buffer.length); } /** * Helper method to create a valid security descriptor buffer */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
byte[] buffer = new byte[32]; int bytesWritten = hmac.engineDigest(buffer, 5, 16); assertEquals(16, bytesWritten); // Check that bytes were written to the correct position byte[] extractedResult = Arrays.copyOfRange(buffer, 5, 21); assertEquals(16, extractedResult.length); } @Test void testEngineDigestWithInsufficientBuffer() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertTrue(bytesRead > 0); assertNotNull(response.getInfo()); // Verify the correct type was created if (infoLevel == FileInformation.FILE_BASIC_INFO) { assertTrue(response.getInfo() instanceof FileBasicInfo); } else if (infoLevel == FileInformation.FILE_STANDARD_INFO) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java
import org.lastaflute.web.response.JsonResponse; /** * Tests for the scheduler start API endpoint contract. * Verifies that {@code PUT /api/admin/scheduler/{id}/start} returns the correct * {@code jobLogId} based on the job's logging configuration. */ public class ApiAdminSchedulerActionTest extends UnitFessTestCase { @Override protected boolean isUseOneTimeContainer() { return true;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Future<?> possiblyIgnoredError = executor.submit(task); } awaitUnchecked(barrier); assertThat(future.isDone()).isTrue(); // inspect state and ensure it is correct! // asserts that all get calling threads received the same value Object result = Iterables.getOnlyElement(finalResults); if (result == CancellationException.class) { assertTrue(future.isCancelled());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
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]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(testDialect, response.getDialect(), "Dialect should match"); } @Test @DisplayName("Test decode returns correct bytes consumed") void testDecodeBytesConsumed() throws SMBProtocolDecodingException { // Prepare minimal buffer byte[] buffer = new byte[24]; // Test with offset 0
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesWritten); } @Test @DisplayName("Should create correct context types") void testCreateContext() { // Test encryption context NegotiateContextResponse enc = Smb2NegotiateResponse.createContext(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method * when the expected present count is correct. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0)