Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for init (0.18 sec)

  1. src/cmd/cgo/ast.go

    		}
    		f.walk(n.List, context, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.SwitchStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(&n.Tag, ctxExpr, visit)
    		f.walk(n.Body, ctxSwitch, visit)
    	case *ast.TypeSwitchStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(n.Assign, ctxStmt, visit)
    		f.walk(n.Body, ctxTypeSwitch, visit)
    	case *ast.CommClause:
    		f.walk(n.Comm, ctxStmt, visit)
    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)
  2. src/cmd/asm/internal/asm/testdata/s390x.s

    	VSUMQG	V19, V20, V21           // e75340003e67
    	VSUMB	V7, V8, V9              // e79780000064
    	VSUMH	V22, V23, V24           // e78670001e64
    
    	RET
    	RET	foo(SB)
    
    TEXT main·init(SB),DUPOK|NOSPLIT,$0 // TEXT main.init(SB), DUPOK|NOSPLIT, $0
    	RET
    
    TEXT main·main(SB),DUPOK|NOSPLIT,$0 // TEXT main.main(SB), DUPOK|NOSPLIT, $0
    	BL      main·foo(SB)    // CALL main.foo(SB)
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/tokenizer.go

    // turning text from readers into tokens.
    type Tokenizer struct {
    	tok  ScanToken
    	s    *scanner.Scanner
    	base *src.PosBase
    	line int
    	file *os.File // If non-nil, file descriptor to close.
    }
    
    func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer {
    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  4. src/archive/zip/register.go

    		flateReaderPool.Put(r.fr)
    		r.fr = nil
    	}
    	return err
    }
    
    var (
    	compressors   sync.Map // map[uint16]Compressor
    	decompressors sync.Map // map[uint16]Decompressor
    )
    
    func init() {
    	compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
    	compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil }))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. api/go1.3.txt

    pkg syscall (freebsd-arm), const TCP_VENDOR ideal-int
    pkg syscall (freebsd-arm), const TIOCTIMESTAMP = 1074820185
    pkg syscall (freebsd-arm), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (freebsd-arm), func Fchflags(int, int) error
    pkg syscall (freebsd-arm), func FcntlFlock(uintptr, int, *Flock_t) error
    pkg syscall (freebsd-arm), func SendmsgN(int, []uint8, []uint8, Sockaddr, int) (int, error)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    received from Go. For example:
    
    	package main
    
    	// typedef int (*intFunc) ();
    	//
    	// int
    	// bridge_int_func(intFunc f)
    	// {
    	//		return f();
    	// }
    	//
    	// int fortytwo()
    	// {
    	//	    return 42;
    	// }
    	import "C"
    	import "fmt"
    
    	func main() {
    		f := C.intFunc(C.fortytwo)
    		fmt.Println(int(C.bridge_int_func(f)))
    		// Output: 42
    	}
    
    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)
  7. doc/go1.17_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>
    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)
  8. src/cmd/api/boring_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func init() {
    	fmt.Printf("SKIP with boringcrypto enabled\n")
    	os.Exit(0)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 16 16:02:26 GMT 2023
    - 300 bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func init() {
    	testBytes = make([]byte, N)
    	for i := 0; i < N; i++ {
    		testBytes[i] = 'a' + byte(i%26)
    	}
    	testString = string(testBytes)
    }
    
    // Verify that contents of buf match the string s.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue1435.go

    //
    // pthread_t *t = NULL;
    // pthread_mutex_t mu;
    // int nts = 0;
    // int all_done = 0;
    //
    // static void *aFn(void *vargp) {
    //   int done = 0;
    //   while (!done) {
    //     usleep(100);
    //     pthread_mutex_lock(&mu);
    //     done = all_done;
    //     pthread_mutex_unlock(&mu);
    //   }
    //   return NULL;
    // }
    //
    // void trial(int argc) {
    //   int i;
    //   nts = argc;
    //   t = calloc(nts, sizeof(pthread_t));
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top