Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,588 for numIter (0.05 seconds)

  1. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

         */
        public static Integer toInteger(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Integer i -> i;
            case Number n -> n.intValue();
            case String s -> toInteger(s);
            case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime();
            case Boolean b -> b ? 1 : 0;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/SmbRandomAccess.java

         */
        int read() throws SmbException;
    
        /**
         * Read into buffer from current position
         *
         * @param b
         *            buffer
         * @return number of bytes read
         * @throws SmbException if an I/O error occurs during read
         */
        int read(byte[] b) throws SmbException;
    
        /**
         * Read into buffer from current position
         *
         * @param b
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

                } catch (Exception e) {
                    log.warn("Failed to clear KeyStore entries: {}", e.getMessage());
                }
            }
        }
    
        /**
         * Get the number of stored keys
         *
         * @return number of keys in memory
         */
        public int getKeyCount() {
            return sessionKeys.size();
        }
    
        /**
         * Check if a session key exists
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  4. tests/prepared_stmt_test.go

    	// otherwise, ok will be false and conn will be nil.
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	// Get the number of statement keys stored in the PreparedStmtDB.
    	lens := len(conn.Stmts.Keys())
    	// Check if the number of stored statement keys is 0.
    	if lens == 0 {
    		// If the number is 0, it means there are no statements stored in the LRU cache.
    		// The test fails and an error message is output.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. internal/bucket/bandwidth/reader.go

    	}
    	if r.lastErr != nil {
    		err = r.lastErr
    		return n, err
    	}
    	b := r.throttle.Burst()  // maximum available tokens
    	need := len(buf)         // number of bytes requested by caller
    	hdr := r.opts.HeaderSize // remaining header bytes
    	var tokens int           // number of tokens to request
    
    	if hdr > 0 { // available tokens go towards header first
    		if hdr < b { // all of header can be accommodated
    			r.opts.HeaderSize = 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/AbstractCache.java

       *
       * @since 10.0
       */
      public interface StatsCounter {
        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. cmd/xl-storage-format-v1.go

    type ErasureInfo struct {
    	// Algorithm is the string representation of erasure-coding-algorithm
    	Algorithm string `json:"algorithm"`
    	// DataBlocks is the number of data blocks for erasure-coding
    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

    /**
     * A package-local class holding common representation and mechanics for classes supporting dynamic
     * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do
     * so.
     */
    @SuppressWarnings("SunApi") // b/345822163
    @GwtIncompatible
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Comparators.java

       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param attemptNumber the current attempt number
         * @return true if retry should be attempted
         */
        public boolean shouldRetry(int attemptNumber) {
            return retryPolicy.shouldRetry(this, attemptNumber);
        }
    
        /**
         * Get the delay before next retry
         *
         * @param attemptNumber the current attempt number
         * @return delay in milliseconds
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top