Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for lib_func (0.14 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/3rd-party-lib/util/src/util/cpp/util.cpp

    #include <iostream>
    #include "util.h"
    
    void LIB_FUNC printBuildType () {
    #ifdef DEBUG
      std::cout << "Util build type: DEBUG" << std::endl;
    #else
      std::cout << "Util build type: RELEASE" << std::endl;
    #endif
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 211 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/cpp-lib/groovy/src/main/cpp/hello.cpp

    #include <iostream>
    #include "hello.h"
    
    void LIB_FUNC hello () {
      std::cout << "Hello, World!\n";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 101 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/multi-project/groovy/lib/src/main/cpp/hello.cpp

    #include <iostream>
    #include "hello.h"
    
    void LIB_FUNC hello () {
      std::cout << "Hello, World!\n";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 101 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/flavors/groovy/src/hello/cpp/hello.cpp

    #include <iostream>
    #include "hello.h"
    
    void LIB_FUNC hello () {
      #ifdef FRENCH
      std::cout << "Bonjour monde!" << std::endl;
      #else
      std::cout << "Hello world!" << std::endl;
      #endif
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 190 bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryDependenciesIntegrationTest.groovy

            return """
                #ifdef _WIN32
                #define EXPORT_FUNC __declspec(dllexport)
                #else
                #define EXPORT_FUNC
                #endif
                
                void EXPORT_FUNC lib_func() { }
            """
        }
    
        private static getMainLibrarySource() {
            return """
                int main_func() {
                    return 0;
                }
            """
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationDependenciesIntegrationTest.groovy

            return """
                #ifdef _WIN32
                #define EXPORT_FUNC __declspec(dllexport)
                #else
                #define EXPORT_FUNC
                #endif
                
                void EXPORT_FUNC lib_func() { }
            """
        }
    
        private static String getApplicationSource() {
            return """
                int main() {
                    return 0;
                }
            """
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/runtime/os_solaris.go

    	//LibCall       libcall;
    	ts      mts
    	scratch mscratch
    }
    
    type libcFunc uintptr
    
    //go:linkname asmsysvicall6x runtime.asmsysvicall6
    var asmsysvicall6x libcFunc // name to take addr of asmsysvicall6
    
    func asmsysvicall6() // declared for vet; do NOT call
    
    //go:nosplit
    func sysvicall0(fn *libcFunc) uintptr {
    	// Leave caller's PC/SP around for traceback.
    	gp := getg()
    	var mp *m
    	if gp != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    			// The path isn't interesting, so just give the .so.
    			lineFunc, lineFile = filePath[1], filepath.Base(filePath[2])
    		} else if strings.Contains(jloc[2], "generated stub/JIT") {
    			lineFunc = "STUB"
    		} else {
    			// Treat whole line as the function name. This is used by the
    			// java agent for internal states such as "GC" or "VM".
    			lineFunc = jloc[2]
    		}
    		fn := fns[lineFunc]
    
    		if fn == nil {
    			fn = &Function{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/runtime/os2_aix.go

    	libpthread_attr_setstackaddr,
    	libpthread_create,
    	libpthread_sigthreadmask,
    	libpthread_self,
    	libpthread_kill libFunc
    )
    
    type libFunc uintptr
    
    // asmsyscall6 calls the libc symbol using a C convention.
    // It's defined in sys_aix_ppc64.go.
    var asmsyscall6 libFunc
    
    // syscallX functions must always be called with g != nil and m != nil,
    // as it relies on g.m.libcall to pass arguments to asmcgocall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  10. src/syscall/syscall_illumos.go

    import "unsafe"
    
    // F_DUP2FD_CLOEXEC has different values on Solaris and Illumos.
    const F_DUP2FD_CLOEXEC = 0x24
    
    //go:cgo_import_dynamic libc_flock flock "libc.so"
    
    //go:linkname procFlock libc_flock
    
    var procFlock libcFunc
    
    func Flock(fd int, how int) error {
    	_, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:07:18 UTC 2022
    - 613 bytes
    - Viewed (0)
Back to top