- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for fragment (1.55 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
assertThrows(CIFSException.class, handle::getSessionKey); } } @Nested @DisplayName("Send/Receive Fragment Tests") class SendReceiveFragmentTests { @Test @DisplayName("Should send and receive fragment successfully") void testDoSendReceiveFragment_Success() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
fun toJavaNetUrl() { val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl() val javaNetUrl = httpUrl.toUrl() assertThat(javaNetUrl.toString()) .isEqualTo("http://username:password@host/path?query#fragment") } @Test fun toUri() { val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl() val uri = httpUrl.toUri() assertThat(uri.toString())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
) { builder.fragment("a${value}z") } override operator fun get(url: HttpUrl): String { val fragment = url.fragment return fragment!!.substring(1, fragment.length - 1) } }, ; abstract fun urlString(value: String): String abstract fun encodedValue(url: HttpUrl): String abstract operator fun set( builder: HttpUrl.Builder,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
} return null; } @Override public String toString() { return binding.toString(); } /** * Sends a DCERPC fragment to the remote endpoint * @param buf the buffer containing the fragment * @param off the offset into the buffer * @param length the length of data to send * @param isDirect whether to use direct transmission
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/archive/tar/reader.go
endPos := sr.pos + int64(len(b)) for endPos > sr.pos && err == nil { var nf int // Bytes read in fragment holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset() if sr.pos < holeStart { // In a data fragment bf := b[:min(int64(len(b)), holeStart-sr.pos)] nf, err = tryReadFull(sr.fr, bf) } else { // In a hole fragment bf := b[:min(int64(len(b)), holeEnd-sr.pos)] nf, err = tryReadFull(zeroReader{}, bf) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
} @Nested @DisplayName("Constants Validation Tests") class ConstantsValidationTests { @Test @DisplayName("All fragment flags should have unique values") void testFragmentFlagsUniqueness() { // Verify that fragment flags are unique and follow bit pattern assertEquals(1, Integer.bitCount(DcerpcConstants.DCERPC_FIRST_FRAG), "DCERPC_FIRST_FRAG should be a single bit");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/archive/tar/common.go
// // var spd sparseDatas = []sparseEntry{ // {Offset: 2, Length: 5}, // Data fragment for 2..6 // {Offset: 18, Length: 3}, // Data fragment for 18..20 // } // var sph sparseHoles = []sparseEntry{ // {Offset: 0, Length: 2}, // Hole fragment for 0..1 // {Offset: 7, Length: 11}, // Hole fragment for 7..17 // {Offset: 21, Length: 4}, // Hole fragment for 21..24 // } //
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
/** * Receives a DCERPC fragment from the remote endpoint * @param buf the buffer to receive the fragment data * @return the number of bytes received * @throws IOException if an I/O error occurs during reception */ protected abstract int doReceiveFragment(byte[] buf) throws IOException; /** * Sends a DCERPC fragment and receives the response in a single operation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
exp = "file://C .doc"; assertEquals(exp, transformer.decodeUrlAsName(url, true)); url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar"; exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); } public void test_getFileName_ok() throws Exception { String url, exp;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
ViewHelper.TextFragment fragment = new ViewHelper.TextFragment("prefix", "start", "end", "suffix"); String urlString = fragment.toURLString(); assertNotNull(urlString); assertTrue(urlString.contains("text=")); assertTrue(urlString.contains("start")); fragment = new ViewHelper.TextFragment(null, "start", null, null); urlString = fragment.toURLString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0)