Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for attr (0.12 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
            writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
    /* Samba 2.2.7 needs ATTR_NORMAL
     */
            writeInt2( 0x80 | attributes, dst, dstIndex ); dstIndex += 2; 
                                            /* 6 zeros observed with NT */
            writeInt8( 0L, dst, dstIndex ); dstIndex += 6;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  2. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            return;
          }
    
          Document document = Jsoup.parse(response.body().string(), url.toString());
          for (Element element : document.select("a[href]")) {
            String href = element.attr("href");
            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            queue.add(link.newBuilder().fragment(null).build());
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                return ( this.type & 0x80000000 ) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER;
            }
    
    
            @Override
            public int getAttributes () {
                return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.smb.FileEntry#getFileIndex()
             */
            @Override
            public int getFileIndex () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DosFileFilter.java

         * method as the server should have performed that filtering already. The
         * attributes are asserted here only because server file systems may not
         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept ( SmbFile file ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * bitset by bitwise ORing the <tt>ATTR_*</tt> constants. Setting the
         * value returned by <tt>getAttributes</tt> will result in both files
         * having the same attributes.
         * 
         * @param attrs
         *            attribute flags
         * 
         * @throws CIFSException
         */
        void setAttributes ( int attrs ) 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                // 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, this.options).acquire();
                return this.handle;
            }
            return this.handle.acquire();
        }
    
    
        /**
         * Ensures that the file descriptor is openend
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
            }
            else {
                Trans2FindFirst2 req = new Trans2FindFirst2(
                    tf.getConfig(),
                    "\\",
                    "*",
                    SmbConstants.ATTR_DIRECTORY,
                    tf.getConfig().getListCount(),
                    tf.getConfig().getListSize());
                Trans2FindFirst2Response resp = new Trans2FindFirst2Response(tf.getConfig());
                try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MoreFilesTest.java

          Files.walkFileTree(
              tempDir,
              new SimpleFileVisitor<Path>() {
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
                    throws IOException {
                  Files.deleteIfExists(file);
                  return FileVisitResult.CONTINUE;
                }
    
                @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top