Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 231 for dotypedef (0.13 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern uint64_t TFE_GetContextId(TFE_Context* ctx);
    
    // -----------------------------------------------------------------------------
    // Cancellation APIs.
    
    typedef struct TFE_CancellationManager TFE_CancellationManager;
    typedef int64_t TFE_CancellationToken;
    typedef struct TFE_CancelCallback {
      void (*callback)(void* context);
      void* context;
    } TFE_CancelCallback;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/debug/dwarf/type_test.go

    	return d
    }
    
    func TestTypedefsELF(t *testing.T) {
    	testTypedefs(t, elfData(t, "testdata/typedef.elf"), "elf", typedefTests)
    }
    
    func TestTypedefsMachO(t *testing.T) {
    	testTypedefs(t, machoData(t, "testdata/typedef.macho"), "macho", typedefTests)
    }
    
    func TestTypedefsELFDwarf4(t *testing.T) {
    	testTypedefs(t, elfData(t, "testdata/typedef.elf4"), "elf", typedefTests)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top