Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for sayHello (0.13 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterUsesLogger.groovy

        SourceFile getSourceFile() {
            return sourceFile("swift", "greeter.swift", """
                import Log            
                public class Greeter {
                    public init() { }
                    public func sayHello() {
                        log("${HelloWorldApp.HELLO_WORLD}")
                    }
                }
            """)
        }
    
        @Override
        String getExpectedOutput() {
            return "${HelloWorldApp.HELLO_WORLD}\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterUsingCppFunction.groovy

        SourceFile getSourceFile() {
            sourceFile("swift", "greeter.swift", """
                import ${moduleName}
    
                public class Greeter {
                    public init() {}
                    public func sayHello() {
                        sayGreeting()
                    }
                }
            """)
        }
    
        @Override
        String getExpectedOutput() {
            return cppGreeter.expectedOutput
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterWithOptionalFeature.groovy

        @Override
        SourceFile getSourceFile() {
            sourceFile("swift", "greeter.swift", """
                public class Greeter {
                    public init() {}
                    public func sayHello() {
    #if WITH_FEATURE
                        print("${HelloWorldApp.HELLO_WORLD_FRENCH}")
    #else
                        print("${HelloWorldApp.HELLO_WORLD}")
    #endif
                    }
                }
            """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMain.groovy

        }
    
        SourceFile sourceFile = new SourceFile("swift", "main.swift", """
                // Simple hello world app
                func main() -> Int {
                  let greeter = Greeter()
                  greeter.sayHello()
                  print(sum(a: 5, b: 7), terminator: "")
                  return 0
                }
    
                _ = main()
            """)
    
        @Override
        String getExpectedOutput() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/InheritedMethodTestReceiver.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.classpath;
    
    public class InheritedMethodTestReceiver {
    
        public String sayHello() {
            return "Hello";
        }
    
        public static class A extends InheritedMethodTestReceiver {
        }
    
        public static class B extends A {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 880 bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ExeWithDiamondDependencyHelloWorldApp.groovy

                    #endif
                }
    
                int main () {
                    std::cout << getExeHello() << " ";
                    std::cout << getHello() << " ";
                    sayHello();
                    return 0;
                }
            """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAlternateGreeter.groovy

        @Override
        SourceFile getSourceFile() {
            sourceFile("swift", "greeter.swift", """
                public class Greeter {
                    public init() {}
                    public func sayHello() {
                        print("[${HelloWorldApp.HELLO_WORLD} - ${HelloWorldApp.HELLO_WORLD_FRENCH}]")
                    }
                }
    
                // Extra function to ensure library has different size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/InheritedMethodsInterceptionTestInterceptorsDeclaration.java

        @InterceptCalls
        @InterceptInherited
        @CallableKind.InstanceMethod
        public static String intercept_sayHello(@ParameterKind.Receiver InheritedMethodTestReceiver self) {
            return self.sayHello() + " from: " + self.getClass().getName().replace(self.getClass().getPackage().getName() + ".", "");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_overlay.txt

    // #include "cgo_header.h"
    import "C"
    
    func main() {
    	C.say_hello()
    }
    -- m/overlay/cgo_hello_angle.go --
    package main
    
    // #include <cgo_header.h>
    import "C"
    
    func main() {
    	C.say_hello()
    }
    -- m/overlay/cgo_head.h --
    void say_hello();
    -- m/overlay/hello.c --
    #include <stdio.h>
    
    void say_hello() { puts("hello cgo\n"); fflush(stdout); }
    -- m/overlay/asm_gc.s --
    // +build gc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial013.py

    from typing_extensions import Annotated
    
    
    def say_hello(name: Annotated[str, "this is just metadata"]) -> str:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 138 bytes
    - Viewed (0)
Back to top