Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 132 for positions (1.12 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
         *
         * @return the endOfFile
         */
        public final long getEndOfFile() {
            return this.endOfFile;
        }
    
        /**
         * Get the file ID
         *
         * @return the fileId
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    assertEquals(0, dst[i]);
                }
    
                // Verify encoded data at offset
                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                bb.position(offset);
                assertEquals(maxReferralLevel, bb.getShort());
            }
    
            @Test
            @DisplayName("Should encode empty path correctly")
            void testEncodeEmptyPath() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
            }
    
            // The byte at position 28 should be unchanged
            assertEquals((byte) 0xFF, buffer[28], "Byte after padding should be unchanged");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position");
            }
    
            @Test
            @DisplayName("findUNITermination should throw exception when termination not found")
            void testFindUNITerminationNotFound() {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                int bytesRead = fis.read(buffer);
                assertEquals(10000, bytesRead);
                for (int i = 0; i < largeData.length; i++) {
                    assertEquals("Mismatch at position " + i, largeData[i], buffer[i]);
                }
            } finally {
                // Clean up
                tempFile.delete();
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                int bytesRead = stream.read(readBuffer);
    
                assertEquals(1024, bytesRead);
                for (int i = 0; i < data.length; i++) {
                    assertEquals("Mismatch at position " + i, data[i], readBuffer[i]);
                }
            }
        }
    
        public void test_fileNotFoundException() {
            // Test with non-existent file
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lock request message. This command is used to request byte-range locks
     * on portions of a file.
     *
     * @author mbechler
     *
     */
    public class Smb2LockRequest extends ServerMessageBlock2Request<Smb2LockResponse> implements RequestWithFileId {
    
        private int lockSequenceNumber;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
         * @return the endOfFile
         */
        public final long getEndOfFile() {
            return this.endOfFile;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    continue;
                }
                return false;
            }
            return true;
        }
    
        /**
         * If the argument type at the specified position is a number, converts the argument to match the type.
         *
         * @param paramTypes
         *            array of parameter types
         * @param args
         *            array of arguments
         * @param index
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] buffer = new byte[32];
            int bytesWritten = hmac.engineDigest(buffer, 5, 16);
    
            assertEquals(16, bytesWritten);
            // Check that bytes were written to the correct position
            byte[] extractedResult = Arrays.copyOfRange(buffer, 5, 21);
            assertEquals(16, extractedResult.length);
        }
    
        @Test
        void testEngineDigestWithInsufficientBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top