- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for paramList (0.21 sec)
-
src/cmd/compile/internal/types2/signature.go
if recvPar != nil { recvList, _ = check.collectParams(scope, []*syntax.Field{recvPar}, false, scopePos) // use rewritten receiver type, if any } params, variadic := check.collectParams(scope, ftyp.ParamList, true, scopePos) results, _ := check.collectParams(scope, ftyp.ResultList, false, scopePos) scope.Squash(func(obj, alt Object) { err := check.newError(DuplicateDecl)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
} if n.Values != nil { p.print(blank, _Assign, blank, n.Values) } case *TypeDecl: if n.Group == nil { p.print(_Type, blank) } p.print(n.Name) if n.TParamList != nil { p.printParameterList(n.TParamList, _Type) } p.print(blank) if n.Alias { p.print(_Assign, blank) } p.print(n.Type) case *VarDecl: if n.Group == nil { p.print(_Var, blank) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/resolver.go
code := InvalidInitDecl if name == "main" { code = InvalidMainDecl } if len(s.TParamList) != 0 { check.softErrorf(s.TParamList[0], code, "func %s must have no type parameters", name) hasTParamError = true } if t := s.Type; len(t.ParamList) != 0 || len(t.ResultList) != 0 { check.softErrorf(s.Name, code, "func %s must have no arguments and no return values", name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
from fastapi import FastAPI, Path, Query from fastapi.testclient import TestClient app = FastAPI() @app.get("/int/{param:int}") def int_convertor(param: int = Path()): return {"int": param} @app.get("/float/{param:float}") def float_convertor(param: float = Path()): return {"float": param} @app.get("/path/{param:path}") def path_convertor(param: str = Path()): return {"path": param}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
test_case_name += test_info->test_case_base_name; int i = 0; for (typename ParamGenerator<ParamType>::iterator param_it = generator.begin(); param_it != generator.end(); ++param_it, ++i) { Message test_name_stream; test_name_stream << test_info->test_base_name << "/" << i; MakeAndRegisterTestInfo(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 23.6K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
test_case_name += test_info->test_case_base_name; int i = 0; for (typename ParamGenerator<ParamType>::iterator param_it = generator.begin(); param_it != generator.end(); ++param_it, ++i) { Message test_name_stream; test_name_stream << test_info->test_base_name << "/" << i; MakeAndRegisterTestInfo(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
// instantiated type w.typeList(t.inst.targs.list()) } else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams // parameterized type w.tParamList(t.TypeParams().list()) } case *TypeParam: if t.obj == nil { w.error("unnamed type parameter") break } if i := tparamIndex(w.tparams.list(), t); i >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/go/types/typestring.go
// instantiated type w.typeList(t.inst.targs.list()) } else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams // parameterized type w.tParamList(t.TypeParams().list()) } case *TypeParam: if t.obj == nil { w.error("unnamed type parameter") break } if i := tparamIndex(w.tparams.list(), t); i >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt
clientTestRule.newClient().newCall(Request(server.url("/"))).execute().use { assertThat(it.code).isEqualTo(200) } } @ParameterizedTest @ValueSource(ints = [1, 2]) fun paramTest( instance: Int, server: MockWebServer, ) { assertThat(server).isSameInstanceAs(instanceServer) } companion object { private lateinit var staticServer: MockWebServer @JvmStatic
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 11 12:12:36 UTC 2024 - 3K bytes - Viewed (0)