- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for HELLO (1.25 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val deflater = MessageDeflater(false) val deflated = deflater.deflate("Hello deflate!".encodeUtf8()) assertThat(deflated.hex()).isEqualTo("f248cdc9c95748494dcb492c49550400") } @Test fun `inflate deflate`() { val deflater = MessageDeflater(false) val inflater = MessageInflater(false) val goldenValue = "Hello deflate!".repeat(100).encodeUtf8() val deflated = deflater.deflate(goldenValue)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
assertHash(1, 0xa78ddff5adae8d10L, 0x128900ef20900135L, "hello"); assertHash(2, 0x8a486b23f422e826L, 0xf962a2c58947765fL, "hello "); assertHash(3, 0x2ea59f466f6bed8cL, 0xc610990acc428a17L, "hello w"); assertHash(4, 0x79f6305a386c572cL, 0x46305aed3483b94eL, "hello wo"); assertHash(5, 0xc2219d213ec1f1b5L, 0xa1d8e2e0a52785bdL, "hello wor"); assertHash(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
} public void test_lambda_expression() { BooleanFunction<String> startsWithHello = s -> s != null && s.startsWith("hello"); assertTrue(startsWithHello.apply("hello world")); assertTrue(startsWithHello.apply("hello")); assertFalse(startsWithHello.apply("hi world")); assertFalse(startsWithHello.apply("")); assertFalse(startsWithHello.apply(null)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt
override fun source(): BufferedSource { val source = Buffer().writeUtf8("hello") return object : ForwardingSource(source) { @Throws(IOException::class) override fun close(): Unit = throw IOException("Broken!") }.buffer() } } assertThat(body.source().readUtf8()).isEqualTo("hello") body.close() } @Test fun unicodeText() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
assertThat(decompressed.header("Content-Encoding")).isNull() val responseString = decompressed.body.string() assertThat(responseString).isEqualTo("hello zstd world") } @Test fun testDecompressGzip() { val s = "hello gzip world".encodeUtf8().gzipCompress() val response = response("https://example.com/", s) { header("Content-Encoding", "gzip") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
.put("empty", "") .put("1 char", "0") .put("1 word", "hello") .put("2 words", "hello world") .put("\\n line break", "hello\nworld") .put("\\r line break", "hello\rworld") .put("\\r\\n line break", "hello\r\nworld") .put("\\n at EOF", "hello\nworld\n") .put("\\r at EOF", "hello\nworld\r") .put("lorem ipsum", LOREM_IPSUM) .buildOrThrow();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
} } @Test fun testFileDescriptorRead() { assertOnFileDescriptor(content = "Hello") { fd -> val requestBody = fd.toRequestBody() val buffer = Buffer() requestBody.writeTo(buffer) assertThat(buffer.readUtf8()).isEqualTo("Hello") } } @Test fun testFileDescriptorDefaultMediaType() { assertOnFileDescriptor { fd ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertHash(679745764, murmur3_32().hashUnencodedChars("k")); assertHash(1510782915, murmur3_32().hashUnencodedChars("hell")); assertHash(-675079799, murmur3_32().hashUnencodedChars("hello")); assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/")); assertHash( -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
ranges = data.ranges, mappings = data.mappings, ) } @Test fun regularMappings() { assertThat("hello".map()).isEqualTo("hello") assertThat("hello-world".map()).isEqualTo("hello-world") assertThat("HELLO".map()).isEqualTo("hello") assertThat("Hello".map()).isEqualTo("hello") // These compound characters map their its components. assertThat("¼".map()).isEqualTo("1⁄4")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt
import okhttp3.Request import org.junit.jupiter.api.Test class SampleTest { private val server = MockWebServer() private val client = OkHttpClient() @Test fun passingTest() { assertThat("hello").isEqualTo("hello") } @Test fun testMockWebServer() { server.enqueue(MockResponse(body = "abc")) server.start() client.newCall(Request(url = server.url("/"))).execute().use {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.4K bytes - Viewed (0)