Dataset Viewer
Auto-converted to Parquet Duplicate
crossfile_context_retrievalwref
dict
prompt
stringlengths
82
26.2k
right_context
stringlengths
19
68.4k
metadata
dict
crossfile_context_retrieval
dict
groundtruth
stringlengths
8
297
{ "list": [ { "filename": "ProcessManager/Providers/IConfigProvider.cs", "retrieved_chunk": " ManagerConfig GetManagerConfig();\n /// <summary>\n /// Geth the list of lasso rules.\n /// </summary>\n /// <returns></returns>\n List<BaseRule> GetRules();\n ...
using LassoProcessManager.Models.Rules; using Newtonsoft.Json; using ProcessManager.Models.Configs; using System.Reflection; namespace ProcessManager.Providers { public class ConfigProvider : IConfigProvider { private const string ConfigFileName = "Config.json"; private ManagerConfig managerCon...
Dictionary<string, LassoProfile> lassoProfiles = new Dictionary<string, LassoProfile>(); // Load lasso profiles foreach (var profile in managerConfig.Profiles) { if (!lassoProfiles.ContainsKey(profile.Name)) { lassoPro...
{ "context_start_lineno": 0, "file": "ProcessManager/Providers/ConfigProvider.cs", "groundtruth_start_lineno": 45, "repository": "kenshinakh1-LassoProcessManager-bcc481f", "right_context_start_lineno": 47, "task_id": "project_cc_csharp/27" }
{ "list": [ { "filename": "ProcessManager/Providers/IConfigProvider.cs", "retrieved_chunk": " ManagerConfig GetManagerConfig();\n /// <summary>\n /// Geth the list of lasso rules.\n /// </summary>\n /// <returns></returns>\n List<BaseRule> GetRules();\n ...
LassoProfile> GetLassoProfiles() {
{ "list": [ { "filename": "godot-project/Scripts/DataManagement/LauncherManager.cs", "retrieved_chunk": "\t\t\t\t\tvar project = projectEntries[i];\n\t\t\t\t\t#if PRINT_DEBUG\n\t\t\t\t\tGD.Print(\"Launch \" + path);\n\t\t\t\t\t#endif\n\t\t\t\t\tif (!run)\n\t\t\t\t\t{\n\t\t\t\t\t\tFile.WriteAllText(God...
//#define PRINT_DEBUG using System; using System.IO; using Godot; using Mono.Unix; using Directory = System.IO.Directory; using Environment = System.Environment; using File = System.IO.File; using Path = System.IO.Path; namespace GodotLauncher { public class DataPaths { static string AppDataPath => Environment.Ge...
string path = GetExecutablePath(installerEntryData); bool exists = File.Exists(path); #if PRINT_DEBUG GD.Print("Checking if path exists: " + path + " exists=" + exists); #endif return exists; } public static void ExtractArchive(string fileName, InstallerEntryData installerEntryData) { stri...
{ "context_start_lineno": 0, "file": "godot-project/Scripts/DataManagement/DataPaths.cs", "groundtruth_start_lineno": 94, "repository": "NathanWarden-ready-to-launch-58eba6d", "right_context_start_lineno": 96, "task_id": "project_cc_csharp/55" }
{ "list": [ { "filename": "godot-project/Scripts/DataManagement/LauncherManager.cs", "retrieved_chunk": "\t\t\t\t\tBuildProjectsList();\n\t\t\t\t\tif (entry.version.StartsWith(\"1.\") || entry.version.StartsWith(\"2.\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tLaunchInstaller(entry);\n\t\t\t\t\t\treturn;\n\t\t\t\t\...
InstallerEntryData installerEntryData) {
{ "list": [ { "filename": "src/dotnetdev-badge/dotnetdev-badge.web/Model/User.cs", "retrieved_chunk": "using DotNetDevBadgeWeb.Common;\nusing Newtonsoft.Json;\nnamespace DotNetDevBadgeWeb.Model\n{\n public class User\n {\n private const int AVATAR_SIZE = 128;\n [JsonProperty(\"id\...
using Newtonsoft.Json; namespace DotNetDevBadgeWeb.Model { public class UserSummary { [
get; set; } [JsonProperty("likes_received")] public int LikesReceived { get; set; } [JsonProperty("topics_entered")] public int TopicsEntered { get; set; } [JsonProperty("posts_read_count")] public int PostsReadCount { get; set; } [JsonProperty("days_visited"...
{ "context_start_lineno": 0, "file": "src/dotnetdev-badge/dotnetdev-badge.web/Model/UserSummary.cs", "groundtruth_start_lineno": 6, "repository": "chanos-dev-dotnetdev-badge-5740a40", "right_context_start_lineno": 8, "task_id": "project_cc_csharp/48" }
{ "list": [ { "filename": "src/dotnetdev-badge/dotnetdev-badge.web/Core/Provider/ForumDataProvider.cs", "retrieved_chunk": " private const string BADGE_URL = \"https://forum.dotnetdev.kr/user-badges/{0}.json?grouped=true\";\n private const string SUMMARY_URL = \"https://forum.dotnetdev.k...
JsonProperty("likes_given")] public int LikesGiven {
{ "list": [ { "filename": "JdeJabali.JXLDataTableExtractor/DataExtraction/DataReader.cs", "retrieved_chunk": "using JdeJabali.JXLDataTableExtractor.JXLExtractedData;\nusing OfficeOpenXml;\nusing System;\nusing System.Collections.Generic;\nusing System.Data;\nusing System.IO;\nusing System.Linq;\nname...
using System.Collections.Generic; namespace JdeJabali.JXLDataTableExtractor.JXLExtractedData { public class JXLDataExtracted { public List<
get; set; } = new List<JXLWorkbookData>(); } }
{ "context_start_lineno": 0, "file": "JdeJabali.JXLDataTableExtractor/JXLExtractedData/JXLDataExtracted.cs", "groundtruth_start_lineno": 6, "repository": "JdeJabali-JXLDataTableExtractor-90a12f4", "right_context_start_lineno": 7, "task_id": "project_cc_csharp/50" }
{ "list": [ { "filename": "JdeJabali.JXLDataTableExtractor/DataExtraction/DataReader.cs", "retrieved_chunk": " {\n public List<string> Workbooks { get; set; } = new List<string>();\n public int SearchLimitRow { get; set; }\n public int SearchLimitColumn { get; set; }\n p...
JXLWorkbookData> WorkbooksData {
{ "list": [ { "filename": "src/ExampleWebApplication/Controllers/WebSocket1Controller.cs", "retrieved_chunk": "using Microsoft.AspNetCore.Mvc;\nusing TraTech.WebSocketHub;\nnamespace ExampleWebApplication.Controllers\n{\n [ApiController]\n [Route(\"[controller]\")]\n public class WebSocket1Co...
using System.Net.WebSockets; using System.Text; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace TraTech.WebSocketHub { public class WebSocketHubMiddleware<TKey> where TKey : notnull { private readonly IServiceProvider _serviceProvider; private readonly RequestDeleg...
_serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); _next = next ?? throw new ArgumentNullException(nameof(next)); _acceptIf = acceptIf ?? throw new ArgumentNullException(nameof(acceptIf)); _webSocketHub = webSocketHub ?? throw...
{ "context_start_lineno": 0, "file": "src/WebSocketHub/Core/src/WebSocketHubMiddleware.cs", "groundtruth_start_lineno": 17, "repository": "TRA-Tech-dotnet-websocket-9049854", "right_context_start_lineno": 19, "task_id": "project_cc_csharp/68" }
{ "list": [ { "filename": "src/ExampleWebApplication/Controllers/WebSocket2Controller.cs", "retrieved_chunk": " public WebSocket2Controller(WebSocketHub<SocketUser> webSocketHub)\n {\n _webSocketHub = webSocketHub;\n }\n [HttpGet(\"GetSocketListWithSelector\")]\n...
WebSocketHub<TKey> webSocketHub, Func<HttpContext, bool> acceptIf, Func<HttpContext, TKey> keyGenerator) {
{ "list": [ { "filename": "src/OGXbdmDumper/ConnectionInfo.cs", "retrieved_chunk": " public IPEndPoint Endpoint { get; set; }\n public string? Name { get; set; }\n public ConnectionInfo(IPEndPoint endpoint, string? name = null)\n {\n Endpoint = endpoint;\n ...
using System.Text; using System.Net; using Microsoft.Extensions.Caching.Memory; using Serilog; using Serilog.Events; using Iced.Intel; using static Iced.Intel.AssemblerRegisters; namespace OGXbdmDumper { public class Xbox : IDisposable { #region Properties private bool _disposed; priv...
public Version Version => GetVersion(); #endregion #region Connection public void Connect(string host, int port = 731) { _cache.Clear(); ConnectionInfo = Session.Connect(host, port); // init subsystems Memory = new XboxMemoryS...
{ "context_start_lineno": 0, "file": "src/OGXbdmDumper/Xbox.cs", "groundtruth_start_lineno": 75, "repository": "Ernegien-OGXbdmDumper-07a1e82", "right_context_start_lineno": 76, "task_id": "project_cc_csharp/20" }
{ "list": [ { "filename": "src/OGXbdmDumper/ConnectionInfo.cs", "retrieved_chunk": " var connections = new List<ConnectionInfo>();\n byte[] datagramBuffer = new byte[1024];\n // iterate through each network interface\n Parallel.ForEach(NetworkInterface.GetAl...
Thread> Threads => GetThreads();
{ "list": [ { "filename": "JWLSLMerge.Data/Models/TagMap.cs", "retrieved_chunk": "using JWLSLMerge.Data.Attributes;\nnamespace JWLSLMerge.Data.Models\n{\n public class TagMap\n {\n [Ignore]\n public int TagMapId { get; set; }\n public int? PlaylistItemId { get; set; }\n ...
using JWLSLMerge.Data.Attributes; namespace JWLSLMerge.Data.Models { public class Note { [
get; set; } public string Guid { get; set; } = null!; public int? UserMarkId { get; set; } public int? LocationId { get; set; } public string? Title { get; set; } public string? Content { get; set; } public string LastModified { get; set; } = null!; public string...
{ "context_start_lineno": 0, "file": "JWLSLMerge.Data/Models/Note.cs", "groundtruth_start_lineno": 6, "repository": "pliniobrunelli-JWLSLMerge-7fe66dc", "right_context_start_lineno": 8, "task_id": "project_cc_csharp/51" }
{ "list": [ { "filename": "JWLSLMerge.Data/JWDal.cs", "retrieved_chunk": " {\n connectionString = $\"Data Source={dbPath}\";\n }\n public IEnumerable<T> TableList<T>()\n {\n using (IDbConnection cnn = new SQLiteConnection(connectionString))\n ...
Ignore] public int NoteId {
{ "list": [ { "filename": "ServiceSelf/LinuxService.cs", "retrieved_chunk": " public override void CreateStart(string filePath, ServiceOptions options)\n {\n CheckRoot();\n filePath = Path.GetFullPath(filePath);\n var unitName = $\"{this.Name}.service\";\...
using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Threading; using static ServiceSelf.AdvApi32; namespace ServiceSelf { sealed class WindowsService : Service { priv...
var arguments = options.Arguments ?? Enumerable.Empty<Argument>(); arguments = string.IsNullOrEmpty(options.WorkingDirectory) ? arguments.Append(new Argument(WorkingDirArgName, Path.GetDirectoryName(filePath))) : arguments.Append(new Argument(WorkingDirArgName, P...
{ "context_start_lineno": 0, "file": "ServiceSelf/WindowsService.cs", "groundtruth_start_lineno": 66, "repository": "xljiulang-ServiceSelf-7f8604b", "right_context_start_lineno": 68, "task_id": "project_cc_csharp/14" }
{ "list": [ { "filename": "ServiceSelf/LinuxService.cs", "retrieved_chunk": " }\n var linuxOptions = CreateLinuxOptions(filePath, options);\n using (var fileStream = File.OpenWrite(unitFilePath))\n {\n using var wirter = new StreamWriter(fileS...
SafeServiceHandle CreateService(SafeServiceHandle managerHandle, string filePath, ServiceOptions options) {
{ "list": [ { "filename": "JWLSLMerge.Data/Models/PlaylistItemMarker.cs", "retrieved_chunk": "using JWLSLMerge.Data.Attributes;\nnamespace JWLSLMerge.Data.Models\n{\n public class PlaylistItemMarker\n {\n [Ignore]\n public int PlaylistItemMarkerId { get; set; }\n public int...
using JWLSLMerge.Data.Attributes; namespace JWLSLMerge.Data.Models { public class PlayListItem { [Ignore] public int PlaylistItemId { get; set; } public string Label { get; set; } = null!; public int StartTrimOffsetTicks { get; set; } public int EndTrimOffsetTicks { get;...
get; set; } } }
{ "context_start_lineno": 0, "file": "JWLSLMerge.Data/Models/PlayListItem.cs", "groundtruth_start_lineno": 15, "repository": "pliniobrunelli-JWLSLMerge-7fe66dc", "right_context_start_lineno": 17, "task_id": "project_cc_csharp/37" }
{ "list": [ { "filename": "JWLSLMerge.Data/Models/PlaylistItemMarker.cs", "retrieved_chunk": " public long DurationTicks { get; set; }\n public long EndTransitionDurationTicks { get; set; }\n [Ignore]\n public int NewPlaylistItemMarkerId { get; set; }\n }\n}", "sco...
Ignore] public int NewPlaylistItemId {
{ "list": [ { "filename": "JWLSLMerge.Data/Models/PlaylistItemIndependentMediaMap.cs", "retrieved_chunk": "namespace JWLSLMerge.Data.Models\n{\n public class PlaylistItemIndependentMediaMap\n {\n public int PlaylistItemId { get; set; }\n public int IndependentMediaId { get; set; }...
using JWLSLMerge.Data.Attributes; namespace JWLSLMerge.Data.Models { public class PlaylistItemMarker { [Ignore] public int PlaylistItemMarkerId { get; set; } public int PlaylistItemId { get; set; } public string Label { get; set; } = null!; public long StartTimeTicks { g...
get; set; } } }
{ "context_start_lineno": 0, "file": "JWLSLMerge.Data/Models/PlaylistItemMarker.cs", "groundtruth_start_lineno": 14, "repository": "pliniobrunelli-JWLSLMerge-7fe66dc", "right_context_start_lineno": 16, "task_id": "project_cc_csharp/29" }
{ "list": [ { "filename": "JWLSLMerge.Data/Models/PlaylistItemIndependentMediaMap.cs", "retrieved_chunk": "namespace JWLSLMerge.Data.Models\n{\n public class PlaylistItemIndependentMediaMap\n {\n public int PlaylistItemId { get; set; }\n public int IndependentMediaId { get; set; }...
Ignore] public int NewPlaylistItemMarkerId {
{ "list": [ { "filename": "Editor/GraphEditor/QuestGraphEditor.cs", "retrieved_chunk": " }\n private void LoadQuestData()\n {\n if (questForGraph == null)\n {\n EditorUtility.DisplayDialog(\"Error!!\", \"No quest to load!\", \"OK\");\n ...
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UIElements; using UnityEditor.UIElements; using UnityEditor.Experimental.GraphView; using UnityEditor; using UnityEngine.Windows; using System; namespace QuestSystem.QuestEditor { public class QuestG...
int j = 0; CheckFolders(Q); string path = QuestConstants.MISIONS_FOLDER + $"/{Q.misionName}/Nodes"; string tempPath = QuestConstants.MISIONS_FOLDER + $"/{Q.misionName}/Temp"; //Move all nodes OUT to temp if (AssetDatabase.IsValidFolder(path)) { ...
{ "context_start_lineno": 0, "file": "Editor/GraphEditor/QuestGraphSaveUtility.cs", "groundtruth_start_lineno": 30, "repository": "lluispalerm-QuestSystem-cd836cc", "right_context_start_lineno": 32, "task_id": "project_cc_csharp/49" }
{ "list": [ { "filename": "Editor/GraphEditor/QuestGraphView.cs", "retrieved_chunk": " Q.Add(newBox);\n node.objectivesRef.Add(Q);\n node.questObjectives.Add(Q);\n node.RefreshPorts();\n node.RefreshExpandedState();\n }\n public Node...
NodeQuest> NodesInGraph) {
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
21