1. 24 Jun, 2016 3 commits
    • Sameer Ajmani's avatar
      context: update documentation on cancelation and go vet check. · e4dc7f1e
      Sameer Ajmani authored
      Also replace double spaces after periods with single spaces.
      
      Change-Id: Iedaea47595c5ce64e7e8aa3a368f36d49061c555
      Reviewed-on: https://go-review.googlesource.com/24431Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      e4dc7f1e
    • David Crawshaw's avatar
      reflect: avoid lock for some NumMethod()==0 cases · 3c6ed76d
      David Crawshaw authored
      The encoding/json package uses NumMethod()==0 as a fast check for
      interface satisfaction. In the case when a type has no methods at
      all, we don't need to grab the RWMutex.
      
      Improves JSON decoding benchmark on linux/amd64:
      
      	name           old time/op    new time/op    delta
      	CodeDecoder-8    44.2ms ± 2%    40.6ms ± 1%  -8.11%  (p=0.000 n=10+10)
      
      	name           old speed      new speed      delta
      	CodeDecoder-8  43.9MB/s ± 2%  47.8MB/s ± 1%  +8.82%  (p=0.000 n=10+10)
      
      For #16117
      
      Change-Id: Id717e7fcd2f41b7d51d50c26ac167af45bae3747
      Reviewed-on: https://go-review.googlesource.com/24433Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: David Crawshaw <crawshaw@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      3c6ed76d
    • Brad Fitzpatrick's avatar
      A+C: automated updates · f9d6b909
      Brad Fitzpatrick authored
      Add Aaron Zinman (corporate CLA for Empirical Interfaces Inc.)
      Add Ayanamist Yang (individual CLA)
      Add Christian Couder (individual CLA)
      Add Eric Engestrom (individual CLA)
      Add Filippo Valsorda (individual CLA)
      Add Gyu-Ho Lee (individual CLA)
      Add H. İbrahim Güngör (individual CLA)
      Add Jacob Hoffman-Andrews (individual CLA)
      Add Jason Barnett (individual CLA)
      Add Joe Farrell (individual CLA)
      Add Julian Kornberger (individual CLA)
      Add Kris Rousey (corporate CLA for Google Inc.)
      Add Miguel Mendez (individual CLA)
      Add Nic Day (individual CLA)
      Add Paulo Casaretto (individual CLA)
      Add Philip Børgesen (individual CLA)
      Add Quan Tran (individual CLA)
      Add Sai Cheemalapati (corporate CLA for Google Inc.)
      Add Sasha Sobol (individual CLA)
      Add Seth Vargo (individual CLA)
      Add Simon Thulbourn (individual CLA)
      Add Wisdom Omuya (individual CLA)
      
      Updates #12042
      
      Change-Id: Ie8ab5e3500ee62000c0b176d4d71340446e72ab7
      Reviewed-on: https://go-review.googlesource.com/24420Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      f9d6b909
  2. 23 Jun, 2016 6 commits
  3. 22 Jun, 2016 5 commits
  4. 21 Jun, 2016 6 commits
  5. 20 Jun, 2016 6 commits
  6. 19 Jun, 2016 1 commit
    • Alex Brainman's avatar
      debug/pe: handle files with no string table · 691c5c15
      Alex Brainman authored
      pecoff.doc (https://goo.gl/ayvckk) in section 5.6 says:
      
      Immediately following the COFF symbol table is the COFF string table.
      The position of this table is found by taking the symbol table address
      in the COFF header, and adding the number of symbols multiplied by
      the size of a symbol.
      
      So it is unclear what to do when symbol table address is 0.
      Lets assume executable does not have any string table.
      
      Added new test with executable with no symbol table. The
      
      gcc -s testdata\hello.c -o testdata\gcc-386-mingw-no-symbols-exec.
      
      command was used to generate the executable.
      
      Fixes #16084
      
      Change-Id: Ie74137ac64b15daadd28e1f0315f3b62d1bf2059
      Reviewed-on: https://go-review.googlesource.com/24200Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      691c5c15
  7. 17 Jun, 2016 2 commits
  8. 16 Jun, 2016 4 commits
  9. 15 Jun, 2016 5 commits
  10. 14 Jun, 2016 2 commits