Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Program (0.21 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 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. 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 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. 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 23 11:13:09 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  5. 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. doc/go_mem.html

    </p>
    
    <p>
    A Go <i>program execution</i> is modeled as a set of goroutine executions,
    together with a mapping <i>W</i> that specifies the write-like operation that each read-like operation reads from.
    (Multiple executions of the same program can have different program executions.)
    </p>
    
    <p>
    <b>Requirement 2</b>:
    For a given program execution, the mapping <i>W</i>, when limited to synchronizing operations,
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  7. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    prev_handler = None
    
    def signal_handler(signal, frame):
    	process.Signal(signal)
    
    def run_program():
    	# Forward SIGQUIT to the program.
    	prev_handler = signal.signal(signal.SIGQUIT, signal_handler)
    	# Tell the Go driver that the program is running and should not be retried.
    	sys.stderr.write("lldb: running program\n")
    	running = True
    	# Process is stopped at attach/launch. Let it run.
    	process.Continue()
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    // much like the innermost zip files in the well-known 42.zip.
    //
    // biggest.zip was generated by changing isZip64 to use > uint32max
    // instead of >= uint32max and then running this program:
    //
    //	package main
    //
    //	import (
    //		"archive/zip"
    //		"bytes"
    //		"io"
    //		"log"
    //		"os"
    //	)
    //
    //	type zeros struct{}
    //
    //	func (zeros) Read(b []byte) (int, error) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    // being referred to as C.xxx.
    func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {
    	// Extract the types from the DWARF section of an object
    	// from a well-formed C program. Gcc only generates DWARF info
    	// for symbols in the object file, so it is not enough to print the
    	// preamble and hope the symbols we care about will be there.
    	// Instead, emit
    	//	__typeof__(names[i]) *__cgo__i;
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top