- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 7,652 for Require (0.65 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java
this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry"); } @Override public ArtifactType get(String typeId) { Type type = typeRegistry.require(typeId); if (type instanceof ArtifactType artifactType) { return artifactType; } return new DefaultType( type.id(), type.getLanguage(),
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 18 22:21:33 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetMultimapReplaceValuesTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesHandlesDuplicates() { List<V> values = asList(v0(), v1(), v0()); for (K k : sampleKeys()) { resetContainer();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
) private val deflaterSink = DeflaterSink(deflatedBytes, deflater) /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */ @Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size) deflaterSink.flush()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java
* create a custom {@code Type} for it. * * @param id the id of the type to retrieve * @return the type */ @Nonnull @Override default Type require(@Nonnull String id) { return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'")); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 1.7K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
import ( "github.com/minio/minio/internal/bucket/replication" "github.com/tinylib/msgp/msgp" ) // MarshalMsg implements msgp.Marshaler func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendInt(o, int(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 int
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 71.7K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
} } } private fun generateForFile(file: FileTreeElement) { val fileContent = file.file.readText() val relativePath = file.relativePath.toString() require(!fileContent.contains("'''")) { "The class with class='autoTested' can't contains triple quotes: $relativePath" } if (!sampleStart.matcher(fileContent).find()) { return }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListMultimapEqualsTester<K, V> extends AbstractListMultimapTester<K, V> { @CollectionSize.Require(SEVERAL) public void testOrderingAffectsEqualsComparisons() { ListMultimap<K, V> multimap1 = getSubjectGenerator() .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
} } } @Override public ArtifactHandler getArtifactHandler(String id) { return allHandlers.computeIfAbsent(id, k -> { Type type = typeRegistry.require(id); return new DefaultArtifactHandler( id, type.getExtension(), type.getClassifier(), null, null,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 3.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt
} companion object { @VisibleForTesting @JvmStatic fun selectVersionsFrom(minimumSupported: String, allVersions: List<String>): List<String> { require(minimumSupported in allVersions) { "Minimum supported '$minimumSupported' was not found in available versions: $allVersions" } val versionsByMinor = allVersionsRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Oct 29 08:29:55 UTC 2025 - 4.3K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
err = msgp.WrapError(err, "Cache") return } } return } // MarshalMsg implements msgp.Marshaler func (z *nsScannerOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 3 // string "id" o = append(o, 0x83, 0xa2, 0x69, 0x64) o = msgp.AppendString(o, z.DiskID) // string "m" o = append(o, 0xa1, 0x6d) o = msgp.AppendInt(o, z.ScanMode)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.9K bytes - Viewed (0)