diff options
Diffstat (limited to 'go/golang/gocache/88')
5 files changed, 40 insertions, 0 deletions
diff --git a/go/golang/gocache/88/88093e39301c0f1b6a9abfae26798b1a22bffd0b4c8ead28614883c7cb68c478-d b/go/golang/gocache/88/88093e39301c0f1b6a9abfae26798b1a22bffd0b4c8ead28614883c7cb68c478-d new file mode 100644 index 00000000..70e25616 --- /dev/null +++ b/go/golang/gocache/88/88093e39301c0f1b6a9abfae26798b1a22bffd0b4c8ead28614883c7cb68c478-d @@ -0,0 +1,2 @@ +./annotation.go +./trace.go diff --git a/go/golang/gocache/88/887507017c8abc50a0bdfdbb7fa511eb42d027e80da22ab76da09a30b342b6bf-d b/go/golang/gocache/88/887507017c8abc50a0bdfdbb7fa511eb42d027e80da22ab76da09a30b342b6bf-d new file mode 100644 index 00000000..04120231 --- /dev/null +++ b/go/golang/gocache/88/887507017c8abc50a0bdfdbb7fa511eb42d027e80da22ab76da09a30b342b6bf-d @@ -0,0 +1,36 @@ +// Code generated by cmd/cgo; DO NOT EDIT. + +//line /workdir/go/src/net/cgo_socknew.go:1:1 +// Copyright 2015 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. + +// +build cgo,!netgo +// +build android linux solaris + +package net + +/* +#include <sys/types.h> +#include <sys/socket.h> + +#include <netinet/in.h> +*/ +import _ "unsafe" + +import ( + "syscall" + "unsafe" +) + +func cgoSockaddrInet4(ip IP) *_Ctype_struct_sockaddr { + sa := syscall.RawSockaddrInet4{Family: syscall.AF_INET} + copy(sa.Addr[:], ip) + return (*_Ctype_struct_sockaddr)(unsafe.Pointer(&sa)) +} + +func cgoSockaddrInet6(ip IP, zone int) *_Ctype_struct_sockaddr { + sa := syscall.RawSockaddrInet6{Family: syscall.AF_INET6, Scope_id: uint32(zone)} + copy(sa.Addr[:], ip) + return (*_Ctype_struct_sockaddr)(unsafe.Pointer(&sa)) +} diff --git a/go/golang/gocache/88/88a98f974ba63f0b4a23ba95fe3d4d19985bd68aaf43a4b4c4fe364e3189921b-d b/go/golang/gocache/88/88a98f974ba63f0b4a23ba95fe3d4d19985bd68aaf43a4b4c4fe364e3189921b-d Binary files differnew file mode 100644 index 00000000..56bad95d --- /dev/null +++ b/go/golang/gocache/88/88a98f974ba63f0b4a23ba95fe3d4d19985bd68aaf43a4b4c4fe364e3189921b-d diff --git a/go/golang/gocache/88/88c9e8ef3afb7dd71930bbff642de9025733bfdd66d186f2746a7600eb45495f-a b/go/golang/gocache/88/88c9e8ef3afb7dd71930bbff642de9025733bfdd66d186f2746a7600eb45495f-a new file mode 100644 index 00000000..3a707c30 --- /dev/null +++ b/go/golang/gocache/88/88c9e8ef3afb7dd71930bbff642de9025733bfdd66d186f2746a7600eb45495f-a @@ -0,0 +1 @@ +v1 88c9e8ef3afb7dd71930bbff642de9025733bfdd66d186f2746a7600eb45495f e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1548273525197280613 diff --git a/go/golang/gocache/88/88dc096fefdfe689af374c814c8beb0bb0d8682ea910774157e3224385ca647b-a b/go/golang/gocache/88/88dc096fefdfe689af374c814c8beb0bb0d8682ea910774157e3224385ca647b-a new file mode 100644 index 00000000..6f2307a8 --- /dev/null +++ b/go/golang/gocache/88/88dc096fefdfe689af374c814c8beb0bb0d8682ea910774157e3224385ca647b-a @@ -0,0 +1 @@ +v1 88dc096fefdfe689af374c814c8beb0bb0d8682ea910774157e3224385ca647b e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1548273534885377116 |