Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 951 for checkDep (0.61 sec)

  1. src/go/types/labels.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"go/ast"
    	"go/token"
    	. "internal/types/errors"
    )
    
    // labels checks correct label use in body.
    func (check *Checker) labels(body *ast.BlockStmt) {
    	// set of all labels in this body
    	all := NewScope(nil, body.Pos(), body.End(), "label")
    
    	fwdJumps := check.blockBranches(all, nil, nil, body.List)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stmt.go

    			}
    		}
    	}
    }
    
    func (check *Checker) openScope(node syntax.Node, comment string) {
    	check.openScopeUntil(node, syntax.EndPos(node), comment)
    }
    
    func (check *Checker) openScopeUntil(node syntax.Node, end syntax.Pos, comment string) {
    	scope := NewScope(check.scope, node.Pos(), end, comment)
    	check.recordScope(node, scope)
    	check.scope = scope
    }
    
    func (check *Checker) closeScope() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			expectEsimatedCost: func(c checker.CostEstimate) checker.CostEstimate {
    				return checker.CostEstimate{Min: c.Min + 5, Max: c.Max + 9}
    			},
    			expectRuntimeCost: func(c uint64) uint64 { return c + 5 },
    		},
    		{
    			ops: []string{".containsCIDR(cidr('192.168.0.0/16'))"},
    			expectEsimatedCost: func(c checker.CostEstimate) checker.CostEstimate {
    				return checker.CostEstimate{Min: c.Min + 5, Max: c.Max + 9}
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/preflight/checks_other.go

    // No-op for Darwin (MacOS), Windows.
    func addIPv6Checks(checks []Checker) []Checker {
    	return checks
    }
    
    // addIPv4Checks adds IPv4 related checks
    // No-op for Darwin (MacOS), Windows.
    func addIPv4Checks(checks []Checker) []Checker {
    	return checks
    }
    
    // addSwapCheck adds a swap check
    // No-op for Darwin (MacOS), Windows.
    func addSwapCheck(checks []Checker) []Checker {
    	return checks
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 23 07:37:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/internal/trace/batchcursor_test.go

    	"slices"
    )
    
    func TestHeap(t *testing.T) {
    	var heap []*batchCursor
    
    	// Insert a bunch of values into the heap.
    	checkHeap(t, heap)
    	heap = heapInsert(heap, makeBatchCursor(5))
    	checkHeap(t, heap)
    	for i := int64(-20); i < 20; i++ {
    		heap = heapInsert(heap, makeBatchCursor(i))
    		checkHeap(t, heap)
    	}
    
    	// Update an element in the middle to be the new minimum.
    	for i := range heap {
    		if heap[i].ev.time == 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

            """
    
            when:
            repositoryInteractions {
                'org:foo:1.0' {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org:foo:{strictly 1.0}", "org:foo:1.0")
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    "checker". For example, the printf checker reports mistakes in
    fmt.Printf format strings.
    
    A "modular" analysis is one that inspects one package at a time but can
    save information from a lower-level package and use it when inspecting a
    higher-level package, analogous to separate compilation in a toolchain.
    The printf checker is modular: when it discovers that a function such as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyNotationIntegrationSpec.groovy

            succeeds 'checkDeps'
        }
    
        def "fails gracefully for invalid notations"() {
            when:
            buildFile <<  """
    configurations {
        conf
    }
    
    dependencies {
        conf 100
    }
    
    task checkDeps
    """
            then:
            fails 'checkDeps'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:17:32 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

            buildFile << """
                dependencies {
                    implementation 'org.readonly:core:1.0'
                }
            """
    
            when:
            withReadOnlyCache()
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    module('org.readonly:core:1.0')
                }
            }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	}
    	return 1
    }
    
    func (l *CostEstimator) sizeEstimate(t checker.AstNode) checker.SizeEstimate {
    	if sz := t.ComputedSize(); sz != nil {
    		return *sz
    	}
    	if sz := l.EstimateSize(t); sz != nil {
    		return *sz
    	}
    	return checker.SizeEstimate{Min: 0, Max: math.MaxUint64}
    }
    
    func (l *CostEstimator) listElementNode(list checker.AstNode) checker.AstNode {
    	if params := list.Type().Parameters(); len(params) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top