- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,611 for inst (0.03 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
private int flags; /** * Create a new durable handle V2 response */ public DurableHandleV2Response() { // Will be populated during decode } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
.thenReturn(handle); // second attempt succeeds // dest currently has READONLY attribute set int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE; when(dest.getAttributes()).thenReturn(currentAttrs); int desiredAttrs = SmbConstants.ATTR_NORMAL; // Act SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, desiredAttrs, false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
assertEquals(0, consumed, "readParametersWireFormat should return 0"); } @Test public void testReadDataWireFormat() { // Test that readDataWireFormat returns 0 TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] buffer = new byte[100]; int consumed = pipe.readDataWireFormat(buffer, 0, 10);
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/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
} @Test @DisplayName("Test size returns positive message size") void testSizeReturnsPositiveValue() { // Given int expectedSize = 1024; when(request.size()).thenReturn(expectedSize); // When int result = request.size(); // Then assertEquals(expectedSize, result); verify(request, times(1)).size(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
/** * Default constructor for TestLocking */ public TestLocking() { // Default constructor } int numThreads = 1; int numIter = 1; long delay = 100; String url = null; int numComplete = 0; long ltime = 0L; @Override public void run() { try { final SmbFile f = new SmbFile(url);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java
/** Constant representing the pre-processing state. */ int PRE_PROCESSING = 1; /** Constant representing the post-processing state. */ int POST_PROCESSING = 2; /** Constant indicating that there are no URLs in the queue. */ int NO_URL_IN_QUEUE = 4; /** Constant indicating that the crawler is waiting for new URLs. */ int WAIT_NEW_URL = 8; /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.8K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
* @author shinsuke * */ public class CrawlerWebServer { private int port = 8080; private File docRoot; private Server server; private boolean tempDocRoot = false; public CrawlerWebServer(final int port) { this(port, createDocRoot(3)); tempDocRoot = true; } public CrawlerWebServer(final int port, final File docRoot) { this.port = port;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
final byte[] testData = "test data for validation".getBytes(); final ByteArrayInputStream in = new ByteArrayInputStream(testData); final int availableBefore = in.available(); extractor.testValidateInputStream(in); final int availableAfter = in.available(); assertEquals("Stream should not be consumed by validation", availableBefore, availableAfter); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
private void writeLittleEndianInt(ByteArrayOutputStream baos, int value) { baos.write(value & 0xFF); baos.write((value >> 8) & 0xFF); baos.write((value >> 16) & 0xFF); baos.write((value >> 24) & 0xFF); } private void writeLittleEndianLong(ByteArrayOutputStream baos, long value) { for (int i = 0; i < 8; i++) { baos.write((int) ((value >> (i * 8)) & 0xFF)); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)