summaryrefslogtreecommitdiff
path: root/src/pkg/reflect/deepequal.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-24/+25
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-34/+24
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-2/+2
2010-03-30simplify various code using new map index ruleRuss Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/833044
2009-12-151) Change default gofmt default settings forRobert Griesemer1-29/+29
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180049
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-17/+17
R=rsc, r http://go/go-review/1025029
2009-10-07apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync ↵Russ Cox1-7/+7
syscall testing time unicode unsafe utf8 R=gri DELTA=1409 (79 added, 24 deleted, 1306 changed) OCL=35415 CL=35437
2009-09-15more "declared and not used".Russ Cox1-2/+2
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-03nil in DeepEqualRuss Cox1-8/+5
R=r DELTA=13 (5 added, 6 deleted, 2 changed) OCL=34337 CL=34343
2009-08-12convert low-level (used by testing) packages toRuss Cox1-1/+0
whole-package compilation. new Makefiles, tests now in separate package bytes flag fmt io math once os reflect strconv sync time utf8 delete import "xxx" in package xxx. inside package xxx, xxx is not declared anymore so s/xxx.//g delete file and package level forward declarations. note the new internal_test.go and sync and strconv to provide public access to internals during testing. the installed version of the package omits that file and thus does not open the internals to all clients. R=r OCL=33065 CL=33097
2009-07-10reflection for interface setRuss Cox1-1/+1
rename map access methods to Elem, SetElem. R=r DELTA=95 (66 added, 7 deleted, 22 changed) OCL=31456 CL=31469
2009-07-10DeepEqual for mapsRob Pike1-5/+13
R=rsc DELTA=47 (30 added, 16 deleted, 1 changed) OCL=31455 CL=31455
2009-07-07update reflect supporting functions,Russ Cox1-22/+34
tests to use new reflect interface. also make tests a real gotest. depends on CL 31107 R=r DELTA=582 (56 added, 194 deleted, 332 changed) OCL=31108 CL=31279
2009-07-01add test, fix bug: structs that differ in theirRuss Cox1-9/+33
first field were not being handled correctly because the visited map did not include the type. R=r OCL=31006 CL=31006
2009-06-25add reflect.Typeof; test for and fix nil interface bug in DeepEqualRuss Cox1-7/+13
R=r DELTA=40 (30 added, 2 deleted, 8 changed) OCL=30742 CL=30753
2009-06-15Fix a proto encoding crasher whereby a nil in a repeated group field would ↵David Symonds1-0/+6
crash the server. Also fix the reflect bug that was exposed by this bug. R=r APPROVED=rsc DELTA=162 (103 added, 32 deleted, 27 changed) OCL=30125 CL=30319
2009-06-09mv src/lib to src/pkgRob Pike1-0/+83
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102