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.31
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 /
types /
testdata /
[ HOME SHELL ]
Name
Size
Permission
Action
blank.src
203
B
-rw-r--r--
builtins.src
23.77
KB
-rw-r--r--
const0.src
8.32
KB
-rw-r--r--
const1.src
8.04
KB
-rw-r--r--
constdecl.src
3.02
KB
-rw-r--r--
conversions.src
1.71
KB
-rw-r--r--
conversions2.src
5.07
KB
-rw-r--r--
cycles.src
2.79
KB
-rw-r--r--
cycles1.src
781
B
-rw-r--r--
cycles2.src
1.21
KB
-rw-r--r--
cycles3.src
675
B
-rw-r--r--
cycles4.src
1.76
KB
-rw-r--r--
cycles5.src
2.91
KB
-rw-r--r--
decls0.src
3.91
KB
-rw-r--r--
decls1.src
3.57
KB
-rw-r--r--
decls2a.src
3.11
KB
-rw-r--r--
decls2b.src
1.87
KB
-rw-r--r--
decls3.src
4.17
KB
-rw-r--r--
decls4.src
2.99
KB
-rw-r--r--
decls5.src
363
B
-rw-r--r--
errors.src
1.9
KB
-rw-r--r--
expr0.src
3.39
KB
-rw-r--r--
expr1.src
2.57
KB
-rw-r--r--
expr2.src
4.63
KB
-rw-r--r--
expr3.src
14.87
KB
-rw-r--r--
gotos.src
5.77
KB
-rw-r--r--
importC.src
1.21
KB
-rw-r--r--
importdecl0a.src
1.24
KB
-rw-r--r--
importdecl0b.src
1000
B
-rw-r--r--
importdecl1a.src
521
B
-rw-r--r--
importdecl1b.src
260
B
-rw-r--r--
init0.src
1.91
KB
-rw-r--r--
init1.src
1.46
KB
-rw-r--r--
init2.src
3.51
KB
-rw-r--r--
issue23203a.src
306
B
-rw-r--r--
issue23203b.src
306
B
-rw-r--r--
issue25008a.src
260
B
-rw-r--r--
issue25008b.src
198
B
-rw-r--r--
issue26390.src
241
B
-rw-r--r--
issue28251.src
1.23
KB
-rw-r--r--
issue6977.src
2.33
KB
-rw-r--r--
issues.src
9.83
KB
-rw-r--r--
labels.src
3.25
KB
-rw-r--r--
literals.src
2.35
KB
-rw-r--r--
methodsets.src
3.16
KB
-rw-r--r--
shifts.src
12.02
KB
-rw-r--r--
stmt0.src
17.79
KB
-rw-r--r--
stmt1.src
3.31
KB
-rw-r--r--
vardecl.src
5.27
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : const1.src
// 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. // constant conversions package const1 const( mi = ^int(0) mu = ^uint(0) mp = ^uintptr(0) logSizeofInt = uint(mi>>8&1 + mi>>16&1 + mi>>32&1) logSizeofUint = uint(mu>>8&1 + mu>>16&1 + mu>>32&1) logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1) ) const ( minInt8 = -1<<(8<<iota - 1) minInt16 minInt32 minInt64 minInt = -1<<(8<<logSizeofInt - 1) ) const ( maxInt8 = 1<<(8<<iota - 1) - 1 maxInt16 maxInt32 maxInt64 maxInt = 1<<(8<<logSizeofInt - 1) - 1 ) const ( maxUint8 = 1<<(8<<iota) - 1 maxUint16 maxUint32 maxUint64 maxUint = 1<<(8<<logSizeofUint) - 1 maxUintptr = 1<<(8<<logSizeofUintptr) - 1 ) const ( smallestFloat32 = 1.0 / (1<<(127 - 1 + 23)) smallestFloat64 = 1.0 / (1<<(1023 - 1 + 52)) ) const ( _ = assert(smallestFloat32 > 0) _ = assert(smallestFloat64 > 0) ) const ( maxFloat32 = 1<<127 * (1<<24 - 1) / (1.0<<23) maxFloat64 = 1<<1023 * (1<<53 - 1) / (1.0<<52) ) const ( _ int8 = minInt8 /* ERROR "overflows" */ - 1 _ int8 = minInt8 _ int8 = maxInt8 _ int8 = maxInt8 /* ERROR "overflows" */ + 1 _ int8 = smallestFloat64 /* ERROR "truncated" */ _ = int8(minInt8 /* ERROR "cannot convert" */ - 1) _ = int8(minInt8) _ = int8(maxInt8) _ = int8(maxInt8 /* ERROR "cannot convert" */ + 1) _ = int8(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ int16 = minInt16 /* ERROR "overflows" */ - 1 _ int16 = minInt16 _ int16 = maxInt16 _ int16 = maxInt16 /* ERROR "overflows" */ + 1 _ int16 = smallestFloat64 /* ERROR "truncated" */ _ = int16(minInt16 /* ERROR "cannot convert" */ - 1) _ = int16(minInt16) _ = int16(maxInt16) _ = int16(maxInt16 /* ERROR "cannot convert" */ + 1) _ = int16(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ int32 = minInt32 /* ERROR "overflows" */ - 1 _ int32 = minInt32 _ int32 = maxInt32 _ int32 = maxInt32 /* ERROR "overflows" */ + 1 _ int32 = smallestFloat64 /* ERROR "truncated" */ _ = int32(minInt32 /* ERROR "cannot convert" */ - 1) _ = int32(minInt32) _ = int32(maxInt32) _ = int32(maxInt32 /* ERROR "cannot convert" */ + 1) _ = int32(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ int64 = minInt64 /* ERROR "overflows" */ - 1 _ int64 = minInt64 _ int64 = maxInt64 _ int64 = maxInt64 /* ERROR "overflows" */ + 1 _ int64 = smallestFloat64 /* ERROR "truncated" */ _ = int64(minInt64 /* ERROR "cannot convert" */ - 1) _ = int64(minInt64) _ = int64(maxInt64) _ = int64(maxInt64 /* ERROR "cannot convert" */ + 1) _ = int64(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ int = minInt /* ERROR "overflows" */ - 1 _ int = minInt _ int = maxInt _ int = maxInt /* ERROR "overflows" */ + 1 _ int = smallestFloat64 /* ERROR "truncated" */ _ = int(minInt /* ERROR "cannot convert" */ - 1) _ = int(minInt) _ = int(maxInt) _ = int(maxInt /* ERROR "cannot convert" */ + 1) _ = int(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ uint8 = 0 /* ERROR "overflows" */ - 1 _ uint8 = 0 _ uint8 = maxUint8 _ uint8 = maxUint8 /* ERROR "overflows" */ + 1 _ uint8 = smallestFloat64 /* ERROR "truncated" */ _ = uint8(0 /* ERROR "cannot convert" */ - 1) _ = uint8(0) _ = uint8(maxUint8) _ = uint8(maxUint8 /* ERROR "cannot convert" */ + 1) _ = uint8(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ uint16 = 0 /* ERROR "overflows" */ - 1 _ uint16 = 0 _ uint16 = maxUint16 _ uint16 = maxUint16 /* ERROR "overflows" */ + 1 _ uint16 = smallestFloat64 /* ERROR "truncated" */ _ = uint16(0 /* ERROR "cannot convert" */ - 1) _ = uint16(0) _ = uint16(maxUint16) _ = uint16(maxUint16 /* ERROR "cannot convert" */ + 1) _ = uint16(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ uint32 = 0 /* ERROR "overflows" */ - 1 _ uint32 = 0 _ uint32 = maxUint32 _ uint32 = maxUint32 /* ERROR "overflows" */ + 1 _ uint32 = smallestFloat64 /* ERROR "truncated" */ _ = uint32(0 /* ERROR "cannot convert" */ - 1) _ = uint32(0) _ = uint32(maxUint32) _ = uint32(maxUint32 /* ERROR "cannot convert" */ + 1) _ = uint32(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ uint64 = 0 /* ERROR "overflows" */ - 1 _ uint64 = 0 _ uint64 = maxUint64 _ uint64 = maxUint64 /* ERROR "overflows" */ + 1 _ uint64 = smallestFloat64 /* ERROR "truncated" */ _ = uint64(0 /* ERROR "cannot convert" */ - 1) _ = uint64(0) _ = uint64(maxUint64) _ = uint64(maxUint64 /* ERROR "cannot convert" */ + 1) _ = uint64(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ uint = 0 /* ERROR "overflows" */ - 1 _ uint = 0 _ uint = maxUint _ uint = maxUint /* ERROR "overflows" */ + 1 _ uint = smallestFloat64 /* ERROR "truncated" */ _ = uint(0 /* ERROR "cannot convert" */ - 1) _ = uint(0) _ = uint(maxUint) _ = uint(maxUint /* ERROR "cannot convert" */ + 1) _ = uint(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ uintptr = 0 /* ERROR "overflows" */ - 1 _ uintptr = 0 _ uintptr = maxUintptr _ uintptr = maxUintptr /* ERROR "overflows" */ + 1 _ uintptr = smallestFloat64 /* ERROR "truncated" */ _ = uintptr(0 /* ERROR "cannot convert" */ - 1) _ = uintptr(0) _ = uintptr(maxUintptr) _ = uintptr(maxUintptr /* ERROR "cannot convert" */ + 1) _ = uintptr(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ float32 = minInt64 _ float64 = minInt64 _ complex64 = minInt64 _ complex128 = minInt64 _ = float32(minInt64) _ = float64(minInt64) _ = complex64(minInt64) _ = complex128(minInt64) ) const ( _ float32 = maxUint64 _ float64 = maxUint64 _ complex64 = maxUint64 _ complex128 = maxUint64 _ = float32(maxUint64) _ = float64(maxUint64) _ = complex64(maxUint64) _ = complex128(maxUint64) ) // TODO(gri) find smaller deltas below const delta32 = maxFloat32/(1 << 23) const ( _ float32 = - /* ERROR "overflow" */ (maxFloat32 + delta32) _ float32 = -maxFloat32 _ float32 = maxFloat32 _ float32 = maxFloat32 /* ERROR "overflow" */ + delta32 _ = float32(- /* ERROR "cannot convert" */ (maxFloat32 + delta32)) _ = float32(-maxFloat32) _ = float32(maxFloat32) _ = float32(maxFloat32 /* ERROR "cannot convert" */ + delta32) _ = assert(float32(smallestFloat32) == smallestFloat32) _ = assert(float32(smallestFloat32/2) == 0) _ = assert(float32(smallestFloat64) == 0) _ = assert(float32(smallestFloat64/2) == 0) ) const delta64 = maxFloat64/(1 << 52) const ( _ float64 = - /* ERROR "overflow" */ (maxFloat64 + delta64) _ float64 = -maxFloat64 _ float64 = maxFloat64 _ float64 = maxFloat64 /* ERROR "overflow" */ + delta64 _ = float64(- /* ERROR "cannot convert" */ (maxFloat64 + delta64)) _ = float64(-maxFloat64) _ = float64(maxFloat64) _ = float64(maxFloat64 /* ERROR "cannot convert" */ + delta64) _ = assert(float64(smallestFloat32) == smallestFloat32) _ = assert(float64(smallestFloat32/2) == smallestFloat32/2) _ = assert(float64(smallestFloat64) == smallestFloat64) _ = assert(float64(smallestFloat64/2) == 0) ) const ( _ complex64 = - /* ERROR "overflow" */ (maxFloat32 + delta32) _ complex64 = -maxFloat32 _ complex64 = maxFloat32 _ complex64 = maxFloat32 /* ERROR "overflow" */ + delta32 _ = complex64(- /* ERROR "cannot convert" */ (maxFloat32 + delta32)) _ = complex64(-maxFloat32) _ = complex64(maxFloat32) _ = complex64(maxFloat32 /* ERROR "cannot convert" */ + delta32) ) const ( _ complex128 = - /* ERROR "overflow" */ (maxFloat64 + delta64) _ complex128 = -maxFloat64 _ complex128 = maxFloat64 _ complex128 = maxFloat64 /* ERROR "overflow" */ + delta64 _ = complex128(- /* ERROR "cannot convert" */ (maxFloat64 + delta64)) _ = complex128(-maxFloat64) _ = complex128(maxFloat64) _ = complex128(maxFloat64 /* ERROR "cannot convert" */ + delta64) ) // Initialization of typed constant and conversion are the same: const ( f32 = 1 + smallestFloat32 x32 float32 = f32 y32 = float32(f32) _ = assert(x32 - y32 == 0) ) const ( f64 = 1 + smallestFloat64 x64 float64 = f64 y64 = float64(f64) _ = assert(x64 - y64 == 0) ) const ( _ = int8(-1) << 7 _ = int8 /* ERROR "overflows" */ (-1) << 8 _ = uint32(1) << 31 _ = uint32 /* ERROR "overflows" */ (1) << 32 )
Close