Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for Hines (0.02 sec)

  1. src/cmd/cover/cover_test.go

    	// Issue 23927.
    	lines = append(lines, []byte("func unFormatted() {"),
    		[]byte("\tif true {"),
    		[]byte("\t}else{"),
    		[]byte("\t}"),
    		[]byte("}"))
    	lines = append(lines, []byte("func unFormatted2(b bool) {if b{}else{}}"))
    
    	coverInput := filepath.Join(dir, "test_line.go")
    	if err := os.WriteFile(coverInput, bytes.Join(lines, []byte("\n")), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build.go

    					continue Comments
    				}
    				continue Lines
    			}
    			if bytes.HasPrefix(line, bSlashSlash) {
    				continue Lines
    			}
    			if bytes.HasPrefix(line, bSlashStar) {
    				inSlashStar = true
    				line = bytes.TrimSpace(line[len(bSlashStar):])
    				continue Comments
    			}
    			// Found non-comment text.
    			break Lines
    		}
    	}
    
    	return content[:end], goBuild, sawBinaryOnly, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/dist/testjson.go

    	w       io.Writer // Underlying writer
    	variant string    // Add ":variant" to Package field
    
    	lineBuf bytes.Buffer // Buffer for incomplete lines
    }
    
    func (f *testJSONFilter) Write(b []byte) (int, error) {
    	bn := len(b)
    
    	// Process complete lines, and buffer any incomplete lines.
    	for len(b) > 0 {
    		nl := bytes.IndexByte(b, '\n')
    		if nl < 0 {
    			f.lineBuf.Write(b)
    			break
    		}
    		var line []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. doc/next/4-runtime.md

    ## Runtime {#runtime}
    
    The traceback printed by the runtime after an unhandled panic or other
    fatal error now indents the second and subsequent lines of the error
    message (for example, the argument to panic) by a single tab, so that
    it can be unambiguously distinguished from the stack trace of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 359 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	if err != nil {
    		return "", err
    	}
    	gopath := "testdata/props/" + testcase + ".go"
    	content, err := os.ReadFile(gopath)
    	if err != nil {
    		return "", err
    	}
    	lines := strings.Split(string(content), "\n")
    	for _, line := range lines[3:] {
    		if !strings.HasPrefix(line, "// ") {
    			continue
    		}
    		fmt.Fprintf(outf, "%s\n", line)
    	}
    	if err := outf.Close(); err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. src/cmd/go/internal/workcmd/edit.go

    flags are specified, as in 'go work edit -fmt'.
    
    The -godebug=key=value flag adds a godebug key=value line,
    replacing any existing godebug lines with the given key.
    
    The -dropgodebug=key flag drops any existing godebug lines
    with the given key.
    
    The -use=path and -dropuse=path flags
    add and drop a use directive from the go.work file's set of module directories.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/mergelocals_test.go

    		src).CombinedOutput()
    	if err != nil {
    		t.Fatalf("failed to compile: %v\n%s", err, out)
    	}
    	vars := make(map[string]string)
    	lines := strings.Split(string(out), "\n")
    	prolog := true
    	varsAtFrameOffset := make(map[string]int)
    	for _, line := range lines {
    		if line == "=-= stack layout for ABC:" {
    			prolog = false
    			continue
    		} else if prolog || line == "" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/errors.go

    // The position of the first call to addf determines the position of the reported Error.
    // Subsequent calls to addf provide additional information in the form of additional lines
    // in the error message (types2) or continuation errors identified by a tab-indented error
    // message (go/types).
    func (err *error_) addf(at poser, format string, args ...interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/inl_test.go

    		t.Errorf("%s was not inlined: %s", fullName, reason)
    	}
    }
    
    func collectInlCands(msgs string) map[string]struct{} {
    	rv := make(map[string]struct{})
    	lines := strings.Split(msgs, "\n")
    	re := regexp.MustCompile(`^\S+\s+can\s+inline\s+(\S+)`)
    	for _, line := range lines {
    		m := re.FindStringSubmatch(line)
    		if m != nil {
    			rv[m[1]] = struct{}{}
    		}
    	}
    	return rv
    }
    
    func TestIssue56044(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/scan.go

    	binaryOnly           bool   // cannot be rebuilt from source (has //go:binary-only-package comment)
    	cgoDirectives        string // the #cgo directive lines in the comment on import "C"
    	goBuildConstraint    string
    	plusBuildConstraints []string
    	imports              []rawImport
    	embeds               []embed
    	directives           []build.Directive
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top