- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 464 for checkDep (0.27 sec)
-
src/cmd/compile/internal/types2/labels.go
// license that can be found in the LICENSE file. package types2 import ( "cmd/compile/internal/syntax" . "internal/types/errors" ) // labels checks correct label use in body. func (check *Checker) labels(body *syntax.BlockStmt) { // set of all labels in this body all := NewScope(nil, body.Pos(), syntax.EndPos(body), "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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy
SimpleMessage(ValidationMessageChecker checker) { super(checker) } } static class MutableTypeWithSetter extends ValidationMessageDisplayConfiguration<MutableTypeWithSetter> { String propertyType MutableTypeWithSetter(ValidationMessageChecker checker) { super(checker) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 42.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
* RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void executeListener(Runnable runnable, Executor executor) { try { executor.execute(runnable); } catch (Exception e) { // sneaky checked exception // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (1) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
* RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void executeListener(Runnable runnable, Executor executor) { try { executor.execute(runnable); } catch (Exception e) { // sneaky checked exception // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (1)