- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 328 for Extern (0.31 sec)
-
src/runtime/testdata/testprogcgo/trace_windows.c
// it can't put function definitions in the "C" import comment. #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <process.h> #include "_cgo_export.h" extern void goCalledFromC(void); extern void goCalledFromCThread(void); __stdcall static unsigned int cCalledFromCThread(void *p) { goCalledFromCThread(); return 0; } void cCalledFromGo(void) { goCalledFromC();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 19:18:12 UTC 2023 - 777 bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.h
// Name of the attribute containing the number of constant arguments. extern const char* const kXlaNumConstantArgsAttr; // Name of the attribute containing the number of resource variable arguments. extern const char* const kXlaNumResourceArgsAttr; // Name of the attribute defining whether the cluster has reference variables. extern const char* const kXlaHasReferenceVarsAttr; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 12 03:59:36 UTC 2022 - 4.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan5.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // Using reflect to set a value was not seen by msan. /* #include <stdlib.h> extern void Go1(int*); extern void Go2(char*); // Use weak as a hack to permit defining a function even though we use export. void C1() __attribute__ ((weak)); void C2() __attribute__ ((weak)); void C1() { int i; Go1(&i);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 904 bytes - Viewed (0) -
tensorflow/c/tf_attrtype.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_TF_ATTRTYPE_H_ #define TENSORFLOW_C_TF_ATTRTYPE_H_ #ifdef __cplusplus extern "C" { #endif // TF_AttrType describes the type of the value of an attribute on an operation. typedef enum TF_AttrType { TF_ATTR_STRING = 0, TF_ATTR_INT = 1, TF_ATTR_FLOAT = 2, TF_ATTR_BOOL = 3,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 23:25:05 UTC 2019 - 1.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/tensor_spec.cc
#include "tensorflow/c/tf_shape_internal.h" extern "C" { TF_DataType TF_TensorSpecDataType(const TF_TensorSpec* spec) { return static_cast<TF_DataType>(tensorflow::unwrap(spec)->dtype()); } const TF_Shape* TF_TensorSpecShape(const TF_TensorSpec* spec) { return tensorflow::wrap(&tensorflow::unwrap(spec)->shape()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 17:58:21 UTC 2020 - 1.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/testx.go
B, C, D, E, F, G, H, II, J, } issue4054b; // issue 5548 extern int issue5548_in_c(void); // issue 6833 extern unsigned long long issue6833Func(unsigned int, unsigned long long); // issue 6907 extern int CheckIssue6907C(_GoString_); // issue 7665 extern void f7665(void); // issue 7978 // Stack tracing didn't work during cgo code after calling a Go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 10.6K bytes - Viewed (0) -
tensorflow/c/tf_shape.cc
#include "tensorflow/c/tf_shape.h" #include <stdint.h> #include "tensorflow/c/tf_shape_internal.h" #include "tensorflow/core/framework/tensor_shape.h" extern "C" { TF_Shape* TF_NewShape() { return tensorflow::wrap(new tensorflow::PartialTensorShape()); } int TF_ShapeDims(const TF_Shape* shape) { return tensorflow::unwrap(shape)->dims(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 00:25:41 UTC 2020 - 1.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue6997_linux.go
// (NPTL uses SIGRTMIN to implement thread cancellation) // See https://golang.org/issue/6997 package cgotest /* #cgo CFLAGS: -pthread #cgo LDFLAGS: -pthread extern int StartThread(); extern int CancelThread(); */ import "C" import ( "testing" "time" ) func test6997(t *testing.T) { r := C.StartThread() if r != 0 { t.Error("pthread_create failed") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 879 bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/concrete_function.cc
#include "tensorflow/c/experimental/saved_model/internal/function_metadata_type.h" #include "tensorflow/c/tf_status_internal.h" #include "tensorflow/core/platform/status.h" extern "C" { TF_FunctionMetadata* TF_ConcreteFunctionGetMetadata(TF_ConcreteFunction* func) { return tensorflow::wrap(const_cast<tensorflow::FunctionMetadata*>( &tensorflow::unwrap(func)->GetFunctionMetadata())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/signature_def_function.cc
#include "tensorflow/c/experimental/saved_model/internal/signature_def_function_type.h" #include "tensorflow/c/tf_status_internal.h" #include "tensorflow/core/platform/status.h" extern "C" { TF_SignatureDefFunctionMetadata* TF_SignatureDefFunctionGetMetadata( TF_SignatureDefFunction* func) { return tensorflow::wrap(const_cast<tensorflow::SignatureDefFunctionMetadata*>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 17 23:03:48 UTC 2020 - 2.3K bytes - Viewed (0)