Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,147 for type2 (0.32 seconds)

  1. fastapi/dependencies/utils.py

        return values, errors
    
    
    def is_union_of_base_models(field_type: Any) -> bool:
        """Check if field type is a Union where all members are BaseModel subclasses."""
        from fastapi.types import UnionType
    
        origin = get_origin(field_type)
    
        # Check if it's a Union type (covers both typing.Union and types.UnionType in Python 3.10+)
        if origin is not Union and origin is not UnionType:
            return False
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  2. cmd/postpolicyform.go

    	}
    
    	// Parse conditions.
    	for _, val := range rawPolicy.Conditions {
    		switch condt := val.(type) {
    		case map[string]any: // Handle key:value map types.
    			for k, v := range condt {
    				if !isString(v) { // Pre-check value type.
    					// All values must be of type string.
    					return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form", reflect.TypeOf(condt).String(), condt)
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Stopwatch.java

       *
       * <p>It is generally not a good idea to use an ambiguous, unitless {@code long} to represent
       * elapsed time. Therefore, we recommend using {@link #elapsed()} instead, which returns a
       * strongly-typed {@link Duration} instance.
       *
       * @since 14.0 (since 10.0 as {@code elapsedTime()})
       */
      public long elapsed(TimeUnit desiredUnit) {
        return desiredUnit.convert(elapsedNanos(), NANOSECONDS);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

     *             type("kotlin-library", "jar", "kotlin"),
     *             type("docker-image", "tar.gz", null)
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Type
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        /**
         * Determines the user agent type from the current HTTP request.
         * The method analyzes the User-Agent header to categorize the browser type
         * and caches the result in the request attribute for subsequent calls.
         *
         * @return the detected user agent type, or OTHER if no specific type is detected
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Defaults.java

       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings({
        "unchecked",
        "BooleanLiteral" // `(T) false` would produce an error
      })
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
            return (T) Boolean.FALSE;
          } else if (type == char.class) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  7. api/go1.5.txt

    pkg go/types, func ExprString(ast.Expr) string
    pkg go/types, func Id(*Package, string) string
    pkg go/types, func Identical(Type, Type) bool
    pkg go/types, func Implements(Type, *Interface) bool
    pkg go/types, func IsInterface(Type) bool
    pkg go/types, func LookupFieldOrMethod(Type, bool, *Package, string) (Object, []int, bool)
    pkg go/types, func MissingMethod(Type, *Interface, bool) (*Func, bool)
    pkg go/types, func NewArray(Type, int64) *Array
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                    throws ToolchainManagerException {
                return getDelegate().getToolchains(session, type);
            }
        }
    
        public class DefaultToolchainManagerV3 implements ToolchainManager, ToolchainManagerPrivate {
    
            @Override
            public Toolchain getToolchainFromBuildContext(String type, MavenSession session) {
                return getDelegate()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <p>
         * If <code>type</code> is not an array of parameterized types, <code>null</code> is returned.
         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the array, or null if not an array of parameterized types
         */
        public static Type getElementTypeOfArray(final Type type) {
            if (!(type instanceof GenericArrayType)) {
                return null;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/labeltype/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing label types in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing label type entries,
     * including tracking information for optimistic locking and audit trails.
     * Label types are used to categorize and filter documents in search results.
     *
     */
    public class EditForm extends CreateForm {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top