- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 198 for k1024 (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
info.endOfFile = 1024; assertEquals("test.txt", info.getName()); assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType()); assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes()); assertEquals(1672531200000L, info.createTime()); assertEquals(1672617600000L, info.lastModified()); assertEquals(1024, info.length()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
if (buf.length < max_recv) { throw new IllegalArgumentException("buffer too small"); } if (isStart && !isDirect) { // start of new frag, do trans off = in.read(buf, 0, 1024); } else { off = in.readDirect(buf, 0, buf.length); } if (buf[0] != 5 && buf[1] != 0) { throw new IOException("Unexpected DCERPC PDU header"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java
ensureOpen(); final TransTransactNamedPipe req = new TransTransactNamedPipe(pipe.fid, b, off, len); if (dcePipe) { req.maxDataCount = 1024; } pipe.send(req, new TransTransactNamedPipeResponse(pipe)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
assertThrows(FileNotFoundException.class, () -> Files.map(file)); } public void testMap_readWrite() throws IOException { // Test data int size = 1024; byte[] expectedBytes = new byte[size]; byte[] bytes = newPreFilledByteArray(1024); // Setup File file = createTempFile(); Files.write(bytes, file); Random random = new Random(); random.nextBytes(expectedBytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
when(request.split()).thenReturn(nextRequest); when(request.allowChain(nextRequest)).thenReturn(true); when(request.createCancel()).thenReturn(nextRequest); when(request.size()).thenReturn(1024); when(request.getOverrideTimeout()).thenReturn(5000); // When & Then assertTrue(request.isResponseAsync()); assertEquals(nextRequest, request.getNext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
if (type == SmbConstants.TYPE_NAMED_PIPE) { // Use fixed 1024 values for named pipes request.setMinCount(1024); request.setMaxCount(1024); request.setRemaining(1024); } else if (this.largeReadX) { // Optimize large read requests
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Set up transaction parameters transaction.setMaxSetupCount((byte) 2); transaction.setTotalParameterCount(100); transaction.setTotalDataCount(200); transaction.setMaxParameterCount(1024); transaction.setMaxDataCountForTest(2048); transaction.setParameterCount(50); transaction.setParameterOffset(80); transaction.setDataCount(150); transaction.setDataOffset(130);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
@BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @Test public void testNullBuffer() throws Exception { assertThrows(SmbException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
private CIFSContext transportContext; @Override public void init() throws ServletException { final StringBuilder sb = new StringBuilder(); final byte[] buf = new byte[1024]; int n; String name; final Properties p = new Properties(); p.putAll(System.getProperties()); p.setProperty("jcifs.smb.client.soTimeout", "600000");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)