Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 290 for dstIndex (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                // Simple implementation for testing
                return 0;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                // Simple implementation for testing
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

                // Mock implementation
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // Mock implementation
                return 0;
            }
    
            @Override
            public void setDigest(SMBSigningDigest digest) {
                this.digest = digest;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("Smb2NegotiateResponse[" + super.toString() + ",dialectRevision=" + this.dialectRevision + ",securityMode=0x"
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            public TestServerMessageBlock2(Configuration config, int command) {
                super(config, command);
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                return bytesWritten;
            }
    
            @Override
            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                if (throwOnRead) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/escape/CharEscaper.java

            dest = growBuffer(dest, destIndex, sizeNeeded);
          }
          s.getChars(lastEscape, slen, dest, destIndex);
          destIndex = sizeNeeded;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
       * Helper method to grow the character buffer as needed, this only happens once in a while so it's
       * ok if it's in a method call. If the index passed in is 0 then no copying will be done.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/escape/UnicodeEscaper.java

        if (charsSkipped > 0) {
          int endIndex = destIndex + charsSkipped;
          if (dest.length < endIndex) {
            dest = growBuffer(dest, destIndex, endIndex);
          }
          s.getChars(unescapedChunkStart, end, dest, destIndex);
          destIndex = endIndex;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

            if (path.startsWith("/admin") || path.startsWith("/error") || path.startsWith("/login")) {
                return true;
            }
            final int dotIndex = path.lastIndexOf('.');
            if (dotIndex >= 0) {
                final String extension = path.substring(dotIndex);
                return STATIC_EXTENSIONS.contains(extension);
            }
            return false;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Files.java

       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] dest = new byte[5];
    
            // Expect IndexOutOfBoundsException from System.arraycopy
            assertThrows(IndexOutOfBoundsException.class, () -> {
                encodable.encode(dest, 3); // destIndex=3, len=3, dest.length=5. 3+3 > 5
            }, "Should throw IndexOutOfBoundsException if destination offset + length exceeds destination array bounds");
        }
    
        @Test
        void testEncodeNullSourceArray() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/MoreFiles.java

        // null for empty paths and root-only paths
        if (name == null) {
          return "";
        }
    
        String fileName = name.toString();
        int dotIndex = fileName.lastIndexOf('.');
        return dotIndex == -1 ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
Back to Top