Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,106 for wereld (0.24 sec)

  1. src/go/doc/testdata/examples/whole_function.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package foo_test
    
    func Foo(x int) {
    }
    
    func Example() {
    	fmt.Println("Hello, world!")
    	// Output: Hello, world!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 274 bytes
    - Viewed (0)
  2. test/abi/struct_3_string_input.go

    	a, b, c string
    }
    
    //go:registerparams
    //go:noinline
    func H(x toobig) string {
    	return x.a + " " + x.b + " " + x.c
    }
    
    func main() {
    	s := H(toobig{"Hello", "there,", "World"})
    	gotVsWant(s, "Hello there, World")
    }
    
    func gotVsWant(got, want string) {
    	if got != want {
    		fmt.Printf("FAIL, got %s, wanted %s\n", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
  3. src/crypto/sha256/example_test.go

    import (
    	"crypto/sha256"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleSum256() {
    	sum := sha256.Sum256([]byte("hello world\n"))
    	fmt.Printf("%x", sum)
    	// Output: a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447
    }
    
    func ExampleNew() {
    	h := sha256.New()
    	h.Write([]byte("hello world\n"))
    	fmt.Printf("%x", h.Sum(nil))
    	// Output: a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:29:19 UTC 2016
    - 817 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/rsc.io_quote_v1.3.0.txt

    // Package quote collects pithy sayings.
    package quote // import "rsc.io/quote"
    
    // Hello returns a greeting.
    func Hello() string {
    	return "Hello, world."
    }
    
    // Glass returns a useful phrase for world travelers.
    func Glass() string {
    	// See http://www.oocities.org/nodotus/hbglass.html.
    	return "I can eat glass and it doesn't hurt me."
    }
    
    // Go returns a Go proverb.
    func Go() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  5. src/go/doc/testdata/examples/import_groups_named.golden

    -- .Play --
    package main
    
    import (
    	"fmt"
    )
    
    func main() {
    	fmt.Println("Hello, world!")
    }
    -- .Output --
    Hello, world!
    -- Limiter.Play --
    package main
    
    import (
    	"fmt"
    	tm "time"
    
    	r "golang.org/x/time/rate"
    )
    
    func main() {
    	// Uses fmt, time and rate.
    	l := r.NewLimiter(r.Every(tm.Second), 1)
    	fmt.Println(l)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 314 bytes
    - Viewed (0)
  6. cluster/gce/gci/append_or_replace_prefixed_line_test.go

    		initialFileContents string
    		want                string
    	}{
    		{
    			desc:   "simple string and empty file",
    			prefix: "hello",
    			suffix: "world",
    			want: `helloworld
    `,
    		},
    		{
    			desc:   "simple string and non empty file",
    			prefix: "hello",
    			suffix: "world",
    			initialFileContents: `jelloworld
    chelloworld
    `,
    			want: `jelloworld
    chelloworld
    helloworld
    `,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4K bytes
    - Viewed (0)
  7. src/html/template/html_test.go

    	}
    }
    
    func TestStripTags(t *testing.T) {
    	tests := []struct {
    		input, want string
    	}{
    		{"", ""},
    		{"Hello, World!", "Hello, World!"},
    		{"foo&bar", "foo&bar"},
    		{`Hello <a href="www.example.com/">World</a>!`, "Hello World!"},
    		{"Foo <textarea>Bar</textarea> Baz", "Foo Bar Baz"},
    		{"Foo <!-- Bar --> Baz", "Foo  Baz"},
    		{"<", "<"},
    		{"foo < bar", "foo < bar"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 19 22:45:50 UTC 2015
    - 2.8K bytes
    - Viewed (0)
  8. src/go/doc/testdata/examples/whole_file.go

    package foo_test
    
    import "fmt"
    
    type X int
    
    func (X) Foo() {
    }
    
    func (X) TestBlah() {
    }
    
    func (X) BenchmarkFoo() {
    }
    
    func Example() {
    	fmt.Println("Hello, world!")
    	// Output: Hello, world!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 353 bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithExecutableJarIntegrationTest.groovy

                    classpath = files(jar)
                    args "hello", "world"
                }
    
                task runWithJavaExec {
                    dependsOn jar
                    def cp = files(jar)
                    doLast {
                        project.javaexec {
                            classpath = cp
                            args "hello", "world"
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. test/fixedbugs/bug263.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	data := make(map[int]string, 1)
    	data[0] = "hello, "
    	data[0] += "world!"
    	if data[0] != "hello, world!" {
    		panic("BUG: " + data[0])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 336 bytes
    - Viewed (0)
Back to top