Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 328 for Extern (0.34 sec)

  1. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go

    //go:build (386 || amd64 || amd64p32) && gccgo
    
    package cpu
    
    //extern gccgoGetCpuidCount
    func gccgoGetCpuidCount(eaxArg, ecxArg uint32, eax, ebx, ecx, edx *uint32)
    
    func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) {
    	var a, b, c, d uint32
    	gccgoGetCpuidCount(eaxArg, ecxArg, &a, &b, &c, &d)
    	return a, b, c, d
    }
    
    //extern gccgoXgetbv
    func gccgoXgetbv(eax, edx *uint32)
    
    func xgetbv() (eax, edx uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 795 bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/public/concrete_function.h

    // TF_Value* TF_ExecuteFunction(TFE_Context*, TF_ConcreteFunction*, TF_Value*
    // inputs, int num_inputs, TF_Status* status);
    TF_CAPI_EXPORT extern TFE_Op* TF_ConcreteFunctionMakeCallOp(
        TF_ConcreteFunction* func, TFE_TensorHandle** inputs, int num_inputs,
        TF_Status* status);
    
    #ifdef __cplusplus
    }  // end extern "C"
    #endif  // __cplusplus
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/internal/concrete_function_list.cc

    #include "tensorflow/c/experimental/saved_model/internal/concrete_function_list_type.h"
    #include "tensorflow/c/experimental/saved_model/internal/concrete_function_type.h"
    
    extern "C" {
    
    size_t TF_ConcreteFunctionListNumOutputs(TF_ConcreteFunctionList* list) {
      return list->list.size();
    }
    
    TF_ConcreteFunction* TF_ConcreteFunctionListGet(TF_ConcreteFunctionList* list,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 17:20:45 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/sigprocmask.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows
    
    package cgotest
    
    /*
    #cgo CFLAGS: -pthread
    #cgo LDFLAGS: -pthread
    extern int RunSigThread();
    extern int CheckBlocked();
    */
    import "C"
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    )
    
    var blocked bool
    
    //export IntoGoAndBack
    func IntoGoAndBack() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 808 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_swig.txt

    	// Change its value
    	SetFoo(3.1415926)
    
    	// See if the change took effect
    	fmt.Println("Foo =", GetFoo())
    }
    -- main.swig --
    %module main
    
    %inline %{
    extern int    gcd(int x, int y);
    extern double Foo;
    %}
    -- main_test.go --
    package main
    
    import "testing"
    
    func TestSwigFuncs(t *testing.T) {
    	main()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 21:29:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/testdata/main.c

    // license that can be found in the LICENSE file.
    
    #include <stdint.h>
    #include <stdio.h>
    #include <string.h>
    
    #include "p.h"
    #include "libgo.h"
    
    extern int install_handler();
    extern int check_handler();
    
    int main(void) {
    	int32_t res;
    
    	int r1 = install_handler();
    	if (r1!=0) {
    		return r1;
    	}
    
    	if (!DidInitRun()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 847 bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/tracebackctxt_c.c

    // it can't put function definitions in the "C" import comment.
    
    #include <stdlib.h>
    #include <stdint.h>
    
    // Functions exported from Go.
    extern void G1(void);
    extern void G2(void);
    extern void TracebackContextPreemptionGoFunction(int);
    
    void C1() {
    	G1();
    }
    
    void C2() {
    	G2();
    }
    
    struct cgoContextArg {
    	uintptr_t context;
    };
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAlternateHeaderGreeterFunction.groovy

    #define GREETER_H
    
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    void sayGreeting();
    
    #ifdef __cplusplus
    }
    #endif
    
    #define DUMMY_STRING "alternative dummy"
    extern const char* PUBLIC_DUMMY_STRING;
    
    #endif // GREETER_H
    """))
        }
    
        @Override
        CppAlternateHeaderGreeterFunction asLib() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/link_syso_deps.txt

    [GOOS:linux] [GOARCH:ppc64] skip
    
    cc -c -o syso/x.syso syso/x.c
    cc -c -o syso2/x.syso syso2/x.c
    go build m/cgo
    
    -- go.mod --
    module m
    
    go 1.18
    -- cgo/x.go --
    package cgo
    
    // extern void f(void);
    // extern void g(void);
    import "C"
    
    func F() {
    	C.f()
    }
    
    func G() {
    	C.g()
    }
    
    -- cgo/x2.go --
    package cgo
    
    import _ "m/syso"
    
    -- syso/x.c --
    //go:build ignore
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 742 bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/internal/saved_model_api.cc

    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    
    extern "C" {
    
    TF_SavedModel* TF_LoadSavedModel(const char* dirname, TFE_Context* ctx,
                                     TF_Status* status) {
      std::string saved_model_dir(dirname);
      std::unique_ptr<tensorflow::SavedModelAPI> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 4.7K bytes
    - Viewed (0)
Back to top