- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for subNames (0.19 sec)
-
src/testing/match.go
} // unique creates a unique name for the given parent and subname by affixing it // with one or more counts, if necessary. func (m *matcher) unique(parent, subname string) string { base := parent + "/" + subname for { n := m.subNames[base] if n < 0 { panic("subtest count overflow") } m.subNames[base] = n + 1 if n == 0 && subname != "" { prefix, nn := parseSubtestNumber(base)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0) -
tests/test_openapi_separate_input_output_schemas.py
}, "type": "object", "required": ["subname"], "title": "SubItem", }, "SubItem-Output": { "properties": { "subname": {"type": "string", "title": "Subname"}, "sub_description": {
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 18.4K bytes - Viewed (0) -
src/testing/match_test.go
seen = make(map[string]string) } reset() f.Fuzz(func(t *T, subname string) { if len(subname) > 10 { // Long names attract the OOM killer. t.Skip() } name := m.unique(parent.name, subname) if !strings.Contains(name, "/"+subname) { t.Errorf("name %q does not contain subname %q", name, subname) } if prev, ok := seen[name]; ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 14:48:54 UTC 2022 - 8K bytes - Viewed (0) -
src/debug/dwarf/open.go
// the ".debug_abbrev" section. func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) { d := &Data{ abbrev: abbrev, aranges: aranges, frame: frame, info: info, line: line, pubnames: pubnames, ranges: ranges, str: str, abbrevCache: make(map[uint64]abbrevTable),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 4.1K bytes - Viewed (0) -
schema/index.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go
t.Errorf("got field type %v, wanted mock_template.nested", nestedFieldType.Type) } subnameFieldType, found := rt.FindFieldType("CustomObject.nested", "subname") if !found { t.Fatal("got field not found for 'CustomObject.nested.subname', wanted found") } if subnameFieldType.Type.GetPrimitive() != exprpb.Type_STRING { t.Errorf("got field type %v, wanted string", subnameFieldType.Type) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/EitherTest.groovy
left.mapRight({ assert false }).left.get() == LEFT right.mapRight({ assert it == RIGHT; RIGHT2 }).right.get() == RIGHT2 right.mapLeft({ assert false }).right.get() == RIGHT } def "fold() subsumes flatMap()"() { expect: left.fold({ assert it == LEFT; either(LEFT2) }, { assert false }).left.get() == LEFT2 right.fold({ assert false }, { assert it == RIGHT; either(RIGHT2) }).right.get() == RIGHT2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/test/framework/resource/matcher.go
i++ case '/': if cs == 0 && cp == 0 { a = append(a, s[:i]) s = s[i+1:] i = 0 continue } } i++ } return append(a, s) } // rewrite rewrites a subname to having only printable characters and no white // space. // From go/src/testing/match.go func rewrite(s string) string { b := []byte{} for _, r := range s { switch { case isSpace(r):
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
// required: // - name // - value // properties: // name: // type: string // nested: // type: object // properties: // subname: // type: string // flags: // type: object // additionalProperties: // type: boolean // dates: // type: array // items:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go
// required: // - name // - value // properties: // name: // type: string // nested: // type: object // properties: // subname: // type: string // flags: // type: object // additionalProperties: // type: boolean // dates: // type: array // items:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 17:18:27 UTC 2022 - 13K bytes - Viewed (0)