Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringlengths
5
54
id
int64
5.31k
165k
path
stringlengths
4
80
url
sequencelengths
1
6.33k
code
sequencelengths
23
735k
code_string
stringlengths
67
3.19M
influxdata/influxql
133,144
token.go
["https://github.com/influxdata/influxql/blob/1cbfca8e56b6eaa120f5b5161e4f0d5edcc9e513/parse_tree.go(...TRUNCATED)
["func","(","t","*","ParseTree",")","Group","(","tokens","...","Token",")","*","ParseTree","{","for"(...TRUNCATED)
"func (t *ParseTree) Group(tokens ...Token) *ParseTree {\n\tfor _, tok := range tokens {\n\t\t// Loo(...TRUNCATED)
manifoldco/torus-cli
123,882
registry/round_tripper.go
["https://github.com/manifoldco/torus-cli/blob/137599f985e6f676c081ffb4230aaad52fb7d26c/registry/org(...TRUNCATED)
["func","(","o","*","OrgInvitesClient",")","Approve","(","ctx","context",".","Context",",","inviteID(...TRUNCATED)
"func (o *OrgInvitesClient) Approve(ctx context.Context, inviteID *identity.ID) (*envelope.OrgInvite(...TRUNCATED)
rpcx-ecosystem/net-rpc-msgpackrpc2
70,324
msgpackrpc.go
["https://github.com/rpcx-ecosystem/net-rpc-msgpackrpc2/blob/ee9a9b86ecde5794b19ed78d9f9a10054afee13(...TRUNCATED)
["func","NewClient","(","conn","io",".","ReadWriteCloser",")","*","core",".","Client","{","return","(...TRUNCATED)
"func NewClient(conn io.ReadWriteCloser) *core.Client {\n\treturn core.NewClientWithCodec(NewClientC(...TRUNCATED)
gin-gonic/gin
110,423
context.go
["https://github.com/gin-gonic/gin/blob/202f8fc58af47ab5c8e834662ee7fc46deacc37d/binding/form.go#L76(...TRUNCATED)
["func","(","r","*","multipartRequest",")","TrySet","(","value","reflect",".","Value",",","field","r(...TRUNCATED)
"func (r *multipartRequest) TrySet(value reflect.Value, field reflect.StructField, key string, opt s(...TRUNCATED)
rickar/cal
15,572
cal.go
["https://github.com/rickar/cal/blob/7dd8caa87d491626b521d2bf32d4f01d24c2fd37/holiday_defs_dk.go#L27(...TRUNCATED)
["func","AddDanishHolidays","(","c","*","Calendar",")","{","c",".","AddHoliday","(","DKNytaarsdag","(...TRUNCATED)
"func AddDanishHolidays(c *Calendar) {\n\tc.AddHoliday(\n\t\tDKNytaarsdag,\n\t\tDKSkaertorsdag,\n\t\(...TRUNCATED)
mastahyeti/cms
62,113
timestamp.go
["https://github.com/mastahyeti/cms/blob/119fef08a078a262d54a40366d1c3f7de2e9d3f1/signed_data.go#L16(...TRUNCATED)
["func","NewSignedData","(","data","[","]","byte",")","(","*","SignedData",",","error",")","{","eci"(...TRUNCATED)
"func NewSignedData(data []byte) (*SignedData, error) {\n\teci, err := protocol.NewDataEncapsulatedC(...TRUNCATED)
barnybug/gorfxtrx
82,331
device.go
["https://github.com/barnybug/gorfxtrx/blob/fab70020949d94b49779ae91ef18c56ff8febc4f/packet.go#L41-L(...TRUNCATED)
["func","Parse","(","data","[","]","byte",")","(","Packet",",","error",")","{","if","data","[","0","(...TRUNCATED)
"func Parse(data []byte) (Packet, error) {\n\tif data[0] == 0 {\n\t\t// ignore the empty packet - no(...TRUNCATED)
golangplus/bytes
83,051
slice.go
["https://github.com/golangplus/bytes/blob/45c989fe545070ef7c9003cf1998bb195c61731a/slice.go#L41-L58(...TRUNCATED)
["func","(","s","*","Slice",")","Read","(","p","[","]","byte",")","(","n","int",",","err","error",")(...TRUNCATED)
"func (s *Slice) Read(p []byte) (n int, err error) {\n\tif len(p) == 0 {\n\t\treturn 0, nil\n\t}\n\n(...TRUNCATED)
nutrun/lentil
63,769
lentil.go
["https://github.com/nutrun/lentil/blob/a0aa7412e0f72a9650ec923bececbdc2a29c01aa/lentil.go#L122-L138(...TRUNCATED)
["func","(","this","*","Beanstalkd",")","Use","(","tube","string",")","error","{","e",":=","this",".(...TRUNCATED)
"func (this *Beanstalkd) Use(tube string) error {\n\te := this.send(\"use %s\\r\\n\", tube)\n\tif e (...TRUNCATED)
go-ini/ini
146,722
section.go
["https://github.com/go-ini/ini/blob/3be5ad479f69d4e08d7fe25edf79bf3346bd658e/file.go#L47-L58","http(...TRUNCATED)
["func","newFile","(","dataSources","[","]","dataSource",",","opts","LoadOptions",")","*","File","{"(...TRUNCATED)
"func newFile(dataSources []dataSource, opts LoadOptions) *File {\n\tif len(opts.KeyValueDelimiters)(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
9