OLD | NEW |
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 10 matching lines...) Expand all Loading... |
21 #ifndef WTF_Vector_h | 21 #ifndef WTF_Vector_h |
22 #define WTF_Vector_h | 22 #define WTF_Vector_h |
23 | 23 |
24 #include "wtf/Alignment.h" | 24 #include "wtf/Alignment.h" |
25 #include "wtf/FastAllocBase.h" | 25 #include "wtf/FastAllocBase.h" |
26 #include "wtf/Noncopyable.h" | 26 #include "wtf/Noncopyable.h" |
27 #include "wtf/NotFound.h" | 27 #include "wtf/NotFound.h" |
28 #include "wtf/PartitionAlloc.h" | 28 #include "wtf/PartitionAlloc.h" |
29 #include "wtf/QuantizedAllocation.h" | 29 #include "wtf/QuantizedAllocation.h" |
30 #include "wtf/StdLibExtras.h" | 30 #include "wtf/StdLibExtras.h" |
31 #include "wtf/UnusedParam.h" | |
32 #include "wtf/VectorTraits.h" | 31 #include "wtf/VectorTraits.h" |
33 #include "wtf/WTF.h" | 32 #include "wtf/WTF.h" |
34 #include <string.h> | 33 #include <string.h> |
35 #include <utility> | 34 #include <utility> |
36 | 35 |
37 namespace WTF { | 36 namespace WTF { |
38 | 37 |
39 #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) | 38 #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) |
40 static const size_t kInitialVectorSize = 1; | 39 static const size_t kInitialVectorSize = 1; |
41 #else | 40 #else |
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 inline bool operator!=(const Vector<T, inlineCapacity>& a, const Vector<T, i
nlineCapacity>& b) | 1067 inline bool operator!=(const Vector<T, inlineCapacity>& a, const Vector<T, i
nlineCapacity>& b) |
1069 { | 1068 { |
1070 return !(a == b); | 1069 return !(a == b); |
1071 } | 1070 } |
1072 | 1071 |
1073 } // namespace WTF | 1072 } // namespace WTF |
1074 | 1073 |
1075 using WTF::Vector; | 1074 using WTF::Vector; |
1076 | 1075 |
1077 #endif // WTF_Vector_h | 1076 #endif // WTF_Vector_h |
OLD | NEW |