Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for 4096 (0.15 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

            }
        }
    
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/samr.java

        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;
        public static final int ACB_NOT_DELEGATED = 16384;
        public static final int ACB_USE_DES_KEY_ONLY = 32768;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileOperationsTest.java

                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testCopyFile () throws IOException {
            int bufSize = 65536;
            long length = 4096 * 16;
            try ( SmbFile f = createTestFile() ) {
                try ( SmbFile d1 = createTestDirectory();
                      SmbFile t = new SmbFile(d1, makeRandomName()) ) {
                    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)
  4. src/main/assemblies/files/tomcat_config.properties

    tomcat.URIEncoding = UTF-8
    tomcat.useBodyEncodingForURI = true
    #tomcat.secure=false
    #tomcat.scheme=http
    #tomcat.bindAddress=127.0.0.1
    #tomcat.proxyPort=
    Properties
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Aug 11 21:43:37 GMT 2018
    - 639 bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            command = SMB_COM_TRANSACTION;
            subCommand = NET_SHARE_ENUM; // not really true be used by upper logic
            name = new String( "\\PIPE\\LANMAN" );
            maxParameterCount = 8;
    
    //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte)0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

            this.request = new DfsReferralRequestBuffer(filename, 3);
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 4096;
            this.maxSetupCount = (byte) 0x00;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#isForceUnicode()
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

        public NetShareEnum ( Configuration config ) {
            super(config, SMB_COM_TRANSACTION, NET_SHARE_ENUM);
            this.name = new String("\\PIPE\\LANMAN");
            this.maxParameterCount = 8;
    
            // maxDataCount = 4096; why was this set?
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        @Test
        public void test () throws IOException {
            runReadWriteTest(4096, 4 * 4096);
        }
    
    
        @Test
        public void testExactWrite () throws IOException {
            runReadWriteTest(4096, 4096);
        }
    
    
        @Test
        public void testSmallWrite () throws IOException {
            runReadWriteTest(4096, 1013);
        }
    
    
        @Test
        public void testLargeBuf () throws IOException {
    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)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.net.MalformedURLException;
    
    class TransactNamedPipeInputStream extends SmbFileInputStream {
    
        private static final int INIT_PIPE_SIZE = 4096;
    
        private byte[] pipe_buf = new byte[INIT_PIPE_SIZE];
        private int beg_idx, nxt_idx, used;
        private boolean dcePipe;
    
        Object lock;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

     * @author higa
     */
    public abstract class FileUtil {
    
        /** UTF-8のエンコーディング名 */
        private static final String UTF8 = "UTF-8";
    
        /** Default Buffer Size */
        protected static final int DEFAULT_BUF_SIZE = 4096; // 4k
    
        /** Max Buffer Size */
        protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m
    
        /**
         * この抽象パス名の正規の形式を返します。
         *
         * @param file
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top