Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for some (0.14 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

    import java.io.*;
    import java.net.*;
    import java.util.*;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if ( !this.useNTSmbs ) {
                log.debug("No support for NT SMBs");
            }
    
            // there seems to be a bug with some servers that causes corruption if using signatures +
            // CAP_LARGE_WRITE
            if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
    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)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
    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)
  4. src/main/java/jcifs/util/transport/Transport.java

    import jcifs.RuntimeCIFSException;
    import jcifs.smb.RequestParam;
    
    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

                fail("Did not recieve notification");
            }
        }
    
    
        @Test
        public void testWatchModified () throws InterruptedException, ExecutionException, IOException {
            // samba 4 starting with some version does not seem to handle this correctly :(
            try ( SmbWatchHandle w = this.base
                    .watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_ATTRIBUTES | FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE, false) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

            if (request instanceof SmbComTreeConnectAndX) {
                SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX)request;
                if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                    /* Some pipes may require that the hostname in the tree connect
                     * be the netbios name. So if we have the netbios server name
                     * from the NTLMSSP type 2 message, and the share is IPC$, we
    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/internal/dtyp/ACE.java

     * the access mask of the ACE, the access check is successful. Otherwise,
     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <tt>WNET\alice</tt> tries to open a file
     * with desired access bits <tt>0x00000003</tt> (<tt>FILE_READ_DATA |
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

         */
        static final int ATTR_DIRECTORY = 0x10;
    
        /**
         * Files is marked to be archived
         */
        static final int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        static final int ATTR_COMPRESSED = 0x800;
        static final int ATTR_NORMAL = 0x080;
        static final int ATTR_TEMPORARY = 0x100;
    
        // access mask encoding
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21,
            (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25
        };
        /* Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        private static void E( byte[] key, byte[] data, byte[] e ) {
            byte[] key7 = new byte[7];
            byte[] e8 = new byte[8];
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/BufferCacheImpl.java

         */
        @Override
        public void releaseBuffer ( byte[] buf ) {
            if ( buf == null ) {
                return;
            }
            // better safe than sorry: prevent leaks if there is some out of bound access
            Arrays.fill(buf, (byte) 0);
            synchronized ( this.cache ) {
                if ( this.freeBuffers < this.cache.length ) {
                    for ( int i = 0; i < this.cache.length; i++ ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jan 24 11:40:34 GMT 2021
    - 2.9K bytes
    - Viewed (0)
Back to top