- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 905 for setEnd (0.05 seconds)
-
src/cmd/api/testdata/src/pkg/p4/golden.txt
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 329 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
@GwtCompatible @NullUnmarked public class AbstractIteratorTest extends TestCase { public void testDefaultBehaviorOfNextAndHasNext() { // This sample AbstractIterator returns 0 on the first call, 1 on the // second, then signals that it's reached the end of the data Iterator<Integer> iter = new AbstractIterator<Integer>() { private int rep; @Override public @Nullable Integer computeNext() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
// When DfFinalTimeZoneProvider provider = curtainBeforeHook.createFinalTimeZoneProvider(); // Then TimeZone first = provider.provide(); TimeZone second = provider.provide(); assertSame(first, second, "Provider should return the same TimeZone instance"); } @Test public void test_createFinalTimeZoneProvider_toStringContainsTimeZoneId() { // WhenCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
@GwtIncompatible public Class<K> keyType() { return keyTypeOrObjectUnderJ2cl; } /** * @serialData the key class, number of entries, first key, first value, second key, second value, * and so on. */ @GwtIncompatible // java.io.ObjectOutputStream private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/DialectVersion.java
return ordinal() <= v.ordinal(); } /** * Get the minimum of two dialect versions * * @param a the first version to compare * @param b the second version to compare * @return smaller of the two versions */ public static DialectVersion min(final DialectVersion a, final DialectVersion b) { if (a.atMost(b)) { return a; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Comparators.java
* <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code * Comparators}</a>. * * @param a first value to compare, returned if less than or equal to b. * @param b second value to compare. * @throws ClassCastException if the parameters are not <i>mutually comparable</i>. * @since 30.0 */ public static <T extends Comparable<? super T>> T min(T a, T b) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
System.arraycopy(file1, 0, buffer, 102, file1.length); // Write second FileBothDirectoryInfo at 8 + 104 = 112 int secondOffset = 112; SMBUtil.writeInt4(0, buffer, secondOffset); // NextEntryOffset (0 = last) SMBUtil.writeInt4(1, buffer, secondOffset + 4); // FileIndex // ... rest of second entry fields (zeros for simplicity) for (int i = 8; i < 94; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
} /** * Test to ensure we throw a read timeout on responses that are progressing too slowly. For this * case, we take a 2KiB body and throttle it to 1KiB/second. We set the read timeout to half a * second. If our implementation is acting correctly, it will throw, as a byte doesn't arrive in * time. */ @Test fun readTimeoutOnSlowConnection() { val body = repeat('y', 2048)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(2, used, "Null path should result in command byte + NUL"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04"); assertEquals(0, buffer[1], "Second byte must be null terminator"); } @Test @DisplayName("writeBytesWireFormat handles empty string gracefully") void testWriteEmptyString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
tests/test_response_dependency.py
) -> Response: response.headers["X-Second"] = "2" return response @app.get("/") def endpoint(response: Annotated[Response, Depends(second_modifier)]): return {"status": "ok"} client = TestClient(app) resp = client.get("/") assert resp.status_code == 200 assert resp.headers.get("X-First") == "1" assert resp.headers.get("X-Second") == "2"Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0)