| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package main
- //"fmt"
- //"time"
- // "strconv"
- //"git.wecise.com/wecise/odbserver/lib/wgwaiter"
- func main() {
- /*wg := wgwaiter.NewWaiter()
- hello := []string{"aaaaaaaaa"}
- wg.AddOne()
- go func(hello []string) {
- fmt.Printf("%v", hello )
- time.Sleep(1 * time.Second)
- fmt.Printf("%v", hello )
- time.Sleep(1 * time.Second)
- fmt.Printf("%v", hello )
- time.Sleep(1 * time.Second)
- wg.Done()
- }(hello)
- hello = nil
- print("wait....")
- hello = []string{"bbbbbbb"}
- if err := wg.Wait(10 * time.Second) ; err != nil{
- print(err)
- }
- name :=`"name"`
- print(name[0]=='"')
- name =`'name'`
- print(name[0]=='\'')*/
- x := 4194304
- print("x ==>", x&0x0000000000200000)
- y := x & 0x0000FFFF00000000
- print("y ==>", y>>32)
- //print(" ==>", float64("2e5"))
- }
|