- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for Consumed (4.14 sec)
-
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] buffer = new byte[10]; // The implementation always returns 0 int consumed = pipe.readSetupWireFormat(buffer, 0, 4); assertEquals(0, consumed, "readSetupWireFormat should always return 0"); } @Test public void testWriteParametersWireFormat() { // Test that writeParametersWireFormat returns 0
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/DfsReferralData.java
* * @return the share this referral points to */ String getShare(); /** * Get the number of characters from the UNC path that were consumed by this referral * * @return the number of characters from the unc path that were consumed by this referral */ int getPathConsumed(); /** * Get the replacement path for this referral *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
* * @param domain the domain name to append */ void fixupDomain(String domain); /** * Reduces path consumed by the given value * * @param i the number of characters to strip from path consumed */ void stripPathConsumed(int i); @Override DfsReferralDataInternal next(); /** * Set the UNC path link for this referral *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
// Default constructor } private int pathConsumed; private int numReferrals; private int tflags; private Referral[] referrals; /** * Get the number of characters consumed from the path * * @return the pathConsumed */ public final int getPathConsumed() { return this.pathConsumed; } /** * Get the number of referrals in the responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
String result = mockReferralData.getShare(); // Then assertEquals(share, result); verify(mockReferralData).getShare(); } @Test @DisplayName("Should get path consumed") void testGetPathConsumed() { // Given int pathConsumed = 10; when(mockReferralData.getPathConsumed()).thenReturn(pathConsumed); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
final int availableBefore = in.available(); extractor.testValidateInputStream(in); final int availableAfter = in.available(); assertEquals("Stream should not be consumed by validation", availableBefore, availableAfter); } /** * Test that validateInputStream is called exactly once per getText call. */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java
final ExtractData result = filenameExtractor.getText(in, params); assertNotNull(result); assertEquals("filename.txt", result.getContent()); // Verify stream was not consumed assertEquals(testData.length, in.available()); } /** * Test extraction with empty string filename. */ public void test_getText_withEmptyFilename() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DfsReferral.java
* This class extends SmbException to provide DFS referral information when a DFS path is encountered. */ public class DfsReferral extends SmbException { /** Number of characters consumed from the path */ public int pathConsumed; /** Time to live for this referral in seconds */ public long ttl; /** Target server for this referral */ public String server; // ServerRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
/** * Job for purging expired thumbnail files from the system. * This job removes thumbnail files that have exceeded their configured expiration time * to prevent disk space from being consumed by old thumbnails. */ public class PurgeThumbnailJob { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(PurgeThumbnailJob.class); /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- `validateInputStream()` method behavior - Exception types and messages - Stream consumption (should not consume) - Consistency across multiple calls **Test Count**: 11 tests **Key Scenarios**: - ✅ Validates non-null streams - ✅ Throws CrawlerSystemException for null - ✅ Called during getText execution - ✅ Does not consume or modify stream - ✅ Consistent behavior across multiple calls - ✅ Works with various InputStream types
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0)