- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for 1024 (0.14 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
InputStream errorStream = connection.getErrorStream(); if (errorStream != null && errorStream.available() != 0) { int count; byte[] buf = new byte[1024]; while ((count = errorStream.read(buf, 0, 1024)) != -1); } String authHeader; if (response == HTTP_UNAUTHORIZED) { authHeader = "WWW-Authenticate"; authProperty = "Authorization";
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
if ( type == SmbConstants.TYPE_NAMED_PIPE ) { request.setMinCount(1024); request.setMaxCount(1024); request.setRemaining(1024); } else if ( this.largeReadX ) { request.setMaxCount(r & 0xFFFF);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun May 17 08:55:14 GMT 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
if ( ( getPipeType() & SmbPipeResource.PIPE_TYPE_DCE_TRANSACT ) == SmbPipeResource.PIPE_TYPE_DCE_TRANSACT ) { req.setMaxDataCount(1024); } th.send(req, resp, RequestParam.NO_RETRY); return resp.getResponseLength(); } else if ( this.call ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Apr 13 17:05:22 GMT 2020 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
// + 64 byte header // + 8 byte query response overhead // + 110 bytes entry // -> 1022 predicted message size <= 1023 maximum buffer size // 112 bytes to alignment // -> aligned to 1024 > 1023 maximum buffer size // 110 byte entry = 16 byte name = 8 char length try ( SmbResource r = f.resolve(repeat('Y', 8)) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
try ( SmbPipeHandle p = f.openPipe() ) { try ( OutputStream os = p.getOutput() ) { writeRandom(1024, 1024, os); try ( InputStream is = p.getInput() ) { verifyRandom(1024, 1024, is); } } } catch ( SmbException e ) { if ( e.getNtStatus() == 0xC00000BB ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
} finally { f.delete(); } } } @Test public void testCopyFileLarge () throws IOException { long length = 4096 * 16 * 1024; try ( SmbFile f = createTestFile(); SmbTreeHandle treeHandle = f.getTreeHandle() ) { // this is tremendously slow on SMB1 try {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
} @Test public void testReadWrite () throws IOException { try ( SmbFile f = createTestFile() ) { try { int bufSize = 4096; long l = 1024; try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "rw") ) { writeRandom(bufSize, l, raf); assertEquals(l, raf.getFilePointer());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
public static final int ACB_DOMTRUST = 64; public static final int ACB_WSTRUST = 128; public static final int ACB_SVRTRUST = 256; public static final int ACB_PWNOEXP = 512; public static final int ACB_AUTOLOCK = 1024; public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048; public static final int ACB_SMARTCARD_REQUIRED = 4096; public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 14K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
/** * Construct a SID from a domain SID and an RID * (relative identifier). For example, a domain SID * <tt>S-1-5-21-1496946806-2192648263-3843101252</tt> and RID <tt>1029</tt> would * yield the SID <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt>. * * @param domsid * @param rid */ public SID ( SID domsid, int rid ) { this.revision = domsid.revision;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.9K bytes - Viewed (0)