Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for raising (0.17 sec)

  1. src/cmd/cgo/doc.go

    enormous amount of work.
    
    Cgo takes a different approach. It determines the meaning of C
    identifiers not by parsing C code but by feeding carefully constructed
    programs into the system C compiler and interpreting the generated
    error messages, debug information, and object files. In practice,
    parsing these is significantly less work and more robust than parsing
    C source.
    
    Cgo first invokes gcc -E -dM on the preamble, in order to find out
    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)
  2. src/archive/tar/strconv_test.go

    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    func newParser(goarch string) *Parser {
    	architecture, ctxt := setArch(goarch)
    	return NewParser(ctxt, architecture, nil)
    }
    
    // tryParse executes parse func in panicOnError=true context.
    // parse is expected to call any parsing methods that may panic.
    // Returns error gathered from recover; nil if no parse errors occurred.
    //
    // For unexpected panics, calls t.Fatal.
    func tryParse(t *testing.T, parse func()) (err error) {
    	panicOnError = true
    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)
  4. src/cmd/cgo/internal/swig/swig_test.go

    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    		t.Logf("error parsing swig version %q, continuing anyway: %s", string(matches[0]), parseError)
    		return
    	}
    	t.Logf("found swig version %d.%d.%d", major, minor, patch)
    	if major < 3 || (major == 3 && minor == 0 && patch < 6) {
    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)
  5. src/cmd/cgo/ast.go

    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    // ParseGo populates f with information learned from the Go source code
    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)
  6. doc/go1.17_spec.html

    </p>
    
    <pre>
    var p Point
    p.Scale(3.5)
    </pre>
    
    <p>
    There is no distinct method type and there are no method literals.
    </p>
    
    <h3 id="Passing_arguments_to_..._parameters">Passing arguments to <code>...</code> parameters</h3>
    
    <p>
    If <code>f</code> is <a href="#Function_types">variadic</a> with a final
    parameter <code>p</code> of type <code>...T</code>, then within <code>f</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    				Name:     "gophercolor16x16.png",
    				File:     "gophercolor16x16.png",
    				Modified: time.Date(2010, 9, 5, 15, 52, 58, 0, timeZone(+10*time.Hour)),
    				Mode:     0644,
    			},
    		},
    	},
    	{
    		Name:    "test-trailing-junk.zip",
    		Comment: "This is a zipfile comment.",
    		File: []ZipTestFile{
    			{
    				Name:     "test.txt",
    				Content:  []byte("This is a test text file.\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			peekSize:     16,
    			n:            6,
    			want:         6,
    			wantBuffered: 10,
    		},
    		{
    			name:         "discard causing read",
    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			n:            6,
    			want:         6,
    			wantBuffered: 10,
    		},
    		{
    			name:         "discard all without peek",
    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)
  9. src/archive/tar/testdata/trailing-slash.tar

    Caio Marcelo de Oliveira Filho <******@****.***> 1514852203 -0800
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 13 18:36:49 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  10. .github/SUPPORT.md

    We only use our bug tracker for tracking bugs and tracking proposals going through the [Proposal Process](https://go.dev/s/proposal-process).
    
    For asking questions, see:
    
    * [The golang-nuts mailing list](https://groups.google.com/d/forum/golang-nuts)
    
    * [The Go Forum](https://forum.golangbridge.org/), a web-based forum
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 692 bytes
    - Viewed (0)
Back to top