LEFT | RIGHT |
(Both sides are equal) |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #include "runtime.h" | 5 #include "runtime.h" |
6 #include "hashmap.h" | 6 #include "hashmap.h" |
7 #include "type.h" | 7 #include "type.h" |
8 | 8 |
9 /* Return a pointer to the struct/union of type "type" | 9 /* Return a pointer to the struct/union of type "type" |
10 whose "field" field is addressed by pointer "p". */ | 10 whose "field" field is addressed by pointer "p". */ |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 h->valalg->copy(h->valsize, av, res+h->datavo); | 995 h->valalg->copy(h->valsize, av, res+h->datavo); |
996 | 996 |
997 if(debug) { | 997 if(debug) { |
998 prints("mapiter2: iter="); | 998 prints("mapiter2: iter="); |
999 ·printpointer(it); | 999 ·printpointer(it); |
1000 prints("; map="); | 1000 prints("; map="); |
1001 ·printpointer(h); | 1001 ·printpointer(h); |
1002 prints("\n"); | 1002 prints("\n"); |
1003 } | 1003 } |
1004 } | 1004 } |
LEFT | RIGHT |