- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readScope (0.14 sec)
-
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt
return newType } private fun ReadContext.readScope(): ClassLoaderScope { val id = readSmallInt() val scope = scopes.getInstance(id) if (scope != null) { return scope as ClassLoaderScope } val parent = if (readBoolean()) { readScope() } else { ownerService<ClassLoaderScopeRegistry>().coreAndPluginsScope
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/internal/types/errors/codes_test.go
err := checkExample(t, example) if err == nil { t.Fatalf("no error in example #%d", i) } typerr, ok := err.(Error) if !ok { t.Fatalf("not a types.Error: %v", err) } if got := readCode(typerr); got != value { t.Errorf("%s: example #%d returned code %d (%s), want %d", name, i, got, err, value) } } }) }) } func walkCodes(t *testing.T, f func(string, int, *ast.ValueSpec)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:41:45 UTC 2022 - 4.9K bytes - Viewed (0) -
src/go/types/check_test.go
for line, errList := range filemap { for _, err := range errList { t.Errorf("%s:%d:%d: %s", filename, line, err.col, err.text) } } } } } func readCode(err Error) errors.Code { v := reflect.ValueOf(err) return errors.Code(v.FieldByName("go116code").Int()) } // boolFieldAddr(conf, name) returns the address of the boolean field conf.<name>.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0)