- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 232 for typedieof (0.19 sec)
-
tensorflow/cc/framework/ops.h
// START_SKIP_DOXYGEN template <typename T, bool = std::is_convertible<T, std::string>::value> struct RealType { typedef tstring type; }; template <typename T> struct RealType<T, false> { typedef T type; }; // END_SKIP_DOXYGEN TensorProto AsTensorProto() { TensorProto tensor_proto; if (tensor.NumElements() > 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
override[n.Mangle] = s.Name.Name } } } // Extend overrides using typedefs: // If we know that C.xxx should format as T // and xxx is a typedef for yyy, make C.yyy format as T. for typ, def := range typedef { if new := override[typ]; new != "" { if id, ok := def.Go.(*ast.Ident); ok { override[id.Name] = new } } } // Apply overrides.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue42495.go
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cgotest // typedef struct { } T42495A; // typedef struct { int x[0]; } T42495B; import "C" //export Issue42495A func Issue42495A(C.T42495A) {} //export Issue42495B
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 366 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27340/a.go
// pointer types, because we generate code passing a struct ptr rather // than using the typedef. This warning is expected and does not break // a normal build. // We can only disable -Wincompatible-pointer-types starting with GCC 5. // #if __GNU_MAJOR__ >= 5 // // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types" // // typedef struct { // int a; // } issue27340Struct, *issue27340Ptr; //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9026/issue9026.go
package issue9026 // This file appears in its own package since the assertion tests the // per-package counter used to create fresh identifiers. /* typedef struct { int i; } git_merge_file_input; typedef struct { int j; } git_merge_file_options; void git_merge_file( git_merge_file_input *in, git_merge_file_options *opts) {} */ import "C" import ( "fmt" "testing"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/tfe_op_attrs_internal.h
#include "tensorflow/core/framework/attr_value.pb.h" // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways // that sometimes do not require serialization. typedef struct TFE_OpAttrs TFE_OpAttrs; typedef struct TFE_Context TFE_Context; typedef struct TFE_Op TFE_Op; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::AbstractOpAttrs, TFE_OpAttrs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 10 05:41:19 UTC 2021 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/out.go
#define GO_CGO_PROLOGUE_H typedef signed char GoInt8; typedef unsigned char GoUint8; typedef short GoInt16; typedef unsigned short GoUint16; typedef int GoInt32; typedef unsigned int GoUint32; typedef long long GoInt64; typedef unsigned long long GoUint64; typedef GoIntGOINTBITS GoInt; typedef GoUintGOINTBITS GoUint; typedef size_t GoUintptr; typedef float GoFloat32; typedef double GoFloat64;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8148.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 8148. A typedef of an unnamed struct didn't work when used // with an exported Go function. No runtime test; just make sure it // compiles. package cgotest /* typedef struct { int i; } T; int get8148(void); */ import "C" //export issue8148Callback func issue8148Callback(t *C.T) C.int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 526 bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
// ParamGeneratorInterface<T>. It wraps ParamIteratorInterface<T> // and implements the const forward iterator concept. template <typename T> class ParamIterator { public: typedef T value_type; typedef const T& reference; typedef ptrdiff_t difference_type; // ParamIterator assumes ownership of the impl_ pointer. ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/err2.go
// license that can be found in the LICENSE file. package main /* #include <stdio.h> typedef struct foo foo_t; typedef struct bar bar_t; foo_t *foop; long double x = 0; static int transform(int x) { return x; } typedef void v; void F(v** p) {} void fvi(void *p, int x) {} void fppi(int** p) {} int i; void fi(int i) {} */ import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 2.5K bytes - Viewed (0)