Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for expiry (0.18 sec)

  1. src/bufio/export_test.go

    Brad Fitzpatrick <******@****.***> 1509562805 +0000
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    	if n.Doc == nil {
    		return
    	}
    	for _, c := range n.Doc.List {
    		if !strings.HasPrefix(c.Text, "//export ") {
    			continue
    		}
    
    		name := strings.TrimSpace(c.Text[9:])
    		if name == "" {
    			error_(c.Pos(), "export missing name")
    		}
    
    		if name != n.Name.Name {
    			error_(c.Pos(), "export comment has wrong name %q, want %q", name, n.Name.Name)
    		}
    
    		doc := ""
    		for _, c1 := range n.Doc.List {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/api/api_test.go

    		}
    
    		// TODO(gri) remove extra pkg directory eventually
    		goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt")
    		w := NewWalker(nil, "testdata/src/pkg")
    		pkg, _ := w.import_(fi.Name())
    		w.export(pkg)
    
    		if *updateGolden {
    			os.Remove(goldenFile)
    			f, err := os.Create(goldenFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    			for _, feat := range w.Features() {
    				fmt.Fprintf(f, "%s\n", feat)
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    that returns errno.
    
    # C references to Go
    
    Go functions can be exported for use by C code in the following way:
    
    	//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:
    
    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)
  5. src/cmd/cgo/internal/test/callback_c_gc.c

    // Copyright 2013 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.
    
    //go:build gc
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  6. api/go1.5.txt

    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
    pkg go/types, type Initializer struct, Rhs ast.Expr
    pkg go/types, type Interface struct
    pkg go/types, type Label struct
    pkg go/types, type Map struct
    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)
  7. src/cmd/cgo/internal/test/callback.go

    	}
    }
    
    var stringFromGo string
    
    //export goWithString
    func goWithString(s string) {
    	stringFromGo = s
    }
    
    func testCallbackStack(t *testing.T) {
    	// Make cgo call and callback with different amount of stack available.
    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		f()
    	}
    }
    
    //export goStackCheck
    func goStackCheck() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg syscall (openbsd-386), type FdSet struct, Bits [32]uint32
    pkg syscall (openbsd-386), type Kevent_t struct, Data int64
    pkg syscall (openbsd-386), type Mclpool struct, Grown int32
    pkg syscall (openbsd-386), type RtMetrics struct, Expire int64
    pkg syscall (openbsd-386), type RtMetrics struct, Pad uint32
    pkg syscall (openbsd-386), type Stat_t struct, Ino uint64
    pkg syscall (openbsd-386), type Statfs_t struct, F_ctime uint64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  9. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const RTM_VERSION = 4
    pkg syscall (netbsd-arm64-cgo), const RTM_VERSION ideal-int
    pkg syscall (netbsd-arm64-cgo), const RTV_EXPIRE = 4
    pkg syscall (netbsd-arm64-cgo), const RTV_EXPIRE ideal-int
    pkg syscall (netbsd-arm64-cgo), const RTV_HOPCOUNT = 2
    pkg syscall (netbsd-arm64-cgo), const RTV_HOPCOUNT ideal-int
    pkg syscall (netbsd-arm64-cgo), const RTV_MTU = 1
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  10. src/bytes/export_test.go

    // Copyright 2009 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.
    
    package bytes
    
    // Export func for testing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 00:56:36 GMT 2019
    - 244 bytes
    - Viewed (0)
Back to top