Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,836 for Defaults (0.12 sec)

  1. docs_src/cookie_params/tutorial001_py310.py

    from fastapi import Cookie, FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: str | None = Cookie(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 170 bytes
    - Viewed (0)
  2. cmd/mrf.go

    		}
    		// Read resync meta header
    		switch binary.LittleEndian.Uint16(data[0:2]) {
    		case healMRFMetaFormat:
    		default:
    			return fmt.Errorf("heal mrf: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    		}
    		switch binary.LittleEndian.Uint16(data[2:4]) {
    		case healMRFMetaVersionV1:
    		default:
    			return fmt.Errorf("heal mrf: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/httprange.go

    		}
    
    	case h.End > -1:
    		end := h.End
    		if resourceSize <= end {
    			end = resourceSize - 1
    		}
    		rangeLength = end - h.Start + 1
    
    	case h.End == -1:
    		rangeLength = resourceSize - h.Start
    
    	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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs_src/cookie_params/tutorial001.py

    from typing import Union
    
    from fastapi import Cookie, FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: Union[str, None] = Cookie(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 202 bytes
    - Viewed (0)
  5. cmd/site-replication-metrics_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Count")
    				return
    			}
    		case "Bytes":
    			z.Bytes, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Bytes")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z RStat) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/annotations/GwtCompatible.java

       *
       * @see <a href=
       *     "http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes">
       *     Documentation about GWT serialization</a>
       */
      boolean serializable() default false;
    
      /**
       * When {@code true}, the annotated type is emulated in GWT. The emulated source (also known as
       * super-source) is different from the implementation used by the JVM.
       *
       * @see <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

     * Implementation of {@link ImmutableMap} backed by a non-empty {@link java.util.EnumMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> {
      static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        //   <phases>
        //     <phase>pre-clean</phase>
        //     <phase>clean</phase>
        //     <phase>post-clean</phase>
        //   </phases>
        //   <default-phases>
        //     <clean>org.apache.maven.plugins:maven-clean-plugin:clean</clean>
        //   </default-phases>
        // </lifecycle>
    
        private String id;
    
        private List<String> phases;
    
        private Map<String, LifecyclePhase> defaultPhases;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/packaging/rpm/packaging.properties

    # Properties used to build to the RPM package
    #
    
    # Environment file
    packaging.env.file=/etc/sysconfig/fess
    
    # Default configuration directory and file to use in bin/plugin script
    
    # Simple marker to check that properties are correctly overridden
    packaging.type=rpm
    
    # Custom header for package scripts
    packaging.scripts.header=
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 420 bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial008.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 466 bytes
    - Viewed (0)
Back to top