Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,809 for zout (0.03 sec)

  1. src/cmd/pprof/pprof_test.go

    	out, err = cmd.CombinedOutput()
    	if err != nil {
    		t.Errorf("pprof -disasm failed: %v\n%s", err, out)
    
    		// Try to print out profile content for debugging.
    		cmd = testenv.Command(t, pprofPath(t), "-raw", cpuExe, profile)
    		out, err = cmd.CombinedOutput()
    		if err != nil {
    			t.Logf("pprof -raw failed: %v\n%s", err, out)
    		} else {
    			t.Logf("profile content:\n%s", out)
    		}
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/cpp-exe/groovy/src/main/cpp/hello.cpp

    #include <iostream>
    
    int main () {
      std::cout << "Hello, World!\n";
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 83 bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateWindowsResourcesBaseNamesTestApp.groovy

        return std::string(wide.begin(), wide.end());
    }
    
    void hello() {
        std::string foo1 = LoadStringFromResource(IDS_FOO1);
        std::string foo2 = LoadStringFromResource(IDS_FOO2);
        std::cout << foo1;
        std::cout << foo2;
    }
    """),
            sourceFile("rc/dir1", "resources.rc", """
    #include "hello.h"
    
    STRINGTABLE
    {
        IDS_FOO1, "foo1"
    }
    """),
            sourceFile("rc/dir2", "resources.rc", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K 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/objective-cpp/groovy/src/main/objcpp/greeter.mm

    #import <iostream>
    #import "greeter.h"
    
    @implementation Greeter
    
    - (void) sayHello {
        NSString *helloWorld = @"Hello world!";
        std::cout << [helloWorld UTF8String] << std::endl;
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 192 bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateCppBaseNamesTestApp.groovy

                using namespace std;
    
                void foo1() {
                    cout << "foo1";
                }
            """),
    
             sourceFile("cpp/foo2", "foo.cpp", """
                #include <iostream>
                #include "foo.h"
                using namespace std;
    
                void foo2() {
                    cout << "foo2";
                }
            """)]
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/runtime/os_openbsd.go

    func sysctlInt(mib []uint32) (int32, bool) {
    	var out int32
    	nout := unsafe.Sizeof(out)
    	ret := sysctl(&mib[0], uint32(len(mib)), (*byte)(unsafe.Pointer(&out)), &nout, nil, 0)
    	if ret < 0 {
    		return 0, false
    	}
    	return out, true
    }
    
    func sysctlUint64(mib []uint32) (uint64, bool) {
    	var out uint64
    	nout := unsafe.Sizeof(out)
    	ret := sysctl(&mib[0], uint32(len(mib)), (*byte)(unsafe.Pointer(&out)), &nout, nil, 0)
    	if ret < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/gofmt/gofmt.go

    }
    
    // newSequencer returns a sequencer that allows concurrent tasks up to maxWeight
    // and writes tasks' output to out and err.
    func newSequencer(maxWeight int64, out, err io.Writer) *sequencer {
    	sem := semaphore.NewWeighted(maxWeight)
    	prev := make(chan *reporterState, 1)
    	prev <- &reporterState{out: out, err: err}
    	return &sequencer{
    		maxWeight: maxWeight,
    		sem:       sem,
    		prev:      prev,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            """
    
            librarySourceFile.replace("cout << message", "cout << PREFIX << message")
    
            def libDefsHeader = file("library/src/main/headers/local_defs.h")
            libDefsHeader << """
                #define PREFIX "LOG: "
            """
    
            then:
            succeeds installApp
            install.exec().out == "LOG: [info] hello world"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/cppapp/app.cpp.template

    #include <stdlib.h>
    #include "app.h"
    
    std::string ${namespace.groovyString}::Greeter::greeting() {
        return std::string("Hello, World!");
    }
    
    int main () {
        ${namespace.groovyString}::Greeter greeter;
        std::cout << greeter.greeting() << std::endl;
        return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 323 bytes
    - Viewed (0)
Back to top