Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for settings (0.17 sec)

  1. src/cmd/asm/internal/flags/flags.go

    	flag.BoolVar(&DebugV, "v", false, "print debug output")
    	flag.Var(objabi.NewDebugFlag(&DebugFlags, nil), "d", "enable debugging settings; try -d help")
    	objabi.AddVersionFlag() // -V
    	objabi.Flagcount("S", "print assembly and machine code", &PrintOut)
    }
    
    // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2.
    type MultiFlag []string
    
    func (m *MultiFlag) String() string {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/03-gopls.yml

        attributes:
          label: "What did you expect to see?"
        validations:
          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
          description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)"
        validations:
          required: false
      - type: textarea
        id: logs
        attributes:
          label: "Logs"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    	if w0 != 0 {
    		t.Fatalf("write 1000 'x's: got %d writes, want 0", w0)
    	}
    	b0.WriteString(strings.Repeat("x", 200))
    	if w0 != 0 {
    		t.Fatalf("write 1200 'x's: got %d writes, want 0", w0)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))})
    	if w0 != 0 {
    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)
  4. src/cmd/api/api_test.go

    			}
    			f.Close()
    		}
    
    		bs, err := os.ReadFile(goldenFile)
    		if err != nil {
    			t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err)
    		}
    		wanted := strings.Split(string(bs), "\n")
    		sort.Strings(wanted)
    		for _, feature := range wanted {
    			if feature == "" {
    				continue
    			}
    			_, ok := w.features[feature]
    			if !ok {
    				t.Errorf("package %s: missing feature %q", fi.Name(), feature)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/pseudo_test.go

    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    )
    
    func tokenize(s string) [][]lex.Token {
    	res := [][]lex.Token{}
    	if len(s) == 0 {
    		return res
    	}
    	for _, o := range strings.Split(s, ",") {
    		res = append(res, lex.Tokenize(o))
    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast.go

    	n, ok := x.(*ast.FuncDecl)
    	if !ok {
    		return
    	}
    
    	if n.Doc == nil {
    		return
    	}
    	for _, c := range n.Doc.List {
    		if !strings.HasPrefix(c.Text, "//export ") {
    			continue
    		}
    
    		name := strings.TrimSpace(c.Text[9:])
    		if name == "" {
    			error_(c.Pos(), "export missing name")
    		}
    
    		if name != n.Name.Name {
    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)
  7. src/cmd/cgo/internal/swig/swig_test.go

    // license that can be found in the LICENSE file.
    
    package swig
    
    import (
    	"cmd/internal/quoted"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func TestStdio(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	run(t, "testdata/stdio", false)
    }
    
    func TestCall(t *testing.T) {
    	testenv.MustHaveCGO(t)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/archive/tar/strconv_test.go

    		if got != v.want {
    			t.Errorf("formatPAXTime(%ds, %dns): got %q, want %q",
    				v.sec, v.nsec, got, v.want)
    		}
    	}
    }
    
    func TestParsePAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    These rules are checked dynamically at runtime. The checking is
    controlled by the cgocheck setting of the GODEBUG environment
    variable. The default setting is GODEBUG=cgocheck=1, which implements
    reasonably cheap dynamic checks. These checks may be disabled
    entirely using GODEBUG=cgocheck=0. Complete checking of pointer
    handling, at some cost in run time, is available by setting
    GOEXPERIMENT=cgocheck2 at build time.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/operand_test.go

    				name, _, ok := parser.funcAddress()
    
    				isFuncSym := strings.HasSuffix(test.input, "(SB)") &&
    					// Ignore static symbols.
    					!strings.Contains(test.input, "<>")
    
    				wantName := ""
    				if isFuncSym {
    					// Strip $|* and (SB) and +Int.
    					wantName = test.output[:len(test.output)-4]
    					if strings.HasPrefix(wantName, "$") || strings.HasPrefix(wantName, "*") {
    						wantName = wantName[1:]
    					}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
Back to top