Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 466 for COffset (0.09 sec)

  1. 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)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test with maximum offset boundary")
        void testMaxOffsetBoundary() {
            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

      /**
       * Copies the contents of this immutable collection into the specified array at the specified
       * offset. Returns {@code offset + size()}.
       */
      @CanIgnoreReturnValue
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        for (E e : this) {
          dst[offset++] = e;
        }
        return offset;
      }
    
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        void testReadParametersWireFormatWithBufferOffset() throws Exception {
            int offset = 20;
            byte[] notificationData = createSingleNotificationBuffer("offset_test.txt", FileNotifyInformation.FILE_ACTION_MODIFIED);
            byte[] buffer = new byte[offset + notificationData.length];
            System.arraycopy(notificationData, 0, buffer, offset, notificationData.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top