- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for actualTypes (0.26 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/isolated/IsolationScheme.java
return true; } Type[] actualTypes = parameterizedType.getActualTypeArguments(); Type[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters(); for (int i = 0; i < typeParameters.length; i++) { Type firstActualInTypeChain = collectedTypeParameters.getOrDefault(actualTypes[i], actualTypes[i]);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 23.6K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor_test.go
isNotNil: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { i = 0 actualBytes, actualErr := readHttpWithRetries(tt.httpRetries, tt.args.duration, tt.args.u, tt.args.attempts) if tt.isNotNil { assert.Nil(t, actualErr) assert.NotNil(t, actualBytes) } else { if tt.expectedErr != nil { assert.Equal(t, tt.expectedErr, actualErr) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/Exceptions.kt
*/ package org.gradle.kotlin.dsl.support import kotlin.reflect.KClass fun illegalElementType(container: Any, name: String, expectedType: KClass<*>, actualType: KClass<*>) = IllegalArgumentException( "Element '$name' of type '${actualType.java.name}' from container '$container' cannot be cast to '${expectedType.qualifiedName}'." ) internal fun internalError(): Nothing =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
rt.buf = bytes.NewBufferString("") printConfiguration(rt.cfg, rt.buf, &output.TextPrinter{}) actualBytes := rt.buf.Bytes() if !bytes.Equal(actualBytes, rt.expectedBytes) { t.Errorf( "failed PrintConfiguration:\n\texpected: %q\n\t actual: %q", string(rt.expectedBytes), string(actualBytes), ) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/dryrunclient_test.go
rt.buf = bytes.NewBufferString("") logDryRunAction(rt.action, rt.buf, DefaultMarshalFunc) actualBytes := rt.buf.Bytes() if !bytes.Equal(actualBytes, rt.expectedBytes) { t.Errorf( "failed LogDryRunAction:\n\texpected bytes: %q\n\t actual: %q", rt.expectedBytes, actualBytes, ) } }) } } func TestDiscoveryServerVersion(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 09:49:59 UTC 2022 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt
action: String, baseType: KClass<*>, actualType: Class<*>, documentationSection: DocumentationSection = DocumentationSection.RequirementsDisallowedTypes, appendix: StructuredMessageBuilder = {} ) { logUnsupported(action, documentationSection, appendix) { text(" object of type ") reference(actualType) text(", a subtype of ") reference(baseType) text(",")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
// Test MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); map.put(expectedBytes); // Verify byte[] actualBytes = Files.toByteArray(file); assertTrue(Arrays.equals(expectedBytes, actualBytes)); } public void testMap_readWrite_creates() throws IOException { // Test data int size = 1024; byte[] expectedBytes = newPreFilledByteArray(1024);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt
fun KType.hasCompatibleTypeArguments(api: KType) = arguments.size == api.arguments.size && arguments.indices.all { idx -> val expectedType = arguments[idx].type val actualType = api.arguments[idx].type expectedType?.let { e -> actualType?.let { a -> e.isTypeArgumentCompatibleWith(a) } } ?: false } private fun KType.isTypeArgumentCompatibleWith(api: KType) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
// Test MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); map.put(expectedBytes); // Verify byte[] actualBytes = Files.toByteArray(file); assertTrue(Arrays.equals(expectedBytes, actualBytes)); } public void testMap_readWrite_creates() throws IOException { // Test data int size = 1024; byte[] expectedBytes = newPreFilledByteArray(1024);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0)