This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) 2011-2025 Roland Pheasant. All rights reserved. | |
| // Roland Pheasant licenses this file to you under the MIT license. | |
| // See the LICENSE file in the project root for full license information. | |
| #if NETCOREAPP3_0_OR_GREATER | |
| using System.Numerics; | |
| #endif | |
| using System.Runtime.CompilerServices; | |
| namespace DynamicData.Internal; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.UI.Dispatching; | |
| using Microsoft.UI.Xaml; | |
| namespace TriggerDetailsRepro; | |
| public partial class App : Application | |
| { | |
| /// <summary> | |
| /// Matches Package.appxmanifest -> com:ExeServer Arguments. | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #:package DynamicData@9.4.31 | |
| // --------------------------------------------------------------------------- | |
| // DynamicData cross-cache deadlock: minimal reproduction | |
| // | |
| // Run with .NET 10+ SDK: dotnet run CrossCacheDeadlock.cs | |
| // | |
| // Two SourceCaches feed each other. Two threads edit them at the same time. | |
| // On the current published DynamicData (9.4.31 and earlier) a SourceCache holds | |
| // its internal lock for the *entire* synchronous downstream delivery of a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.ComponentModel; | |
| using System.Globalization; | |
| using ReactiveUI.Binding.Observables; | |
| const int iterations = 5_000; | |
| const int mutationsPerIteration = 32; | |
| var firstFailure = -1; | |
| List<string?>? firstFailureSequence = null; | |
| string? firstFailurePropertyAtEnd = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.ComponentModel; | |
| using ReactiveUI; | |
| using ReactiveUI.Builder; | |
| // ReactiveUI 23.x requires explicit builder initialization before its mixins are usable. | |
| // For a console-only repro we only need the core services -- WithPlatformServices() lives | |
| // in platform packages (WPF, WinUI, Maui, ...) and is not needed here. | |
| RxAppBuilder.CreateReactiveUIBuilder() | |
| .WithCoreServices() | |
| .BuildApp(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Reactive.Disposables; | |
| using System.Reactive.Linq; | |
| using DynamicData; | |
| namespace DareWare.Utils; | |
| public static class FileSystemObservable | |
| { | |
| public static IObservable<IChangeSet<FileSystemInfo, string>> Create(string path, string filter, bool includeSubDirectories, bool includeError = true) => | |
| Observable.Create<IChangeSet<FileSystemInfo, string>>(observer => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // FormatString.h : Standard String Formatting Support | |
| // | |
| // Author Name : | |
| // Darrin W. Cullop (darrin.cullop@outlook.com) | |
| // | |
| // License : | |
| // CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) | |
| // | |
| // Abstract : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // DebuggingHelpers.h : Debug Logging on Windows in Modern C++ | |
| // | |
| // Author Name : | |
| // Darrin W. Cullop (darrin.cullop@outlook.com) | |
| // | |
| // License : | |
| // CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) | |
| // | |
| // Abstract : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace SwgohHelpApi | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Runtime.InteropServices; | |
| namespace DareWare.Utils | |
| { | |
| /// <summary> | |
| /// High Resolution Timer Class. Uses the Win32 API to create a timer | |
| /// that is as accurate as the system clock, down to microseconds | |
| /// </summary> | |
| public class HiResTimer : IComparable<HiResTimer>, IEquatable<HiResTimer> |
NewerOlder