OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
/
strconv
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/01/2022 06:13:58 PM
rwxr-xr-x
📄
atob.go
974 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
atob_test.go
1.89 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
atoc.go
3.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
atoc_test.go
6.83 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
atof.go
15.9 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
atof_test.go
23.6 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
atoi.go
7.68 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
atoi_test.go
17.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
bytealg.go
419 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
bytealg_bootstrap.go
430 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
ctoa.go
1 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
ctoa_test.go
1.45 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
decimal.go
11.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
decimal_test.go
3.01 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
doc.go
1.87 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
eisel_lemire.go
41.39 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
example_test.go
8.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
export_test.go
240 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
fp_test.go
2.9 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
ftoa.go
14.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
ftoa_test.go
9.33 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
ftoaryu.go
15.67 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
ftoaryu_test.go
759 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
internal_test.go
618 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
isprint.go
11.06 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
itoa.go
5.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
itoa_test.go
5.67 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
makeisprint.go
4.83 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
quote.go
16.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
quote_test.go
9.57 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
strconv_test.go
2.86 KB
12/01/2022 06:13:00 PM
rw-r--r--
📁
testdata
-
12/01/2022 06:13:56 PM
rwxr-xr-x
Editing: atob.go
Close
// 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 // ParseBool returns the boolean value represented by the string. // It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. // Any other value returns an error. func ParseBool(str string) (bool, error) { switch str { case "1", "t", "T", "true", "TRUE", "True": return true, nil case "0", "f", "F", "false", "FALSE", "False": return false, nil } return false, syntaxError("ParseBool", str) } // FormatBool returns "true" or "false" according to the value of b. func FormatBool(b bool) string { if b { return "true" } return "false" } // AppendBool appends "true" or "false", according to the value of b, // to dst and returns the extended buffer. func AppendBool(dst []byte, b bool) []byte { if b { return append(dst, "true"...) } return append(dst, "false"...) }