Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for attn (0.15 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY;
                    if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        attrs &= ~SmbConstants.ATTR_HIDDEN;
                    }
                    f.setAttributes(attrs);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    try {
                        b.setAttributes(SmbConstants.ATTR_HIDDEN);
                        haveHidden = true;
                    }
                    catch ( SmbUnsupportedOperationException e ) {}
    
                    c.createNewFile();
                    boolean haveArchive = false;
                    try {
                        c.setAttributes(SmbConstants.ATTR_ARCHIVE);
                        haveArchive = true;
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                        this.sharing,
                        SmbConstants.ATTR_NORMAL,
                        0);
                }
                else {
                    this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire();
                }
                return this.handle;
            }
            return this.handle.acquire();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

            if( LOGON_SHARE == null ) {
                tree.treeConnect( null, null );
            } else {
                Trans2FindFirst2 req = new Trans2FindFirst2( "\\", "*", SmbFile.ATTR_DIRECTORY );
                Trans2FindFirst2Response resp = new Trans2FindFirst2Response();
                tree.send( req, resp );
            }
        }
    
        /* 0 - not connected
         * 1 - connecting
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    }
                    else {
                        // at least on samba, SmbComOpenAndX fails without the pipe prefix
                        this.handle = this.pipe
                                .openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

            if ( !isOpen() ) {
                // one extra acquire to keep this open till the stream is released
                this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire();
                if ( this.append ) {
                    this.fp = this.handle.getInitialSize();
                    if ( log.isDebugEnabled() ) {
                        log.debug("File pointer is at " + this.fp);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                        throw se;
                    }
                }
            }
    
            try ( CloseableIterator<SmbResource> it = SmbEnumerationUtil
                    .doEnum(src, "*", SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM, null, null) ) {
                while ( it.hasNext() ) {
                    try ( SmbResource r = it.next() ) {
                        try ( SmbFile ndest = new SmbFile(
                            dest,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/DomUtil.java

            final int length = attrs.getLength();
            for (int i = 0; i < length; ++i) {
                final Attr attr = (Attr) attrs.item(i);
                buf.append(' ');
                appendAttr(attr, buf);
            }
        }
    
        /**
         * {@link Attr}の文字列表現を追加します。
         *
         * @param attr
         *            属性。{@literal null}であってはいけません
         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
            } else {
                throw new IllegalArgumentException( "Invalid mode" );
            }
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, options );
            readSize = file.tree.session.transport.rcv_buf_size - 70;
            writeSize = file.tree.session.transport.snd_buf_size - 70;
            fp = 0L;
        }
    
        public int read() throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

        /**
         * Return the attributes of this file. Attributes are represented as a
         * bitset that must be masked with <tt>ATTR_*</tt> constants to determine
         * if they are set or unset. The value returned is suitable for use with
         * the <tt>setAttributes()</tt> method.
         *
         * @return the <tt>ATTR_*</tt> attributes associated with this file
         * @throws CIFSException
         */
        int getAttributes () throws CIFSException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
Back to top