Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for initialized (0.25 sec)

  1. doc/go1.17_spec.html

    <p>
    the variable <code>a</code> will be initialized after <code>b</code> but
    whether <code>x</code> is initialized before <code>b</code>, between
    <code>b</code> and <code>a</code>, or after <code>a</code>, and
    thus also the moment at which <code>sideEffect()</code> is called (before
    or after <code>x</code> is initialized) is not specified.
    </p>
    
    <p>
    Variables may also be initialized using functions named <code>init</code>
    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)
  2. doc/go_spec.html

    <p>
    the variable <code>a</code> will be initialized after <code>b</code> but
    whether <code>x</code> is initialized before <code>b</code>, between
    <code>b</code> and <code>a</code>, or after <code>a</code>, and
    thus also the moment at which <code>sideEffect()</code> is called (before
    or after <code>x</code> is initialized) is not specified.
    </p>
    
    <p>
    Variables may also be initialized using functions named <code>init</code>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    //	Map: An empty map is allocated with enough space to hold the
    //	specified number of elements. The size may be omitted, in which case
    //	a small starting size is allocated.
    //	Channel: The channel's buffer is initialized with the specified
    //	buffer capacity. If zero, or the size is omitted, the channel is
    //	unbuffered.
    func make(t Type, size ...IntegerType) Type
    
    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)
  4. src/cmd/cgo/internal/test/gcc68255.go

    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/gcc68255"
    )
    
    func testGCC68255(t *testing.T) {
    	if !gcc68255.F() {
    		t.Error("C global variable was not initialized")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 361 bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/types, type Info struct, InitOrder []*Initializer
    pkg go/types, type Info struct, Scopes map[ast.Node]*Scope
    pkg go/types, type Info struct, Selections map[*ast.SelectorExpr]*Selection
    pkg go/types, type Info struct, Types map[ast.Expr]TypeAndValue
    pkg go/types, type Info struct, Uses map[*ast.Ident]Object
    pkg go/types, type Initializer struct
    pkg go/types, type Initializer struct, Lhs []*Var
    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)
  6. api/go1.19.txt

    pkg debug/pe, const IMAGE_SCN_CNT_CODE ideal-int #51868
    pkg debug/pe, const IMAGE_SCN_CNT_INITIALIZED_DATA = 64 #51868
    pkg debug/pe, const IMAGE_SCN_CNT_INITIALIZED_DATA ideal-int #51868
    pkg debug/pe, const IMAGE_SCN_CNT_UNINITIALIZED_DATA = 128 #51868
    pkg debug/pe, const IMAGE_SCN_CNT_UNINITIALIZED_DATA ideal-int #51868
    pkg debug/pe, const IMAGE_SCN_LNK_COMDAT = 4096 #51868
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  7. src/cmd/cgo/doc.go

    confuse the Go garbage collector; they are sometimes not really
    pointers but data structures encoded in a pointer type. All operations
    on these types must happen in C. The proper constant to initialize an
    empty such reference is 0, not nil.
    
    These special cases were introduced in Go 1.10. For auto-updating code
    from Go 1.9 and earlier, use the cftype or jni rewrites in the Go fix tool:
    
    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)
  8. doc/asm.html

    At the start of the function, the arguments are assumed
    to be initialized but the results are assumed uninitialized.
    If the results will hold live pointers during a call instruction,
    the function should start by zeroing the results and then
    executing the pseudo-instruction <code>GO_RESULTS_INITIALIZED</code>.
    This instruction records that the results are now initialized
    and should be scanned during stack movement and garbage collection.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/gcc68255/a.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that it's OK to have C code that does nothing other than
    // initialize a global variable.  This used to fail with gccgo.
    
    package gcc68255
    
    /*
    #include "c.h"
    */
    import "C"
    
    func F() bool {
    	return C.v != nil
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 378 bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	for i, n := range names {
    		fmt.Fprintf(&b, "__typeof__(%s) *__cgo__%d;\n", n.C, i)
    		if n.Kind == "iconst" {
    			fmt.Fprintf(&b, "enum { __cgo_enum__%d = %s };\n", i, n.C)
    		}
    	}
    
    	// We create a data block initialized with the values,
    	// so we can read them out of the object file.
    	fmt.Fprintf(&b, "long long __cgodebug_ints[] = {\n")
    	for _, n := range names {
    		if n.Kind == "iconst" {
    			fmt.Fprintf(&b, "\t%s,\n", n.C)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top