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

Side by Side Diff: pkg/fixnum/int32.dart

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of fixnum;
6
5 /** 7 /**
6 * An immutable 32-bit signed integer, in the range [-2^31, 2^31 - 1]. 8 * An immutable 32-bit signed integer, in the range [-2^31, 2^31 - 1].
7 * Arithmetic operations may overflow in order to maintain this range. 9 * Arithmetic operations may overflow in order to maintain this range.
8 */ 10 */
9 class int32 implements intx { 11 class int32 implements intx {
10 12
11 /** 13 /**
12 * The maximum positive value attainable by an [int32], namely 14 * The maximum positive value attainable by an [int32], namely
13 * 2147483647. 15 * 2147483647.
14 */ 16 */
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 } 347 }
346 348
347 int toInt() => _i; 349 int toInt() => _i;
348 int32 toInt32() => this; 350 int32 toInt32() => this;
349 int64 toInt64() => new int64.fromInt(_i); 351 int64 toInt64() => new int64.fromInt(_i);
350 352
351 String toString() => _i.toString(); 353 String toString() => _i.toString();
352 String toHexString() => _i.toRadixString(16); 354 String toHexString() => _i.toRadixString(16);
353 String toRadixString(int radix) => _i.toRadixString(radix); 355 String toRadixString(int radix) => _i.toRadixString(radix);
354 } 356 }
OLDNEW
« no previous file with comments | « pkg/fixnum/fixnum.dart ('k') | pkg/fixnum/int64.dart » ('j') | pkg/unittest/lib/basematcher.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698