Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for init (0.11 sec)

  1. src/cmd/asm/main.go

    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    	architecture.Init(ctxt)
    
    	// Create object file, write header.
    	buf, err := bio.Create(*flags.OutputFile)
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer buf.Close()
    
    	if !*flags.SymABIs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. doc/go_spec.html

    may be invoked with zero or more arguments for that parameter.
    </p>
    
    <pre>
    func()
    func(x int) int
    func(a, _ int, z float32) bool
    func(a, b int, z float32) (bool)
    func(prefix string, values ...int)
    func(a, b int, z float64, opt ...interface{}) (success bool)
    func(int, int, float64) (float64, *[]int)
    func(n int) func(p *T)
    </pre>
    
    <h3 id="Interface_types">Interface types</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  3. api/go1.23.txt

    pkg slices, func All[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq2[int, $1] #61899
    pkg slices, func AppendSeq[$0 interface{ ~[]$1 }, $1 interface{}]($0, iter.Seq[$1]) $0 #61899
    pkg slices, func Backward[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq2[int, $1] #61899
    pkg slices, func Chunk[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) iter.Seq[$0] #53987
    pkg slices, func Collect[$0 interface{}](iter.Seq[$0]) []$0 #61899
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/swig/swig_test.go

    		t.Logf("failed to find swig version, continuing")
    		return
    	}
    
    	var parseError error
    	atoi := func(s string) int {
    		x, err := strconv.Atoi(s)
    		if err != nil && parseError == nil {
    			parseError = err
    		}
    		return x
    	}
    	var major, minor, patch int
    	major = atoi(string(matches[1]))
    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    func (w testNonEmptyWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, errors.New("unexpected empty Write call")
    	}
    	return w.Writer.Write(b)
    }
    
    func TestFileWriter(t *testing.T) {
    	type (
    		testWrite struct { // Write(str) == (wantCnt, wantErr)
    			str     string
    			wantCnt int
    			wantErr error
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    var dwarfToName = map[string]string{
    	"long int":               "long",
    	"long unsigned int":      "ulong",
    	"unsigned int":           "uint",
    	"short unsigned int":     "ushort",
    	"unsigned short":         "ushort", // Used by Clang; issue 13129.
    	"short int":              "short",
    	"long long int":          "longlong",
    	"long long unsigned int": "ulonglong",
    	"signed char":            "schar",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    	//export MyFunction
    	func MyFunction(arg1, arg2 int, arg3 string) int64 {...}
    
    	//export MyFunction2
    	func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...}
    
    They will be available in the C code as:
    
    	extern GoInt64 MyFunction(int arg1, int arg2, GoString arg3);
    	extern struct MyFunction2_return MyFunction2(int arg1, int arg2, GoString arg3);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    	pos int64       // Current position in sparse file
    }
    
    func (sw *sparseFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > sw.logicalRemaining()
    	if overwrite {
    		b = b[:sw.logicalRemaining()]
    	}
    
    	b0 := b
    	endPos := sw.pos + int64(len(b))
    	for endPos > sw.pos && err == nil {
    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    )
    
    // Issue 61973: indirect dependencies are not initialized.
    func init() {
    	if !depBaseInternal.Initialized {
    		panic("depBaseInternal not initialized")
    	}
    	if os.Stdout == nil {
    		panic("os.Stdout is nil")
    	}
    
    	Initialized = true
    }
    
    var Initialized bool
    
    var SlicePtr interface{} = &[]int{}
    
    var V int = 1
    
    var HasMask []string = []string{"hi"}
    
    type HasProg struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/test.go

    	})
    }
    
    // issue 29781
    
    var issue29781X struct{ X int }
    
    func issue29781F(...int) int { return 0 }
    
    func issue29781G() {
    	var p *C.char
    	C.issue29781F(&p, C.ISSUE29781C+1)
    	C.issue29781F(nil, (C.int)(
    		0))
    	C.issue29781F(&p, (C.int)(0))
    	C.issue29781F(&p, (C.int)(
    		0))
    	C.issue29781F(&p, (C.int)(issue29781X.
    		X))
    }
    
    // issue 30065
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top