Home
last modified time | relevance | path

Searched refs:newMemorySize (Results 1 – 10 of 10) sorted by relevance

/dports/audio/carla/Carla-2.4.1/source/includes/vst3sdk/public.sdk/source/common/
H A Dmemorystream.cpp210 TSize newMemorySize = (((Max (memorySize, s) - 1) / kMemGrowAmount) + 1) * kMemGrowAmount; in setSize() local
211 if (newMemorySize == memorySize) in setSize()
228 newMemory = (char*)realloc (memory, (size_t)newMemorySize); in setSize()
229 if (newMemory == nullptr && newMemorySize > 0) in setSize()
231 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
234 memcpy (newMemory, memory, (size_t)Min (newMemorySize, memorySize)); in setSize()
240 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
244 if (newMemorySize > 0) in setSize()
255 memorySize = newMemorySize; in setSize()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/
H A Dmemorystream.cpp210 TSize newMemorySize = (((Max (memorySize, s) - 1) / kMemGrowAmount) + 1) * kMemGrowAmount; in setSize() local
211 if (newMemorySize == memorySize) in setSize()
228 newMemory = (char*)realloc (memory, (size_t)newMemorySize); in setSize()
229 if (newMemory == nullptr && newMemorySize > 0) in setSize()
231 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
234 memcpy (newMemory, memory, (size_t)Min (newMemorySize, memorySize)); in setSize()
240 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
244 if (newMemorySize > 0) in setSize()
255 memorySize = newMemorySize; in setSize()
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/source/common/
H A Dmemorystream.cpp210 TSize newMemorySize = (((Max (memorySize, s) - 1) / kMemGrowAmount) + 1) * kMemGrowAmount; in setSize() local
211 if (newMemorySize == memorySize) in setSize()
228 newMemory = (char*)realloc (memory, (size_t)newMemorySize); in setSize()
229 if (newMemory == nullptr && newMemorySize > 0) in setSize()
231 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
234 memcpy (newMemory, memory, (size_t)Min (newMemorySize, memorySize)); in setSize()
240 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
244 if (newMemorySize > 0) in setSize()
255 memorySize = newMemorySize; in setSize()
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/source/common/
H A Dmemorystream.cpp210 TSize newMemorySize = (((Max (memorySize, s) - 1) / kMemGrowAmount) + 1) * kMemGrowAmount; in setSize() local
211 if (newMemorySize == memorySize) in setSize()
228 newMemory = (char*)realloc (memory, (size_t)newMemorySize); in setSize()
229 if (newMemory == nullptr && newMemorySize > 0) in setSize()
231 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
234 memcpy (newMemory, memory, (size_t)Min (newMemorySize, memorySize)); in setSize()
240 newMemory = (char*)malloc ((size_t)newMemorySize); in setSize()
244 if (newMemorySize > 0) in setSize()
255 memorySize = newMemorySize; in setSize()
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/Microsoft/hcsshim/test/functional/
H A Duvm_memory_test.go25 newMemorySize := uint64(opts.MemorySizeInMB/2) * bytesPerMB
27 if err := u.UpdateMemory(ctx, newMemorySize); err != nil {
34 if memInBytes != newMemorySize {
35 t.Fatalf("incorrect memory size returned, expected %d but got %d", newMemorySize, memInBytes)
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/Microsoft/hcsshim/test/functional/
H A Duvm_memory_test.go25 newMemorySize := uint64(opts.MemorySizeInMB/2) * bytesPerMB
27 if err := u.UpdateMemory(ctx, newMemorySize); err != nil {
34 if memInBytes != newMemorySize {
35 t.Fatalf("incorrect memory size returned, expected %d but got %d", newMemorySize, memInBytes)
/dports/security/vault/vault-1.8.2/vendor/github.com/Microsoft/hcsshim/test/functional/
H A Duvm_memory_test.go25 newMemorySize := uint64(opts.MemorySizeInMB/2) * bytesPerMB
27 if err := u.UpdateMemory(ctx, newMemorySize); err != nil {
34 if memInBytes != newMemorySize {
35 t.Fatalf("incorrect memory size returned, expected %d but got %d", newMemorySize, memInBytes)
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/twain/
H A Dttwain_state.c956 TW_UINT32 newMemorySize; in TTWAIN_MemoryXferHandler() local
960 newMemorySize = in TTWAIN_MemoryXferHandler()
963 if (TTwainData.transferInfo.memorySize < newMemorySize) { in TTWAIN_MemoryXferHandler()
965 TTwainData.transferInfo.memoryBuffer, newMemorySize); in TTWAIN_MemoryXferHandler()
966 TTwainData.transferInfo.memorySize = newMemorySize; in TTWAIN_MemoryXferHandler()
999 TW_UINT32 newMemorySize; in TTWAIN_MemoryXferHandler() local
1003 newMemorySize = in TTWAIN_MemoryXferHandler()
1006 if (TTwainData.transferInfo.memorySize < newMemorySize) { in TTWAIN_MemoryXferHandler()
1008 TTwainData.transferInfo.memoryBuffer, newMemorySize); in TTWAIN_MemoryXferHandler()
1009 TTwainData.transferInfo.memorySize = newMemorySize; in TTWAIN_MemoryXferHandler()
/dports/graphics/libfpx/libfpx-1.3.1-10/ri_image/
H A Dri_libio.h191 long IVUE_InitSystemWithMemory (long* newMemorySize);
197 long IVUE_SetAllowance (long newMemorySize);
/dports/java/berkeley-db/je-6.2.31/src/com/sleepycat/je/cleaner/
H A DUtilizationProfile.java861 int newMemorySize = fileSummaryMap.size() * in populateCache() local
864 mb.updateAdminMemoryUsage(newMemorySize - oldMemorySize); in populateCache()