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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
View main_test.go
package main
import (
"reflect"
"strconv"
"testing"
)
const numOfValues = 100
@yosssi
yosssi / main_test.go
Last active Aug 29, 2015
Comparison of byte slices
View main_test.go
package main
import (
"bytes"
"testing"
)
var d = make([]byte, 256)
func init() {
@yosssi
yosssi / go-1.4-source-code-using-sync.Pool.md
Created Dec 16, 2014
Go 1.4 source code using "sync.Pool"
View go-1.4-source-code-using-sync.Pool.md
$ ag "sync.Pool" | grep .go
archive/zip/register.go:25:var flateWriterPool sync.Pool
encoding/json/encode.go:247:var encodeStatePool sync.Pool
fmt/print.go:127:var ppFree = sync.Pool{
fmt/scan.go:384:var ssFree = sync.Pool{
io/ioutil/ioutil.go:140:var blackHolePool = sync.Pool{
net/http/header.go:120:var headerSorterPool = sync.Pool{
net/http/request.go:574:var textprotoReaderPool sync.Pool
net/http/server.go:450:	bufioReaderPool   sync.Pool
View policy.md
  • Current Task
  • New business with Technology
    • Solve problems by writing source code
  • English
View idea.md
  • リアルタイム空席照会
@yosssi
yosssi / IoT特集: 月刊ライトニングトーク2014年10月号.md
Created Oct 7, 2014
IoT特集: 月刊ライトニングトーク2014年10月号
View IoT特集: 月刊ライトニングトーク2014年10月号.md

IoT特集: 月刊ライトニングトーク2014年10月号

WebSocketでつくる、IoTネットワーキングサービス (@sawny / Bunnyhop Inc.)

View gorot.md
  • Twitter
    • Check tweets related yosssi and notify by sending email
  • GitHub
  • Slack
  • HipChat
@yosssi
yosssi / 20140926-gree-tech-talk-#06.md
Created Sep 24, 2014
20140926-gree-tech-talk-#06
View 20140926-gree-tech-talk-#06.md

GREE Tech Talk #06 : Practical Go

Lessons Learned While Writing "peco"