Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.1
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
go /
doc /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
Makefile
246
B
-rw-r--r--
comment.go
12.4
KB
-rw-r--r--
comment_test.go
6.93
KB
-rw-r--r--
doc.go
7.37
KB
-rw-r--r--
doc_test.go
3.51
KB
-rw-r--r--
example.go
15.43
KB
-rw-r--r--
example_test.go
15.12
KB
-rw-r--r--
exports.go
7.76
KB
-rw-r--r--
filter.go
2.11
KB
-rw-r--r--
headscan.go
2.56
KB
-rw-r--r--
reader.go
24.86
KB
-rw-r--r--
synopsis.go
1.98
KB
-rw-r--r--
synopsis_test.go
1.83
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : synopsis_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package doc import "testing" var tests = []struct { txt string fsl int syn string }{ {"", 0, ""}, {"foo", 3, "foo"}, {"foo.", 4, "foo."}, {"foo.bar", 7, "foo.bar"}, {" foo. ", 6, "foo."}, {" foo\t bar.\n", 12, "foo bar."}, {" foo\t bar.\n", 12, "foo bar."}, {"a b\n\nc\r\rd\t\t", 12, "a b c d"}, {"a b\n\nc\r\rd\t\t . BLA", 15, "a b c d ."}, {"Package poems by T.S.Eliot. To rhyme...", 27, "Package poems by T.S.Eliot."}, {"Package poems by T. S. Eliot. To rhyme...", 29, "Package poems by T. S. Eliot."}, {"foo implements the foo ABI. The foo ABI is...", 27, "foo implements the foo ABI."}, {"Package\nfoo. ..", 12, "Package foo."}, {"P . Q.", 3, "P ."}, {"P. Q. ", 8, "P. Q."}, {"Package Καλημέρα κόσμε.", 36, "Package Καλημέρα κόσμε."}, {"Package こんにちは 世界\n", 31, "Package こんにちは 世界"}, {"Package こんにちは。世界", 26, "Package こんにちは。"}, {"Package 안녕.世界", 17, "Package 안녕."}, {"Package foo does bar.", 21, "Package foo does bar."}, {"Copyright 2012 Google, Inc. Package foo does bar.", 27, ""}, {"All Rights reserved. Package foo does bar.", 20, ""}, {"All rights reserved. Package foo does bar.", 20, ""}, {"Authors: foo@bar.com. Package foo does bar.", 21, ""}, {"typically invoked as ``go tool asm'',", 37, "typically invoked as " + ulquo + "go tool asm" + urquo + ","}, } func TestSynopsis(t *testing.T) { for _, e := range tests { fsl := firstSentenceLen(e.txt) if fsl != e.fsl { t.Errorf("got fsl = %d; want %d for %q\n", fsl, e.fsl, e.txt) } syn := Synopsis(e.txt) if syn != e.syn { t.Errorf("got syn = %q; want %q for %q\n", syn, e.syn, e.txt) } } }
Close