Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 492 for COffset (0.05 seconds)

  1. src/main/java/jcifs/smb1/util/RC4.java

         *
         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
         * @param dst the destination array for the result
         * @param doff the offset in the destination array
         */
        public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

                verify(mockMd5, times(1)).update((byte) 0x01);
            }
        }
    
        @Test
        void testEngineUpdateByteArray() throws NoSuchAlgorithmException {
            // Test engineUpdate(byte[] input, int offset, int len)
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(TEST_KEY);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        }
    
        private String readNullTerminatedString(byte[] buffer, int offset) {
            int end = offset;
            while (end < buffer.length && buffer[end] != 0) {
                end++;
            }
            return new String(buffer, offset, end - offset);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

            } else {
                resp = negotitate(inputBuf, offset, len);
            }
    
            if (resp == null) {
                return null;
            }
            return resp.toByteArray();
        }
    
        private SpnegoToken negotitate(final byte[] inputBuf, final int offset, final int len) throws CIFSException {
            final SpnegoToken spToken = getToken(inputBuf, offset, len);
            byte[] inputToken = null;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exception/ResultOffsetExceededException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when the requested result offset exceeds the limit.
     */
    public class ResultOffsetExceededException extends FessSystemException {
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        }
    
        // Helper method to read string from buffer
        private String readStringFromBuffer(byte[] buffer, int offset, int length) {
            // Simple ASCII string reading for test purposes
            StringBuilder sb = new StringBuilder();
            for (int i = offset; i < offset + length && buffer[i] != 0; i++) {
                if (buffer[i] != 0) {
                    sb.append((char) buffer[i]);
                }
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Then
                assertEquals(EXPECTED_SIZE, bytesWritten);
    
                // Verify source offset
                assertEquals(sourceOffset, SMBUtil.readInt8(buffer, startIndex));
    
                // Verify target offset
                assertEquals(targetOffset, SMBUtil.readInt8(buffer, startIndex + 8));
    
                // Verify length
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            // Verify by writing to buffer and checking the fileId position
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
    
            // FileId is at offset 8 in the request structure
            for (int i = 0; i < 16; i++) {
                assertEquals(fileId[i], buffer[Smb2Constants.SMB2_HEADER_LENGTH + 8 + i]);
            }
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with positive timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour in milliseconds
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @Nullable Object @Nullable [] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top