Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for start (0.27 sec)

  1. src/cmd/cgo/internal/test/issue18146.go

    	for n := attempts; n > 0; n-- {
    		cmd := exec.Command(os.Args[0], args...)
    		cmd.Env = append(os.Environ(), "test18146=exec")
    		buf := bytes.NewBuffer(nil)
    		cmd.Stdout = buf
    		cmd.Stderr = buf
    		if err := cmd.Start(); err != nil {
    			// We are starting so many processes that on
    			// some systems (problem seen on Darwin,
    			// Dragonfly, OpenBSD) the fork call will fail
    			// with EAGAIN.
    			if pe, ok := err.(*os.PathError); ok {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    _cgo_import.go, which looks like:
    
    	//go:cgo_dynamic_linker "/lib64/ld-linux-x86-64.so.2"
    	//go:cgo_import_dynamic puts puts#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic __libc_start_main __libc_start_main#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic stdout stdout#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic fflush fflush#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic _ _ "libpthread.so.0"
    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)
  3. src/cmd/asm/internal/asm/operand_test.go

    		}
    	}()
    
    	parse()
    
    	return nil
    }
    
    func testBadOperandParser(t *testing.T, parser *Parser, tests []badOperandTest) {
    	for _, test := range tests {
    		err := tryParse(t, func() {
    			parser.start(lex.Tokenize(test.input))
    			addr := obj.Addr{}
    			parser.operand(&addr)
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("fail at %s: got no errors; expected %s\n", test.input, test.error)
    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/ast.go

    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    					if star, ok := unparen(t).(*ast.StarExpr); ok {
    						t = star.X
    					}
    					if sel, ok := unparen(t).(*ast.SelectorExpr); ok {
    						var buf strings.Builder
    						format.Node(&buf, fset, recvType)
    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)
  5. src/archive/zip/reader_test.go

    		t.Errorf("%v: OpenRaw error=%v", f.Name, err)
    		return
    	}
    	start, err := f.DataOffset()
    	if err != nil {
    		t.Errorf("%v: DataOffset error=%v", f.Name, err)
    		return
    	}
    	got, err := io.ReadAll(rw)
    	if err != nil {
    		t.Errorf("%v: OpenRaw ReadAll error=%v", f.Name, err)
    		return
    	}
    	end := uint64(start) + f.CompressedSize64
    	want := raw[start:end]
    	if !bytes.Equal(got, want) {
    		t.Logf("got %q", got)
    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)
  6. api/go1.3.txt

    pkg syscall (netbsd-arm), type Kevent_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_2 [4]uint8
    pkg syscall (netbsd-arm), type Termios struct
    pkg syscall (netbsd-arm), type Termios struct, Cc [20]uint8
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    	b := []byte{0, 1, 2, 3, 4}
    	tmp := make([]byte, 5)
    	for i := 0; i <= 5; i++ {
    		for j := i; j <= 5; j++ {
    			for k := 0; k <= 6; k++ {
    				// 0 <= i <= j <= 5; 0 <= k <= 6
    				// Check that if we start with a buffer
    				// of length j at offset i and ask for
    				// Next(k), we get the right bytes.
    				buf := NewBuffer(b[0:j])
    				n, _ := buf.Read(tmp[0:i])
    				if n != i {
    					t.Fatalf("Read %d returned %d", i, n)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/archive/tar/stat_actime1.go

    //go:build aix || linux || dragonfly || openbsd || solaris
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atim.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctim.Unix())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 431 bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg runtime, func ReadTrace() []uint8
    pkg runtime, func StartTrace() error
    pkg runtime, func StopTrace()
    pkg runtime, type MemStats struct, GCCPUFraction float64
    pkg runtime/trace, func Start(io.Writer) error
    pkg runtime/trace, func Stop()
    pkg strings, func Compare(string, string) int
    pkg strings, func LastIndexByte(string, uint8) int
    pkg strings, method (*Reader) Size() int64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </p>
    
    <ol>
    <li>
    <i>Line comments</i> start with the character sequence <code>//</code>
    and stop at the end of the line.
    </li>
    <li>
    <i>General comments</i> start with the character sequence <code>/*</code>
    and stop with the first subsequent character sequence <code>*/</code>.
    </li>
    </ol>
    
    <p>
    A comment cannot start inside a <a href="#Rune_literals">rune</a> or
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top