Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 6,449 for _return (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

        parameterNamesAndValues += value
        s = parameter.range.last + 1
      }
    
      return MediaType(this, type, subtype, parameterNamesAndValues.toTypedArray())
    }
    
    /** Returns a media type for this, or null if this is not a well-formed media type. */
    fun String.commonToMediaTypeOrNull(): MediaType? {
      return try {
        commonToMediaType()
      } catch (_: IllegalArgumentException) {
        null
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. internal/kms/conn.go

    )
    
    // Type identifies the KMS type.
    type Type uint
    
    // String returns the Type's string representation
    func (t Type) String() string {
    	switch t {
    	case MinKMS:
    		return "MinIO KMS"
    	case MinKES:
    		return "MinIO KES"
    	case Builtin:
    		return "MinIO builtin"
    	default:
    		return "!INVALID:" + strconv.Itoa(int(t))
    	}
    }
    
    // Status describes the current state of a KMS.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    		return authTypeStreamingUnsignedTrailer
    	} else if isRequestSignatureV4(r) {
    		return authTypeSigned
    	} else if isRequestPresignedSignatureV4(r) {
    		return authTypePresigned
    	} else if isRequestJWT(r) {
    		return authTypeJWT
    	} else if isRequestPostPolicySignatureV4(r) {
    		return authTypePostPolicy
    	} else if _, ok := r.Form[xhttp.Action]; ok {
    		return authTypeSTS
    	} else if _, ok := r.Header[xhttp.Authorization]; !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue(Files.isFile().apply(asciiFile));
      }
    
      /** Returns a root path for the file system. */
      private static File root() {
        return File.listRoots()[0];
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(String first, String... more) {
        return file(new File(first), more);
      }
    
      /** Returns a {@code File} object for the given path parts. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. internal/grid/grid_types_msgp_test.go

    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z testRequest) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Num"
    	err = en.Append(0x82, 0xa3, 0x4e, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Num)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
        RegularImmutableSortedSet<Range<K>> rangeSet =
            new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering());
        return new ImmutableSortedMap<>(rangeSet, values);
      }
    
      @Override
      public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FluentFuture.java

          return super.get();
        }
    
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get(long timeout, TimeUnit unit)
            throws InterruptedException, ExecutionException, TimeoutException {
          return super.get(timeout, unit);
        }
    
        @Override
        public final boolean isDone() {
          return super.isDone();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HostAndPort.java

       *
       * @since 20.0 (since 10.0 as {@code getHostText})
       */
      public String getHost() {
        return host;
      }
    
      /** Return true if this instance has a defined port. */
      public boolean hasPort() {
        return port >= 0;
      }
    
      /**
       * Get the current port number, failing if no port is defined.
       *
       * @return a validated port number, in the range [0..65535]
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range ef.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    	if err := ef.Purge.Validate(); err != nil {
    		return err
    	}
    	if err := ef.Size.Validate(); err != nil {
    		return err
    	}
    	if ef.CreatedBefore != nil && !ef.CreatedBefore.Before(time.Now()) {
    		return BatchJobYamlErr{
    			line: ef.line,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    				return nil
    			}
    		}
    		configData, err := base64.StdEncoding.DecodeString(*versioning)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		_, err = globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		return nil
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top