Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 60 (0.17 sec)

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

            try ( SmbResource f = createTestFile() ) {
                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

        private CIFSContext transportContext;
        private Address[] dcList = null;
        private long dcListExpiration;
    
        private int netbiosLookupRespLimit = 3;
        private long netbiosCacheTimeout = 60 * 60 * 10;
        private static int dcListCounter;
    
    
        @Override
        public void init ( FilterConfig filterConfig ) throws ServletException {
            String name;
    
            Properties p = new Properties();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 60 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 60");
            }
            this.closeFlags = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

        private static final String USERNAME =
                    Config.getProperty("jcifs.smb1.smb.client.username", null);
        private static final int CACHE_POLICY =
                    Config.getInt( "jcifs.smb1.netbios.cachePolicy", 60 * 10 ) * 60; /* 10 hours */
    
        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
        private static NtlmChallenge interrogate( NbtAddress addr ) throws SmbException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/PropertyConfiguration.java

            this.netbiosHostname = p.getProperty("jcifs.netbios.hostname", null);
    
            this.netbiosCachePolicy = Config.getInt(p, "jcifs.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */
    
            this.netbiosSocketTimeout = Config.getInt(p, "jcifs.netbios.soTimeout", 5000);
            this.netbiosSendBufferSize = Config.getInt(p, "jcifs.netbios.snd_buf_size", 576);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ConcurrencyTest.java

                    for ( int i = 0; i < n; i++ ) {
                        runnables.add(new LockedWritesTest(failCount, writeCount, new SmbFile(sr, fname)));
                    }
                    runMultiTestCase(runnables, 60);
    
                    int readCnt = 0;
                    try ( InputStream is = f.openInputStream(SmbConstants.FILE_NO_SHARE) ) {
                        while ( is.read() >= 0 ) {
                            readCnt++;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

        //      e.allocationSize = readInt8( buffer, bufferIndex + 48 );
                e.extFileAttributes = readInt4( buffer, bufferIndex + 56 );
                e.fileNameLength = readInt4( buffer, bufferIndex + 60 );
        //      e.eaSize = readInt4( buffer, bufferIndex + 64 );
        //      e.shortNameLength = buffer[bufferIndex + 68] & 0xFF;
    
                /* With NT, the shortName is in Unicode regardless of what is negotiated.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                writeSecurityBuffer(type3, 44, offset, workstation);
                offset += workstationLength;
                writeSecurityBuffer(type3, 52, offset, sessionKey);
                writeULong(type3, 60, flags);
                return type3;
            } catch (IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        public String toString() {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/DES.java

            (byte)62, (byte)54, (byte)46, (byte)38, (byte)30, (byte)22, (byte)14,
            (byte) 6, (byte)61, (byte)53, (byte)45, (byte)37, (byte)29, (byte)21,
            (byte)13, (byte) 5, (byte)60, (byte)52, (byte)44, (byte)36, (byte)28,
            (byte)20, (byte)12, (byte) 4, (byte)27, (byte)19, (byte)11, (byte)3
        };
        private static int[] totrot = {
            1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

        protected String defaultDomain;
        protected String defaultUserName;
        protected String defaultPassword;
        protected String netbiosHostname;
        protected int netbiosCachePolicy = 60 * 60 * 10;
        protected int netbiosSocketTimeout = 5000;
        protected int netbiosSendBufferSize = 576;
        protected int netbiosRevcBufferSize = 576;
        protected int netbiosRetryCount = 2;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
Back to top