Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 297 for Filename (0.11 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        static final int LIST_COUNT = Config.getInt("jcifs.smb1.smb.client.listCount", DEFAULT_LIST_COUNT);
    
        Trans2FindFirst2(final String filename, final String wildcard, final int searchAttributes) {
            if (filename.equals("\\")) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        // flags is NOT the same as flags member
    
        SmbComOpenAndX(final String fileName, final int access, final int flags, final ServerMessageBlock andx) {
            super(andx);
            this.path = fileName;
            command = SMB_COM_OPEN_ANDX;
    
            desiredAccess = access & 0x3;
            if (desiredAccess == 0x3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Verify fileName is set
            Field fileNameField = Smb2CloseRequest.class.getDeclaredField("fileName");
            fileNameField.setAccessible(true);
            String storedFileName = (String) fileNameField.get(request);
            assertEquals(testFileName, storedFileName);
        }
    
        @Test
        @DisplayName("Constructor with fileId only should use empty fileName")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. .generated_files

    # This file is a series of lines, each of the form:
    #     <type> <name>
    #
    # Type can be:
    #    path - an exact path to a single file
    #    file-name - an exact leaf filename, regardless of path
    #    path-prefix - a prefix match on the file path
    #    file-prefix - a prefix match of the leaf filename (no path)
    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  9. 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)
  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