Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for __cdecl (0.06 sec)

  1. src/runtime/syscall_windows_test.go

    	}
    }
    
    type cbFunc struct {
    	goFunc any
    }
    
    func (f cbFunc) cName(cdecl bool) string {
    	name := "stdcall"
    	if cdecl {
    		name = "cdecl"
    	}
    	t := reflect.TypeOf(f.goFunc)
    	for i := 0; i < t.NumIn(); i++ {
    		name += "_" + t.In(i).Name()
    	}
    	return name
    }
    
    func (f cbFunc) cSrc(w io.Writer, cdecl bool) {
    	// Construct a C function that takes a callback with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. src/runtime/syscall_windows.go

    //
    // On 386, if cdecl is true, the returned C function will use the
    // cdecl calling convention; otherwise, it will use stdcall. On amd64,
    // it always uses fastcall. On arm, it always uses the ARM convention.
    //
    //go:linkname compileCallback syscall.compileCallback
    func compileCallback(fn eface, cdecl bool) (code uintptr) {
    	if GOARCH != "386" {
    		// cdecl is only meaningful on 386.
    		cdecl = false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen.cc

      string c_decl;
      for (int i = 0; i < op_info.arg_types.size(); ++i) {
        if (i > 0) strings::StrAppend(&c_decl, ", ");
        strings::StrAppend(&c_decl, op_info.arg_types[i], " ",
                           op_info.arg_names[i]);
      }
      if (include_attr && op_info.has_optional_attrs) {
        strings::StrAppend(&c_decl, ", const ", op_info.op_name, "::Attrs& attrs");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-mesh-dashboard.json

                  },
                  {
                    "id": "links",
                    "value": [
                      {
                        "targetBlank": false,
                        "title": "$__cell dashboard",
                        "url": "/dashboard/db/istio-workload-dashboard?var-workload=${__cell_2:raw}&var-namespace=${__cell_3:raw}"
                      }
                    ]
                  },
                  {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 02:28:01 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. src/internal/xcoff/xcoff.go

    	C_STSYM   = 133 // Statically allocated symbol
    	C_BCOMM   = 135 // Beginning of common block
    	C_ECOML   = 136 // Local member of common block
    	C_ECOMM   = 137 // End of common block
    	C_DECL    = 140 // Declaration of object
    	C_ENTRY   = 141 // Alternate entry
    	C_FUN     = 142 // Function or procedure
    	C_BSTAT   = 143 // Beginning of static block
    	C_ESTAT   = 144 // End of static block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top