Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for libcFunc (0.35 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/c/groovy/src/hello/c/hello.c

    #include <stdio.h>
    #include "hello.h"
    
    void LIB_FUNC hello () {
      printf("Hello world!");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 92 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/variants/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/netpoll_aix.go

    // It's also based on Solaris implementation for the arming mechanisms
    
    //go:cgo_import_dynamic libc_poll poll "libc.a/shr_64.o"
    //go:linkname libc_poll libc_poll
    
    var libc_poll libFunc
    
    //go:nosplit
    func poll(pfds *pollfd, npfds uintptr, timeout uintptr) (int32, int32) {
    	r, err := syscall3(&libc_poll, uintptr(unsafe.Pointer(pfds)), npfds, timeout)
    	return int32(r), int32(err)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/runtime/syscall_aix.go

    var (
    	libc_chdir,
    	libc_chroot,
    	libc_dup2,
    	libc_execve,
    	libc_fcntl,
    	libc_fork,
    	libc_ioctl,
    	libc_setgid,
    	libc_setgroups,
    	libc_setrlimit,
    	libc_setsid,
    	libc_setuid,
    	libc_setpgid libFunc
    )
    
    // In syscall_syscall6 and syscall_rawsyscall6, r2 is always 0
    // as it's never used on AIX
    // TODO: remove r2 from zsyscall_aix_$GOARCH.go
    
    // Syscall is needed because some packages (like net) need it too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top