- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for dello (0.25 sec)
-
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 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
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) -
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 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/archive/zip/reader_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
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 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
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 May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/archive/zip/writer_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 15 19:04:06 GMT 2023 - 14.1K bytes - Viewed (0) -
src/archive/zip/testdata/winxp.zip
hello world dir/bar foo readonly important...
ZIP Archive - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Sep 08 04:08:51 GMT 2014 - 412 bytes - Viewed (0) -
src/archive/zip/testdata/unix.zip
hello world dir/bar foo readonly important...
ZIP Archive - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Sep 08 04:08:51 GMT 2014 - 620 bytes - Viewed (0) -
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 May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 16:44:53 GMT 2024 - 256 bytes - Viewed (0)