- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 794 for resultCh (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
// Removing 8 while iterating caused duplicates in iteration result. List<Integer> result = Lists.newArrayListWithCapacity(initial.size()); for (Iterator<Integer> iter = q.iterator(); iter.hasNext(); ) { Integer value = iter.next(); result.add(value); if (value == 8) { iter.remove(); } } assertIntact(q); assertThat(result).containsExactly(1, 15, 13, 8, 14); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
src/cmd/cgo/doc.go
assignment context to retrieve both the return value (if any) and the C errno variable as an error (use _ to skip the result value if the function returns void). For example: n, err = C.sqrt(-1) _, err := C.voidFunc() var n, err = C.sqrt(1) Note that the C errno value may be non-zero, and thus the err result may be non-nil, even if the function call is successful. Unlike normal Go conventions,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// When String result = message.toString(); // Then String expectedToString = "Type2Message[target=" + TEST_TARGET + ",challenge=<8 bytes>" + ",context=<8 bytes>" + ",targetInformation=<3 bytes>" + ",flags=0x" + Hexdump.toHexString(message.getFlags(), 8) + "]"; assertEquals(expectedToString, result); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/bytes/buffer_test.go
t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s) } } // Fill buf through n writes of string fus. // The initial contents of buf corresponds to the string s; // the result is the final contents of buf returned as a string. func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string { check(t, testname+" (fill 1)", buf, s) for ; n > 0; n-- {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testMergePresent() { assertEquals( "Map.merge(present, value, function) should return function result", v4(), getMap() .merge( k0(), v3(), (oldV, newV) -> { assertEquals(v0(), oldV);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
interface Callback { fun onEvent( id: String?, type: String?, data: String, ) fun onRetryChange(timeMs: Long) } /** * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while * processing an event. * * @return false when EOF is reached */Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java
* from the plugin configuration or from other components. * </p> * <p> * Fields can also be annotated with the {@link Resolution} annotation to be injected * with the dependency collection or resolution result for the project. * </p> * * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Inherited public @interface Mojo { /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 29 18:21:40 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
*/ @CanIgnoreReturnValue @Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value); // Bulk Operations /** * {@inheritDoc} * * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order * of {@code map}. * * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
inputStream: InputStream, count: Int, ): String { val result = StringBuilder() for (i in 0 until count) { val value = inputStream.read() if (value == -1) { inputStream.close() break } result.append(value.toChar()) } return result.toString() } @Test fun markAndResetWithContentLengthHeader() {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
when(mockBinding.toString()).thenReturn("mockBindingString"); // When: Getting string representation String result = handle.toString(); // Then: Should return binding's string representation assertEquals("mockBindingString", result); } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCaseTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0)