Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. CONTRIBUTING.md

    Go is an open source project.
    
    It is the work of hundreds of contributors. We appreciate your help!
    
    ## Before filing an issue
    
    If you are unsure whether you have found a bug, please consider asking in the [golang-nuts mailing
    list](https://groups.google.com/forum/#!forum/golang-nuts) or [other forums](https://golang.org/help/) first. If
    the behavior you are seeing is confirmed as a bug or issue, it can easily be re-raised in the issue tracker.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    		fmt.Printf("%s\n", scanner.Text())
    	}
    
    	if err := scanner.Err(); err != nil {
    		fmt.Printf("Invalid input: %s", err)
    	}
    	// Output:
    	// 1234
    	// 5678
    	// Invalid input: strconv.ParseInt: parsing "1234567901234567890": value out of range
    }
    
    // Use a Scanner with a custom split function to parse a comma-separated
    // list with an empty final value.
    func ExampleScanner_emptyFinalToken() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    	}
    	if strings.HasSuffix(f.Name, "/") {
    		// The ZIP specification (APPNOTE.TXT) specifies that directories, which
    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. doc/godebug.md

    field, [`Policies`](/pkg/crypto/x509/#Certificate.Policies), which supports
    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top