Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 513 for position (0.14 seconds)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            int dstIndex = 10;
            int bytesWritten = info.encode(buffer, dstIndex);
    
            // Verify replaceIfExists flag at correct position
            assertEquals(1, buffer[dstIndex]);
    
            // Verify file name length at correct position
            int nameLength = SMBUtil.readInt4(buffer, dstIndex + 16);
            assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should write at different buffer positions")
            void testWriteAtDifferentPositions() {
                byte[] buffer = new byte[512];
    
                // Test at position 0
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
                assertEquals(48, bytesWritten);
                assertEquals(48, SMBUtil.readInt2(buffer, 0));
    
                // Test at position 100
                Arrays.fill(buffer, (byte) 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/PrimitiveSink.java

       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes, int off, int len);
    
      /**
       * Puts the remaining bytes of a byte buffer into this sink. {@code bytes.position()} is the first
       * byte written, {@code bytes.limit() - 1} is the last. The position of the buffer will be equal
       * to the limit when this method returns.
       *
       * @param bytes a byte buffer
       * @return this instance
       * @since 23.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        /**
         * Returns the sort.
         *
         * @return The sort.
         */
        public abstract String getSort();
    
        /**
         * Returns the start position.
         *
         * @return The start position.
         */
        public abstract int getStartPosition();
    
        /**
         * Returns the page size.
         *
         * @return The page size.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

                assertNotNull(results);
                // Should return only available documents
                assertEquals(100, results.size());
            }
        }
    
        /**
         * Test search with start position beyond available documents.
         */
        @Test
        public void test_searchBeyondAvailableDocuments() throws Exception {
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int dataDisplacement;
        /** Number of setup words in this response */
        protected int setupCount;
        /** Start position of parameter data in the buffer */
        protected int bufParameterStart;
        /** Start position of data bytes in the buffer */
        protected int bufDataStart;
    
        int dataCount;
        byte subCommand;
        volatile boolean hasMore = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/lex/slice.go

    	// but be prepared.
    	s.base = base
    }
    
    func (s *Slice) Line() int {
    	return s.line
    }
    
    func (s *Slice) Col() int {
    	// TODO: Col is only called when defining a macro and all it cares about is increasing
    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    	// This imperfect implementation means we cannot tell the difference between
    	//	#define A #define B(x) x
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

    /**
     * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
     * This structure provides standard file information including allocation size, end-of-file position,
     * number of links, deletion status, and directory flag.
     */
    public class FileStandardInfo implements BasicFileInformation {
    
        private long allocationSize;
        private long endOfFile;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            SMBUtil.writeInt2(83, buffer, 36); // andxOffset (33 + 50)
            SMBUtil.writeInt2(20, buffer, 42); // byteCount
    
            // Setup andx command data at offset 83 (absolute position from buffer start)
            buffer[83] = 2; // andx wordCount
            SMBUtil.writeInt2(10, buffer, 88); // andx byteCount
    
            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Seek command response implementation.
     * Handles server responses to file seek operations, returning the new file
     * position after a seek request in SMB1 protocol file operations.
     *
     * @author mbechler
     */
    public class SmbComSeekResponse extends ServerMessageBlock {
    
        private long offset;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top