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

Unified Diff: pkg/immi_samples/lib/sliding_window.immi

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/immi_samples/lib/sliding_window.dart ('k') | pkg/servicec/lib/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/immi_samples/lib/sliding_window.immi
diff --git a/pkg/immi_samples/lib/sliding_window.immi b/pkg/immi_samples/lib/sliding_window.immi
deleted file mode 100644
index f783a4168b3c4e83923e6840047046478e69dc41..0000000000000000000000000000000000000000
--- a/pkg/immi_samples/lib/sliding_window.immi
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE.md file.
-
-// Reusable sliding-window view of a list of nodes. The window is represented
-// as a cyclic buffer so that sliding by N, where N is less than the buffer
-// length, can be implemented as shifting the buffer offset by N and populating
-// N items.
-node SlidingWindow {
- // Cyclic buffer for the sliding window of nodes.
- List<Node> window;
-
- // Offset of the window start from the original list.
- int32 startOffset;
-
- // Offset of the first sliding-window item in the window.
- uint16 windowOffset;
-
- // Number of items known to be in the list.
- int32 minimumCount;
-
- // Number of items in the list. A negative value denotes an unknown size.
- int32 maximumCount;
-
- // Event to update the sliding-window display range.
- void display(int32 start, int32 end);
-
- // Event to toggle an item in the window.
- void toggle(int32 index);
-}
« no previous file with comments | « pkg/immi_samples/lib/sliding_window.dart ('k') | pkg/servicec/lib/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698