Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Xattrs (0.04 sec)

  1. src/main/java/jcifs/smb/SmbCopyUtil.java

                final int dattrs = dest.getAttributes();
                if ((dattrs & SmbConstants.ATTR_READONLY) != 0) {
                    /*
                     * Remove READONLY and try again
                     */
                    dest.setPathInformation(dattrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L);
                    return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. docs/smb3-features/04-directory-leasing-design.md

            public FileInfo(String name, SmbFileAttributes attrs) {
                this.name = name;
                this.size = attrs.getSize();
                this.lastModified = attrs.getLastWriteTime();
                this.isDirectory = attrs.isDirectory();
                this.attributes = attrs.getAttributes();
                this.creationTime = attrs.getCreateTime();
                this.lastAccessTime = attrs.getLastAccessTime();
            }
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

         * @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;
            this.lastWriteTime = mtime;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                final int access, final int attrs, final int options, final long initialSize) {
            this.cfg = cfg;
            this.fileId = fid;
            this.initialSize = initialSize;
            this.fid = 0;
            this.unc = unc;
            this.flags = flags;
            this.access = access;
            this.attrs = attrs;
            this.options = options;
            this.tree = tree.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  5. docs/en/docs/js/termynal.js

         */
        _attributes(line) {
            let attrs = '';
            for (let prop in line) {
                // Custom add class
                if (prop === 'class') {
                    attrs += ` class=${line[prop]} `
                    continue
                }
                if (prop === 'type') {
                    attrs += `${this.pfx}="${line[prop]}" `
                } else if (prop !== 'value') {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * bitset by bitwise ORing the {@code ATTR_*} constants. Setting the
         * value returned by {@code getAttributes} will result in both files
         * having the same attributes.
         * @param attrs the attributes to set
         * @throws SmbException if an error occurs while setting attributes
         */
        public void setAttributes(final int attrs) throws SmbException {
            if (getUncPath0().length() == 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. finisher_api.go

    			if where, ok := c.Expression.(clause.Where); ok {
    				tx.assignInterfacesToValue(where.Exprs)
    			}
    		}
    
    		// initialize with attrs, conds
    		if len(tx.Statement.attrs) > 0 {
    			tx.assignInterfacesToValue(tx.Statement.attrs...)
    		}
    	}
    
    	// initialize with attrs, conds
    	if len(tx.Statement.assigns) > 0 {
    		tx.assignInterfacesToValue(tx.Statement.assigns...)
    	}
    	return
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(handle);
    
            int attrs = SmbConstants.ATTR_NORMAL;
    
            // Act
            SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead);
    
            // Assert
            assertSame(handle, result, "Should return handle from dest.openUnshared");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Arrange
            stubAcquireReturnsSelf();
            String wildcard = "*.*";
            int attrs = 123;
            FileEntry initial = entry("first");
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
    
            // Act
            TestIterator it = TestIterator.create(tree, parent, wildcard, null, attrs, initial, pages);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

         * bitset by bitwise ORing the <code>ATTR_*</code> constants. Setting the
         * value returned by <code>getAttributes</code> will result in both files
         * having the same attributes.
         *
         * @param attrs
         *            attribute flags
         *
         * @throws CIFSException if an error occurs modifying the resource
         */
        void setAttributes(int attrs) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top