Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,552 for pats (0.1 sec)

  1. docs/en/docs/tutorial/request-files.md

        But remember that when you import `Query`, `Path`, `File` and others from `fastapi`, those are actually functions that return special classes.
    
    !!! tip
        To declare File bodies, you need to use `File`, because otherwise the parameters would be interpreted as query parameters or body (JSON) parameters.
    
    The files will be uploaded as "form data".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/build.go

    		exist if its backing file path is empty. Support for the -overlay flag
    		has some limitations: importantly, cgo files included from outside the
    		include path must be in the same directory as the Go package they are
    		included from, and overlays will not appear when binaries and tests are
    		run through go run and go test respectively.
    	-pgo file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/nosql-databases-couchbase.md

    By creating a function that is only dedicated to getting your user from a `username` (or any other parameter) independent of your *path operation function*, you can more easily reuse it in multiple parts and also add <abbr title="Automated test, written in code, that checks if another piece of code is working correctly.">unit tests</abbr> for it:
    
    ```Python hl_lines="36-42"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ### f-strings
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    // unkeyed fields.
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.CompositeLit)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		cl := n.(*ast.CompositeLit)
    
    		typ := pass.TypesInfo.Types[cl].Type
    		if typ == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("pants", Iterators.find(iterator, Predicates.equalTo("pants")));
        assertFalse(iterator.hasNext());
      }
    
      public void testFind_notPresent() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InternetDomainName.java

       */
      private InternetDomainName(String name, ImmutableList<String> parts) {
        checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts.");
        this.name = name;
        this.parts = parts;
      }
    
      /**
       * The index in the {@link #parts()} list at which the public suffix begins. For example, for the
       * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. src/image/gif/writer_test.go

    		Image: []*image.Paletted{
    			image.NewPaletted(image.Rect(0, 0, w, h), pals[0]),
    			image.NewPaletted(image.Rect(0, 0, w, h), pals[1]),
    			image.NewPaletted(image.Rect(0, 0, w, h), pals[2]),
    			image.NewPaletted(image.Rect(0, 0, w, h), pals[3]),
    		},
    		Delay:    make([]int, len(pals)),
    		Disposal: make([]byte, len(pals)),
    		Config: image.Config{
    			ColorModel: pals[2],
    			Width:      w,
    			Height:     h,
    		},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/runtime/syscall_windows.go

    			srcStackOffset: p.srcStackSize,
    			dstStackOffset: p.dstStackSize,
    			len:            t.Size_,
    		}
    		// Add this step to the adapter.
    		if len(p.parts) == 0 || !p.parts[len(p.parts)-1].tryMerge(part) {
    			p.parts = append(p.parts, part)
    		}
    		// The Go ABI packs arguments.
    		p.dstStackSize += t.Size_
    	}
    
    	// cdecl, stdcall, fastcall, and arm pad arguments to word size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. cmd/xl-storage_windows_test.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/DefaultProjectDependencySpec.java

        @Override
        public String getDisplayName() {
            List<String> parts = new ArrayList<>();
            if (getProjectPath() != null) {
                parts.add("project '" + getProjectPath() + "'");
            }
            if (getLibraryName() != null) {
                parts.add("library '" + getLibraryName() + "'");
            }
            return Joiner.on(' ').join(parts);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top