Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 253 for filenames (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            String docid = "1234567890abcdef";
            // Call the String version directly
            String filename = thumbnailManager.getImageFilename(docid);
            assertNotNull(filename);
            assertTrue(filename.endsWith(".png"));
            assertTrue(filename.contains("/"));
            assertTrue(filename.contains(docid));
        }
    
        // Test getImageFilename with custom settings
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. 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)
  6. cmd/admin-bucket-handlers.go

    			continue
    		}
    		bucket, fileName := slc[0], slc[1]
    		if fileName == objectLockConfig {
    			reader, err := file.Open()
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    			config, err := objectlock.ParseObjectLockConfig(reader)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.3K bytes
    - Viewed (0)
  7. 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)
  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/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)
Back to top