Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 328 for Extern (0.13 sec)

  1. tensorflow/c/experimental/saved_model/public/function_metadata.h

    #include "tensorflow/c/c_api_macros.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    // An opaque type used to store any metadata associated with a function.
    typedef struct TF_FunctionMetadata TF_FunctionMetadata;
    
    // TODO(bmzhao): Add getters for fields as we determine what metadata
    // we want to expose.
    
    #ifdef __cplusplus
    }  // end extern "C"
    #endif  // __cplusplus
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 20 17:00:01 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterFunction.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 "dummy"
    extern const char* PUBLIC_DUMMY_STRING;
    
    #endif // GREETER_H
    """))
    
            privateHeader = ofFile(sourceFile("headers", "greeter_consts.h", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

                sourceFile("c", "main.c", """
                #include <stdio.h>
    
                // Ensure consistent asm name mapping on all platforms
                #if !defined(_MSC_VER)
                extern int sum1(int a, int b) asm("_sum1");
                extern int sum2(int a, int b) asm("_sum2");
                #endif
    
                int main () {
                    printf("foo%dfoo%d", sum1(1, 0), sum2(1, 1));
                    fflush(stdout);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/custom-layout/groovy/src/source/main.cpp

    extern "C" {
        #include "hello.h"
    }
    
    int main () {
      hello();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 78 bytes
    - Viewed (0)
  5. cluster/gce/windows/testonly/user-profile.psm1

        {
            [DllImport("userenv.dll", CharSet = CharSet.Unicode, ExactSpelling = false, SetLastError = true)]
            public static extern bool DeleteProfile(string sidString, string profilePath, string computerName);
    
            [DllImport("kernel32.dll")]
            public static extern uint GetLastError();
        }
    
        public static class Profile
        {
            public static uint Delete(string sidString)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/cgo/handle.go

    // value of a Handle is not valid, and thus is safe to use as a sentinel
    // in C APIs.
    //
    // For instance, on the Go side:
    //
    //	package main
    //
    //	/*
    //	#include <stdint.h> // for uintptr_t
    //
    //	extern void MyGoPrint(uintptr_t handle);
    //	void myprint(uintptr_t handle);
    //	*/
    //	import "C"
    //	import "runtime/cgo"
    //
    //	//export MyGoPrint
    //	func MyGoPrint(handle C.uintptr_t) {
    //		h := cgo.Handle(handle)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateMixedSameBaseNamesTestApp.groovy

        }
    
        String asmSource() {
            if (toolChain.isVisualCpp()) {
                return """
    .386
    ;.model flat
    .model small,c
    .data
    msg db "fooFromAsm", 10, 0
    .code
    includelib MSVCRT
    extrn printf:near
    extrn exit:NEAR
    public sayFooFromAsm
    sayFooFromAsm proc
    push    offset msg
    call    printf
    mov eax,0
    push eax
    call exit
    sayFooFromAsm endp
    end
    """
            } else {
                return """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue29563/weak1.c

    // Copyright 2019 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.
    
    extern int weaksym __attribute__((__weak__));
    int weaksym = 42;
    
    int foo1()
    {
    	return weaksym;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 257 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue29563/weak2.c

    // Copyright 2019 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.
    
    extern int weaksym __attribute__((__weak__));
    int weaksym = 42;
    
    int foo2()
    {
    	return weaksym;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 257 bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.cc

          {reinterpret_cast<tensorflow::AbstractTensorHandle**>(
               tensorflow::unwrap(inputs)),
           static_cast<size_t>(num_inputs)});
    }
    
    extern int TFE_OpGetFlatInputCount(const TFE_Op* op, TF_Status* status) {
      return tensorflow::unwrap(op)->GetInputs().size();
    }
    
    extern TFE_TensorHandle* TFE_OpGetFlatInput(const TFE_Op* op, int index,
                                                TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top