Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 133 for fmin32 (0.18 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryDependenciesIntegrationTest.groovy

                #include <main_lib.h>            
                int main() { 
                    some_func();
                    return 0; 
                }
    """
            file("lib/src/main/public/lib.h") << """
                #ifdef _WIN32
                #define EXPORT_FUNC __declspec(dllexport)
                #else
                #define EXPORT_FUNC
                #endif
                
                void EXPORT_FUNC lib_func();
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy

                #include <lib.h>
                
                int main() { 
                    lib_func();
                    return 0; 
                }
    """
            file("lib/src/main/public/lib.h") << """
                #ifdef _WIN32
                #define EXPORT_FUNC __declspec(dllexport)
                #else
                #define EXPORT_FUNC
                #endif
                
                void EXPORT_FUNC lib_func();
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationDependenciesIntegrationTest.groovy

            file("lib/src/main/cpp/lib.cpp") << librarySource
            file("src/main/cpp/app.cpp") << applicationSource
        }
    
        private static String getLibrarySource() {
            return """
                #ifdef _WIN32
                #define EXPORT_FUNC __declspec(dllexport)
                #else
                #define EXPORT_FUNC
                #endif
                
                void EXPORT_FUNC lib_func() { }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbPipeResource.java

        /**
         * Pipe operations should behave like the <code>CallNamedPipe</code> Win32 Named Pipe function.
         */
    
        public static final int PIPE_TYPE_CALL = 0x0100;
    
        /**
         * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function.
         */
    
        public static final int PIPE_TYPE_TRANSACT = 0x0200;
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/net/sock_windows.go

    	"os"
    	"syscall"
    )
    
    func maxListenerBacklog() int {
    	// When the socket backlog is SOMAXCONN, Windows will set the backlog to
    	// "a reasonable maximum value".
    	// See: https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-listen
    	return syscall.SOMAXCONN
    }
    
    func sysSocket(family, sotype, proto int) (syscall.Handle, error) {
    	s, err := wsaSocketFunc(int32(family), int32(sotype), int32(proto),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:52:56 UTC 2024
    - 802 bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterFunctionUsesLogger.groovy

        }
    
        SourceElement getSources() {
            return source
        }
    
        CppGreeterFunctionUsesLogger(String publicHeaderDir = "public") {
            header = ofFile(sourceFile(publicHeaderDir, "greeter.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    void sayGreeting();
    
    #ifdef __cplusplus
    }
    #endif
    """))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterUsesLogger.groovy

    class CppGreeterUsesLogger extends CppLibraryElement implements GreeterElement {
        final SourceFileElement header = ofFile(new SourceFile("headers", "greeter.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    
    class Greeter {
    public:
        void EXPORT_FUNC sayHello();
    };
    """))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCompilerDetectingTestApp.groovy

            "C ${toolChain.typeDisplayName}"
        }
    
        @Override
        SourceFile getLibraryHeader() {
            sourceFile("headers", "c-detector.h", """
                #ifdef _WIN32
                #define DLL_FUNC __declspec(dllexport)
                #else
                #define DLL_FUNC
                #endif
    
                void DLL_FUNC detectCCompiler();
            """)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCompilerDetectingTestApp.groovy

            "C++ ${toolChain.typeDisplayName}"
        }
    
        @Override
        SourceFile getLibraryHeader() {
            sourceFile("headers", "cpp-detector.h", """
                #ifdef _WIN32
                #define DLL_FUNC __declspec(dllexport)
                #else
                #define DLL_FUNC
                #endif
    
                void DLL_FUNC detectCppCompiler();
            """)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/outbuf_windows.go

    	// the file and ensure that they are physically written to disk".
    	// Windows DOC links:
    	//
    	// https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-flushviewoffile
    	// https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers
    	err = syscall.FlushFileBuffers(syscall.Handle(out.f.Fd()))
    	if err != nil {
    		Exitf("FlushFileBuffers failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 01:59:25 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top