Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for one (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two").iterator();
        try {
          Iterators.getOnlyElement(iterator);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>");
        }
      }
    
      public void testGetOnlyElement_noDefault_fiveElements() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	ErrInvalidPart: {
    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingPart: {
    		Code:           "InvalidRequest",
    		Description:    "You must specify at least one part",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two").iterator();
        try {
          Iterators.getOnlyElement(iterator);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>");
        }
      }
    
      public void testGetOnlyElement_noDefault_fiveElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		// `KeyMarker` is set. It contains part of the objectname as `KeyPrefix`.
    		// `MaxUploads` is set equal to the number of meta data entries in the result, the result contains only one entry.
    		// Expecting the result to contain one MultipartInfo entry and IsTruncated to be false.
    		{
    			MaxUploads:  1,
    			KeyMarker:   "min",
    			IsTruncated: false,
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}, then preferring constructors with at
       * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
       * not already have a cause, one is set by calling {@link Throwable#initCause(Throwable)} on it.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<SomeEnum> none = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
        assertThat(none).isEmpty();
    
        ImmutableSet<SomeEnum> one = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
        assertThat(one).contains(SomeEnum.B);
    
        ImmutableSet<SomeEnum> two = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	retryAttempts := ri.RetryAttempts
    	retry := false
    	for attempts := 1; attempts <= retryAttempts; attempts++ {
    		attempts := attempts
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    		s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // as defined by https://golang.org/pkg/unicode/#IsPrint. This
      // field is required.
      optional string fieldManager = 3;
    }
    
    // Condition contains details for one aspect of the current state of this API Resource.
    // ---
    // This struct is intended for direct use as an array at the field path .status.conditions.  For example,
    //
    // 	type FooStatus struct{
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

      /**
       * Returns a multimap view of the specified map. The multimap is backed by the map, so changes to
       * the map are reflected in the multimap, and vice versa. If the map is modified while an
       * iteration over one of the multimap's collection views is in progress (except through the
       * iterator's own {@code remove} operation, or through the {@code setValue} operation on a map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

        if (runtimeType instanceof TypeVariable) {
          // First bound is always the super class, if one exists.
          return boundAsSuperclass(((TypeVariable<?>) runtimeType).getBounds()[0]);
        }
        if (runtimeType instanceof WildcardType) {
          // wildcard has one and only one upper bound.
          return boundAsSuperclass(((WildcardType) runtimeType).getUpperBounds()[0]);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top