Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for refMap (0.23 sec)

  1. pkg/test/framework/scope.go

    }
    
    func (s *scope) get(ref any) error {
    	s.mu.Lock()
    	defer s.mu.Unlock()
    
    	refVal := reflect.ValueOf(ref)
    	if refVal.Kind() != reflect.Ptr {
    		return fmt.Errorf("ref must be a pointer instead got: %T", ref)
    	}
    	// work with the underlying value rather than the pointer
    	refVal = refVal.Elem()
    
    	targetT := refVal.Type()
    	if refVal.Kind() == reflect.Slice {
    		// for slices look at the element type
    		targetT = targetT.Elem()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 21:55:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/iam/access-manager-plugin.go

    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    
    	reqMap := make(map[string]interface{})
    	err = json.Unmarshal(body, &reqMap)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	m := reqMap["input"].(map[string]interface{})
    	accountValue := m["account"].(string)
    	actionValue := m["action"].(string)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cookie-params.md

    !!! info
        To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/runtime/mem_linux.go

    	case madviseUnsupported:
    		// Since Linux 3.18, support for madvise is optional.
    		// Fall back on mmap if it's not supported.
    		// _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE will unmap all the
    		// pages in the old mapping, and remap the memory region.
    		mmap(v, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE, -1, 0)
    	}
    
    	if debug.harddecommit > 0 {
    		p, err := mmap(v, n, _PROT_NONE, _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE, -1, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/UrlBackedArtifactMetadata.java

            if (componentIdentifier instanceof MavenUniqueSnapshotComponentIdentifier) {
                // This special case is for Maven snapshots with Gradle Module Metadata when we need to remap the file name, which
                // corresponds to the unique timestamp, to the SNAPSHOT version, for backwards compatibility
                return new DefaultModuleComponentArtifactIdentifier(
                    componentIdentifier,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/request-forms-and-files.md

        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-forms.md

        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-fields.md

        As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ## Recap
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/mpagealloc_64bit.go

    		return summaryRangeToSumAddrRange(level, sumIdxBase, sumIdxLimit)
    	}
    
    	// Find the first inUse index which is strictly greater than base.
    	//
    	// Because this function will never be asked remap the same memory
    	// twice, this index is effectively the index at which we would insert
    	// this new growth, and base will never overlap/be contained within
    	// any existing range.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/header-params.md

    ```
    X-Token: foo
    X-Token: bar
    ```
    
    The response would be like:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recap
    
    Declare headers with `Header`, using the same common pattern as `Query`, `Path` and `Cookie`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top