Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 253 for filenames (0.56 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            // Verify size calculation doesn't include filename
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            assertEquals(((expectedSize + 7) & ~7), request.size());
        }
    
        @Test
        @DisplayName("Test setFileName method with non-null value")
        void testSetFileNameNonNull() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            String fileName = "test.txt";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

         * @param config the configuration to use
         * @param filename the name of the file to modify
         * @param attrs the file attributes to set
         * @param mtime the modification time to set in milliseconds since epoch
         */
        public SmbComSetInformation(final Configuration config, final String filename, final int attrs, final long mtime) {
            super(config, SMB_COM_SET_INFORMATION, filename);
            this.fileAttributes = attrs;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[11]);
    
            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
                assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i);
            }
            assertEquals((byte) 0x00, dst[12 + nameBytes.length], "Filename must be null-terminated");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryPathInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        Trans2QueryPathInformation(final String filename, final int informationLevel) {
            path = filename;
            this.informationLevel = informationLevel;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_PATH_INFORMATION;
            totalDataCount = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

        private final int maxReferralLevel;
    
        Trans2GetDfsReferral(final String filename) {
            this(filename, 3);
        }
    
        Trans2GetDfsReferral(final String filename, final int maxReferralLevel) {
            this.maxReferralLevel = maxReferralLevel;
            path = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_GET_DFS_REFERRAL;
            totalDataCount = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

         * @param config the configuration
         * @param fileName the name of the file to open
         * @param access the desired access mode
         * @param shareAccess the share access mode
         * @param flags the open flags
         * @param fileAttributes the file attributes
         * @param andx the next command in the chain
         */
        public SmbComOpenAndX(final Configuration config, final String fileName, final int access, final int shareAccess, final int flags,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 COM_RENAME command implementation.
     *
     * This command renames a file or directory on the SMB server.
     * It takes an old filename and new filename and performs the rename operation.
     */
    public class SmbComRename extends ServerMessageBlock {
    
        private final int searchAttributes;
        private final String oldFileName;
        private final String newFileName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                            logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                        }
                        logger.debug("Failed to copy {}", filename, e);
                        throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, filename), this::asListHtml);
                    }
                    new Thread(() -> {
                        try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

         *
         * @param config the SMB configuration
         * @param filename the path to query information for
         * @param informationLevel the information level to query
         */
        public Trans2QueryPathInformation(final Configuration config, final String filename, final int informationLevel) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_PATH_INFORMATION);
            this.path = filename;
            this.informationLevel = informationLevel;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top