Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(73)

Delta Between Two Patch Sets: src/pkg/runtime/hashmap.c

Issue 871042: code review 871042: runtime: turn run time errors checks into panics (Closed)
Left Patch Set: code review 871042: runtime: turn run time errors checks into panics Created 14 years, 12 months ago
Right Patch Set: code review 871042: runtime: turn run time errors checks into panics Created 14 years, 12 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/error.go ('k') | src/pkg/runtime/iface.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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
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 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b