Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for handleLine (0.06 seconds)

  1. android/guava/src/com/google/common/io/LineBuffer.java

        handleLine(line.toString(), separator);
        line = new StringBuilder();
        sawReturn = false;
        return sawNewline;
      }
    
      /**
       * Subclasses must call this method after finishing character processing, in order to ensure that
       * any unterminated line in the buffer is passed to {@link #handleLine}.
       *
       * @throws IOException if an I/O error occurs
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/LineReader.java

      private final char[] buf = cbuf.array();
    
      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
            protected void handleLine(String line, String end) {
              lines.add(line);
            }
          };
    
      /** Creates a new instance that will read lines from the given {@code Readable} object. */
      public LineReader(Readable readable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> lines = new ArrayList<>();
        LineBuffer lineBuf =
            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. internal/grid/muxserver.go

    		}
    	}()
    
    	// Data inbound to the handler
    	var handlerIn chan []byte
    	if inboundCap > 0 {
    		m.inbound = make(chan []byte, inboundCap)
    		handlerIn = make(chan []byte, 1)
    		go func(inbound chan []byte) {
    			wg.Wait()
    			defer xioutil.SafeClose(handlerIn)
    			m.handleInbound(c, inbound, handlerIn)
    		}(m.inbound)
    	}
    	// Fill outbound block.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top