Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Program (0.16 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. 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)
  5. 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)
  6. src/builtin/builtin.go

    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    // Starting in Go 1.21, calling panic with a nil interface value or an
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. 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 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. doc/go_spec.html

    arguments and returns no value.
    </p>
    
    <pre>
    func main() { … }
    </pre>
    
    <p>
    Program execution begins by <a href="#Program_initialization">initializing the program</a>
    and then invoking the function <code>main</code> in package <code>main</code>.
    When that function invocation returns, the program exits.
    It does not wait for other (non-<code>main</code>) goroutines to complete.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/2-unique.md

    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
Back to top