- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,755 for docstring (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
// this is for the case: "-Dfoo=bar "-Dfoo2=bar two" (note the first unterminated quote) if (currentArg != null) { cleaned.add(currentArg.toString()); } // start building an argument here. currentArg = new StringBuilder(arg.substring(1)); addedToBuffer = true; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
} assertThat(builder.toString()).isEqualTo(expected); assertFullyRead(reader); // read all to one CharBuffer reader = new CharSequenceReader(charSequence); CharBuffer buf2 = CharBuffer.allocate(expected.length()); assertEquals(expected.isEmpty() ? -1 : expected.length(), reader.read(buf2)); Java8Compatibility.flip(buf2); assertThat(buf2.toString()).isEqualTo(expected);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
T proxy = new FreshValueGenerator().newFreshProxy(interfaceType); assertEquals( "toString() isn't properly forwarded", proxy.toString(), wrapperFunction.apply(proxy).toString()); } private static @Nullable Object[] getParameterValues(Method method) { FreshValueGenerator paramValues = new FreshValueGenerator();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
assertThat(multiset.toString()).isEqualTo("[foo x 2, bar]"); } public void testCreateWithSize() { Multiset<String> multiset = LinkedHashMultiset.create(50); multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); assertThat(multiset.toString()).isEqualTo("[foo x 2, bar]"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
new StandardImplForwardingMap<>(new HashMap<>()); forwardingMap.put("foo", "bar"); forwardingMap.put(null, "baz"); assertThat(forwardingMap.toString()).isEqualTo(hashmap.toString()); } public void testToStringWithNullValues() throws Exception { Map<String, String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put("baz", null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} public void testParseInt() { for (long a : UNSIGNED_INTS) { assertThat(UnsignedInts.parseUnsignedInt(Long.toString(a))).isEqualTo((int) a); } } public void testParseIntFail() { assertThrows( NumberFormatException.class, () -> UnsignedInts.parseUnsignedInt(Long.toString(1L << 32))); } public void testParseIntWithRadix() { for (long a : UNSIGNED_INTS) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
TRUE_FIRST(1, "Booleans.trueFirst()"), FALSE_FIRST(-1, "Booleans.falseFirst()"); private final int trueValue; private final String toString; BooleanComparator(int trueValue, String toString) { this.trueValue = trueValue; this.toString = toString; } @Override public int compare(Boolean a, Boolean b) { int aVal = a ? trueValue : 0; int bVal = b ? trueValue : 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
return } try { testHttpUrl(testData) if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Expected failure but was success: $testData") } } catch (e: Throwable) { if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Ignoring known failure: $testData") e.printStackTrace() } else { throw eCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java
"createdBy"); setupEpg(_epgMap, et -> ((RequestHeader) et).getCreatedTime(), (et, vl) -> ((RequestHeader) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime"); setupEpg(_epgMap, et -> ((RequestHeader) et).getName(), (et, vl) -> ((RequestHeader) et).setName(DfTypeUtil.toString(vl)), "name");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRelatedQueryBhv.java
result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setQueries(toStringArray(source.get("queries"))); result.setTerm(DfTypeUtil.toString(source.get("term"))); result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.8K bytes - Click Count (0)