Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for heslo (0.17 sec)

  1. src/bufio/bufio_test.go

    	return string(b[0:nb])
    }
    
    func TestReaderSimple(t *testing.T) {
    	data := "hello world"
    	b := NewReader(strings.NewReader(data))
    	if s := readBytes(b); s != "hello world" {
    		t.Errorf("simple hello world test failed: got %q", s)
    	}
    
    	b = NewReader(newRot13Reader(strings.NewReader(data)))
    	if s := readBytes(b); s != "uryyb jbeyq" {
    		t.Errorf("rot13 hello world test failed: got %q", s)
    	}
    }
    
    type readMaker struct {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue18146.go

    				attempts = max
    			}
    		}
    	}
    
    	if os.Getenv("test18146") == "exec" {
    		runtime.GOMAXPROCS(1)
    		for n := threads; n > 0; n-- {
    			go func() {
    				for {
    					_ = md5.Sum([]byte("Hello, !"))
    				}
    			}()
    		}
    		runtime.GOMAXPROCS(threads)
    		argv := append(os.Args, "-test.run=^$")
    		if err := syscall.Exec(os.Args[0], argv, os.Environ()); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    	delim    byte
    	expected []string
    	err      error
    }{
    	{"", 0, []string{""}, io.EOF},
    	{"a\x00", 0, []string{"a\x00"}, nil},
    	{"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    				Mode:     0666,
    			},
    		},
    	},
    	{
    		// created in windows XP file manager.
    		Name: "winxp.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "hello",
    				Content:  []byte("world \r\n"),
    				Modified: time.Date(2011, 12, 8, 10, 4, 24, 0, time.UTC),
    				Mode:     0666,
    			},
    			{
    				Name:     "dir/bar",
    				Content:  []byte("foo \r\n"),
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    	// #include <stdio.h>
    	// #include <stdlib.h>
    	//
    	// static void myprint(char* s) {
    	//   printf("%s\n", s);
    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    by making copies of the data. In pseudo-Go definitions:
    
    	// Go string to C string
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    var b = make([]byte, 5)
    n1 := copy(s, a[0:])            // n1 == 6, s == []int{0, 1, 2, 3, 4, 5}
    n2 := copy(s, s[2:])            // n2 == 4, s == []int{2, 3, 4, 5, 4, 5}
    n3 := copy(b, "Hello, World!")  // n3 == 5, b == []byte("Hello")
    </pre>
    
    
    <h3 id="Deletion_of_map_elements">Deletion of map elements</h3>
    
    <p>
    The built-in function <code>delete</code> removes the element with key
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/archive/zip/writer_test.go

    		nonUTF8 bool
    		flags   uint16
    	}{
    		{
    			name:    "hi, hello",
    			comment: "in the world",
    			flags:   0x8,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			nonUTF8: true,
    			flags:   0x8,
    		},
    		{
    			name:    "hi, hello",
    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  8. src/archive/zip/testdata/winxp.zip

    hello world dir/bar foo readonly important...
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 412 bytes
    - Viewed (0)
  9. src/archive/zip/testdata/unix.zip

    hello world dir/bar foo readonly important...
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 620 bytes
    - Viewed (0)
  10. doc/next/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:44:53 GMT 2024
    - 256 bytes
    - Viewed (0)
Back to top