Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 542 for checkPkg (0.14 sec)

  1. src/go/types/check.go

    // guard against this behavior changing during the type checking pass.
    // Therefore we implement the following rule: any number of goroutines can type
    // check concurrently with the same EnableAlias value, but if any goroutine
    // tries to type check concurrently with a different EnableAlias value, we
    // panic.
    //
    // To achieve this, _aliasAny is a state machine:
    //
    //	0:        no type checking is occurring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check.go

    // during the type checking pass. Therefore we implement the following rule:
    // any number of goroutines can type check concurrently with the same
    // EnableAlias value, but if any goroutine tries to type check concurrently
    // with a different EnableAlias value, we panic.
    //
    // To achieve this, _aliasAny is a state machine:
    //
    //	0:        no type checking is occurring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/stdlib_test.go

    	}
    
    	start := time.Now()
    
    	// Though we read files while parsing, type-checking is otherwise CPU bound.
    	//
    	// This doesn't achieve great CPU utilization as many packages may block
    	// waiting for a common import, but in combination with the non-deterministic
    	// map iteration below this should provide decent coverage of concurrent
    	// type-checking (see golang/go#47729).
    	cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    // TypeCheckingResult holds the issues found during type checking, any returned
    // error, and the gvk that the type checking is performed against.
    type TypeCheckingResult struct {
    	// GVK is the associated GVK
    	GVK schema.GroupVersionKind
    	// Issues contain machine-readable information about the typechecking result.
    	Issues error
    	// Err is the possible error that was encounter during type checking.
    	Err error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/go/types/stdlib_test.go

    	}
    
    	start := time.Now()
    
    	// Though we read files while parsing, type-checking is otherwise CPU bound.
    	//
    	// This doesn't achieve great CPU utilization as many packages may block
    	// waiting for a common import, but in combination with the non-deterministic
    	// map iteration below this should provide decent coverage of concurrent
    	// type-checking (see golang/go#47729).
    	cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    // "/livez" to mux. *All handlers* for mux must be specified in
    // exactly one call to InstallHandler. Calling InstallHandler more
    // than once for the same mux will result in a panic.
    func InstallLivezHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/livez", checks...)
    }
    
    // InstallPathHandler registers handlers for health checking on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/named.go

    //  4. instantiated from a generic type
    //
    // In cases 1, 3, and 4, it is possible that the underlying type or methods of
    // N may not be immediately available.
    //  - During type-checking, we allocate N before type-checking its underlying
    //    type or methods, so that we may resolve recursive references.
    //  - When loading from export data, we may load its methods and underlying
    //    type lazily using a provided load function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api.go

    // Package types2 declares the data types and implements
    // the algorithms for type-checking of Go packages. Use
    // Config.Check to invoke the type checker for a package.
    // Alternatively, create a new type checker with NewChecker
    // and invoke it incrementally by calling Checker.Files.
    //
    // Type-checking consists of several interdependent phases:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. src/go/types/api.go

    // Package types declares the data types and implements
    // the algorithms for type-checking of Go packages. Use
    // [Config.Check] to invoke the type checker for a package.
    // Alternatively, create a new type checker with [NewChecker]
    // and invoke it incrementally by calling [Checker.Files].
    //
    // Type-checking consists of several interdependent phases:
    //
    // Name resolution maps each identifier ([ast.Ident]) in the program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    	val, _ := json.Marshal(original.UnstructuredContent())
    	if _, err := etcdclient.Put(ctx, key, string(val)); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	t.Logf("Checking that invalid objects can be deleted")
    	noxuResourceClient := newNamespacedCustomResourceClient("default", dynamicClient, noxuDefinition)
    	if err := noxuResourceClient.Delete(context.TODO(), "foo", metav1.DeleteOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top