Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 92 for isSuitable (0.08 seconds)

  1. guava/src/com/google/common/base/Optional.java

     *       approaches to this</a> that should be considered first)
     * </ul>
     *
     * <p>A common alternative to using this class is to find or create a suitable <a
     * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question.
     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          public @Nullable Object[] toArray() {
            return data.toArray();
          }
        };
      }
    
      /**
       * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is
       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. cmd/storage-rest-client.go

    			return true
    		}
    		if errors.Is(nerr.Err, rest.ErrClientClosed) {
    			return true
    		}
    	}
    	if errors.Is(err, grid.ErrDisconnected) {
    		return true
    	}
    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if (isDirectory()) {
                path += '/';
            }
            return path;
        }
    
        /**
         * Retrieve the time this <code>SmbFile</code> was created. The value
         * returned is suitable for constructing a {@link java.util.Date} object
         * (i.e. seconds since Epoch 1970). Times should be the same as those
         * reported using the properties dialog of the Windows Explorer program.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableSet.java

      // If the set has this many elements, it will "max out" the table size
      private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR);
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  6. src/archive/tar/common.go

    	// This package transparently handles these types.
    	TypeGNULongName = 'L'
    	TypeGNULongLink = 'K'
    )
    
    // Keywords for PAX extended header records.
    const (
    	paxNone     = "" // Indicates that no PAX key is suitable
    	paxPath     = "path"
    	paxLinkpath = "linkpath"
    	paxSize     = "size"
    	paxUid      = "uid"
    	paxGid      = "gid"
    	paxUname    = "uname"
    	paxGname    = "gname"
    	paxMtime    = "mtime"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

      // If the set has this many elements, it will "max out" the table size
      private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR);
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
    
            //
            // TODO jvz Why isn't all this checking the job of the duty of the workspace resolver, we know that we
            // have a model that is suitable, yet more checks are done here and the one for the version is problematic
            // before because with parents as ranges it will never work in this scenario.
            //
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  9. cmd/metacache-set.go

    			// If we found disks signature in quorum, we proceed to list
    			// from a single drive, shuffling of the drives is subsequently.
    			disks = newDisks
    			askDisks = 1
    		} else {
    			// If we did not find suitable disks, perform strict quorum listing
    			// as no disk agrees on quorum anymore.
    			askDisks = getListQuorum("strict", er.setDriveCount)
    		}
    	}
    
    	var fallbackDisks []StorageAPI
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *         <li>10 levels: average of 184ns per lock()/unlock()
     *         <li>20 levels: average of 393ns per lock()/unlock()
     *       </ul>
     * </ul>
     *
     * <p>As such, the CycleDetectingLockFactory may not be suitable for performance-critical
     * applications which involve tightly-looped or deeply-nested locking algorithms.
     *
     * @author Darick Tong
     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
Back to Top