- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for e0a080 (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
val body = "\u0800".toRequestBody(contentType) assertThat(body.contentType()).isEqualTo("text/plain; charset=utf-8".toMediaType()) assertThat(body.contentLength()).isEqualTo(3) assertThat(bodyToHex(body)).isEqualTo("e0a080") } @Test fun stringWithNonDefaultCharsetSpecified() { val contentType = "text/plain; charset=utf-16be".toMediaType() val body = "\u0800".toRequestBody(contentType)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
} @Test fun fragmentNonAsciiThatOffendsJavaNetUri() { val url = "http://host/#\u0080".toHttpUrl() assertThat(url.toString()).isEqualTo("http://host/#\u0080") assertThat(url.fragment).isEqualTo("\u0080") assertThat(url.encodedFragment).isEqualTo("\u0080") // Control characters may be stripped! assertThat(url.toUri()).isEqualTo(URI("http://host/#")) } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java
assertEquals(0, mockResponse.getStatus()); } @Test public void test_doFilter_apiBelowThreshold() throws IOException, ServletException { setConfig(100, 80); testableFilter.setCpuPercent((short) 50); mockRequest.setRequestURI("/api/v1/search"); testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 33.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x10, SmbConstants.ATTR_DIRECTORY); assertEquals(0x20, SmbConstants.ATTR_ARCHIVE); assertEquals(0x800, SmbConstants.ATTR_COMPRESSED); assertEquals(0x080, SmbConstants.ATTR_NORMAL); assertEquals(0x100, SmbConstants.ATTR_TEMPORARY); } @Test @DisplayName("Should define access mask constants") void testAccessMaskConstants() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int ATTR_ARCHIVE = 0x20; // extended file attribute encoding(others same as above) /** Compressed file attribute */ int ATTR_COMPRESSED = 0x800; /** Normal file attribute */ int ATTR_NORMAL = 0x080; /** Temporary file attribute */ int ATTR_TEMPORARY = 0x100; // access mask encoding /** File read data access right */ int FILE_READ_DATA = 0x00000001; // 1Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
// extended file attribute encoding(others same as above) /** * File is compressed. */ int ATTR_COMPRESSED = 0x800; /** * File is a normal file. */ int ATTR_NORMAL = 0x080; /** * File is temporary. */ int ATTR_TEMPORARY = 0x100; // access mask encoding /** * Permission to read data from the file. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0A0", Hexdump.toHexString(data3, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2) assertEquals("0A0B", Hexdump.toHexString(data3, 0, 4)); // 4 chars = 2 bytes assertEquals("0A0B0", Hexdump.toHexString(data3, 0, 5)); // 5 chars = 2.5 bytes (rounds up to 3) assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
assertThat(client.processNextFrame()).isFalse() client.listener.assertClosing(1000, "Bye!") } @Test fun protocolErrorBeforeCloseSendsFailure() { server.sink.write("0a00".decodeHex()).emit() // Invalid non-final ping frame. client.processNextFrame() // Detects error, send close, close connection. taskFaker.runTasks() client.webSocket!!.finishReader()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
perMessageDeflate = true, noContextTakeover = false, ) @AfterEach fun tearDown() { callback.assertExhausted() } @Test fun controlFramesMustBeFinal() { data.write("0a00".decodeHex()) // Empty pong. assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message) .isEqualTo("Control frames must be final.")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 14.4K bytes - Click Count (0)