- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,750 for returns2 (0.26 sec)
-
src/internal/types/testdata/check/stmt0.go
continue } } } func returns0() { return return 0 /* ERROR "too many return values" */ } func returns1(x float64) (int, *float64) { return 0, &x return /* ERROR "not enough return values" */ return "foo" /* ERRORx `cannot .* in return statement` */, x /* ERRORx `cannot use .* in return statement` */ return 0, &x, 1 /* ERROR "too many return values" */ } func returns2() (a, b int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/definiteJumps/return2.txt
hasEscapingJumps = false hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return b, return -b, return a - b ] returnValueType = kotlin.Int valuedReturnExpressions = [ return b, return -b, return a - b ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 380 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/conditionalJumps/return2.txt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 481 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/definiteJumps/return3.txt
hasEscapingJumps = true hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return it, return@foo -it ] returnValueType = kotlin.Int valuedReturnExpressions = [ return it, return@foo -it ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 355 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/definiteJumps/return4.txt
hasEscapingJumps = true hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return@foo it, return -it ] returnValueType = kotlin.Int valuedReturnExpressions = [ return@foo it, return -it ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 355 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/conditionalJumps/return3.txt
expression = if (a + b > 0) return 0 else if (a - b < 0) consume(a - b) else consume(0) type = kotlin.Unit hasEscapingJumps = true hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return 0 ] returnValueType = kotlin.Int valuedReturnExpressions = [ return 0 ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 462 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/definiteJumps/return.txt
hasEscapingJumps = false hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return 1, return 2, return b ] returnValueType = kotlin.Int valuedReturnExpressions = [ return 1, return 2, return b ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 370 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/conditionalJumps/return.txt
type = kotlin.Unit hasEscapingJumps = true hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return 0 ] returnValueType = kotlin.Int valuedReturnExpressions = [ return 0 ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 386 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/differentTargets/return.txt
defaultExpressionInfo = null hasEscapingJumps = true hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = true jumpExpressions = [ return 1, return@block ] returnValueType = kotlin.Int valuedReturnExpressions = [ return 1 ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 330 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/languageConstructs/return.txt
defaultExpressionInfo = null hasEscapingJumps = false hasJumps = true hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [ return a + b ] returnValueType = kotlin.Int valuedReturnExpressions = [ return a + b ]
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 322 bytes - Viewed (0)