Notice: file_put_contents(): Write of 16098 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50
Go tests@golangtests P.323
GOLANGTESTS Telegram 323
👣 Код дает разные значения для b1 и b2
Почему?


package main

func main() {
const s1 = "Hi World!"
s2 := s1 + ""
println(s1 == s2) //true
println(len(s1) == len(s2)) //true

var b1 byte = 1 << len(s1) / 128 // ==4
var b2 byte = 1 << len(s2) / 128 // ==0
println(b1, b2) // 4 0
}


https://play.golang.com/p/9Fon9ZGyy6J

@golangtests
Please open Telegram to view this post
VIEW IN TELEGRAM
👍62🔥2



tgoop.com/golangtests/323
Create:
Last Update:

👣 Код дает разные значения для b1 и b2
Почему?


package main

func main() {
const s1 = "Hi World!"
s2 := s1 + ""
println(s1 == s2) //true
println(len(s1) == len(s2)) //true

var b1 byte = 1 << len(s1) / 128 // ==4
var b2 byte = 1 << len(s2) / 128 // ==0
println(b1, b2) // 4 0
}


https://play.golang.com/p/9Fon9ZGyy6J

@golangtests

BY Go tests


Share with your friend now:
tgoop.com/golangtests/323

View MORE
Open in Telegram


Telegram News

Date: |

Content is editable within two days of publishing The administrator of a telegram group, "Suck Channel," was sentenced to six years and six months in prison for seven counts of incitement yesterday. On June 7, Perekopsky met with Brazilian President Jair Bolsonaro, an avid user of the platform. According to the firm's VP, the main subject of the meeting was "freedom of expression." SUCK Channel Telegram Polls
from us


Telegram Go tests
FROM American