^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
- Semantic versioning http://semver.org/
- Source of the regex npm/node-semver#32
^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
| import java.io.ByteArrayInputStream; | |
| import java.io.OutputStream; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import software.amazon.awssdk.core.sync.RequestBody; | |
| import software.amazon.awssdk.services.s3.S3Client; | |
| import software.amazon.awssdk.services.s3.model.AbortMultipartUploadRequest; | |
| import software.amazon.awssdk.services.s3.model.CompleteMultipartUploadRequest; | |
| import software.amazon.awssdk.services.s3.model.CompletedMultipartUpload; |
Minecraft Datafixers and Datafixes are powerful tools that are extremely useful to modders, yet have seemingly no documentation. This documentation is mainly for 1.12.2, but can probably also be applied in later versions.
(This is still a W.I.P, so be warned that it's not finished.)
| /* How to use any randomly retrieved VkImages in ffmpeg-related code. */ | |
| /* If you don't have a device initialized, but you have a VkDevice, | |
| * you have to import it. */ | |
| { | |
| AVBufferRef *ctx_ref = av_hwdevice_ctx_alloc(AV_HWDEVICE_TYPE_VULKAN); | |
| AVHWDeviceContext *ctx = (AVHWDeviceContext *)ctx_ref->data; | |
| AVVulkanDeviceContext *hwctx = ctx->hwctx; | |
| /* Mandatory. */ |