Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for frag (0.13 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                }
    
                frag = null;
                fbuf = null;
                while (!msg.isFlagSet(DCERPC_LAST_FRAG)) {
                    int stub_frag_len;
    
                    if (frag == null) {
                        frag = new byte[max_recv];
                        fbuf = new NdrBuffer(frag, 0);
                    }
    
                    doReceiveFragment(frag, isDirect);
                    fbuf.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    	var frag []byte
    	// Use ReadSlice to look for delim, accumulating full buffers.
    	for {
    		var e error
    		frag, e = b.ReadSlice(delim)
    		if e == nil { // got final fragment
    			break
    		}
    		if e != ErrBufferFull { // unexpected error
    			err = e
    			break
    		}
    
    		// Make a copy of the buffer.
    		buf := bytes.Clone(frag)
    		fullBuffers = append(fullBuffers, buf)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    	for i := range chunk {
    		chunk[i] = '.'
    	}
    	for i := 0; i < chunks; i++ {
    		_, err := f.Write(chunk)
    		if err != nil {
    			t.Fatal("write chunk:", err)
    		}
    	}
    	if frag := int(size % chunkSize); frag > 0 {
    		_, err := f.Write(chunk[:frag])
    		if err != nil {
    			t.Fatal("write chunk:", err)
    		}
    	}
    	end := []byte("END\n")
    	_, err = f.Write(end)
    	if err != nil {
    		t.Fatal("write end:", err)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

        /**
         * Checks if a specific context flag is set
         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
        /**
         * Sets or clears a specific context flag
         * @param flag the context flag to set or clear
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips64.s

    //
    // floating point operate
    //
    //	LFCONV freg ',' freg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	ABSD	F1, F2
    
    //	LFADD freg ',' freg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	ADDD	F1, F2
    
    //	LFADD freg ',' freg ',' freg
    //	{
    //		outcode(int($1), &$2, int($4.Reg), &$6);
    //	}
    	ADDD	F1, F2, F3
    
    //	LFCMP freg ',' freg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            message.setFlag(0b0100, false);
            assertEquals(0, message.getFlags(), "Flag 0b0100 should be cleared.");
    
            // Test setting a flag that is already set
            message.setFlags(0b1000);
            message.setFlag(0b1000, true);
            assertEquals(0b1000, message.getFlags(), "Setting an already set flag should not change other flags.");
    
            // Test clearing a flag that is not set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Lock and read write and unlock flag */
        int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
        /** Receive buffer posted flag */
        int FLAGS_RECEIVE_BUFFER_POSTED = 0x02;
        /** Path names are caseless flag */
        int FLAGS_PATH_NAMES_CASELESS = 0x08;
        /** Path names canonicalized flag */
        int FLAGS_PATH_NAMES_CANONICALIZED = 0x10;
        /** Oplock requested or granted flag */
        int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testIsShareDfsWithFlags() throws SMBProtocolDecodingException {
            // Test with DFS flag only
            byte[] buffer = createValidResponseBuffer(0, 0x1, 0, 0);
            response.readBytesWireFormat(buffer, 0);
            assertTrue(response.isShareDfs());
    
            // Test with DFS_ROOT flag only
            response = new Smb2TreeConnectResponse(mockConfig);
            buffer = createValidResponseBuffer(0, 0x2, 0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

            @DisplayName("Individual flag values are correctly set and retrieved")
            void testIndividualFlagValues(int flag) {
                NegTokenInit init = new NegTokenInit();
    
                // Initially false
                assertFalse(init.getContextFlag(flag));
    
                // Set to true
                init.setContextFlag(flag, true);
                assertTrue(init.getContextFlag(flag));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        data.write("ca00".decodeHex()) // Empty pong, flag 1 set.
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected rsv1 flag")
        }
      }
    
      @Test fun reservedFlag1IsUnsupportedForControlFrames() {
        data.write("ca00".decodeHex()) // Empty pong, flag 1 set.
        assertFailsWith<ProtocolException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top