Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 1004 (0.2 sec)

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

                    f.setLastModified(time);
    
                    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 ) ));
    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/OplockTests.java

                    tree.send(create);
    
                    Smb2CreateRequest create2 = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create2.setOverrideTimeout(1000);
                    create2.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
                    create2.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

        private Socket socket;
        private int port;
        private final AtomicLong mid = new AtomicLong();
        private OutputStream out;
        private InputStream in;
        private final byte[] sbuf = new byte[1024]; /* small local buffer */
        private long sessionExpiration;
        private final List<SmbSessionImpl> sessions = new LinkedList<>();
    
        private String tconHostName = null;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( this.transportContext.getConfig().getNetbiosCachePolicy() != SmbConstants.FOREVER ) {
                expiration = System.currentTimeMillis() + this.transportContext.getConfig().getNetbiosCachePolicy() * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
    
        void cacheAddress ( Name hostName, NbtAddress addr, long expiration ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                 */
    
                SmbComQueryInformationResponse response =
                        new SmbComQueryInformationResponse(
                        tree.session.transport.server.serverTimeZone * 1000 * 60L );
                send( new SmbComQueryInformation( path ), response );
                return response;
            }
        }
    
    /**
     * Tests to see if the SMB resource exists. If the resource refers
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top