Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for bonjour (0.17 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/MixedLanguageIntegrationTest.groovy

                extern "C" {
                    #include "otherProject/bonjour.h"
                }
    
                int main () {
                  hello();
                  bonjour();
                  return 0;
                }
            """
    
            and:
            file("include", "otherProject", "bonjour.h") << """
                void bonjour();
            """
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MixedObjectiveCHelloWorldApp.groovy

                    [stdout writeData: strData];
                }"""),
    
                    sourceFile("c", "clib.c", """
                #include <stdio.h>
                #include "hello.h"
    
                void bonjour() {
                    printf("Bonjour, Monde!\\n");
                }
            """),
                    sourceFile("cpp", "cpplib.cpp", """
                #include "hello.h"
                #include <iostream>
                using namespace std;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/java/application/kotlin/src/main/java/org/gradle/sample/Main.java

            if (System.getProperty("greeting.language").equals("en")) {
                System.out.println("Greetings from the sample application.");
            } else {
                System.out.println("Bonjour, monde!");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 321 bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/java/application/groovy/src/main/java/org/gradle/sample/Main.java

            if (System.getProperty("greeting.language").equals("en")) {
                System.out.println("Greetings from the sample application.");
            } else {
                System.out.println("Bonjour, monde!");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 321 bytes
    - Viewed (0)
  6. 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)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/HelloWorldApp.java

    import java.util.Collections;
    import java.util.List;
    
    public abstract class HelloWorldApp extends TestApp {
        public static final String HELLO_WORLD = "Hello, World!";
        public static final String HELLO_WORLD_FRENCH = "Bonjour, Monde!";
    
        public String getEnglishOutput() {
            return HELLO_WORLD + "\n12";
        }
    
        public String getFrenchOutput() {
            return HELLO_WORLD_FRENCH + "\n12";
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCHelloWorldApp.groovy

                @interface Greeter : NSObject
                    - (void)sayHello;
                @end
    
                int sum(int a, int b);
    
                #ifdef FRENCH
                #pragma message("<==== compiling bonjour.h ====>")
                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CHelloWorldApp.groovy

                #define DLL_FUNC
                #endif
    
                void DLL_FUNC sayHello();
                int DLL_FUNC sum(int a, int b);
    
                #ifdef FRENCH
                #pragma message("<==== compiling bonjour.h ====>")
                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

                    public:
                    void DLL_FUNC sayHello();
                };
    
                int DLL_FUNC sum(int a, int b);
    
                #ifdef FRENCH
                #pragma message("<==== compiling bonjour.h ====>")
                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top