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

Side by Side Diff: Source/wtf/Vector.h

Issue 1041103002: PartitionAlloc: Centralize Partition allocators into one place (Part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | « Source/wtf/Partitions.cpp ('k') | Source/wtf/WTF.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 12 matching lines...) Expand all
23 23
24 #include "wtf/Alignment.h" 24 #include "wtf/Alignment.h"
25 #include "wtf/ConditionalDestructor.h" 25 #include "wtf/ConditionalDestructor.h"
26 #include "wtf/ContainerAnnotations.h" 26 #include "wtf/ContainerAnnotations.h"
27 #include "wtf/DefaultAllocator.h" 27 #include "wtf/DefaultAllocator.h"
28 #include "wtf/FastAllocBase.h" 28 #include "wtf/FastAllocBase.h"
29 #include "wtf/Noncopyable.h" 29 #include "wtf/Noncopyable.h"
30 #include "wtf/NotFound.h" 30 #include "wtf/NotFound.h"
31 #include "wtf/StdLibExtras.h" 31 #include "wtf/StdLibExtras.h"
32 #include "wtf/VectorTraits.h" 32 #include "wtf/VectorTraits.h"
33 #include "wtf/WTF.h"
34 #include <string.h> 33 #include <string.h>
35 #include <utility> 34 #include <utility>
36 35
37 // For ASAN builds, disable inline buffers completely as they cause various issu es. 36 // For ASAN builds, disable inline buffers completely as they cause various issu es.
38 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER 37 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER
39 #define INLINE_CAPACITY 0 38 #define INLINE_CAPACITY 0
40 #else 39 #else
41 #define INLINE_CAPACITY inlineCapacity 40 #define INLINE_CAPACITY inlineCapacity
42 #endif 41 #endif
43 42
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 struct NeedsTracing<Vector<T, N>> { 1297 struct NeedsTracing<Vector<T, N>> {
1299 static const bool value = false; 1298 static const bool value = false;
1300 }; 1299 };
1301 #endif 1300 #endif
1302 1301
1303 } // namespace WTF 1302 } // namespace WTF
1304 1303
1305 using WTF::Vector; 1304 using WTF::Vector;
1306 1305
1307 #endif // WTF_Vector_h 1306 #endif // WTF_Vector_h
OLDNEW
« no previous file with comments | « Source/wtf/Partitions.cpp ('k') | Source/wtf/WTF.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698