Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Bounds (0.14 sec)

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

                throws InterruptedException, ExecutionException, TimeoutException {
            boolean found = checkInResult(action, name, infos);
            if ( !found ) {
                // retry, the first watch may have already come back before the triggered change was active
                try {
                    setupWatch(w);
                    found = checkInResult(action, name, infos);
                }
                catch ( TimeoutException e ) {
    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)
  2. src/test/java/jcifs/tests/EnumTest.java

                            c.createNewFile();
                        }
                    }
    
                    String[] found = f.list();
                    Arrays.sort(found);
    
                    for ( int i = 0; i < n; i++ ) {
                        Assert.assertTrue(Arrays.binarySearch(found, String.format("%s%d.tmp", prefix, i)) >= 0);
                    }
                }
                finally {
                    f.delete();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         * 
         * @param host
         * @param tc
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName ( String host, CIFSContext tc ) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
    
        /**
         * Set the user name which is used to setup <code>GSSContext</code>. If null
         * is set, the default user will be used which is retrieved from the first
         * TGT found in <code>Subject</code> .
         *
         * @param name
         *            the user name used to setup <code>GSSContext</code>
         */
        public void setUser ( String name ) {
            this.user = name;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                        }
                        this.dcList[ i ] = null;
                    }
                }
    
                /*
                 * No DCs found, for retieval of list by expiring it and retry.
                 */
                this.dcListExpiration = 0;
            }
            while ( retry-- > 0 );
    
            this.dcListExpiration = now + 1000 * 60 * 15; /* 15 min */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                }
                            }
                            dc_list[i] = null;
                        }
                    }
    
                    /* No DCs found, for retieval of list by expiring it and retry.
                     */
                    dc_list_expiration = 0;
                } while (retry-- > 0);
    
                dc_list_expiration = now + 1000 * 60 * 15; /* 15 min */
    }
    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/pac/ASN1Util.java

            while (++octetsPos < octetsCount);
    
            if (length >= limit && !isParsing)   // after all we must have read at least 1 byte
            {
                throw new IOException("corrupted stream - out of bounds length found: " + length + " >= " + limit);
            }
    
            return length;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/WinError.java

        public static final int ERROR_NO_BROWSER_SERVERS_FOUND = 6118;
    
        static final int[] WINERR_CODES = {
            ERROR_SUCCESS, ERROR_ACCESS_DENIED, ERROR_REQ_NOT_ACCEP, ERROR_BAD_PIPE, ERROR_PIPE_BUSY, ERROR_NO_DATA, ERROR_PIPE_NOT_CONNECTED,
            ERROR_MORE_DATA, ERROR_SERVICE_NOT_INSTALLED, ERROR_NO_BROWSER_SERVERS_FOUND,
        };
    
        static final String[] WINERR_MESSAGES = {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                len += 2;
                                if( len > 256 ) {
                                    throw new RuntimeException( "zero termination not found" );
                                }
                            }
                            server.oemDomainName = new String( buffer, bufferIndex,
                                    len, UNI_ENCODING );
                        } else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Config.java

                    log.error("Not a number", nfe);
                }
            }
            return def;
        }
    
    
        /**
         * Retrieve an <code>int</code>. If the property is not found, <code>-1</code> is returned.
         */
        public static int getInt ( Properties props, String key ) {
            String s = props.getProperty(key);
            int result = -1;
            if ( s != null ) {
                try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
Back to top