Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for FileName (0.06 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         */
        @Test
        void testWriteBytesWireFormat_NoUnicode() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            smbComOpenAndX.useUnicode = false;
            byte[] dst = new byte[fileName.length() + 1];
            int result = smbComOpenAndX.writeBytesWireFormat(dst, 0);
            assertEquals(fileName.length() + 1, result);
        }
    
        /**
         * Test readParameterWordsWireFormat method.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

        void testWriteParametersWireFormat() {
            // Given
            String filename = "a\\test\\path.txt";
            int informationLevel = 0x0102;
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
            // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator)
            byte[] dst = new byte[2 + 4 + filename.length() + 1];
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
            File file = new File(dir, filename);
    
            file.getParentFile().mkdirs();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
                    try (InputStream in = Files.newInputStream(path)) {
                        out.write(in);
                    }
                });
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

            super(config, SMB2_CLOSE);
            this.fileId = fileId;
            this.fileName = fileName;
        }
    
        /**
         * Constructs a close request with file ID only
         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID to close
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

        private final int tflags;
        private String filename;
        private final long maxItems;
    
        /**
         * Constructs a Trans2FindNext2 request for continuing a file search.
         *
         * @param config the configuration to use
         * @param sid the search ID from a previous FindFirst2 response
         * @param resumeKey the resume key for continuing the search
         * @param filename the last filename from the previous response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
            if (filename.equals("\\") || (filename.charAt(filename.length() - 1) == '\\')) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
    
            this.tflags = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

        /**
         * Constructs a query information request.
         *
         * @param config the configuration
         * @param filename the file name to query
         */
        public SmbComQueryInformation(final Configuration config, final String filename) {
            super(config, SMB_COM_QUERY_INFORMATION, filename);
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
            return result;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
            super(config);
            this.fileId = fileId;
            this.fileName = fileName;
        }
    
        /**
         * Get the close flags
         *
         * @return the closeFlags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top