Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GoFn22 (0.06 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    		name: "exportok",
    		c: `#include <stdlib.h>
    		    #ifdef _WIN32
    		    __declspec(dllexport)
    			#endif
    		    extern unsigned char *GoFn22();`,
    		support: `//export GoFn22
    		          func GoFn22() *byte { return (*byte)(C.malloc(1)) }`,
    		body: `C.GoFn22()`,
    	},
    	{
    		// Passing a Go string is fine.
    		name: "passstring",
    		c: `#include <stddef.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %con12 = "tf.Const"() { value = dense<[3.0, 4.0]> : tensor<2xf32> } : () -> tensor<2xf32>
      %con21 = "tf.Const"() { value = dense<[0.0, 2.0]> : tensor<2xf32> } : () -> tensor<2xf32>
      %con22 = "tf.Const"() { value = dense<[0.0, 0.0]> : tensor<2xf32> } : () -> tensor<2xf32>
      %con31 = "tf.Const"() { value = dense<[0.0, 0.0]> : tensor<2xf32> } : () -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top