- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for checkType (0.14 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/proto.go
default: return nil, fmt.Errorf("unknown wire type: %d", b.typ) } return data, nil } func checkType(b *buffer, typ int) error { if b.typ != typ { return errors.New("type mismatch") } return nil } func decodeMessage(b *buffer, m message) error { if err := checkType(b, 2); err != nil { return err } dec := m.decoder() data := b.data for len(data) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 7.4K bytes - Viewed (0) -
src/internal/profile/proto.go
default: return nil, fmt.Errorf("unknown wire type: %d", b.typ) } return data, nil } func checkType(b *buffer, typ int) error { if b.typ != typ { return errors.New("type mismatch") } return nil } func decodeMessage(b *buffer, m message) error { if err := checkType(b, 2); err != nil { return err } dec := m.decoder() data := b.data for len(data) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 16:20:57 UTC 2022 - 6.8K bytes - Viewed (0) -
internal/hash/checksum.go
} } return t, s } checkType := func(c ChecksumType) { if got := h.Get(c.Key()); got != "" { // If already set, invalid if t != ChecksumNone { t = ChecksumInvalid s = "" } else { t = c s = got } return } } checkType(ChecksumCRC32) checkType(ChecksumCRC32C) checkType(ChecksumSHA1) checkType(ChecksumSHA256) return t, s
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0) -
pkg/volume/hostpath/host_path.go
return ftc.path } func newFileTypeChecker(path string, hu hostutil.HostUtils) hostPathTypeChecker { return &fileTypeChecker{path: path, hu: hu} } // checkType checks whether the given path is the exact pathType func checkType(path string, pathType *v1.HostPathType, hu hostutil.HostUtils) error { return checkTypeInternal(newFileTypeChecker(path, hu), pathType) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
return getAnnotation(type, annotationType, true); } @Nullable private static <A extends Annotation> A getAnnotation(Class<?> type, Class<A> annotationType, boolean checkType) { A annotation; if (checkType) { annotation = type.getAnnotation(annotationType); if (annotation != null) { return annotation; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
src/encoding/gob/type_test.go
if err != nil { panic("getTypeUnlocked: " + err.Error()) } return t } // Sanity checks func TestBasic(t *testing.T) { for _, tt := range basicTypes { if tt.id.string() != tt.str { t.Errorf("checkType: expected %q got %s", tt.str, tt.id.string()) } if tt.id == 0 { t.Errorf("id for %q is zero", tt.str) } } } // Reregister some basic types to check registration is idempotent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:26:13 UTC 2023 - 6.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt
abstract class AbstractSemanticSubtypingTest : AbstractAnalysisApiBasedTest() { protected abstract val resultDirective: StringDirective protected abstract fun KaSession.checkTypes( expectedResult: Boolean, type1: KaType, type2: KaType, testServices: TestServices, ) override fun configureTest(builder: TestConfigurationBuilder) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.9K bytes - Viewed (0)