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

Delta Between Two Patch Sets: src/pkg/runtime/string.goc

Issue 4711045: code review 4711045: runtime: improve Linux mutex (Closed)
Left Patch Set: diff -r 627c9b93bae9 https://go.googlecode.com/hg/ Created 13 years, 8 months ago
Right Patch Set: diff -r c162ec4be385 https://go.googlecode.com/hg/ Created 13 years, 7 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/runtime.h ('k') | no next file » | 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 package runtime 5 package runtime
6 #include "runtime.h" 6 #include "runtime.h"
7 #include "malloc.h" 7 #include "malloc.h"
8 8
9 String runtime·emptystring; 9 String runtime·emptystring;
10 10
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if(retv < Runeself) { 341 if(retv < Runeself) {
342 retk = k+1; 342 retk = k+1;
343 goto out; 343 goto out;
344 } 344 }
345 345
346 // multi-char rune 346 // multi-char rune
347 retk = k + runtime·charntorune(&retv, s.str+k, s.len-k); 347 retk = k + runtime·charntorune(&retv, s.str+k, s.len-k);
348 348
349 out: 349 out:
350 } 350 }
LEFTRIGHT

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