Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 6,369 for _return (0.06 sec)

  1. cmd/erasure.go

    	setIndex  int
    	poolIndex int
    
    	// getDisks returns list of storageAPIs.
    	getDisks func() []StorageAPI
    
    	// getLockers returns list of remote and local lockers.
    	getLockers func() ([]dsync.NetLocker, string)
    
    	// getEndpoints returns list of endpoint belonging this set.
    	// some may be local and some remote.
    	getEndpoints func() []Endpoint
    
    	// getEndpoints returns list of endpoint strings belonging this set.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *     thread creation.
       * @return this for the builder pattern
       * @see MoreExecutors
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setThreadFactory(ThreadFactory backingThreadFactory) {
        this.backingThreadFactory = checkNotNull(backingThreadFactory);
        return this;
      }
    
      /**
       * Returns a new thread factory using the options supplied during the building process. After
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. internal/event/name.go

    		return "s3:ObjectAccessed:Head"
    	case ObjectAccessedAttributes:
    		return "s3:ObjectAccessed:Attributes"
    	case ObjectCreatedAll:
    		return "s3:ObjectCreated:*"
    	case ObjectCreatedCompleteMultipartUpload:
    		return "s3:ObjectCreated:CompleteMultipartUpload"
    	case ObjectCreatedCopy:
    		return "s3:ObjectCreated:Copy"
    	case ObjectCreatedPost:
    		return "s3:ObjectCreated:Post"
    	case ObjectCreatedPut:
    		return "s3:ObjectCreated:Put"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Enums.java

          return Enum.valueOf(enumClass, value);
        }
    
        @Override
        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) object;
            return this.enumClass.equals(that.enumClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case (-1):
              return ((k & 1) == 0) ? 1 : -1;
            case 2:
              return (k < Long.SIZE) ? 1L << k : 0;
            case (-2):
              if (k < Long.SIZE) {
                return ((k & 1) == 0) ? 1L << k : -(1L << k);
              } else {
                return 0;
              }
            default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. internal/disk/stat_linux_s390x.go

    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. internal/ioutil/hardlimitreader.go

    // Read returns EOF when N <= 0 or when the underlying R returns EOF.
    type HardLimitedReader struct {
    	R io.Reader // underlying reader
    	N int64     // max bytes remaining
    }
    
    func (l *HardLimitedReader) Read(p []byte) (n int, err error) {
    	if l.N < 0 {
    		return 0, ErrOverread
    	}
    	n, err = l.R.Read(p)
    	l.N -= int64(n)
    	if l.N < 0 {
    		return 0, ErrOverread
    	}
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

          return var.toString();
        }
    
        /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */
        @CheckForNull
        static TypeVariableKey forLookup(Type t) {
          if (t instanceof TypeVariable) {
            return new TypeVariableKey((TypeVariable<?>) t);
          } else {
            return null;
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multiset.java

         * in the former case, this method can never return zero, while in the latter, it will return
         * zero if all occurrences of the element were since removed from the multiset.
         *
         * @return the count of the element; never negative
         */
        int getCount();
    
        /**
         * {@inheritDoc}
         *
         * <p>Returns {@code true} if the given object is also a multiset entry and the two entries
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

        if (negative) {
          return accum;
        } else if (accum == Long.MIN_VALUE) {
          return null;
        } else {
          return -accum;
        }
      }
    
      private static final class LongConverter extends Converter<String, Long> implements Serializable {
        static final Converter<String, Long> INSTANCE = new LongConverter();
    
        @Override
        protected Long doForward(String value) {
          return Long.decode(value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top