Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/list.h

Issue 302033003: Test V8 CL. Do not commit. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_LIST_H_ 5 #ifndef V8_LIST_H_
6 #define V8_LIST_H_ 6 #define V8_LIST_H_
7 7
8 #include "utils.h" 8 #include "utils.h"
9 9
10 // Some random change. Just for testing. Do not commit.
11
10 namespace v8 { 12 namespace v8 {
11 namespace internal { 13 namespace internal {
12 14
13 15
14 // ---------------------------------------------------------------------------- 16 // ----------------------------------------------------------------------------
15 // The list is a template for very light-weight lists. We are not 17 // The list is a template for very light-weight lists. We are not
16 // using the STL because we want full control over space and speed of 18 // using the STL because we want full control over space and speed of
17 // the code. This implementation is based on code by Robert Griesemer 19 // the code. This implementation is based on code by Robert Griesemer
18 // and Rob Pike. 20 // and Rob Pike.
19 // 21 //
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 template <typename T, class P> 206 template <typename T, class P>
205 int SortedListBSearch(const List<T>& list, P cmp); 207 int SortedListBSearch(const List<T>& list, P cmp);
206 template <typename T> 208 template <typename T>
207 int SortedListBSearch(const List<T>& list, T elem); 209 int SortedListBSearch(const List<T>& list, T elem);
208 210
209 211
210 } } // namespace v8::internal 212 } } // namespace v8::internal
211 213
212 214
213 #endif // V8_LIST_H_ 215 #endif // V8_LIST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698