Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for boiler (0.16 sec)

  1. src/cmd/cgo/ast.go

    				if recvType != nil {
    					t := recvType
    					if star, ok := unparen(t).(*ast.StarExpr); ok {
    						t = star.X
    					}
    					if sel, ok := unparen(t).(*ast.SelectorExpr); ok {
    						var buf strings.Builder
    						format.Node(&buf, fset, recvType)
    						error_(sel.Pos(), `cannot define new methods on non-local type %s`, &buf)
    					}
    				}
    			}
    		}
    
    	}
    	if !sawC {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    // String returns the contents of the unread portion of the buffer
    // as a string. If the [Buffer] is a nil pointer, it returns "<nil>".
    //
    // To build strings more efficiently, see the strings.Builder type.
    func (b *Buffer) String() string {
    	if b == nil {
    		// Special case, useful in debugging.
    		return "<nil>"
    	}
    	return string(b.buf[b.off:])
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    	"hash"
    	"internal/testenv"
    	"io"
    	"runtime"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestOver65kFiles(t *testing.T) {
    	if testing.Short() && testenv.Builder() == "" {
    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. api/go1.12.txt

    pkg runtime/debug, type Module struct, Sum string
    pkg runtime/debug, type Module struct, Version string
    pkg strings, func ReplaceAll(string, string, string) string
    pkg strings, method (*Builder) Cap() int
    pkg syscall (freebsd-386), const S_IRWXG = 56
    pkg syscall (freebsd-386), const S_IRWXG ideal-int
    pkg syscall (freebsd-386), const S_IRWXO = 7
    pkg syscall (freebsd-386), const S_IRWXO ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    		// Sort keys for deterministic ordering.
    		var keys []string
    		for k := range paxHdrs {
    			keys = append(keys, k)
    		}
    		sort.Strings(keys)
    
    		// Write each record to a buffer.
    		var buf strings.Builder
    		for _, k := range keys {
    			rec, err := formatPAXRecord(k, paxHdrs[k])
    			if err != nil {
    				return err
    			}
    			buf.WriteString(rec)
    		}
    
    		// Write the extended header file.
    		var name string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. api/go1.10.txt

    pkg os, var ErrNoDeadline error
    pkg strings, method (*Builder) Grow(int)
    pkg strings, method (*Builder) Len() int
    pkg strings, method (*Builder) Reset()
    pkg strings, method (*Builder) String() string
    pkg strings, method (*Builder) Write([]uint8) (int, error)
    pkg strings, method (*Builder) WriteByte(uint8) error
    pkg strings, method (*Builder) WriteRune(int32) (int, error)
    pkg strings, method (*Builder) WriteString(string) (int, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    	// Build a regexp that matches any prefix of the exit string at the end of
    	// the input. We do it this way to avoid assuming anything about the
    	// subcommand output (e.g., it might not be \n-terminated).
    	var exitReStr strings.Builder
    	for i := 1; i <= len(exitStr); i++ {
    		fmt.Fprintf(&exitReStr, "%s$|", exitStr[:i])
    	}
    	// Finally, match the exit string along with an exit code.
    	// This is the only case we use a group, and we'll use this
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    func (b *Reader) ReadString(delim byte) (string, error) {
    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	var buf strings.Builder
    	buf.Grow(n)
    	// Copy full pieces and fragment in.
    	for _, fb := range full {
    		buf.Write(fb)
    	}
    	buf.Write(frag)
    	return buf.String(), err
    }
    
    // WriteTo implements io.WriterTo.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    			testWrite{"\x00\x00", 2, nil},
    			testWrite{"abc", 3, nil},
    			testWrite{"\x00\x00", 2, errUnrefData},
    		},
    	}}
    
    	for i, v := range vectors {
    		var wantStr string
    		bb := new(strings.Builder)
    		w := testNonEmptyWriter{bb}
    		var fw fileWriter
    		switch maker := v.maker.(type) {
    		case makeReg:
    			fw = &regFileWriter{w, maker.size}
    			wantStr = maker.wantStr
    		case makeSparse:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    	parser := NewParser(ctxt, architecture, lexer)
    	pList := new(obj.Plist)
    	var ok bool
    	testOut = new(strings.Builder) // The assembler writes test output to this buffer.
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top