if o,p := s.Buf();p != 1 || o - time.Now().Unix() > 1{return}
if ok,k := s.Get(v);!ok || k != "a" {return}
if !s.Check(v, "a") {return}
+ ps := Uintptr2String(v)
+ if v != String2Uintptr(ps) {
+ t.Error(`aaa`)
+ }
}
--- /dev/null
+package part
+
+import (
+ "fmt"
+ "strconv"
+)
+
+func Uintptr2String(ptr uintptr) string {
+ return fmt.Sprint(ptr)
+}
+
+
+func String2Uintptr(s string) (ptr uintptr) {
+ if i,e := strconv.Atoi(s);e != nil {
+ return
+ } else {
+ ptr = uintptr(i)
+ }
+ return
+}
\ No newline at end of file