Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 1003 (0.14 sec)

  1. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            response.received = false;
    
                            responseTable.put( nid, response );
                            ensureOpen( timeout + 1000 );
                            socket.send( out );
    
                            if( log.level > 3 ) {
                                log.println( request );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  3. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

                    if ( list != null && list.length > 0 ) {
                        this.dcList = list;
                    }
                    else { /* keep using the old list */
                        this.dcListExpiration = now + 1000 * 60 * 15; /* 15 min */
                        log.warn("Failed to retrieve DC list from WINS");
                    }
                }
    
                int max = Math.min(this.dcList.length, this.netbiosLookupRespLimit);
    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)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        if (list != null && list.length > 0) {
                            dc_list = list;
                        } else { /* keep using the old list */
                            dc_list_expiration = now + 1000 * 60 * 15; /* 15 min */
                            if (SmbTransport.log.level >= 2) {
                                SmbTransport.log.println( "Failed to retrieve DC list from WINS" );
                            }
                        }
    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)
  6. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. src/test/java/jcifs/tests/WatchTest.java

            if ( this.future != null ) {
                this.future.cancel(true);
            }
            this.future = this.executor.submit(w);
            Thread.sleep(1000);
        }
    
    
        @Test
        public void testWatchCreate () throws CIFSException, MalformedURLException, UnknownHostException, InterruptedException, ExecutionException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  8. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if( CACHE_POLICY == 0 ) {
                return;
            }
            long expiration = -1;
            if( CACHE_POLICY != FOREVER ) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress( hostName, addr, expiration );
        }
        static void cacheAddress( Name hostName, NbtAddress addr, long expiration ) {
            if( CACHE_POLICY == 0 ) {
                return;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/KerberosTest.java

            long start = System.currentTimeMillis() / 1000 * 1000;
            // this is not too great as it depends on timing/clockskew
            // first we need to obtain a ticket, therefor need valid credentials
            // then we need to wait until the ticket is expired
            int wait = 10 * 1000;
            long princExp = start + ( wait / 2 );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
Back to top