Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,488 for lien (0.21 sec)

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

    @ElementTypesAreNonnullByDefault
    abstract class LineBuffer {
      /** Holds partial line contents. */
      private StringBuilder line = new StringBuilder();
      /** Whether a line ending with a CR is pending processing. */
      private boolean sawReturn;
    
      /**
       * Process additional characters from the stream. When a line separator is found the contents of
       * the line and the line separator itself are passed to the abstract {@link #handleLine} method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    // Read a line of bytes (up to \n) from b.
    // Give up if the line exceeds maxLineLength.
    // The returned bytes are owned by the bufio.Reader
    // so they are only valid until the next bufio read.
    func readChunkLine(b *bufio.Reader) ([]byte, []byte, error) {
    	buf, err := b.ReadSlice('\n')
    	if err != nil {
    		// We always know when EOF is coming.
    		// If the caller asked for a line, there should be a line.
    		if err == io.EOF {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. docs/debugging/pprofgoparser/main.go

    		skip, record bool
    	)
    
    	for s.Scan() {
    		line := s.Text()
    		switch {
    		case skip && line != "":
    		case skip && line == "":
    			skip = false
    		case record && line == "":
    			stackTrace := bf.String()
    			reset()
    			record = false
    			if searchRE == nil || searchRE.MatchString(stackTrace) {
    				ret[t] = append(ret[t], stackTrace)
    			}
    		case record:
    			save(line)
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    	switch ef.Type {
    	case BatchJobExpireObject:
    	case BatchJobExpireDeleted:
    		if len(ef.Tags) > 0 || len(ef.Metadata) > 0 {
    			return BatchJobYamlErr{
    				line: ef.line,
    				col:  ef.col,
    				msg:  "delete type filter can't have tags or metadata",
    			}
    		}
    	default:
    		return BatchJobYamlErr{
    			line: ef.line,
    			col:  ef.col,
    			msg:  "invalid batch-expire type",
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/io/LineBufferTest.java

              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = Math.min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharStreams.java

        }
    
        @Override
        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
        public void write(String str, int off, int len) {
          checkPositionIndexes(off, off + len, str.length());
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    	}
    	data = data[len(line):]
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || !bytes.Equal(line, data[:minReadBufferSize/2]) || err != nil {
    		t.Errorf("bad result for third line: got %q want %q %v", line, data[:minReadBufferSize/2], err)
    	}
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || err == nil {
    		t.Errorf("expected no more lines: %x %s", line, err)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/stack.go

    }
    
    func (s *Stack) Base() *src.PosBase {
    	return s.tr[len(s.tr)-1].Base()
    }
    
    func (s *Stack) SetBase(base *src.PosBase) {
    	s.tr[len(s.tr)-1].SetBase(base)
    }
    
    func (s *Stack) Line() int {
    	return s.tr[len(s.tr)-1].Line()
    }
    
    func (s *Stack) Col() int {
    	return s.tr[len(s.tr)-1].Col()
    }
    
    func (s *Stack) Close() { // Unused.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  9. internal/logger/console.go

    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/bufio/scan.go

    // dropCR drops a terminal \r from the data.
    func dropCR(data []byte) []byte {
    	if len(data) > 0 && data[len(data)-1] == '\r' {
    		return data[0 : len(data)-1]
    	}
    	return data
    }
    
    // ScanLines is a split function for a [Scanner] that returns each line of
    // text, stripped of any trailing end-of-line marker. The returned line may
    // be empty. The end-of-line marker is one optional carriage return followed
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
Back to top