Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,260 for given (0.06 sec)

  1. android/guava/src/com/google/common/io/Closeables.java

          if (swallowIOException) {
            logger.log(Level.WARNING, "IOException thrown while closing Closeable.", e);
          } else {
            throw e;
          }
        }
      }
    
      /**
       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    // Get returns stored bucket policy
    func (sys *PolicySys) Get(bucket string) (*policy.BucketPolicy, error) {
    	policy, _, err := globalBucketMetadataSys.GetPolicyConfig(bucket)
    	return policy, err
    }
    
    // IsAllowed - checks given policy args is allowed to continue the Rest API.
    func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool {
    	p, err := sys.Get(args.BucketName)
    	if err == nil {
    		return p.IsAllowed(args)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java

     */
    @Deprecated(since = "4.0.0")
    public interface DependencyManagementImporter {
    
        /**
         * Imports the specified dependency management sections into the given target model.
         *
         * @param target The model into which to import the dependency management section, must not be <code>null</code>.
         * @param sources The dependency management sections to import, may be <code>null</code>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

    import java.lang.annotation.RetentionPolicy;
    import java.util.Collection;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * When describing the features of the collection produced by a given generator (i.e. in a call to
     * {@link
     * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AsyncFunction.java

    @GwtCompatible
    @FunctionalInterface
    @ElementTypesAreNonnullByDefault
    public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> {
      /**
       * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code
       * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
       * asynchronous derivations.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java

        public ClassDocSuperTypeBuilder(DslDocModel model, GenerationListener listener) {
            this.model = model;
            this.listener = listener;
        }
    
        /**
         * Builds and attaches the supertypes of the given class
         */
        void build(ClassDoc classDoc) {
            ClassMetaData classMetaData = classDoc.getClassMetaData();
            String superClassName = classMetaData.getSuperClassName();
            if (superClassName != null) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 934 bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashCode.java

        return asBytes();
      }
    
      /**
       * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
       * they have the same number of bits.
       */
      abstract boolean equalsSameBits(HashCode that);
    
      /**
       * Creates a 32-bit {@code HashCode} representation of the given int value. The underlying bytes
       * are interpreted in little endian order.
       *
       * @since 15.0 (since 12.0 in HashCodes)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. cmd/httprange.go

    	default:
    		return 0, errors.New("Unexpected range specification case")
    	}
    
    	return rangeLength, nil
    }
    
    // GetOffsetLength computes the start offset and length of the range
    // given the size of the resource
    func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) {
    	if h == nil {
    		// No range specified, implies whole object.
    		return 0, resourceSize, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

      @Override
      public Integer[] createArray(int length) {
        return new Integer[length];
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>By default, returns the supplied elements in their given order; however, generators for
       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top