Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Program (0.17 sec)

  1. src/cmd/cgo/doc.go

    	#line 1 "not-str-lit"
    	void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (foo); }
    
    This program will not compile, but cgo can use the presence or absence
    of an error message on a given line to deduce the information it
    needs. The program is syntactically valid regardless of whether each
    name is a type or an ordinary identifier, so there will be no syntax
    errors that might stop parsing early.
    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. doc/godebug.md

    (discussed below).
    
    When preparing any change that is permitted by Go 1 compatibility
    but may nonetheless break some existing programs,
    we first engineer the change to keep as many existing programs working as possible.
    For the remaining programs,
    we define a new GODEBUG setting that
    allows individual programs to opt back in to the old behavior.
    A GODEBUG setting may not be added if doing so is infeasible,
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/1-time.md

    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    				[null, 2],
    				[true, 3],
    				[false, 4],
    				[globalThis, 5],
    				[this, 6],
    			]);
    			this._idPool = [];   // unused ids that have been garbage collected
    			this.exited = false; // whether the Go program has exited
    
    			// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.
    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  5. misc/cgo/gmp/fib.go

    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    to present multiple files belonging to the same package in lexical file name
    order to a compiler.
    </p>
    
    
    <h3 id="Program_execution">Program execution</h3>
    <p>
    A complete program is created by linking a single, unimported package
    called the <i>main package</i> with all the packages it imports, transitively.
    The main package must
    have package name <code>main</code> and
    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. .github/ISSUE_TEMPLATE/12-telemetry.yml

        render: Text
        value: |
          counter: gopls/bug
          title: Gopls bug reports
          description: Stacks of bugs encountered on the gopls server.
          type: partition, histogram, stack # choose only one.
          program: golang.org/x/tools/gopls
          counter: gopls/bug
          depth: 16  # only if type is stack.
          version: v0.13.0  # the first binary version containing this counter.
      validations:
          required: true
    - type: dropdown
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. lib/time/mkzip.go

    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    			d, ok := decl.(*ast.GenDecl)
    			if !ok {
    				continue
    			}
    			for _, spec := range d.Specs {
    				if s, ok := spec.(*ast.ImportSpec); ok && s.Path.Value == `"C"` {
    					// Replace "C" with _ "unsafe", to keep program valid.
    					// (Deleting import statement or clause is not safe if it is followed
    					// in the source by an explicit semicolon.)
    					f.Edit.Replace(f.offset(s.Path.Pos()), f.offset(s.Path.End()), `_ "unsafe"`)
    				}
    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)
  10. misc/ios/README

    Second, the Go exec wrapper must be told the developer account signing identity, the team
    id and a provisioned bundle id to use. They're specified with the environment variables
    GOIOS_DEV_ID, GOIOS_TEAM_ID and GOIOS_APP_ID. The detect.go program in this directory will
    attempt to auto-detect suitable values. Run it as
    
    	go run detect.go
    
    which will output something similar to
    
    	export GOIOS_DEV_ID="iPhone Developer: ******@****.*** (XXXXXXXX)"
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
Back to top