- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 64 for toString (0.05 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// Two futures should not have the same toString, to avoid people asserting on it assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString()); } public void testToString_oom() throws Exception { SettableFuture<Object> future = SettableFuture.create(); future.set( new Object() { @Override public String toString() { throw new OutOfMemoryError();Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 20:45 - 46.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString()); } } @GwtIncompatible // too slow public void testToStringRadix() { for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { for (long l : TEST_LONGS) { UnsignedLong value = UnsignedLong.fromLongBits(l);
Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 20:45 - 10.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString()); } } @GwtIncompatible // too slow public void testToStringRadix() { for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { for (long l : TEST_LONGS) { UnsignedLong value = UnsignedLong.fromLongBits(l);
Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 20:45 - 10.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThat(UnsignedBytes.parseUnsignedByte(Integer.toString(i, radix), radix)) .isEqualTo((byte) i); } assertParseFails(Integer.toString(1000, radix), radix); assertParseFails(Integer.toString(-1, radix), radix); assertParseFails(Integer.toString(-128, radix), radix); assertParseFails(Integer.toString(256, radix), radix); } }
Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 20:45 - 13.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
fun isSecurityFork(): Boolean = DslContext.settingsRoot.id .toString() .lowercase() .contains("security") // GradleMaster -> Master // GradleSecurityAdvisory84mwRelease -> SecurityAdvisory84mwRelease val DslContext.uuidPrefix: String get() = settingsRoot.id.toString().substringAfter("Gradle") data class VersionedSettingsBranch( val branchName: String, ) {
Created: 2025-12-31 11:36 - Last Modified: 2025-12-29 08:57 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// Two futures should not have the same toString, to avoid people asserting on it assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString()); } public void testToString_oom() throws Exception { SettableFuture<Object> future = SettableFuture.create(); future.set( new Object() { @Override public String toString() { throw new OutOfMemoryError();Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 20:45 - 46.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
.that(Ints.tryParse(Long.toString(((long) GREATEST) * 10))) .isNull(); assertWithMessage("Min integer - 1") .that(Ints.tryParse(Long.toString(((long) LEAST) - 1))) .isNull(); assertWithMessage("Min integer * 10") .that(Ints.tryParse(Long.toString(((long) LEAST) * 10))) .isNull(); assertWithMessage("Max long").that(Ints.tryParse(Long.toString(Long.MAX_VALUE))).isNull();
Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 20:45 - 29.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
hashmap.put(null, "baz"); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } public void testToStringImplWithNullValues() throws Exception { Map<String, @Nullable String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put("baz", null); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } @J2ktIncompatible
Created: 2025-12-26 12:43 - Last Modified: 2025-12-11 22:56 - 62.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Created: 2025-12-20 09:19 - Last Modified: 2025-12-13 02:21 - 88.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
buffer.append(repository.getUrl()); return buffer.toString(); } private void writeLastUpdated(File touchfile, String key, String error) { HashMap<String, String> update = new HashMap<>(); update.put(key, Long.toString(System.currentTimeMillis())); update.put(key + ERROR_KEY_SUFFIX, error); // error==null => remove mapping
Created: 2025-12-28 03:35 - Last Modified: 2025-12-16 13:41 - 9.4K bytes - Click Count (0)