- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for rot13 (0.25 sec)
-
src/bytes/bytes_test.go
} // 3. Rot13 m = Map(rot13, []byte("a to zed")) expect = "n gb mrq" if string(m) != expect { t.Errorf("rot13: expected %q got %q", expect, m) } // 4. Rot13^2 m = Map(rot13, Map(rot13, []byte("a to zed"))) expect = "a to zed" if string(m) != expect { t.Errorf("rot13: expected %q got %q", expect, m) } // 5. Drop
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/bytes/example_test.go
// Output: // 8 // 9 // -1 } func ExampleMap() { rot13 := func(r rune) rune { switch { case r >= 'A' && r <= 'Z': return 'A' + (r-'A'+13)%26 case r >= 'a' && r <= 'z': return 'a' + (r-'a'+13)%26 } return r } fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher..."))) // Output: // 'Gjnf oevyyvt naq gur fyvgul tbcure...
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
src/bufio/bufio_test.go
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 { name string fn func(io.Reader) io.Reader } var readMakers = []readMaker{ {"full", func(r io.Reader) io.Reader { return r }},
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) -
api/go1.txt
pkg debug/elf, const R_SPARC_DISP8 R_SPARC pkg debug/elf, const R_SPARC_GLOB_DAT R_SPARC pkg debug/elf, const R_SPARC_GLOB_JMP R_SPARC pkg debug/elf, const R_SPARC_GOT10 R_SPARC pkg debug/elf, const R_SPARC_GOT13 R_SPARC pkg debug/elf, const R_SPARC_GOT22 R_SPARC pkg debug/elf, const R_SPARC_H44 R_SPARC pkg debug/elf, const R_SPARC_HH22 R_SPARC pkg debug/elf, const R_SPARC_HI22 R_SPARC
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
api/go1.1.txt
pkg debug/elf, const R_SPARC_DISP8 = 4 pkg debug/elf, const R_SPARC_GLOB_DAT = 20 pkg debug/elf, const R_SPARC_GLOB_JMP = 42 pkg debug/elf, const R_SPARC_GOT10 = 13 pkg debug/elf, const R_SPARC_GOT13 = 14 pkg debug/elf, const R_SPARC_GOT22 = 15 pkg debug/elf, const R_SPARC_H44 = 50 pkg debug/elf, const R_SPARC_HH22 = 34 pkg debug/elf, const R_SPARC_HI22 = 9 pkg debug/elf, const R_SPARC_HIPLT22 = 25
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0)