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

Side by Side Diff: pkg/analysis_services/lib/src/index/store/split_store.dart

Issue 375693002: Move index/search to services. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library engine.src.index.split_store; 5 library services.src.index.store.split_store;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'dart:typed_data'; 10 import 'dart:typed_data';
11 11
12 import 'package:analyzer/index/index.dart'; 12 import 'package:analysis_services/index/index.dart';
13 import 'package:analyzer/index/index_store.dart'; 13 import 'package:analysis_services/index/index_store.dart';
14 import 'package:analysis_services/src/index/store/codec.dart';
15 import 'package:analysis_services/src/index/store/collection.dart';
14 import 'package:analyzer/src/generated/element.dart'; 16 import 'package:analyzer/src/generated/element.dart';
15 import 'package:analyzer/src/generated/engine.dart'; 17 import 'package:analyzer/src/generated/engine.dart';
16 import 'package:analyzer/src/generated/java_engine.dart'; 18 import 'package:analyzer/src/generated/java_engine.dart';
17 import 'package:analyzer/src/generated/source.dart'; 19 import 'package:analyzer/src/generated/source.dart';
18 import 'package:analyzer/src/index/store/codec.dart';
19 import 'package:analyzer/src/index/store/collection.dart';
20 20
21 21
22 /** 22 /**
23 * A manager for files content. 23 * A manager for files content.
24 */ 24 */
25 abstract class FileManager { 25 abstract class FileManager {
26 /** 26 /**
27 * Removes all files. 27 * Removes all files.
28 */ 28 */
29 void clear(); 29 void clear();
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 return new Uint8List.fromList(_buffer.takeBytes()); 882 return new Uint8List.fromList(_buffer.takeBytes());
883 } 883 }
884 884
885 void writeInt(int value) { 885 void writeInt(int value) {
886 _buffer.addByte((value & 0xFF000000) >> 24); 886 _buffer.addByte((value & 0xFF000000) >> 24);
887 _buffer.addByte((value & 0x00FF0000) >> 16); 887 _buffer.addByte((value & 0x00FF0000) >> 16);
888 _buffer.addByte((value & 0x0000FF00) >> 8); 888 _buffer.addByte((value & 0x0000FF00) >> 8);
889 _buffer.addByte(value & 0xFF); 889 _buffer.addByte(value & 0xFF);
890 } 890 }
891 } 891 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698