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

Unified Diff: runtime/vm/hash_table.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/hash_map_test.cc ('k') | runtime/vm/hash_table_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/hash_table.h
diff --git a/runtime/vm/hash_table.h b/runtime/vm/hash_table.h
index 61db830478575487cb3f8240aceea7d5df84924f..06b97d3ad8771aacd2dda6d195f0e430d14431d5 100644
--- a/runtime/vm/hash_table.h
+++ b/runtime/vm/hash_table.h
@@ -55,7 +55,6 @@ namespace dart {
// KeyTraits methods must not run Dart code (since the C++ code doesn't check
// for concurrent modification).
-
// Open-addressing hash table template using a RawArray as backing storage.
//
// The elements of the array are partitioned into entries:
@@ -383,7 +382,6 @@ class HashTable : public ValueObject {
friend class HashTables;
};
-
// Table with unspecified iteration order. No payload overhead or metadata.
template <typename KeyTraits, intptr_t kUserPayloadSize>
class UnorderedHashTable : public HashTable<KeyTraits, kUserPayloadSize, 0> {
@@ -419,7 +417,6 @@ class UnorderedHashTable : public HashTable<KeyTraits, kUserPayloadSize, 0> {
// No extra book-keeping needed for Initialize, InsertKey, DeleteEntry.
};
-
class HashTables : public AllStatic {
public:
// Allocates and initializes a table.
@@ -503,7 +500,6 @@ class HashTables : public AllStatic {
}
};
-
template <typename BaseIterTable>
class HashMap : public BaseIterTable {
public:
@@ -589,7 +585,6 @@ class HashMap : public BaseIterTable {
}
};
-
template <typename KeyTraits>
class UnorderedHashMap : public HashMap<UnorderedHashTable<KeyTraits, 1> > {
public:
@@ -601,7 +596,6 @@ class UnorderedHashMap : public HashMap<UnorderedHashTable<KeyTraits, 1> > {
: BaseMap(key, value, data) {}
};
-
template <typename BaseIterTable>
class HashSet : public BaseIterTable {
public:
@@ -678,7 +672,6 @@ class HashSet : public BaseIterTable {
}
};
-
template <typename KeyTraits>
class UnorderedHashSet : public HashSet<UnorderedHashTable<KeyTraits, 0> > {
public:
« no previous file with comments | « runtime/vm/hash_map_test.cc ('k') | runtime/vm/hash_table_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698