Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for fragment (0.06 seconds)

  1. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. 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())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    external Layer Source(s) # Member of cycle Classes using : uses: true uses: Packages using : uses: true uses: Classes of cycle : Best fragmenter(s) of cycle : Center classes of cycle : Packages of cycle : Best fragmenter(s) of cycle : Center packages of cycle : cursor:pointer; javascript:showTable(" ",""," ; ") cursor:pointer; javascript:showTable(" ","Name,Maximum fragment size,Eccentricity"," , , ; ") <div class='link' onclick='javascript:window.opener.location.href=\"# \"'> </div> % # ( ) # ( ) # (...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 23.4K bytes
    - Click Count (0)
  5. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. 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)
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  7. 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,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. 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
    //	}
    //
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  10. 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));
        }
    
        @Test
        public void test_getFileName_ok() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
Back to Top