Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Issue 1306373002: filter/count: Fix alignment on 32-bit systems. (Closed)

Created:
5 years, 4 months ago by dnj
Modified:
5 years, 4 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Base URL:
https://github.com/luci/gae@master
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Use &...{} instead of new. #

Total comments: 1

Patch Set 3 : Use 32-bit counters. #

Total comments: 1

Patch Set 4 : Moar user-friendly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -19 lines) Patch
M filter/count/count.go View 1 2 3 2 chunks +30 lines, -5 lines 0 comments Download
M filter/count/count_test.go View 1 2 3 7 chunks +30 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dnj
5 years, 4 months ago (2015-08-22 00:22:01 UTC) #1
iannucci
https://codereview.chromium.org/1306373002/diff/20001/filter/count/count.go File filter/count/count.go (right): https://codereview.chromium.org/1306373002/diff/20001/filter/count/count.go#newcode21 filter/count/count.go:21: atomic.AddInt64(&c.value, 1) as discussed offline, let's just change the ...
5 years, 4 months ago (2015-08-22 01:00:56 UTC) #2
dnj (Google)
On 2015/08/22 01:00:56, iannucci wrote: > https://codereview.chromium.org/1306373002/diff/20001/filter/count/count.go > File filter/count/count.go (right): > > https://codereview.chromium.org/1306373002/diff/20001/filter/count/count.go#newcode21 > ...
5 years, 4 months ago (2015-08-22 01:05:44 UTC) #3
iannucci
lgtm https://codereview.chromium.org/1306373002/diff/40001/filter/count/count.go File filter/count/count.go (right): https://codereview.chromium.org/1306373002/diff/40001/filter/count/count.go#newcode24 filter/count/count.go:24: func (c *Counter) Get() int { I don't ...
5 years, 4 months ago (2015-08-22 01:10:51 UTC) #4
dnj (Google)
On 2015/08/22 01:10:51, iannucci wrote: > lgtm > > https://codereview.chromium.org/1306373002/diff/40001/filter/count/count.go > File filter/count/count.go (right): > ...
5 years, 4 months ago (2015-08-22 01:12:54 UTC) #5
iannucci
On 2015/08/22 01:12:54, dnj (Google) wrote: > On 2015/08/22 01:10:51, iannucci wrote: > > lgtm ...
5 years, 4 months ago (2015-08-22 01:13:53 UTC) #6
iannucci
lgtm
5 years, 4 months ago (2015-08-22 01:22:03 UTC) #7
dnj
5 years, 4 months ago (2015-08-22 01:23:59 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
351e21610f9158e7c4148e5058e97a94107ded8c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698