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 /
strconv /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
atob.go
974
B
-rw-r--r--
atob_test.go
1.89
KB
-rw-r--r--
atof.go
14.61
KB
-rw-r--r--
atof_test.go
21.29
KB
-rw-r--r--
atoi.go
7.48
KB
-rw-r--r--
atoi_test.go
16.84
KB
-rw-r--r--
decimal.go
11.03
KB
-rw-r--r--
decimal_test.go
3.01
KB
-rw-r--r--
doc.go
1.87
KB
-rw-r--r--
example_test.go
8.18
KB
-rw-r--r--
export_test.go
240
B
-rw-r--r--
extfloat.go
19.2
KB
-rw-r--r--
fp_test.go
2.91
KB
-rw-r--r--
ftoa.go
14.04
KB
-rw-r--r--
ftoa_test.go
7.35
KB
-rw-r--r--
internal_test.go
385
B
-rw-r--r--
isprint.go
10.9
KB
-rw-r--r--
itoa.go
5.3
KB
-rw-r--r--
itoa_test.go
5.67
KB
-rw-r--r--
makeisprint.go
4.82
KB
-rw-r--r--
quote.go
14.56
KB
-rw-r--r--
quote_test.go
8.99
KB
-rw-r--r--
strconv_test.go
2.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : atob_test.go
// Copyright 2009 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 strconv_test import ( "bytes" . "strconv" "testing" ) type atobTest struct { in string out bool err error } var atobtests = []atobTest{ {"", false, ErrSyntax}, {"asdf", false, ErrSyntax}, {"0", false, nil}, {"f", false, nil}, {"F", false, nil}, {"FALSE", false, nil}, {"false", false, nil}, {"False", false, nil}, {"1", true, nil}, {"t", true, nil}, {"T", true, nil}, {"TRUE", true, nil}, {"true", true, nil}, {"True", true, nil}, } func TestParseBool(t *testing.T) { for _, test := range atobtests { b, e := ParseBool(test.in) if test.err != nil { // expect an error if e == nil { t.Errorf("%s: expected %s but got nil", test.in, test.err) } else { // NumError assertion must succeed; it's the only thing we return. if test.err != e.(*NumError).Err { t.Errorf("%s: expected %s but got %s", test.in, test.err, e) } } } else { if e != nil { t.Errorf("%s: expected no error but got %s", test.in, e) } if b != test.out { t.Errorf("%s: expected %t but got %t", test.in, test.out, b) } } } } var boolString = map[bool]string{ true: "true", false: "false", } func TestFormatBool(t *testing.T) { for b, s := range boolString { if f := FormatBool(b); f != s { t.Errorf(`FormatBool(%v): expected %q but got %q`, b, s, f) } } } type appendBoolTest struct { b bool in []byte out []byte } var appendBoolTests = []appendBoolTest{ {true, []byte("foo "), []byte("foo true")}, {false, []byte("foo "), []byte("foo false")}, } func TestAppendBool(t *testing.T) { for _, test := range appendBoolTests { b := AppendBool(test.in, test.b) if !bytes.Equal(b, test.out) { t.Errorf("AppendBool(%q, %v): expected %q but got %q", test.in, test.b, test.out, b) } } }
Close