Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkCast (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          if (object == null) {
            throw new NullPointerException();
          }
        }
        Platform.checkCast(type, object); // behave badly
        return asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (!allowNulls) {
          for (Object object : collection) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		return err
    	}
    
    	if n != len(buf) {
    		return io.ErrShortWrite
    	}
    
    	return nil
    }
    
    // checkPart is a light check of an existing and size of a part, without doing a bitrot operation
    // For any unexpected error, return checkPartUnknown (zero)
    func (s *xlStorage) checkPart(volumeDir, path, dataDir string, partNum int, expectedSize int64, skipAccessCheck bool) (resp int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top