- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,647 for GoString (0.05 sec)
-
guava-tests/test/com/google/common/io/ResourcesTest.java
return suite; } public void testToString() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(I18N, Resources.toString(resource, UTF_8)); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
Service a = new NoOpService(); Service b = new FailStartService(); ServiceManager manager = new ServiceManager(asList(a, b)); String toString = manager.toString(); assertThat(toString).contains("NoOpService"); assertThat(toString).contains("FailStartService"); } public void testTimeouts() throws Exception { Service a = new NoOpDelayedService(50);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertBitEquals(a.get(i), b.get(i)); } } /** toString returns current value */ public void testToString() { AtomicDoubleArray aa = new AtomicDoubleArray(VALUES); assertEquals(Arrays.toString(VALUES), aa.toString()); assertEquals("[]", new AtomicDoubleArray(0).toString()); assertEquals("[]", new AtomicDoubleArray(new double[0]).toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
assertTrue(result2 instanceof MatchAllQueryBuilder); // Both should generate the same JSON String json1 = result1.toString().replaceAll("[\\s\\n]", ""); String json2 = result2.toString().replaceAll("[\\s\\n]", ""); assertEquals(json1, json2); } public void test_execute_withVeryLargeBoost() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
private static final ByToString INSTANCE = new ByToString(); @Override public int compareTo(Object o) { return toString().compareTo(o.toString()); } @Override public String toString() { return "BY_TO_STRING"; } private Object readResolve() { return INSTANCE; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
for (int i = 1; i <= 15; i++) { inputBuilder.append("line").append(i).append("\n"); } InputStream is = new ByteArrayInputStream(inputBuilder.toString().getBytes(StandardCharsets.UTF_8)); InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null); thread.start(); thread.join(1000);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
@VisibleForTesting @Nullable Thread getOwner() { return super.getExclusiveOwnerThread(); } @Override public String toString() { return task.toString(); } } @Override public final String toString() { Runnable state = get(); String result; if (state == DONE) { result = "running=[DONE]"; } else if (state instanceof Blocker) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
@Override public LinearTransformation inverse() { LinearTransformation result = inverse; return (result == null) ? inverse = createInverse() : result; } @Override public String toString() { return String.format("y = %g * x + %g", slope, yIntercept); } private LinearTransformation createInverse() { if (slope != 0.0) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
buffer[offset++] = (byte) 1; // directory = true // Decode fileStandardInfo.decode(buffer, 0, buffer.length); // Test toString String result = fileStandardInfo.toString(); // Verify string contains expected values assertTrue(result.contains("SmbQueryInfoStandard")); assertTrue(result.contains("allocationSize=" + expectedAllocationSize));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
longContent.append("Content Line ").append(i).append(" with more text. "); } discloser.setSubject(longSubject.toString()); discloser.setPlainText(longContent.toString()); String result = notificationHelper.toSlackMessage(discloser); assertNotNull(result); assertTrue(result.contains("Subject Line"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0)