Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dotypedef (0.13 sec)

  1. 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)
  2. src/cmd/cgo/internal/testerrors/testdata/issue67517.go

    // Copyright 2024 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 main
    
    // typedef struct { int a; void* ptr; } S;
    // static void f(S* p) {}
    import "C"
    
    func main() {
    	C.f(&C.S{
    		a: 1+
    
    			(3 + ""), // ERROR HERE
    
    		ptr: nil,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 335 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.h

      }
    
      static IsComposite join(const IsComposite &lhs, const IsComposite &rhs);
      void print(raw_ostream &os) const;
    
      bool is_on_composite_device = false;
    };
    
    typedef dataflow::Lattice<ResourceConstructingOps> ResourceDataflowState;
    typedef dataflow::Lattice<IsComposite> IsCompositeDataflowState;
    
    void LoadResourceDataflowAnalysis(DataFlowSolver &solver);
    void LoadIsCompositeDataflowAnalysis(DataFlowSolver &solver);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference.h

      PartialTensorShape shape;
    
      // If the argument is a resource variable, the type and shape of the
      // variable's value.
      DataType handle_type = DT_INVALID;
      PartialTensorShape handle_shape;
    };
    typedef std::unordered_map<string, std::vector<InferredShape>> GraphShapeInfo;
    
    // Infer shapes for all Tensors in a graph, and save them in a map.  The vector
    // for a Node contains the information about each of its outputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    #include "xla/stream_executor/stream_executor.h"
    #include "tsl/platform/statusor.h"
    
    namespace stream_executor {
    
    // Plugin initialization function that a device plugin
    // must define.
    typedef void (*SEInitPluginFn)(SE_PlatformRegistrationParams* const,
                                   TF_Status* const);
    
    // Registers StreamExecutor platform. `device_type` and `platform_name` are
    // output parameters.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental.cc

    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/types.h"
    
    using tensorflow::string;
    
    namespace tensorflow {
    namespace tracing {
    typedef absl::flat_hash_map<std::string, tracing::FactoryFunction> FactoriesMap;
    
    static FactoriesMap& GetFactories() {
      static FactoriesMap* factories = new FactoriesMap;
      return *factories;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top