Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Gill (0.17 sec)

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

    		if err := syscall.Exec(os.Args[0], argv, os.Environ()); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	var cmds []*exec.Cmd
    	defer func() {
    		for _, cmd := range cmds {
    			cmd.Process.Kill()
    		}
    	}()
    
    	args := append(append([]string(nil), os.Args[1:]...), "-test.run=^Test18146$")
    	for n := attempts; n > 0; n-- {
    		cmd := exec.Command(os.Args[0], args...)
    		cmd.Env = append(os.Environ(), "test18146=exec")
    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

    "C", it will look for other non-Go files in the directory and compile
    them as part of the Go package. Any .c, .s, .S or .sx files will be
    compiled with the C compiler. Any .cc, .cpp, or .cxx files will be
    compiled with the C++ compiler. Any .f, .F, .for or .f90 files will be
    compiled with the fortran compiler. Any .h, .hh, .hpp, or .hxx files will
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    			t.Errorf(testname+" (fill 2): m == %d, expected %d", m, len(fus))
    		}
    		if err != nil {
    			t.Errorf(testname+" (fill 3): err should always be nil, found err == %s", err)
    		}
    		s += fus
    		check(t, testname+" (fill 4)", buf, s)
    	}
    	return s
    }
    
    // Fill buf through n writes of byte slice fub.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    		{
    			name: "fill error, discard less",
    			r: newScriptedReader(func(p []byte) (n int, err error) {
    				if len(p) < 5 {
    					panic("unexpected small read")
    				}
    				return 5, errors.New("5-then-error")
    			}),
    			n:            4,
    			want:         4,
    			wantErr:      nil,
    			wantBuffered: 1,
    		},
    		{
    			name: "fill error, discard equal",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  5. src/all.bat

    L2::: Use of this source code is governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if exist make.bat goto ok
    L10:echo all.bat must be run from go\src
    L11::: cannot exit: would kill parent command interpreter
    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    L20:
    ...
    Batch File
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Apr 19 14:36:22 GMT 2023
    - 543 bytes
    - Viewed (0)
  6. src/arena/arena.go

    limits the impact of these use-after-free bugs by preventing reuse of freed
    memory regions until the garbage collector is able to determine that it is
    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast.go

    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// 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)
    		}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/swig_test.go

    }
    
    var (
    	swigOnce sync.Once
    	haveSwig bool
    )
    
    func mustHaveSwig(t *testing.T) {
    	swigOnce.Do(func() {
    		mustHaveSwigOnce(t)
    		haveSwig = true
    	})
    	// The first call will skip t with a nice message. On later calls, we just skip.
    	if !haveSwig {
    		t.Skip("swig not found")
    	}
    }
    
    func mustHaveSwigOnce(t *testing.T) {
    	swig, err := exec.LookPath("swig")
    	if err != nil {
    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)
  9. doc/go1.17_spec.html

    index of the first byte of successive UTF-8-encoded code points in the string,
    and the second value, of type <code>rune</code>, will be the value of
    the corresponding code point.  If the iteration encounters an invalid
    UTF-8 sequence, the second value will be <code>0xFFFD</code>,
    the Unicode replacement character, and the next iteration will advance
    a single byte in the string.
    </li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. misc/wasm/wasm_exec.js

    				NaN,
    				0,
    				null,
    				true,
    				false,
    				globalThis,
    				this,
    			];
    			this._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id
    			this._ids = new Map([ // mapping from JS values to reference ids
    				[0, 1],
    				[null, 2],
    				[true, 3],
    				[false, 4],
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
Back to top