Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 189 for Builder (0.33 sec)

  1. src/compress/zlib/writer_test.go

    		for level := BestSpeed; level <= BestCompression; level++ {
    			testFileLevelDict(t, fn, level, "")
    			if level >= 1 && testing.Short() && testenv.Builder() == "" {
    				break
    			}
    		}
    		if i == 0 && testing.Short() && testenv.Builder() == "" {
    			break
    		}
    	}
    }
    
    func TestWriterDict(t *testing.T) {
    	const dictionary = "0123456789."
    	for i, fn := range filenames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/format.go

    			panic("got operand instead of *operand")
    		case *operand:
    			arg = operandString(a, qf)
    		case syntax.Pos:
    			arg = a.String()
    		case syntax.Expr:
    			arg = ExprString(a)
    		case []syntax.Expr:
    			var buf strings.Builder
    			buf.WriteByte('[')
    			for i, x := range a {
    				if i > 0 {
    					buf.WriteString(", ")
    				}
    				buf.WriteString(ExprString(x))
    			}
    			buf.WriteByte(']')
    			arg = buf.String()
    		case Object:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/shell.go

    // context.Context.
    type Shell struct {
    	action       *Action // nil for the root shell
    	*shellShared         // per-Builder state shared across Shells
    }
    
    // shellShared is Shell state shared across all Shells derived from a single
    // root shell (generally a single Builder).
    type shellShared struct {
    	workDir string // $WORK, immutable
    
    	printLock sync.Mutex
    	printFunc func(args ...any) (int, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/buildid.go

    // modulo bugs. (Producing the exact same executables also requires that the different
    // build setups agree on details like $GOROOT and file name paths, but at least the
    // tool IDs do not make it impossible.)
    func (b *Builder) toolID(name string) string {
    	b.id.Lock()
    	id := b.toolIDCache[name]
    	b.id.Unlock()
    
    	if id != "" {
    		return id
    	}
    
    	path := base.Tool(name)
    	desc := "go tool " + name
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/shell_test.go

    			t.Logf("%#q: %v", b, err)
    			return
    		}
    		t.Logf("splitPkgConfigOutput(%#q) = %#q", b, args)
    		if len(args) == 0 {
    			t.Skipf("skipping %#q: contains no arguments", b)
    		}
    
    		var buf strings.Builder
    		for _, arg := range args {
    			buf.WriteString(arg)
    			buf.WriteString("\n")
    		}
    		wantOut := buf.String()
    
    		if strings.Count(wantOut, "\n") != len(args)+bytes.Count(b, []byte("\n")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 15:30:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/trace/trace.go

    	}
    	t := &tracer{file: make(chan traceFile, 1)}
    	sb := new(strings.Builder)
    	t.file <- traceFile{
    		f:   f,
    		sb:  sb,
    		enc: json.NewEncoder(sb),
    	}
    	ctx = context.WithValue(ctx, traceKey{}, traceContext{t: t})
    	return ctx, t.Close, nil
    }
    
    type traceFile struct {
    	f       *os.File
    	sb      *strings.Builder
    	enc     *json.Encoder
    	entries int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/cmd/go/scriptreadme_test.go

    		Commands   string
    		Conditions string
    	}
    
    	cmds := new(strings.Builder)
    	if err := engine.ListCmds(cmds, true); err != nil {
    		t.Fatal(err)
    	}
    	args.Commands = cmds.String()
    
    	conds := new(strings.Builder)
    	if err := engine.ListConds(conds, nil); err != nil {
    		t.Fatal(err)
    	}
    	args.Conditions = conds.String()
    
    	doc := new(strings.Builder)
    	cmd := testenv.Command(t, testGo, "doc", "cmd/go/internal/script")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/go/help_test.go

    	// Unset GO111MODULE so that the 'go get' section matches
    	// the default 'go get' implementation.
    	cmd.Env = append(cmd.Environ(), "GO111MODULE=")
    	cmd.Stderr = new(strings.Builder)
    	out, err := cmd.Output()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, cmd.Stderr)
    	}
    
    	alldocs, err := format.Source(out)
    	if err != nil {
    		t.Fatalf("format.Source($(%v)): %v", cmd, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 15:45:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. clause/values.go

    func (values Values) Build(builder Builder) {
    	if len(values.Columns) > 0 {
    		builder.WriteByte('(')
    		for idx, column := range values.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(column)
    		}
    		builder.WriteByte(')')
    
    		builder.WriteString(" VALUES ")
    
    		for idx, value := range values.Values {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun May 24 03:35:19 UTC 2020
    - 849 bytes
    - Viewed (0)
  10. clause/joins.go

    }
    
    func (join Join) Build(builder Builder) {
    	if join.Expression != nil {
    		join.Expression.Build(builder)
    	} else {
    		if join.Type != "" {
    			builder.WriteString(string(join.Type))
    			builder.WriteByte(' ')
    		}
    
    		builder.WriteString("JOIN ")
    		builder.WriteQuoted(join.Table)
    
    		if len(join.ON.Exprs) > 0 {
    			builder.WriteString(" ON ")
    			join.ON.Build(builder)
    		} else if len(join.Using) > 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Nov 03 13:03:13 UTC 2022
    - 901 bytes
    - Viewed (0)
Back to top