Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for bufferSize (0.15 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

            int bufferSize;
            if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) {
                bufferSize = initialCapacity;
            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/Pac.java

                    int bufferType = pacStream.readInt();
                    int bufferSize = pacStream.readInt();
                    long bufferOffset = pacStream.readLong();
    
                    if ( bufferOffset % 8 != 0 ) {
                        throw new PACDecodingException("Unaligned buffer " + bufferType);
                    }
    
                    byte[] bufferData = new byte[bufferSize];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/JobProcess.java

            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) {
            this.process = process;
            inputStreamThread = new InputStreamThread(process.getInputStream(), Constants.CHARSET_UTF_8, bufferSize, outputCallback);
        }
    
        public Process getProcess() {
            return process;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt

       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
      fun receivingStreamWindowChanged(
        streamId: Int,
        windowCounter: WindowCounter,
        bufferSize: Long,
      )
    
      /**
       * Notification that the receiving connection flow control window has changed.
       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            this.controlEncoding = controlEncoding;
        }
    
        public int getBufferSize() {
            return bufferSize;
        }
    
        public void setBufferSize(final int bufferSize) {
            this.bufferSize = bufferSize;
        }
    
        public String getPassiveLocalHost() {
            return passiveLocalHost;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          }
          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
              reason = controlFrameBuffer.readUtf8()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                final int bufferSize, final Consumer<String> outputCallback) {
            final ProcessBuilder pb = new ProcessBuilder(cmdList);
            pbCall.accept(pb);
            destroyProcess(sessionId);
            JobProcess jobProcess;
            try {
                jobProcess = new JobProcess(pb.start(), bufferSize, outputCallback);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        }
    
        public PluginDescriptor build(ReaderSupplier readerSupplier, String source) throws PlexusConfigurationException {
            try (BufferedReader br = new BufferedReader(readerSupplier.open(), BUFFER_SIZE)) {
                br.mark(BUFFER_SIZE);
                XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(br);
                xsr.nextTag();
                String nsUri = xsr.getNamespaceURI();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                this.fst = synonymMap.fst;
                this.fstReader = fst.getBytesReader();
                scratchArc = new FST.Arc<>();
            }
    
            ch = 0;
            readBuffer = new char[BUFFER_SIZE];
            readBufferIndex = BUFFER_SIZE;
            readBufferLen = 0;
            block = new StringBuilder();
            nextBlkStart = 0;
            queue = new PriorityQueue<>(100, new MyTokensComparator());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
        private static final int BUFFER_SIZE = 512;
        private static final int DEFAULT_SO_TIMEOUT = 5000;
    
        private static LogStream log = LogStream.getInstance();
    
        private NbtAddress address;
        private Name calledName;
        private int soTimeout;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
Back to top