- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 105 for getvar (0.33 sec)
-
test/range.go
} } // test that range evaluates the index and value expressions // exactly once per iteration. var ncalls = 0 func getvar(p *int) *int { ncalls++ return p } func testcalls() { var i, v int si := 0 sv := 0 for *getvar(&i), *getvar(&v) = range [2]int{1, 2} { si += i sv += v } if ncalls != 4 { println("wrong number of calls:", ncalls, "!= 4") panic("fail")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 05:50:54 UTC 2017 - 8.1K bytes - Viewed (0) -
test/range4.go
var ncalls = 0 func getvar(p *int) *int { ncalls++ return p } func iter2(list ...int) func(func(int, int) bool) { return func(yield func(int, int) bool) { for i, x := range list { if !yield(i, x) { return } } } } func testcalls() { var i, v int ncalls = 0 si := 0 sv := 0 for *getvar(&i), *getvar(&v) = range iter2(1, 2) { si += i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 16:00:53 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 7.6K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.ir.txt
$this: CALL 'public final fun callFoo (foo: <root>.Foo): kotlin.Int declared in <root>.ContextKt' type=kotlin.Int origin=null foo: GET_VAR 'p0: <root>.Foo declared in <root>.CodeFragment.run' type=<root>.Foo origin=null other: CALL 'public final fun callString (string: kotlin.String): kotlin.Int declared in <root>.ContextKt' type=kotlin.Int origin=null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.ir.txt
$this: CALL 'public open fun <get-length> (): kotlin.Int declared in kotlin.String' type=kotlin.Int origin=GET_PROPERTY $this: GET_VAR 'p0: kotlin.String declared in <root>.CodeFragment.run' type=kotlin.String origin=null other: CALL 'public open fun <get-length> (): kotlin.Int declared in kotlin.String' type=kotlin.Int origin=GET_PROPERTY
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Aug 30 06:38:44 UTC 2023 - 1.5K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/valueParameter.ir.txt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Aug 30 06:38:44 UTC 2023 - 1.7K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.ir.txt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Apr 26 06:04:06 UTC 2024 - 2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprLateInitializer.ir.txt
GET_VAR 'featuredPodcast: data.PodcastWithExtraInfo declared in home.preview' type=data.PodcastWithExtraInfo origin=null VAR name:podcast type:kotlin.String [val] CALL 'public final fun component1 (): kotlin.String [operator] declared in data.PodcastWithExtraInfo' type=kotlin.String origin=COMPONENT_N(index=1)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Apr 18 11:28:11 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/ctrlz/topics/env.go
fw.RenderHTML(w, tmpl, getVars()) }) _ = context.JSONRouter().StrictSlash(true).NewRoute().Methods("GET").Path("/").HandlerFunc(func(w http.ResponseWriter, req *http.Request) { fw.RenderJSON(w, http.StatusOK, getVars()) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 1.8K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunction.ir.txt
message: CALL 'public final fun repeat (n: kotlin.Int): kotlin.String declared in kotlin.text' type=kotlin.String origin=null $receiver: GET_VAR 'b: kotlin.String declared in <root>.test.call' type=kotlin.String origin=null n: GET_VAR 'a: kotlin.Int declared in <root>.test.call' type=kotlin.Int origin=null VAR name:x type:kotlin.Int [val] CONST Int type=kotlin.Int value=2
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 2.5K bytes - Viewed (0)