- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,183 for Unit (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
} return source.buffer().asResponseBody(null, -1) } private fun newResponse( responseBody: ResponseBody, code: Int = 200, fn: Response.Builder.() -> Unit = {}, ): Response = Response .Builder() .request( Request .Builder() .url("https://example.com/") .build(), ).protocol(Protocol.HTTP_1_1)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for the {@link SmbComReadAndXResponse} class. */ public class SmbComReadAndXResponseTest { private SmbComReadAndXResponse response; @BeforeEach public void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
import com.google.common.testing.NullPointerTester; import java.util.concurrent.atomic.AtomicReferenceArray; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Atomics}. * * @author Kurt Alfred Kluever */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AtomicsTest extends TestCase { private static final Object OBJECT = new Object();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
import java.util.concurrent.ExecutorService; import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingExecutorService} */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ForwardingExecutorServiceTest extends TestCase { public void testForwarding() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
4 -> UTF_32BE -1 -> default else -> throw AssertionError() } internal fun checkDuration( name: String, duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
import com.google.common.annotations.J2ktIncompatible; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible @NullUnmarked public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
/** * Represents the FILE_FS_SIZE_INFORMATION structure used to query file system size information. * This structure provides details about the total allocation units, free allocation units, * sectors per allocation unit, and bytes per sector for a file system volume. */ public class FileFsSizeInformation implements AllocInfo { private long alloc; // Also handles SmbQueryFSSizeInfo private long free; private int sectPerAlloc;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Ascii.java
* GS, then RS, and US is least inclusive. (The content and length of a File, Group, Record, or * Unit are not specified.) * * @since 8.0 */ public static final byte RS = 30; /** * Unit Separator: These four information separators may be used within data in optional fashion, * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class PrimitivesTest extends TestCase { public void testIsWrapperType() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 3K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
SocketPolicy.UPGRADE_TO_SSL_AT_END -> { result.inTunnel() } SocketPolicy.SHUTDOWN_SERVER_AFTER_RESPONSE -> { result.shutdownServer(true) } SocketPolicy.KEEP_OPEN -> { Unit } SocketPolicy.DISCONNECT_AT_END -> { result.onResponseEnd(ShutdownConnection) } SocketPolicy.DISCONNECT_AT_START -> { result.onRequestStart(CloseSocket()) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (1)