Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Kotten (0.21 sec)

  1. src/bytes/buffer_test.go

    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf[0:1])
    		for i := 0; i < 5<<10; i++ {
    			b.Write(buf)
    			b.Read(buf)
    		}
    	}
    }
    
    // Check that we don't compact too often. From Issue 5154.
    func BenchmarkBufferFullSmallReads(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf)
    		for b.Len()+20 < b.Cap() {
    			b.Write(buf[:10])
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    // returning a slice containing the data up to and including the delimiter.
    // If ReadBytes encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often io.EOF).
    // ReadBytes returns err != nil if and only if the returned data does not end in
    // delim.
    func (b *Buffer) ReadBytes(delim byte) (line []byte, err error) {
    	slice, err := b.readSlice(delim)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg unicode, var Shavian *RangeTable
    pkg unicode, var Sinhala *RangeTable
    pkg unicode, var Sk *RangeTable
    pkg unicode, var Sm *RangeTable
    pkg unicode, var So *RangeTable
    pkg unicode, var Soft_Dotted *RangeTable
    pkg unicode, var Space *RangeTable
    pkg unicode, var Sundanese *RangeTable
    pkg unicode, var Syloti_Nagri *RangeTable
    pkg unicode, var Symbol *RangeTable
    pkg unicode, var Syriac *RangeTable
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  4. src/bufio/bufio.go

    // returning a slice pointing at the bytes in the buffer.
    // The bytes stop being valid at the next read.
    // If ReadSlice encounters an error before finding a delimiter,
    // it returns all the data in the buffer and the error itself (often io.EOF).
    // ReadSlice fails with error [ErrBufferFull] if the buffer fills without a delim.
    // Because the data returned from ReadSlice will be overwritten
    // by the next I/O operation, most clients should use
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    func (tr *Reader) next() (*Header, error) {
    	var paxHdrs map[string]string
    	var gnuLongName, gnuLongLink string
    
    	// Externally, Next iterates through the tar archive as if it is a series of
    	// files. Internally, the tar format often uses fake "files" to add meta
    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    // new elements. If it does not, a new underlying array will be allocated.
    // Append returns the updated slice. It is therefore necessary to store the
    // result of append, often in the variable holding the slice itself:
    //
    //	slice = append(slice, elem1, elem2)
    //	slice = append(slice, anotherSlice...)
    //
    // As a special case, it is legal to append a string to a byte slice, like this:
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    	"os"
    	"os/exec"
    	"os/signal"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    )
    
    func adbRun(args string) (int, error) {
    	// The exit code of adb is often wrong. In theory it was fixed in 2016
    	// (https://code.google.com/p/android/issues/detail?id=3254), but it's
    	// still broken on our builders in 2023. Instead, append the exitcode to
    	// the output and parse it from there.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. doc/asm.html

    allows general addressing forms and pseudo-operations like <code>DIV</code> or <code>MOD</code>
    that may not be expressible using a single hardware instruction.
    It implements these forms as multiple instructions, often using the <code>R11</code> register
    to hold temporary values.
    Hand-written assembly can use <code>R11</code>, but doing so requires
    being sure that the linker is not also using it to implement any of the other
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top