HomeSort by relevance Sort by last modified time
    Searched refs:fromInt (Results 1 - 25 of 46) sorted by null

1 2

  /external/guava/guava/src/com/google/common/hash/
HashCodes.java 39 * @deprecated Use {@link HashCode#fromInt} instead. This method is scheduled to be removed in
43 public static HashCode fromInt(int hash) {
44 return HashCode.fromInt(hash);
ChecksumHashFunction.java 88 return HashCode.fromInt((int) value);
Murmur3_32HashFunction.java 147 return HashCode.fromInt(h1);
HashCode.java 113 public static HashCode fromInt(int hash) {
  /external/guava/guava-tests/test/com/google/common/hash/
PackageSanityTests.java 31 setDefault(HashCode.class, HashCode.fromInt(1));
HashCodeTest.java 67 HashCode fromInt = HashCode.fromInt(expected.asInt);
68 assertExpectedHashCode(expected, fromInt);
134 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
135 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
178 HashCode hashCode42 = HashCode.fromInt(42);
261 HashCodes.fromInt(42).writeBytesTo(dest, 0, 4);
263 HashCodes.fromInt(42).asBytes(),
HashingTest.java 156 assertEquals(0x0000000011111111L, Hashing.padToLong(HashCodes.fromInt(0x11111111)));
157 assertEquals(0x0000000099999999L, Hashing.padToLong(HashCodes.fromInt(0x99999999)));
219 checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L);
258 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
265 HashCode hash31 = HashCode.fromInt(31);
266 HashCode hash32 = HashCode.fromInt(32);
300 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
307 HashCode hash31 = HashCode.fromInt(31);
308 HashCode hash32 = HashCode.fromInt(32);
310 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32)))
    [all...]
Murmur3Hash32Test.java 56 assertEquals(HashCode.fromInt(expected), actual);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
FontSize.java 42 public static FontSize fromInt(int value) {
TextAlignment.java 44 public static TextAlignment fromInt(int value) {
TextColor.java 55 public static TextColor fromInt(int value) {
ComprehensionTlvTag.java 66 public static ComprehensionTlvTag fromInt(int value) {
AppInterface.java 104 public static CommandType fromInt(int value) {
ResultCode.java 178 public static ResultCode fromInt(int value) {
Tone.java 160 public static Tone fromInt(int value) {
ValueParser.java 236 TextAlignment align = TextAlignment.fromInt(alignValue);
239 FontSize size = FontSize.fromInt(sizeValue);
250 TextColor color = TextColor.fromInt(colorValue);
CatCmdMessage.java 206 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand);
CommandParams.java 33 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand);
RilMessageDecoder.java 145 mCurrentRilMessage.mResCode = ResultCode.fromInt(msg.arg1);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcFailBringUp.java 54 mFailCause = DcFailCause.fromInt(
65 mFailCause = DcFailCause.fromInt(failCause);
DcFailCause.java 115 public static DcFailCause fromInt(int errorCode) {
DataCallResponse.java 68 mFailCause = DcFailCause.fromInt(0);
DcAsyncChannel.java 100 public static LinkPropertyChangeAction fromInt(int value) {
108 throw new RuntimeException("LinkPropertyChangeAction.fromInt: bad value=" + value);
  /development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
GameView.java 64 public static State fromInt(int i) {
150 mData[i] = State.fromInt(rnd.nextInt(3));
400 mData[i] = State.fromInt(data[i]);
405 mSelectedValue = State.fromInt(b.getInt("gv_sel_val", State.EMPTY.getValue()));
406 mCurrentPlayer = State.fromInt(b.getInt("gv_curr_play", State.EMPTY.getValue()));
407 mWinner = State.fromInt(b.getInt("gv_winner", State.EMPTY.getValue()));
GameActivity.java 90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1));

Completed in 303 milliseconds

1 2