Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for stdin (0.19 sec)

  1. src/cmd/cgo/internal/swig/swig_test.go

    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func TestStdio(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	run(t, "testdata/stdio", false)
    }
    
    func TestCall(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	mustHaveCxx(t)
    	run(t, "testdata/callback", false, "Call")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Timeval struct, Usec int32
    pkg syscall (netbsd-arm64-cgo), type WaitStatus uint32
    pkg syscall (netbsd-arm64-cgo), var Stderr int
    pkg syscall (netbsd-arm64-cgo), var Stdin int
    pkg syscall (netbsd-arm64-cgo), var Stdout int
    pkg syscall (netbsd-arm64), const AF_APPLETALK = 16
    pkg syscall (netbsd-arm64), const AF_APPLETALK ideal-int
    pkg syscall (netbsd-arm64), const AF_ARP = 28
    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)
  3. src/cmd/cgo/doc.go

    circumvent this by using a C function wrapper. For example:
    
    	package main
    
    	// #include <stdio.h>
    	// #include <stdlib.h>
    	//
    	// static void myprint(char* s) {
    	//   printf("%s\n", s);
    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    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)
  4. tensorflow/c/env.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_ENV_H_
    #define TENSORFLOW_C_ENV_H_
    
    #include <stdbool.h>
    #include <stddef.h>
    #include <stdint.h>
    
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/tf_file_statistics.h"
    #include "tensorflow/c/tf_status.h"
    
    // --------------------------------------------------------------------------
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  5. api/go1.16.txt

    pkg syscall (darwin-arm64), type Timeval32 struct, Usec int32
    pkg syscall (darwin-arm64), type WaitStatus uint32
    pkg syscall (darwin-arm64), var Stderr int
    pkg syscall (darwin-arm64), var Stdin int
    pkg syscall (darwin-arm64), var Stdout int
    pkg syscall (darwin-arm64-cgo), const AF_APPLETALK = 16
    pkg syscall (darwin-arm64-cgo), const AF_APPLETALK ideal-int
    pkg syscall (darwin-arm64-cgo), const AF_CCITT = 10
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type Timeval struct, Usec int64 #53466
    pkg syscall (freebsd-riscv64), type WaitStatus uint32 #53466
    pkg syscall (freebsd-riscv64), var Stderr int #53466
    pkg syscall (freebsd-riscv64), var Stdin int #53466
    pkg syscall (freebsd-riscv64), var Stdout int #53466
    pkg syscall (freebsd-riscv64-cgo), const AF_APPLETALK = 16 #53466
    pkg syscall (freebsd-riscv64-cgo), const AF_APPLETALK ideal-int #53466
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  7. api/go1.14.txt

    pkg syscall (freebsd-arm64), type Timeval struct, Usec int64
    pkg syscall (freebsd-arm64), type WaitStatus uint32
    pkg syscall (freebsd-arm64), var Stderr int
    pkg syscall (freebsd-arm64), var Stdin int
    pkg syscall (freebsd-arm64), var Stdout int
    pkg syscall (freebsd-arm64-cgo), const AF_APPLETALK = 16
    pkg syscall (freebsd-arm64-cgo), const AF_APPLETALK ideal-int
    pkg syscall (freebsd-arm64-cgo), const AF_ARP = 35
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue1435.go

    //go:build linux && cgo
    
    package cgotest
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"runtime"
    	"sort"
    	"strings"
    	"syscall"
    	"testing"
    )
    
    // #include <stdio.h>
    // #include <stdlib.h>
    // #include <pthread.h>
    // #include <unistd.h>
    // #include <sys/types.h>
    //
    // pthread_t *t = NULL;
    // pthread_mutex_t mu;
    // int nts = 0;
    // int all_done = 0;
    //
    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)
  9. tensorflow/c/c_api_experimental.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_C_API_EXPERIMENTAL_H_
    #define TENSORFLOW_C_C_API_EXPERIMENTAL_H_
    
    #include <stddef.h>
    #include <stdint.h>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/eager/c_api.h"
    
    // --------------------------------------------------------------------------
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRAPPLER_GRAPPLER_H_
    #define TENSORFLOW_C_EXPERIMENTAL_GRAPPLER_GRAPPLER_H_
    
    #include <stddef.h>
    #include <stdint.h>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/tf_status.h"
    
    // --------------------------------------------------------------------------
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top