Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,937 for byte (1.05 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            buffer[bufferIndex] = (byte) 0x00; // Reserved
            bufferIndex++;
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
    
            totalParameterCount = readInt4(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Add bytes sent
         *
         * @param bytes number of bytes
         */
        public void addBytesSent(long bytes) {
            bytesSent.addAndGet(bytes);
        }
    
        /**
         * Add bytes received
         *
         * @param bytes number of bytes
         */
        public void addBytesReceived(long bytes) {
            bytesReceived.addAndGet(bytes);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            }
        }
    
        @Override
        protected int getBatchLimit(final Configuration cfg, final byte cmd) {
            return cmd == SMB_COM_READ_ANDX ? cfg.getBatchLimit("OpenAndX.ReadAndX") : 0;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.tflags, dst, dstIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
         * @param raw the raw byte data for the timestamp AV pair
         */
        public AvTimestamp(final byte[] raw) {
            super(AvPair.MsvAvTimestamp, raw);
        }
    
        /**
         * Constructs an AvTimestamp with the specified timestamp value
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. internal/grid/README.md

    In essence, they are `[]byte` -> `[]byte, error` functions.
    
    It is not possible to return *both* an error and a response.
    
    Handlers are registered on the manager using `(*Manager).RegisterSingleHandler(id HandlerID, h SingleHandlerFn, subroute ...string)`.
    
    The server handler function has this signature: `type SingleHandlerFn func(payload []byte) ([]byte, *RemoteErr)`.
    
    Sample handler:
    ```go
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // Prepare buffer with specific type value
            testBuffer[0] = 0x01; // revision
            testBuffer[1] = 0x00; // padding
            testBuffer[2] = 0x04; // type low byte
            testBuffer[3] = (byte) 0x80; // type high byte (0x8004)
            // Set all offsets to 0
            for (int i = 4; i < 20; i++) {
                testBuffer[i] = 0;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    // AlignedBytePool is a pool of fixed size aligned blocks
    type AlignedBytePool struct {
    	size int
    	p    bpool.Pool[*[]byte]
    }
    
    // NewAlignedBytePool creates a new pool with the specified size.
    func NewAlignedBytePool(sz int) *AlignedBytePool {
    	return &AlignedBytePool{size: sz, p: bpool.Pool[*[]byte]{New: func() *[]byte {
    		b := disk.AlignedBlock(sz)
    		return &b
    	}}}
    }
    
    // aligned sync.Pool's
    var (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

        }
    
        /**
         * Test that validateInputStream accepts non-null input streams.
         */
        public void test_validateInputStream_acceptsNonNullStream() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
    
            // Should not throw exception
            extractor.testValidateInputStream(in);
        }
    
        /**
         * Test that validateInputStream throws CrawlerSystemException for null input.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java

            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 4);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(4, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top