Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 517 for offsets (0.05 sec)

  1. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            @Test
            @DisplayName("Should decode with non-zero buffer offset")
            void testDecodeWithOffset() {
                byte[] testBuffer = new byte[20];
                int offset = 5;
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                // Add padding before actual data
                bb.position(offset);
                bb.putShort((short) 24); // pathConsumed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/DES.java

        /// Squash bytes down to ints.
        /**
         * Converts bytes to integers for internal DES processing
         * @param inBytes the input byte array
         * @param inOff the offset into the input array
         * @param outInts the output integer array
         * @param outOff the offset into the output array
         * @param intLen the number of integers to convert
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @param token the input token bytes
         * @param offset offset into the token array
         * @param len length of token data
         * @return the output token bytes
         * @throws SmbException if an error occurs during context initialization
         */
        public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException {
            switch (state) {
            case 1:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. 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]);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * @param dest The destination array in which the user session key will be
         * placed.
         * @param offset The offset in the destination array at which the
         * session key will start.
         */
        void getUserSessionKey(final byte[] challenge, final byte[] dest, final int offset) throws SmbException {
            if (hashesExternal) {
                return;
            }
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UUID.java

    /**
     * UUID type wrapper
     *
     */
    public class UUID extends rpc.uuid_t {
    
        private static int hex_to_bin(final char[] arr, final int offset, final int length) {
            int value = 0;
            int ai, count;
    
            count = 0;
            for (ai = offset; ai < arr.length && count < length; ai++) {
                value <<= 4;
                switch (arr[ai]) {
                case '0':
                case '1':
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacUnicodeString.java

         * Constructs a new PacUnicodeString instance.
         *
         * @param length the actual length of the string in bytes
         * @param maxLength the maximum allocated length for the string in bytes
         * @param pointer the pointer/offset to the string data
         */
        public PacUnicodeString(final short length, final short maxLength, final int pointer) {
            this.length = length;
            this.maxLength = maxLength;
            this.pointer = pointer;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top