/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.MemoryMappedFiles/tests/ |
H A D | MemoryMappedFile.CreateNew.Tests.cs | 100 Assert.Throws<IOException>(() => MemoryMappedFile.CreateNew(null, long.MaxValue)); in TooLargeCapacity_Windows() 147 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(name, 4096)) in ValidMapNames_Windows() 170 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(name, 4096)) in ReusingNames_Windows() 173 Assert.Throws<IOException>(() => MemoryMappedFile.CreateNew(name, 4096)); in ReusingNames_Windows() 175 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(name, 4096)) in ReusingNames_Windows() 194 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(mapName, capacity)) in ValidArgumentCombinations() 199 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(mapName, capacity, access)) in ValidArgumentCombinations() 266 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(name, 4096)) in DataNotPersistedBetweenMaps_Windows() 273 using (MemoryMappedFile mmf = MemoryMappedFile.CreateNew(name, 4096)) in DataNotPersistedBetweenMaps_Windows() 351 MemoryMappedFile mmf = MemoryMappedFile.CreateNew(null, 4096); in DoubleDispose() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/sync/engine_impl/loopback_server/ |
H A D | persistent_permanent_entity_unittest.cc | 14 TEST(PersistentPermanentEntityTest, CreateNew) { in TEST() argument 15 ASSERT_FALSE(PersistentPermanentEntity::CreateNew( in TEST() 17 ASSERT_FALSE(PersistentPermanentEntity::CreateNew(PREFERENCES, "", "name", in TEST() 19 ASSERT_FALSE(PersistentPermanentEntity::CreateNew(PREFERENCES, "server_tag", in TEST() 21 ASSERT_FALSE(PersistentPermanentEntity::CreateNew(PREFERENCES, "server_tag", in TEST() 23 ASSERT_FALSE(PersistentPermanentEntity::CreateNew(PREFERENCES, "server_tag", in TEST() 25 ASSERT_TRUE(PersistentPermanentEntity::CreateNew( in TEST() 38 auto preferences_server_entity = PersistentPermanentEntity::CreateNew( in TEST() 44 auto nigori_server_entity = PersistentPermanentEntity::CreateNew( in TEST()
|
H A D | persistent_tombstone_entity_unittest.cc | 22 TEST(PersistentTombstoneEntityTest, CreateNew) { in TEST() argument 23 ASSERT_FALSE(PersistentTombstoneEntity::CreateNew( in TEST() 25 ASSERT_TRUE(PersistentTombstoneEntity::CreateNew( in TEST()
|
H A D | persistent_bookmark_entity_unittest.cc | 15 TEST(PersistentBookmarkEntityTest, CreateNew) { in TEST() argument 21 PersistentBookmarkEntity::CreateNew(entity, "parent_id", "client_guid")); in TEST() 26 PersistentBookmarkEntity::CreateNew(entity, "parent_id", "client_guid")); in TEST()
|
/dports/misc/usd/USD-21.11/pxr/usd/usdUtils/testenv/ |
H A D | testUsdUtilsStitchClips.py | 99 rootLayer = Sdf.Layer.CreateNew(rootLayerFile) 119 rootLayer = Sdf.Layer.CreateNew(rootLayerFile) 132 rootLayer = Sdf.Layer.CreateNew(rootLayerFile) 147 topologyLayer = Sdf.Layer.CreateNew('topologyLayer.usd') 161 resultLayer = Sdf.Layer.CreateNew('explicitEndCodes.usd') 169 resultLayer = Sdf.Layer.CreateNew('sublayerTopology.usd') 175 resultLayer = Sdf.Layer.CreateNew('foo.usd') 176 topLayer = Sdf.Layer.CreateNew('foo.topology.usd') 177 manifestLayer = Sdf.Layer.CreateNew('foo.manifest.usd') 195 resultLayer = Sdf.Layer.CreateNew('customSetName.usd') [all …]
|
H A D | testUsdUtilsUpdateSchemaWithSdrNode.py | 45 resultLayer = Sdf.Layer.CreateNew("./resultAPISchema.usda") 52 resultLayer = Sdf.Layer.CreateNew("./resultAPIIdentifierMissing.usda") 66 resultLayer = Sdf.Layer.CreateNew("./duplicateProp.usda") 73 resultLayer = Sdf.Layer.CreateNew("./duplicatePropTypeMisMatch.usda") 80 resultLayer = Sdf.Layer.CreateNew("./schemaConcrete.usda") 88 Sdf.Layer.CreateNew("./resultUsdShadeConnectableAPIMetadata.usda") 96 Sdf.Layer.CreateNew("./resultUsdShadeConnectableAPIMetadata2.usda")
|
/dports/lang/fpc-source/fpc-3.2.2/packages/ptc/examples/ |
H A D | stretch.pp | 47 format := TPTCFormatFactory.CreateNew(24, $00FF0000, $0000FF00, $000000FF); 49 format := TPTCFormatFactory.CreateNew(24, $000000FF, $0000FF00, $00FF0000); 51 surface.Load(pixels, width, height, width * 3, format, TPTCPaletteFactory.CreateNew); 75 console := TPTCConsoleFactory.CreateNew; 78 format := TPTCFormatFactory.CreateNew(32, $00FF0000, $0000FF00, $000000FF); 84 surface := TPTCSurfaceFactory.CreateNew(console.width, console.height, format); 87 image := TPTCSurfaceFactory.CreateNew(320, 140, format); 99 timer := TPTCTimerFactory.CreateNew; 111 surface.clear(TPTCColorFactory.CreateNew(1, 1, 1)); 123 area := TPTCAreaFactory.CreateNew(x1, y1, x2, y2);
|
H A D | keyboard2.pp | 32 console := TPTCConsoleFactory.CreateNew; 38 format := TPTCFormatFactory.CreateNew(32, $00FF0000, $0000FF00, $000000FF); 44 timer := TPTCTimerFactory.CreateNew; 47 surface := TPTCSurfaceFactory.CreateNew(console.width, console.height, format); 53 color := TPTCColorFactory.CreateNew(1, 1, 1); 92 …surface.clear(color, TPTCAreaFactory.CreateNew(Trunc(x) - size, Trunc(y) - size, Trunc(x) + size, …
|
H A D | image.pp | 47 img_format := TPTCFormatFactory.CreateNew(24, $00FF0000, $0000FF00, $000000FF); 49 img_format := TPTCFormatFactory.CreateNew(24, $000000FF, $0000FF00, $00FF0000); 51 surface.Load(pixels, width, height, width * 3, img_format, TPTCPaletteFactory.CreateNew); 69 console := TPTCConsoleFactory.CreateNew; 72 format := TPTCFormatFactory.CreateNew(32, $00FF0000, $0000FF00, $000000FF); 84 surface := TPTCSurfaceFactory.CreateNew(320, 200, format);
|
H A D | clear.pp | 30 console := TPTCConsoleFactory.CreateNew; 33 format := TPTCFormatFactory.CreateNew(32, $00FF0000, $0000FF00, $000000FF); 39 surface := TPTCSurfaceFactory.CreateNew(console.width, console.height, format); 56 area := TPTCAreaFactory.CreateNew(x-size, y-size, x+size, y+size); 59 color := TPTCColorFactory.CreateNew(Random, Random, Random);
|
H A D | keyboard.pp | 31 console := TPTCConsoleFactory.CreateNew; 34 format := TPTCFormatFactory.CreateNew(32, $00FF0000, $0000FF00, $000000FF); 40 surface := TPTCSurfaceFactory.CreateNew(console.width, console.height, format); 46 color := TPTCColorFactory.CreateNew(1, 1, 1); 79 surface.clear(color, TPTCAreaFactory.CreateNew(x - size, y - size, x + size, y + size));
|
/dports/lang/fpc-source/fpc-3.2.2/packages/ptc/src/core/ |
H A D | keyeventd.inc | 64 class function CreateNew: IPTCKeyEvent; 65 class function CreateNew(ACode: Integer): IPTCKeyEvent; 66 class function CreateNew(ACode, AUnicode: Integer): IPTCKeyEvent; 67 class function CreateNew(ACode, AUnicode: Integer; APress: Boolean): IPTCKeyEvent; 68 …class function CreateNew(ACode: Integer; AAlt, AShift, AControl: Boolean): IPTCKeyEvent; deprecate… 70 class function CreateNew(ACode, AUnicode: Integer; 72 class function CreateNew(ACode, AUnicode: Integer; 74 class function CreateNew(ACode: Integer; const AModifierKeys: TPTCModifierKeys): IPTCKeyEvent; 76 class function CreateNew(ACode, AUnicode: Integer; 78 class function CreateNew(ACode, AUnicode: Integer; [all …]
|
H A D | keyeventi.inc | 70 class function TPTCKeyEventFactory.CreateNew: IPTCKeyEvent; 75 class function TPTCKeyEventFactory.CreateNew(ACode: Integer): IPTCKeyEvent; 80 class function TPTCKeyEventFactory.CreateNew(ACode, AUnicode: Integer): IPTCKeyEvent; 85 class function TPTCKeyEventFactory.CreateNew(ACode, AUnicode: Integer; APress: Boolean): IPTCKeyEve… 90 class function TPTCKeyEventFactory.CreateNew(ACode: Integer; AAlt, AShift, AControl: Boolean): IPTC… 100 class function TPTCKeyEventFactory.CreateNew(ACode, AUnicode: Integer; 106 class function TPTCKeyEventFactory.CreateNew(ACode, AUnicode: Integer; 112 class function TPTCKeyEventFactory.CreateNew(ACode: Integer; const AModifierKeys: TPTCModifierKeys)… 122 class function TPTCKeyEventFactory.CreateNew(ACode, AUnicode: Integer; 128 class function TPTCKeyEventFactory.CreateNew(ACode, AUnicode: Integer; [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Text.Encodings.Web/tests/ |
H A D | AllowedCharsBitmapTests.cs | 19 var bitmap = AllowedCharactersBitmap.CreateNew(); in Ctor_EmptyByDefault() 32 var bitmap = AllowedCharactersBitmap.CreateNew(); in Allow_Forbid_ZigZag() 65 var bitmap = AllowedCharactersBitmap.CreateNew(); in Clear_ForbidsEverything() 85 var originalBitmap = AllowedCharactersBitmap.CreateNew(); in Clone_MakesDeepCopy() 106 var bitmap = AllowedCharactersBitmap.CreateNew(); in ForbidUndefinedCharacters_RemovesUndefinedChars()
|
/dports/lang/fpc-source/fpc-3.2.2/packages/ptc/tests/ |
H A D | view.pp | 18 console := TPTCConsoleFactory.CreateNew; 21 format := TPTCFormatFactory.CreateNew(24, $00FF0000, $0000FF00, $000000FF); 23 format := TPTCFormatFactory.CreateNew(24, $000000FF, $0000FF00, $00FF0000); 25 surface := TPTCSurfaceFactory.CreateNew(320, 200, format);
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/NetworkPkg/Application/IpsecConfig/ |
H A D | PolicyEntryOperation.c | 550 if (CreateNew) { in CreateSpdEntry() 959 if (CreateNew) { in CreateSadEntry() 1278 if (CreateNew) { in CreatePadEntry() 1341 *CreateNew = FALSE; in CombineSpdEntry() 1347 *CreateNew = TRUE; in CombineSpdEntry() 1355 *CreateNew = TRUE; in CombineSpdEntry() 1361 *CreateNew = TRUE; in CombineSpdEntry() 1559 *CreateNew = FALSE; in CombineSadEntry() 1564 *CreateNew = TRUE; in CombineSadEntry() 1570 *CreateNew = TRUE; in CombineSadEntry() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Core/Test/System.IO.MemoryMappedFiles/ |
H A D | MemoryMappedFileTest.cs | 119 public void CreateNew () in CreateNew() method in MonoTests.System.IO.MemoryMappedFiles.MemoryMappedFileTest 122 MemoryMappedFile.CreateNew (MkNamedMapping (), 8192); in CreateNew() 268 …var memoryMappedFile90 = MemoryMappedFile.CreateNew (fileName, 4194304, MemoryMappedFileAccess.Rea… in NamedMappingToInvalidFile() 276 using (var m0 = MemoryMappedFile.CreateNew(name, 4096, MemoryMappedFileAccess.ReadWrite)) { in CreateTheSameAreaTwiceShouldFail() 278 using (var m1 = MemoryMappedFile.CreateNew (name, 4096, MemoryMappedFileAccess.ReadWrite)) { in CreateTheSameAreaTwiceShouldFail() 289 using (var m0 = MemoryMappedFile.CreateNew(name, 4096, MemoryMappedFileAccess.ReadWrite)) { in MapAFileToAMemoryAreaShouldFail() 302 using (var m0 = MemoryMappedFile.CreateNew(name, 4096, MemoryMappedFileAccess.ReadWrite)) { in NamedMappingsShareMemoryArea() 359 …var memoryMappedFile90 = MemoryMappedFile.CreateNew (MkNamedMapping (), 4194304, MemoryMappedFileA… in DoubleAccountingInOffsetCalculation() 433 MemoryMappedFile.CreateNew (MkNamedMapping (), (long) uint.MaxValue + 1); in CreateNewLargerThanLogicalAddressSpace() 450 …using (var m0 = MemoryMappedFile.CreateNew(name, 4096, MemoryMappedFileAccess.ReadWrite, MemoryMap… in NamedMappingWithDelayAllocatePages()
|
/dports/editors/lazarus/lazarus/components/sparta/smartformeditor/source/ |
H A D | sparta_fakeformbg.pas | 32 constructor CreateNew(AOwner: TComponent; Num: Integer = 0); override; procedure 40 constructor TFakeFormBG.CreateNew(AOwner: TComponent; Num: Integer); 45 inherited CreateNew(AOwner, Num);
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/sparta/smartformeditor/source/ |
H A D | sparta_fakeformbg.pas | 32 constructor CreateNew(AOwner: TComponent; Num: Integer = 0); override; procedure 40 constructor TFakeFormBG.CreateNew(AOwner: TComponent; Num: Integer); 45 inherited CreateNew(AOwner, Num);
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/sparta/smartformeditor/source/ |
H A D | sparta_fakeformbg.pas | 32 constructor CreateNew(AOwner: TComponent; Num: Integer = 0); override; procedure 40 constructor TFakeFormBG.CreateNew(AOwner: TComponent; Num: Integer); 45 inherited CreateNew(AOwner, Num);
|
/dports/editors/lazarus-qt5/lazarus/components/sparta/smartformeditor/source/ |
H A D | sparta_fakeformbg.pas | 32 constructor CreateNew(AOwner: TComponent; Num: Integer = 0); override; procedure 40 constructor TFakeFormBG.CreateNew(AOwner: TComponent; Num: Integer); 45 inherited CreateNew(AOwner, Num);
|
/dports/misc/usd/USD-21.11/pxr/usd/usd/testenv/ |
H A D | testUsdStage.py | 89 sublayer_1 = Sdf.Layer.CreateNew('localLayers_sublayer_1.'+fmt) 103 sessionLayer = Sdf.Layer.CreateNew('localLayers_session.'+fmt) 110 rootLayer = Sdf.Layer.CreateNew('localLayers_root.'+fmt) 176 sublayer_1 = Sdf.Layer.CreateNew('refLayers_sublayer_1.'+fmt) 183 refLayer = Sdf.Layer.CreateNew('refLayers_ref.'+fmt) 187 rootLayer = Sdf.Layer.CreateNew('refLayers_root.'+fmt) 249 rootLayer = Sdf.Layer.CreateNew(f("colorConf")) 304 sessionLayer = Sdf.Layer.CreateNew(f('sessionLayer')) 305 rootLayer = Sdf.Layer.CreateNew(f("rootLayer")) 306 subLayer = Sdf.Layer.CreateNew(f("subLayer")) [all …]
|
H A D | testUsdFileFormats.py | 104 _TestNewLayer(Sdf.Layer.CreateNew('testNewUsdLayer.usd'), 111 _TestNewLayer(Sdf.Layer.CreateNew('testNewUsdLayer_text.usd', 116 _TestNewLayer(Sdf.Layer.CreateNew('testNewUsdLayer_crate.usd', 161 newLayer = Sdf.Layer.CreateNew('testUsdLayerExport.usd') 205 importLayer = Sdf.Layer.CreateNew('testUsdLayerString.usdc') 218 s = Usd.Stage.CreateNew('testUsdcRepeatedSaves.usdc')
|
/dports/multimedia/zoneminder/zoneminder-1.36.5/dep/RtspServer/example/ |
H A D | rtsp_pusher.cpp | 19 xop::MediaSession *session = xop::MediaSession::CreateNew(); in main() 20 session->AddSource(xop::channel_0, xop::H264Source::CreateNew()); in main() 21 session->AddSource(xop::channel_1, xop::AACSource::CreateNew(44100, 2, false)); in main()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/ |
H A D | OpenFileTests.cs | 93 …using (var stream = isf.OpenFile(file, FileMode.CreateNew, FileAccess.ReadWrite, FileShare.ReadWri… in OpenFile_PassesFileShare() 116 using (var stream = isf.OpenFile(file, FileMode.CreateNew, FileAccess.Write)) in OpenFile_PassesFileAccess() 139 using (isf.OpenFile(file, FileMode.CreateNew)) { } in OpenFile_PassesFileMode() 142 … Assert.Throws<IsolatedStorageException>(() => isf.OpenFile(file, FileMode.CreateNew)); in OpenFile_PassesFileMode() 157 using (isf.OpenFile(file, FileMode.CreateNew)) { } in OpenFile_Existence() 163 using (isf.OpenFile(nestedFile, FileMode.CreateNew)) { } in OpenFile_Existence()
|