Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 517 for offsets (0.04 sec)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            SessionServicePacket.writeInt2(value, dst, 0);
    
            assertEquals((byte) ((value >> 8) & 0xFF), dst[0]);
            assertEquals((byte) (value & 0xFF), dst[1]);
        }
    
        @Test
        @DisplayName("writeInt2 with offset should write at correct position")
        void testWriteInt2WithOffset() {
            byte[] dst = new byte[10];
            dst[2] = (byte) 0xFF; // Mark position
            dst[3] = (byte) 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SidResolverTest.java

            assertDoesNotThrow(() -> sidResolver.resolveSids(mockContext, testServerName, emptySids));
        }
    
        // Test resolveSids with offset and length
        @Test
        void testResolveSidsWithOffsetAndLength_Success() throws CIFSException {
            doNothing().when(sidResolver).resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), anyInt(), anyInt());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                if (append) {
                    fp = file.length();
                }
            }
        }
    
        /**
         * Writes len bytes from the specified byte array starting at
         * offset off to this file output stream.
         *
         * @param b The array
         * @throws IOException if a network error occurs
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Test odd Unicode alignment - headerStart affects alignment
                int bytesWritten = testBlock.writeString(testString, buffer, 2);
    
                // When even alignment (offset 2), Unicode string starts immediately
                assertTrue(bytesWritten >= 8); // "Test" in Unicode + null terminator
                // First byte should be 'T' in UTF-16LE
                assertEquals(0x54, buffer[2] & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadFile, volume, path)
    	if err != nil {
    		return 0, err
    	}
    	defer func() {
    		done(n, &err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                return this;
            }
    
            /**
             * Sets the search result offset.
             *
             * @param offset the number of results to skip
             * @return this builder for method chaining
             */
            public SearchConditionBuilder offset(final int offset) {
                this.offset = offset;
                return this;
            }
    
            /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Decode a transform header from byte array
         *
         * @param buffer
         *            buffer to decode from
         * @param bufferIndex
         *            offset in buffer
         * @return new transform header instance
         */
        public static Smb2TransformHeader decode(final byte[] buffer, int bufferIndex) {
            final Smb2TransformHeader header = new Smb2TransformHeader();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

         *
         * @param config the SMB configuration
         * @param pipeName the name of the pipe to call
         * @param data the data buffer to write to the pipe
         * @param off the offset in the data buffer
         * @param len the length of data to write
         */
        public TransCallNamedPipe(final Configuration config, final String pipeName, final byte[] data, final int off, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

         *
         * @param config the configuration to use
         * @param fid the file ID of the named pipe
         * @param data the data buffer to send
         * @param off the offset in the data buffer
         * @param len the length of data to send
         */
        public TransTransactNamedPipe(final Configuration config, final int fid, final byte[] data, final int off, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

         * @param config
         *            the configuration to use for this response
         * @param outputBuffer
         *            the buffer to receive the read data
         * @param outputBufferOffset
         *            the offset in the output buffer to start writing data
         */
        public Smb2ReadResponse(final Configuration config, final byte[] outputBuffer, final int outputBufferOffset) {
            super(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top