Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Vicent Marti 37614afc31 hack: documentataion
Signed-off-by: Vicent Marti <vmg@strn.cat>
2022-04-06 15:46:47 +02:00
Vicent Marti 3b28297019 hack: add compatibility layer
Signed-off-by: Vicent Marti <vmg@strn.cat>
2022-04-05 15:59:23 +02:00
Vicent Marti 319f937931 evalengine: use ParseFloatPrefix for parsing floats
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-11-17 13:12:54 +01:00
Vicent Marti 8623d5494b hack: implement StringBytes and StringClone
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-09-14 12:01:42 +02:00
Vicent Marti 670d3c9251 sizegen: calculate malloc block sizes
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-09-14 12:01:42 +02:00
Vicent Marti a87a211542 hack: call the cops I don't give a fuck
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-05-19 11:14:01 +02:00
Vicent Marti 37db725cc3 hack: update license header
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-02-05 12:17:29 +01:00
Vicent Marti 15dae44bae hack: document empty Goassembly file
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-02-05 11:09:19 +01:00
Vicent Marti d6a13f10ba cache: switch to a new implementation based on Ristretto
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-02-02 11:27:21 +01:00
yuxiaobo 03e83d6c30 add license in /go file
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-21 22:30:02 +08:00
Sugu Sougoumarane b607d6439c codegen: use strings.Builder instead of hack
For the sake of efficiency, we used to 'hack' some places
by coercing a []byte into a string. This hack is now officially
encapsulated safely by strings.Builder.

The last place where we're still using hack.String is in
sqltypes.Value. That will require some thinking.

I've also deleted code for other hacks that we don't use any more.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-02-17 15:00:50 -08:00
xichengliudui 30c8a93abb Use the import () way
Signed-off-by: xichengliudui <liuduidui@beyondcent.com>
2019-02-12 13:53:16 -05:00
Sugu Sougoumarane 7af23e1dde license: BSD->Apache v2.0
Please refer to #2694 and #2670 for motivation and reasoning for
this change.

I've tried to follow best practice in inserting the copyright
headers. In other open source projects, not all files carry
the notice. For example documentation doesn't. I've followed
similar ground rules.

I did not change the php because there is a separate LICENSE
file there by Pixel Federation. We'll first need to notify
them our intent before changing anything there.

As for the presubmit check, it's going to be non-trivial
because of the number of exceptions, like file types,
directories and generated code. So, it will have to be
a separate project.
2017-05-06 00:38:56 -07:00
Sugu Sougoumarane eddd59dfc3 go 1.5 prep
In go 1.5 empty strings have a unique representation. So, we
change hack.go to use the go-defined way rather than our own.
Some connection error strings have changed. Changed memcache
test to be more agnostic of that.
A new warning was printed for counting_listener_test.go, which indicated
a minor bug. Fixed.
2015-07-31 09:10:57 -07:00
Anthony Yeh a91d8823ad Add or fix package comments for reusable packages. 2014-09-24 14:35:23 -07:00
Sugu Sougoumarane edeec1a84f change mysql API to accept string instead of []byte for queries 2013-04-30 13:00:43 -07:00
Sugu Sougoumarane 85fd9dff0f selflessness and atomic normalization 2013-04-10 15:43:10 -07:00
Alain Jobart 795856cbfa gofmt decided to remove trailing whitespaces, here is the
full change.

LGTM Ric.
2012-11-21 17:08:45 -08:00
Ric Szopa 02115e7048 Change the license notice to be shorter and refer to the license file. 2012-06-07 11:55:06 -07:00
Sugu Sougoumarane e71dcfe7c8 optimization stagte2: chunked writer for bson 2012-04-25 13:40:45 -07:00
Sugu Sougoumarane e2e3e0ef00 copyright deviolation 2012-04-01 21:58:56 -07:00
Sugu Sougoumarane a082e88409 updated to go's new build system and weekly.2012-03-04 2012-03-11 17:53:40 -07:00
Sugu Sougoumarane 72a862e6b3 initial source code check-in. 2012-02-24 23:30:03 -08:00