Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 647 for better (0.11 sec)

  1. src/cmd/compile/internal/types2/stmt.go

    		if !scope.isFunc {
    			check.usage(scope)
    		}
    	}
    }
    
    // stmtContext is a bitset describing which
    // control-flow statements are permissible,
    // and provides additional context information
    // for better error messages.
    type stmtContext uint
    
    const (
    	// permissible control-flow statements
    	breakOk stmtContext = 1 << iota
    	continueOk
    	fallthroughOk
    
    	// additional context information
    	finalSwitchCase
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/sql-databases.md

    ...although in this example we are only creating and reading.
    
    ### Read data
    
    Import `Session` from `sqlalchemy.orm`, this will allow you to declare the type of the `db` parameters and have better type checks and completion in your functions.
    
    Import `models` (the SQLAlchemy models) and `schemas` (the Pydantic *models* / schemas).
    
    Create utility functions to:
    
    * Read a single user by ID and by email.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. src/cmd/trace/procgen.go

    		// This means the syscall blocked. We need to emit it to the
    		// viewer at this point because we only display the time the
    		// syscall occupied a P when the viewer is in per-P mode.
    		//
    		// TODO(mknyszek): We could do better in a per-M mode because
    		// all events have to happen on *some* thread, and in v2 traces
    		// we know what that thread is.
    		gs, ok := g.inSyscall[proc]
    		if ok {
    			// Emit syscall slice for blocked syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/envoyfilter.go

    	`^1\.16.*`: "1.16",
    	`^1\.17.*`: "1.17",
    	`^1\.18.*`: "1.18",
    	`^1\.19.*`: "1.19",
    	`^1\.20.*`: "1.20",
    	`^1\.21.*`: "1.21",
    	`^1\.22.*`: "1.22",
    	`^1\.23.*`: "1.23",
    	// Hopefully we have a better API by 1.23. If not, add it here
    }
    
    // convertToEnvoyFilterWrapper converts from EnvoyFilter config to EnvoyFilterWrapper object
    func convertToEnvoyFilterWrapper(local *config.Config) *EnvoyFilterWrapper {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 13:57:28 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/go/types/stmt.go

    		if !scope.isFunc {
    			check.usage(scope)
    		}
    	}
    }
    
    // stmtContext is a bitset describing which
    // control-flow statements are permissible,
    // and provides additional context information
    // for better error messages.
    type stmtContext uint
    
    const (
    	// permissible control-flow statements
    	breakOk stmtContext = 1 << iota
    	continueOk
    	fallthroughOk
    
    	// additional context information
    	finalSwitchCase
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-responses.md

                    * **FastAPI** adds a reference here to the global JSON Schemas in another place in your OpenAPI instead of including it directly. This way, other applications and clients can use those JSON Schemas directly, provide better code generation tools, etc.
    
    The generated responses in the OpenAPI for this *path operation* will be:
    
    ```JSON hl_lines="3-12"
    {
        "responses": {
            "404": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    	memLimit := memoryLimit.Value()
    
    	if !cpuLimit.IsZero() {
    		// Since Kubernetes doesn't have any notion of weight in the Pod/Container API, only limits/reserves, then applying CpuMaximum only
    		// will better follow the intent of the user. At one point CpuWeights were set, but this prevented limits from having any effect.
    
    		// There are 3 parts to how this works:
    		// Part one - Windows kernel
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/pos.go

    	abs := position_{pos.Base().Pos().RelFilename(), pos.Line(), pos.Col()}
    	s := rel.String()
    	if rel != abs {
    		s += "[" + abs.String() + "]"
    	}
    	return s
    }
    
    // TODO(gri) cleanup: find better name, avoid conflict with position in error_test.go
    type position_ struct {
    	filename  string
    	line, col uint
    }
    
    func (p position_) String() string {
    	if p.line == 0 {
    		if p.filename == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/os/dir.go

    // nil error. If it encounters an error before the end of the
    // directory, Readdir returns the FileInfo read until that point
    // and a non-nil error.
    //
    // Most clients are better served by the more efficient ReadDir method.
    func (f *File) Readdir(n int) ([]FileInfo, error) {
    	if f == nil {
    		return nil, ErrInvalid
    	}
    	_, _, infos, err := f.readdir(n, readdirFileInfo)
    	if infos == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

              runAsUser: 1338
              runAsGroup: 1338
            command:
            - bash
            - -c
            - |-
              # Sudo and ulimits is problematic. There must be a better way to do this, but for now we can hack it
              # See https://superuser.com/questions/1733614/how-to-configure-core-dumps-ulimit-c-from-within-sudo-within-docker
              function override_core_limits() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top