Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for scanInts (0.12 sec)

  1. src/cmd/asm/internal/lex/tokenizer.go

    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    	s.IsIdentRune = isIdentRune
    	return &Tokenizer{
    		s:    &s,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/global_test.go

    	cmd = testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dst)
    	out, err = cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("could not read target: %v", err)
    	}
    	if bytes.Contains(out, []byte("scanInt")) {
    		t.Fatalf("scanf code not removed from helloworld")
    	}
    }
    
    // Make sure -S prints assembly code. See issue 14515.
    func TestDashS(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top