added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74233 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "forki/Journalist",
"max_stars_repo_path": "src/Journalist.EventStore/Streams/IEventStreamConsumingSession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74234"
} | starcoder | <gh_stars>10-100
using System.Threading.Tasks;
using Journalist.EventStore.Journal;
namespace Journalist.EventStore.Streams
{
public interface IEventStreamConsumingSession
{
Task<bool> PromoteToLeaderAsync();
Task FreeAsync();
EventStreamReaderId ConsumerId { get; }
}
}
| 1.362245 | 9dce0d56450f7e2d25e836e22f347970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pinckyang/easygenerator",
"max_stars_repo_path": "EasyGenerator/EasyGenerator.Studio/AssemblyCache/CacheFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74235"
} | starcoder | <reponame>Pinckyang/easygenerator<filename>EasyGenerator/EasyGenerator.Studio/AssemblyCache/CacheFlags.cs<gh_stars>0
using System;
namespace EasyGenerator.Studio.AssemblyCache
{
[Flags]
internal enum CacheFlags : uint
{
CACHE_ZAP = 1,
CACHE_GAC = 2,
}
}
| 1.224848 | 5559f9f74f194973ec44e5df5d31b478 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvaSRGitHub/CakeItWebApp",
"max_stars_repo_path": "src/CakeItWebApp.ViewModels/Forum/PostInputViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74236"
} | starcoder | <filename>src/CakeItWebApp.ViewModels/Forum/PostInputViewModel.cs<gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
namespace CakeItWebApp.ViewModels.Forum
{
public class PostInputViewModel
{
public int Id { get; set; }
public string Author { get; set; }
[Required... | 2.316506 | 0d515ec2c282b33befe400ab117f4d96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cschen1205/myob-accounting-plugin",
"max_stars_repo_path": "Accounting.Db.Myob/DbSaleLineManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74237"
} | starcoder | <reponame>cschen1205/myob-accounting-plugin<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Accounting.Core.Sales;
using Accounting.Db;
namespace Accounting.Db.Myob
{
public class DbSaleLineManager : SaleLineManager
{
public DbSaleLineManager(DbManager mgr)
... | 1.317779 | 9d6faa50439a11d325242c5a90d2502c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74237 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashishpatelcs/uno",
"max_stars_repo_path": "src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_JavascriptInvoke.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74238"
} | starcoder | using Uno.UI.Samples.Controls;
using System;
using Windows.UI.Xaml;
using Windows.UI.Core;
using System.Threading;
using Windows.UI.Xaml.Controls;
using System.Threading.Tasks;
using SamplesApp.Windows_UI_Xaml_Controls.WebView;
namespace Uno.UI.Samples.Content.UITests.WebView
{
[SampleControlInfo("WebView", "WebView... | 1.857018 | 57e05937f5cdd5f5cc55383acdd4ecf5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brb3/SlackDotNet",
"max_stars_repo_path": "src/SlackDotNet/Models/Messages/Payloads/EventsAPI/UserChange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74239"
} | starcoder | <filename>src/SlackDotNet/Models/Messages/Payloads/EventsAPI/UserChange.cs
using Newtonsoft.Json;
namespace SlackDotNet.Models.Messages.Payloads.EventsAPI
{
/// <summary>
/// A member's data has changed
/// </summary>
public class UserChange : EventsAPIPayload
{
public const string... | 2.24199 | ae157204935927b205f2ef26f6e8a46e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MobMonRob/Strand-I-believe-I-can-fly-Studien3",
"max_stars_repo_path": "Alte_Versionen/i-believe-i-can-fly-v1/Headtracker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74240"
} | starcoder | using AR.Drone.Control;
using System;
using System.Text;
using System.Threading;
namespace AR.Drone.Headtracker
{
class Program
{
private static bool _ThreadInterupted = false;
private static Thread _trackerThread;
private static void TrackerThread()
{
Console.Writ... | 2.836072 | 0b60efd831aa78e233cd258da6c9fd90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bph-tuwien/SIMULTAN_Stand_29_09_2017",
"max_stars_repo_path": "EngineTest/Apps/DataStructVisualizer/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74241"
} | starcoder | <reponame>bph-tuwien/SIMULTAN_Stand_29_09_2017
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Win... | 2.155078 | c0cbc115acfbeb6ed70593482476e46b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elestedt/dotnet-gitchanges",
"max_stars_repo_path": "dotnet-gitchanges/Configuration/AppConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74242"
} | starcoder | namespace Gitchanges.Configuration
{
public class AppConfig
{
public ParsingPatterns Parsing { get; set; }
public string Template { get; set; }
public string TagsToExclude { get; set; }
public string MinVersion { get; set; }
public RepositoryConfig Repository { g... | 1.527567 | 882a50292850fba23584a5263f60a53a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "741645596/batgame",
"max_stars_repo_path": "Assets/Scripts/Manger/UI/WND/SoldierUpQualityWndOld.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74243"
} | starcoder | using UnityEngine;
using System;
using System.Collections;
/// <summary>
///
/// <From> </From>
/// <Author>QFord</Author>
/// </summary>
public class SoldierUpQualityWndOld : WndTopBase {
public SoldierUpQualityWndOld_h MyHead
{
get
{
return (base.BaseHead() as SoldierUpQualityWndOld_h);... | 1.850062 | 457c3dab64c4d45b7f9e266ac8a1083f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74243 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "ImageServer/Services/WorkQueue/StudyProcess/StudyProcessItemProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74244"
} | starcoder | <gh_stars>1-10
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abov... | 1.744178 | b182aa441481823bb976140181c83ea5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74244 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/SrkCsv",
"max_stars_repo_path": "src/SrkCsv.UnitTests/CsvReaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74245"
} | starcoder | <reponame>JTOne123/SrkCsv
namespace SrkCsv.UnitTests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Text;
[TestClass]
public class CsvReaderTests
{
[TestClass]
public class ReadToEndMethod
{
[TestMethod... | 2.673253 | 69a2f29ade0efd3f6d0bf436b676d7e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Domiii/UnityExperiments",
"max_stars_repo_path": "03_FluidMeshDeformation/Assets/Scripts/Editor/SphereBuilderEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74246"
} | starcoder | <reponame>Domiii/UnityExperiments
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(SphereBuilder))]
public class SphereBuilderEditor : Editor {
public override void OnInspectorGUI ()
{
var b = (SphereBuilder)target;
if (GUILayout.Button ("Bu... | 1.789136 | 5cd6b8335ad1fefa652467515045358a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74246 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "IeuanWalker/Xamarin.Forms.CustomSwitch",
"max_stars_repo_path": "Src/Switch/Helpers/ColorAnimationUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74247"
} | starcoder | using Xamarin.Forms;
namespace Switch.Helpers
{
public static class ColorAnimationUtil
{
public static Color ColorAnimation(Color fromColor, Color toColor, double t)
{
return Color.FromRgba(fromColor.R + (t * (toColor.R - fromColor.R)),
fromColor.G + (t * (toColor.G... | 2.545381 | d9a1048f71b6fa36bd26346ab304b5a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74247 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "zhangzihan/nactivity",
"max_stars_repo_path": "NActiviti/Sys.Bpm.Model/Model/DataAssociation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74248"
} | starcoder | using System.Collections.Generic;
namespace Sys.Workflow.Bpmn.Models
{
public class DataAssociation : BaseElement
{
protected internal string sourceRef;
protected internal string targetRef;
protected internal string transformation;
protected internal IList<Assignment> assignm... | 2.790088 | 635f2fedbd50b0f8167cd94c0bd1b4bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74248 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "davidikin45/AspNetCore.Mvc.Extensions",
"max_stars_repo_path": "src/AspNetCore.Mvc.Extensions/Notifications/INotificationProviderService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74249"
} | starcoder | <filename>src/AspNetCore.Mvc.Extensions/Notifications/INotificationProviderService.cs
using System.Threading.Tasks;
namespace AspNetCore.Mvc.Extensions.Notifications
{
public interface INotificationProviderService : INotificationService
{
}
}
| 1.219715 | 031ef10886158e5f2314708e76cd9525 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74249 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaberSnail/GoldenAnvil.Utility",
"max_stars_repo_path": "GoldenAnvil.Utility/PluralizationUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74250"
} | starcoder | <filename>GoldenAnvil.Utility/PluralizationUtility.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Resources;
namespace GoldenAnvil.Utility
{
/// <summary>
/// This class enables the localization of pluralizable strings. This is based on the data available at
/// http://... | 3.10957 | 9d435a5562f0937497522aa6b8587fdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "egg82/Raven-Game-Framework",
"max_stars_repo_path": "Raven Game Framework/Utils/SimplexUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74251"
} | starcoder | <gh_stars>0
using System;
namespace Raven.Utils {
public class SimplexUtil {
// vars
private static readonly byte[] original = new byte[] {
151,160,137,91,90,15,
131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,
190, 6,148,247,120,234,... | 1.368548 | 0618bd8c0f3152fdfd91b4762fb57bda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74251 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "deipax/Deipax",
"max_stars_repo_path": "Source/Deipax.DataAccess/Extensions/IDbExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74252"
} | starcoder | <gh_stars>1-10
using Deipax.DataAccess.Interfaces;
using System;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
namespace Deipax.DataAccess.Extensions
{
public static class IDbExtensions
{
#region Public Members
public static IDbConnection CreateConnection(
... | 2.527433 | 5327a79b6dd267813cd4fe57d4a610fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wilhelman/RA_Project",
"max_stars_repo_path": "RA_Project/Assets/Bullet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74253"
} | starcoder | <filename>RA_Project/Assets/Bullet.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour {
public float velocity = 1.0f;
public GameObject goal;
public GameObject goalkeeper;
// Use this for initialization
void Start () {... | 2.247782 | 84dd21c3769600d0c58ad692f4acc312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "l4km47/Skins",
"max_stars_repo_path": "AetherControals/AetherCircular.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74254"
} | starcoder | using System.Drawing;
using System.Globalization;
using System.Windows.Forms;
namespace sampletest1.AetherControals
{
public sealed class AetherCircular : Control
{
private Graphics _g;
private float _progressAngle;
private float _remainderAngle;
private bool _exceedingLimits;
... | 2.67814 | 917cfcb81435b12626b945f95f6e12b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qqtc0/imSSOUtils",
"max_stars_repo_path": "imSSOUtils/cores/CinematicaCore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74255"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Threading;
using imSSOUtils.adapters;
using imSSOUtils.window.windows.modding;
namespace imSSOUtils.cores
{
/// <summary>
/// The core of Cinematica.
/// </summ... | 2.742344 | 77ba816934e4a79ac2f9c50265518b50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74255 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GaryHuan9/CodeHelpers",
"max_stars_repo_path": "Unity/Editable/Editor/EditablePositionDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74256"
} | starcoder | <reponame>GaryHuan9/CodeHelpers
#if CODE_HELPERS_UNITY
using UnityEditor;
using UnityEngine;
namespace CodeHelpers.Unity.Editable
{
[CustomPropertyDrawer(typeof(EditablePosition))]
public class EditablePositionDrawer : EditableDrawer
{
protected override int HeightLaneCount => 2;
protected override bool DrawI... | 2.147206 | 7317d3da850cb270ce55bb3352c5aec7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pentegy-services/Logging",
"max_stars_repo_path": "src/PentegyServices.Logging.Core/Security/WinPrincipalConfigurationSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74257"
} | starcoder | using System;
using System.Configuration;
namespace PentegyServices.Logging.Core.Security
{
/// <summary>
/// Represents a section within configuration file for <see cref="WinPrincipal"/> class:
/// <code>
/// <configSections>
/// <section name="winPrincipal" type="Core.Security.WinPrincipalConfigurati... | 2.630772 | 2bc94e57859606c24c4705a47ed0ae18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74257 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Softeq/XToolkit.RestHttpClient",
"max_stars_repo_path": "Softeq.XToolkit.DefaultAuthorization/RegisterAccountDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74258"
} | starcoder | using Softeq.XToolkit.CrossCutting;
namespace Softeq.XToolkit.DefaultAuthorization
{
internal class RegisterAccountDto
{
public string Email { get; set; }
[Security]
public string Password { get; set; }
public bool IsAcceptedTermsOfService { get; } = true;
}
}
| 1.675855 | d18841566e86427c57543437f5ba6f1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74258 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HiP-App/HiP-Forms",
"max_stars_repo_path": "Sources/HipMobile.Tests/BusinessLayer/DtoToModelConverters/ExhibitConverterTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74259"
} | starcoder | // Copyright (C) 2017 History in Paderborn App - Universität Paderborn
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// U... | 2.048665 | 198e420fdfdd098b7318840e90c9c34a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74259 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "germantano8/TP2-Academia",
"max_stars_repo_path": "UI.Web/DSCursos.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74260"
} | starcoder | <reponame>germantano8/TP2-Academia
namespace UI.Web
{
}
namespace UI.Web
{
public partial class DataSet1
{
}
}
| 0.683477 | 82e639f521790af473f4503ca140a82e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jacykow/AR-Graph",
"max_stars_repo_path": "Assets/Scripts/Presentation/Controllers/Graphs/Implementation/SurfaceGraphVisualizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74261"
} | starcoder | using Assets.Scripts.BLL.Models.GraphData.Implementation;
using UnityEngine;
public class SurfaceGraphVisualizer : BaseGraphVisualizer<SurfaceGraphData>
{
[SerializeField] private Color defaultColor = Color.white;
protected override void Redraw(SurfaceGraphData graphData)
{
var metaData = graphDa... | 2.38728 | fbb7d14864d8295518bed22def50c51b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74261 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "int03/NServiceKit",
"max_stars_repo_path": "tests/NServiceKit.Messaging.Tests/Services/UnRetryableFail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74262"
} | starcoder | <reponame>int03/NServiceKit<filename>tests/NServiceKit.Messaging.Tests/Services/UnRetryableFail.cs
using System;
using System.Runtime.Serialization;
using NServiceKit.ServiceHost;
using NServiceKit.ServiceInterface;
namespace NServiceKit.Messaging.Tests.Services
{
/// <summary>An un retryable fail.</summary... | 2.379869 | b6dcb66e38cb858e525bdb1311191bdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladimir-Novick/Vlad2Net.Json",
"max_stars_repo_path": "Vlad2Net.Json/JsObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74263"
} | starcoder | // JsObject.cs
//
// Copyright (C) 2006 <NAME> <EMAIL>
//
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Vlad2Net.Json
{
/// <summary>
/// Represents a JavaScript Object Notation Object data type which contains a
/// collection of <see cref="V... | 3.113419 | 6a1d34222d307e78fbf6aeab36490c3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "z41/Selenium_demo_csharp",
"max_stars_repo_path": "UI/Forms/LoginForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74264"
} | starcoder | <reponame>z41/Selenium_demo_csharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Selenium_demo.UI.Controls;
using OpenQA.Selenium;
namespace Selenium_demo.UI.Forms
{
public class LoginForm : Form
{
public LoginForm(IWebDriver driver, IWebElement element) :... | 1.53915 | 1925d7e8a9297d43562db3bda03d0d4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bjox/eval",
"max_stars_repo_path": "Eval.Test.Unit/Models/AbstractListGenotypeTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74265"
} | starcoder | <gh_stars>0
#region LICENSE
/*
* Distributed under the MIT License.
* Copyright (c) 2019-2020 <NAME>, <NAME>, <NAME>
*
* Read full license terms in the accompanying LICENSE file or at https://opensource.org/licenses/MIT
*/
#endregion
using Eval.Core.Models;
using Eval.Core.Util.EARandom;
using FluentAssertions... | 2.727343 | dfa9c2fc9f46b3a8a9972d31d76cb19e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olivierlizotte/Trinity.Main",
"max_stars_repo_path": "Structures/Track.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74266"
} | starcoder | <reponame>olivierlizotte/Trinity.Main<filename>Structures/Track.cs
/*
* Copyright 2013 <NAME>
* <EMAIL>
* Licensed under the MIT license: <http://www.opensource.org/licenses/mit-license.php>
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trinity
{
public cla... | 2.674032 | bfd3b9db035dc04602a428968b81f26e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74266 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Varunda/carl-wt",
"max_stars_repo_path": "Services/Queues/BackgroundCharacterWeaponStatQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74267"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using watchtower.Models.Census;
using watchtower.Models.Queues;
namespace watchtower.Services.Queues {
/// <summary>
/// Background ... | 2.939292 | 65d2c53bf7f7bacf5a60cd7249f4fc88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74267 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "martindevans/Myre",
"max_stars_repo_path": "Myre/Myre/Extensions/IEnumerableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74268"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Myre.Extensions
{
/// <summary>
///
/// </summary>
public static class IEnumerableExtensions
{
/// <summary>
/// Executes an action for each item in the collection.
/// </summary>
/// <typ... | 3.594419 | 615610fa0344eb1caeb45c2bf81af116 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheMaker-93/2018_AngryBirds-Cs-Unity",
"max_stars_repo_path": "Angry Birds/Assets/3- Scripts/Reference/ScriptReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74269"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(CircleCollider2D))]
public class ScriptReference : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Updat... | 2.648216 | 5f940c91bde0d60b595a992e49cbd105 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matjazbravc/matjazbravc-SolarEdge.Monitoring.Demo",
"max_stars_repo_path": "src/SolarEdge.Monitoring.Demo/Services/EnergyDetailsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74270"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using SolarEdge.Monitoring.Demo.Extensions;
using SolarEdge.Monitoring.Demo.Models;
using SolarEdge.Monitoring.Demo.Models.Dto... | 2.441067 | 6905b27abed80ca78df8d807da7357ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74270 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "encrypt0r/stark",
"max_stars_repo_path": "src/compiler/StarkPlatform.Compiler/Operations/IRangeOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74271"
} | starcoder | <reponame>encrypt0r/stark
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace StarkPlatform.Compiler.Operations
{
/// <summary>
/// Represents a range operation.
/// <para>
/// Curren... | 2.316487 | 48872f110a8b3fd23c9440ef6e52188e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dalealleshouse/algorithms_dotnet",
"max_stars_repo_path": "Algorithms.Tests/DataStructures/Heap/Constructor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74272"
} | starcoder | using Algorithms.DataStructures;
using System;
using Xunit;
namespace Algorithms.Tests.DataStructures.Heap
{
public class Constructor
{
[Fact]
public void RejectNullPriorityFunction()
{
Assert.Throws<ArgumentNullException>(() => new Heap<int>(null, 5));
}
[F... | 2.866257 | 1711ff068d5d550fee7f94fc794cb272 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeroInfinite/SignalR",
"max_stars_repo_path": "test/Microsoft.AspNetCore.Sockets.Tests/ConnectionManagerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74273"
} | starcoder | <filename>test/Microsoft.AspNetCore.Sockets.Tests/ConnectionManagerTests.cs<gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Sockets.... | 1.896902 | 2650bf8c9b16dbe3dde6c856620ebb00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MohtishamZubair/user-admin",
"max_stars_repo_path": "Saas.UserManage/Models/RequestInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74274"
} | starcoder | namespace Saas.UserManage.Models
{
class RequestInfo
{
private dynamic data;
public RequestInfo(dynamic data)
{
this.data = data;
}
public string Country
{
get
{
return data.country_name;
}
... | 2.030467 | 0efa3047de8bd082ce89e48eb064430d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74274 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pingzing/SoleneCYOA",
"max_stars_repo_path": "Solene.MobileApp/Solene.MobileApp.Core/Converters/QuestioSelectableToColorConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74275"
} | starcoder | using System;
using System.Globalization;
using Xamarin.Forms;
namespace Solene.MobileApp.Core.Converters
{
public class QuestioSelectableToColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
bool isLocked... | 2.536778 | 3d82165927935091af95c0371f8db413 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74275 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "studentsXbooks/studentsXbooks-app",
"max_stars_repo_path": "backend/sXb-integration-tests/Integration/UsersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74276"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using AutoFixture;
using AutoFixture.AutoMoq;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Testing;
using sXb_service;
using sXb_service.Helpers;
usi... | 2.404648 | aacbfdb268a33948d6ea628acb18add5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74276 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "tfreitasleal/mvvmfx",
"max_stars_repo_path": "Source/Binding/MvvmFx.Bindings.Net45/Input/ToolStripItemEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74277"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
#if WISEJ
using ToolStripItem = Wisej.Web.MenuItem;
#else
using System.Windows.Forms;
#endif
namespace MvvmFx.Bindings.Input
{
/// <summary>
/// Defines the input that can be raised by a <see cref="ToolStripIte... | 2.703757 | 280f10374713c468837bbdca00e9d61e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74277 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dreed657/Socializer",
"max_stars_repo_path": "Web/Socializer.Web/Areas/Messenger/Services/IChatService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74278"
} | starcoder | namespace Socializer.Web.Areas.Messenger.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Socializer.Web.ViewModels.Chat;
public interface IChatService
{
Task<ChatGroupViewModel> GetChatGroupDetails(int groupId);
Task<int?> IsUsersAlreadyInARoom(st... | 1.944527 | 8aa9886e1ad0c14af3ecc0b79ab626b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74278 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "Rocher0724/quobject_unity_socket",
"max_stars_repo_path": "Assets/Plugins/Socket/Newtonsoft.Json/Linq/JsonPath/RootFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74279"
} | starcoder | using System.Collections.Generic;
namespace Socket.Newtonsoft.Json.Linq.JsonPath {
internal class RootFilter : PathFilter {
public static readonly RootFilter Instance = new RootFilter();
private RootFilter() {
}
public override IEnumerable<JToken> ExecuteFilter(
JToken root,
IEnumerable... | 1.9189 | 7195575b7f86da04685ec2acef114ceb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74279 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vvm-broadsoft/unity-vr-maze",
"max_stars_repo_path": "Assets/Maze/Scripts/Waypoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74280"
} | starcoder | <reponame>vvm-broadsoft/unity-vr-maze
using UnityEngine;
using System.Collections;
public class Waypoint : MonoBehaviour
{
private enum State
{
Idle,
Focused,
Clicked,
Approaching,
Moving,
Collect,
Collected,
Occupied,
Open,
Hidden
}
[SerializeField]
private State _state = State.Idle;... | 2.099031 | 07ae1f9d074e52a35de3c7b5fb953ad5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-employeraccounts",
"max_stars_repo_path": "src/SFA.DAS/Authorization/IAccountContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74281"
} | starcoder | namespace SFA.DAS.Authorization
{
public interface IAccountContext
{
long Id { get; }
string HashedId { get; }
string PublicHashedId { get; }
}
} | 1.256184 | 5ce34e69a1c053626f4fdef979411562 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vakuzar/Multithreaded-Blood-Sim",
"max_stars_repo_path": "Blood/Library/PackageCache/com.unity.cinemachine@2.5.0/Editor/Editors/CinemachineGroupComposerEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74282"
} | starcoder | <reponame>Vakuzar/Multithreaded-Blood-Sim
version https://git-lfs.github.com/spec/v1
oid sha256:7f572ec4fc42636db438742913d879c07d8b61e206fbc78f43cfabce29074038
size 3971
| 0.690792 | c8762cf44c42e5e16544d9dbeb160fa2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74282 | {
"extension": "c-sharp",
"max_stars_count": "600.0",
"max_stars_repo_name": "resnikb/Insight.Database",
"max_stars_repo_path": "Insight.Database.Core/Expando/FastExpando.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74283"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Dynamic;
using System.Linq;
using System.Reflection;
using System.Text;
using Insight.Database.CodeGenerator;
namespace Insight.Database
{
/// <summary>
/// Implements a fast Expando o... | 3.088422 | 4e5ea7559aab9f9946d4fed6c357e67d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hetal728/FootballPlugin",
"max_stars_repo_path": "Commands/CmdSpinBall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74284"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MCGalaxy;
namespace FootballPlugin.Commands
{
public class CmdSpinball : Command
{
public override string name { get { return "spinball"; } }
public override string shortcu... | 2.622966 | 4e8d3c8562012f5e3a57c5a6a3d0994a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74284 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gotsu-unica/pagarme-core-api-dotnet-framework",
"max_stars_repo_path": "examples/marketplace/CreateAnticipation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74285"
} | starcoder | using PagarmeCoreApi.PCL;
using PagarmeCoreApi.PCL.Models;
using System;
namespace Example.Marketplace
{
class CreateAnticipation
{
static void Main(string[] args)
{
// Configuration parameters and credentials
string basicAuthUserName = "basicAuthUserName"; // The userna... | 2.433075 | dcb0ce16002872d0a6cf30c0002a1fd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tivtag/Atom",
"max_stars_repo_path": "Source/Atom.Xna.Particles/Emitters/SpiralEmitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74286"
} | starcoder | // <copyright file="SpiralEmitter.cs" company="federrot Software">
// Copyright (c) federrot Software. All rights reserved.
// </copyright>
// <summary>Defines the Atom.Xna.Particles.Emitters.SpiralEmitter class.</summary>
// <author><NAME></author>
namespace Atom.Xna.Particles.Emitters
{
using System;
us... | 2.973502 | 59222a292be3e6b9627fa3a557aef64b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mconnew/Blog",
"max_stars_repo_path": "src/LargeContracts/Contract/Contract/IService64.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74287"
} | starcoder | <reponame>mconnew/Blog<gh_stars>0
using System;
using System.ServiceModel;
namespace Sample.Services
{
[ServiceContract()]
public interface IService64
{
[OperationContract]
[FaultContract(typeof(Byte[]))]
int L001_64(int num);
[OperationContract]
[FaultContract(typeof... | 1.443542 | e91e89f674dfa3c154cf7dbe28f188fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EibrielInv/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Helpers/Utils/CompositeLock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74288"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace DCL.Helpers
{
public class CompositeLock
{
public static bool VERBOSE = false;
public event System.Action OnAllLocksRemoved;
int lockCounter = 0;
HashSet<object> lockIds = new HashSet<object>();
public boo... | 2.973392 | 043eb0c7b2c42cf7b4968e141c3e76a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boris-741/BadCodeMatch",
"max_stars_repo_path": "Assets/Scripts/UISystem/Component/UIClose.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74289"
} | starcoder | <filename>Assets/Scripts/UISystem/Component/UIClose.cs
namespace BadCode.Main
{
public struct UICloseComponent
{
public float tm_total;
public float tm_cur;
}
public struct UIWaitCloseComponent{}
public struct UIActCloseComponent{}
//destroy by ready close
} | 1.337295 | 64036a77cd41fb204c0928873c67e040 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74289 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FernandoCalmet/DOTNET-6-Azure-FunctionApp-CosmosDB-CRUD",
"max_stars_repo_path": "EFCore.FunctionApp/Contracts/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74290"
} | starcoder | using EfCoreFunctionApp.Entities;
namespace EfCoreFunctionApp.Contracts;
public interface IUserService
{
Task HandleCommandAsync(CreateUserCommand command);
Task HandleCommandAsync(SetUserPartitionKeyCommand command);
Task HandleCommandAsync(SetUserTokenCommand command);
Task HandleCommandAsync(SetUs... | 1.453429 | dff7d7b045b0cc7fdc6f1315ae5ef3b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74290 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "devxkh/FrankE",
"max_stars_repo_path": "Editor/VEX/Modules/Core/VEX.Core.Shared/ViewModel/Project/ProjectViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74291"
} | starcoder | <gh_stars>10-100
#region License
//The MIT License (MIT)
//Copyright (c) 2014 <NAME>
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the ... | 1.58832 | 89ec4032c64f7715954eeb0cc296baf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74291 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eyuelberga/ethiopian-calendar",
"max_stars_repo_path": "EthiopianCalendarLib/TextCalendar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74292"
} | starcoder | using System;
namespace EthiopianCalendar
{
/// <summary>
/// A child class of Calender, used for generating text based calendar on the console.
/// </summary>
public class TextCalendar : Calendar
{
/// <summary>
/// Formats the week header.
/// </summary>
/// <retur... | 3.589161 | 03505eee75775c101c1133354b41609d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NWalker1208/synthesis",
"max_stars_repo_path": "engine/unity4/Assets/scripts/RobotConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74293"
} | starcoder | <filename>engine/unity4/Assets/scripts/RobotConfiguration.cs
using UnityEngine;
using UnityEngine.UI;
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;
public class RobotConfiguration : MonoBehaviour
{
// We will need these
public const float PHYSICS... | 1.798751 | 07d890a74c56fc97ed98cc026b689bb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/OwinFramework.Pages",
"max_stars_repo_path": "OwinFramework.Pages.Framework/DataModel/DataSupplier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74294"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using OwinFramework.Pages.Core.Debug;
using OwinFramework.Pages.Core.Extensions;
using OwinFramework.Pages.Core.Interfaces.DataModel;
using OwinFramework.Pages.Core.Interfaces.Managers;
using OwinFramework.Pages.Core.Interfaces.Runtime;
namespace Owin... | 2.472868 | 2455bf42365f4e325f4ca15a400f2f3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noname0310/TownPatroller-HardwareClient",
"max_stars_repo_path": "TownPatroller/Assets/Scripts/Socket/Helper/ObjAdder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74295"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjAdder : MonoBehaviour
{
public GameObject NetworkManager;
void Start()
{
if (GameObject.Find("NetworkManager(Clone)") == null)
{
Instantiate(NetworkManager);
}
}
}
| 1.754184 | 1139c8a0c543cf441465e978c7ee3cdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vasar007/GreatMercenaries",
"max_stars_repo_path": "Assets/Scripts/Scriptables/UI/UIPropertyUpdater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74296"
} | starcoder | namespace SO.UI
{
public class UIPropertyUpdater : GameEventListener
{
/// <summary>
/// Use this to update the UI element as soon as THIS gameObject is enabled
/// </summary>
public bool raiseOnEnable;
/// In the off chance you need to update a UI element when disabled,... | 2.837434 | 7d7b0cb7eadf24e6a5731197184f07e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaelraah/AspNetCoreIdentity",
"max_stars_repo_path": "AspNetCoreIdentity/AspNetCoreIdentity/Views/Home/SecretClaim.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74297"
} | starcoder | <filename>AspNetCoreIdentity/AspNetCoreIdentity/Views/Home/SecretClaim.cshtml
@{
ViewData["Title"] = "Secret";
}
<div class="text-center">
<h1 class="display-4">Secret Claim</h1>
<p>This is your secret claim page</p>
</div>
| 2.011049 | 7ad38e4c569fd7dfbb6d179bebf53528 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LeisurelyYang/design-pattern",
"max_stars_repo_path": "src/Decorator/Decorator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74298"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Basic
{
abstract class Decorator: Component
{
}
}
| 1.40747 | 75b2a5b33d0023abd70a7bd7c347230d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnetcorelabs/LabMS-Project",
"max_stars_repo_path": "src/DotNetCoreLabs.LabMS.Domain/Validations/ValidationError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74299"
} | starcoder | <filename>src/DotNetCoreLabs.LabMS.Domain/Validations/ValidationError.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotNetCoreLabs.LabMS.Domain.Validations
{
public class ValidationError
{
public string Message { get; set; }
publi... | 2.23695 | 4c6b74633a2595d8209361222c8de858 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74299 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ZOXEXIVO/WindowsServerMonitoring",
"max_stars_repo_path": "src/ServerMonitoring.Data/Models/Common/ServerStatisticsDataItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74300"
} | starcoder | using System.Collections.Generic;
using ServerMonitoring.Data.Enums;
namespace ServerMonitoring.Data.Models.Common
{
public class ServerStatisticsDataItem
{
public ServerStatisticsDataItem()
{
Data = new List<double>();
}
/// <summary>
/// Name of item (CPU... | 2.64438 | b8ba0895538fdacafe46a4b145e47c09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74300 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/search/Microsoft.Azure.Search.Service/src/Generated/DataSourcesOperationsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74301"
} | starcoder | <filename>sdk/search/Microsoft.Azure.Search.Service/src/Generated/DataSourcesOperationsExtensions.cs
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) A... | 1.825085 | c90baacf0909aad6a9d79d98acaa9d0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74301 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "angelbbs/NiceHashMinerLegacy",
"max_stars_repo_path": "NiceHashMiner/Miners/MinersManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74302"
} | starcoder | using NiceHashMiner.Devices;
using NiceHashMiner.Interfaces;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NiceHashMiner.Miners
{
public static class MinersManager
{
private static MiningSession _curMiningSession;
public static void StopAllMiners()
{
... | 2.012599 | 2e6b19bed0e42fe4494b62c64b105f8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fernandesbg/Programing-basics",
"max_stars_repo_path": "Preparation 18 March/Sum Of Two Numbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74303"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sum_Of_Two_Numbers
{
class Program
{
static void Main(string[] args)
{
var begining = int.Parse(Console.ReadLine());
var end = int.... | 3.581478 | 465c3f481f07b86c8c6e0333ff98deab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kinetic-coder/skills-management-api",
"max_stars_repo_path": ".history/models/TodoContext_20200830224952.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74304"
} | starcoder | <filename>.history/models/TodoContext_20200830224952.cs
using Microsoft.EntityFrameworkCore;
namespace TodoApi.Models {
} | 1.037277 | 0d192743021c14271f183646e5b817e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74304 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EmORz/Exam-Preparation---Web-Basic",
"max_stars_repo_path": "Apps/Panda_1.1/Panda.Services_1/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74305"
} | starcoder | using System.Collections.Generic;
using Panda.Data_1.Models;
namespace Panda.Services_1
{
public interface IUserService
{
string CreateUser(string username, string email, string password);
IEnumerable<string> GetUsernames();
User GetUsersOrNull(string username, string password);
... | 2.020034 | d7c294299a9dae40c44cec606f07b42e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KiaArmani/XurSuite",
"max_stars_repo_path": "Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Static_/Destiny/Definitions/Sockets/DestinyInsertPlugActionDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <reponame>KiaArmani/XurSuite
using Newtonsoft.Json;
namespace BungieNet.Destiny.Definitions.Sockets
{
partial class DestinyInsertPlugActionDefinition
{
[Undocumented]
[JsonProperty("actionSoundHash")]
public uint ActionSoundHash { get; set; }
[Undocumented]
[JsonProper... | 1.440879 | 961d975404157c61374b0e601764980d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74306 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Slesa/Prolog.NET",
"max_stars_repo_path": "codeplex/Prolog/LibraryMethodList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74307"
} | starcoder | <reponame>Slesa/Prolog.NET
/* Copyright © 2010 <NAME>.
* Licensed under the terms of the Microsoft Public License (Ms-PL).
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Prolog.Code;
namespace Prolog
{
/// <summary>
/// Represents a list of <see... | 2.803331 | 7ec9375e61aeecca7ef4c98cb17d988c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74307 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CTN-Originals/Unity-DrawSpaceIf-PropertyDrawer",
"max_stars_repo_path": "NameSpaces/Exceptions/PropertyOrFieldNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74308"
} | starcoder | using System;
using com.ctn_originals.unity_drawif_attributes;
namespace Exceptions
{
/// <summary>
/// An exception that is thrown whenever a field or a property was not found inside of an object when using Reflection.
/// </summary>
[Serializable]
public class PropertyOrFieldNotFoundException :... | 2.551224 | d6c4f0eb89d1305cb2217ba0644c0637 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74308 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EddyAlleman/docify",
"max_stars_repo_path": "tests/Core.Tests/SiteTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74309"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using Tests.Common.Mocks;
using Xarial.Docify.Core.Data;
using Xarial.Docify.Base;
namespace Core.Tests
{
public class SiteTest
{
[Test]
public void GetFullUrl_NoHostNoBaseTest()
{
va... | 2.260083 | 707a56914001ae3abe1275a520cecf55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asimarslan/hazelcast-csharp-client",
"max_stars_repo_path": "Hazelcast.Net/Hazelcast.Util/QuickMath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74310"
} | starcoder | <gh_stars>0
// Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | 2.838574 | ff89acc6ac4994fe5248479e1062ab88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74310 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "AradAral/Vidazor",
"max_stars_repo_path": "src/Vidazor/Types/ReadyState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74311"
} | starcoder | <filename>src/Vidazor/Types/ReadyState.cs<gh_stars>1-10
namespace Vidazor.Types
{
public enum ReadyState
{
/// <summary>
/// No information is available about the video resource.
/// </summary>
HaveNothing,
/// <summary>
/// Metadata about the video resource is ... | 2.709466 | 1a117df5491377ca5574c233dd7d95d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74311 | {
"extension": "c-sharp",
"max_stars_count": "458.0",
"max_stars_repo_name": "brthor/Thor.Tasks",
"max_stars_repo_path": "Gofer.NET.Utils/Errors/IHelpfulException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74312"
} | starcoder | namespace Gofer.NET.Errors
{
public interface IHelpfulException
{
string HelpText { get; }
}
} | 1.578198 | 36ec69803bc434fd136e49683e0eed6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74312 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayEcoSignflowsDetailQueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74313"
} | starcoder | <gh_stars>100-1000
using System;
using System.Xml.Serialization;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayEcoSignflowsDetailQueryResponse.
/// </summary>
public class AlipayEcoSignflowsDetailQueryResponse : AopResponse
{
/// <summary>
//... | 1.207505 | 1528a332d854de2c4184e95581625ed4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74313 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vreniose95/Ccr",
"max_stars_repo_path": "Ccr.MaterialDesign/MaterialDesign/Controls/Icons/Icon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74314"
} | starcoder | <reponame>vreniose95/Ccr<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Ccr.Core.Extensions;
using Ccr.Core.Extensions.NumericExtensions;
using Ccr.Core.Numerics.Ranges;
using Ccr.Presenta... | 2.326635 | 25e074d79b8e2d6b74280942d00647d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "creatingrealitysubmissions/leave-a-note",
"max_stars_repo_path": "LeaveANote/Assets/Script/NoteManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74315"
} | starcoder | <reponame>creatingrealitysubmissions/leave-a-note
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class NoteManager : MonoBehaviour {
public GameObject Notification;
public GameObject Notes;
public float disFromCam = 2.0f;
public int noteCount = 0;
publ... | 2.274654 | 38f4b43e46ba5fc925b8ceda8c411335 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74315 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "abelfleitas/QvaPay.Net",
"max_stars_repo_path": "Models/AppInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74316"
} | starcoder | <reponame>abelfleitas/QvaPay.Net<gh_stars>1-10
using System;
namespace QvaPayDotnet.Models
{
public class AppInfo
{
public int user_id { get; set; }
public string name { get; set; }
public string url { get; set; }
public string desc { get; set; }
public string callback ... | 1.564244 | 53aecacd8abe0a9969d6e7f85662692d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74316 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreyaFreed/mordheim",
"max_stars_repo_path": "Assembly-CSharp/Steamworks/HServerListRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74317"
} | starcoder | <reponame>FreyaFreed/mordheim
using System;
namespace Steamworks
{
public struct HServerListRequest : global::System.IEquatable<global::Steamworks.HServerListRequest>
{
public HServerListRequest(global::System.IntPtr value)
{
this.m_HServerListRequest = value;
}
public override string ToString()
{
... | 2.231399 | a9f5f5979180cbfe4d48848fc6941a6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74317 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RH-Code/GAPP",
"max_stars_repo_path": "GlobalcachingApplication.Framework/Data/APIKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74318"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GlobalcachingApplication.Framework.Data
{
public enum APIKey
{
GeocachingLive,
GeocachingLiveTest,
}
}
| 1.174477 | d43a480e7da001a290d79be3a3df3984 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74318 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kabanos150/ModniteServer",
"max_stars_repo_path": "ModniteServer.Api/Controllers/MatchmakingController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74319"
} | starcoder | using Newtonsoft.Json;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ModniteServer.API.Controllers
{
public sealed class MatchmakingController : Controller
{
/// <summary>
/// Finds the available sessions for the player to rejoin... | 1.967646 | e20486e72196cc70612004476f9e0515 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ghuntley/xamarin-macios",
"max_stars_repo_path": "src/Foundation/NSUrlSession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74320"
} | starcoder |
using System;
using System.IO;
namespace XamCore.Foundation {
#if !XAMCORE_2_0
public partial class NSUrlSession {
NSUrlDownloadSessionResponse GetCompletionHandler (NSUrlSessionResponse completionHandler)
{
if (completionHandler == null)
return null;
// we can't return an NSData so we return null - j... | 2.212325 | 39154148442c0449f28f4e7f5353e832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtellurian/Xamling-Core",
"max_stars_repo_path": "XamlingCore/XamlingCore.Portable/Util/GeoSpatial/DistanceHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74321"
} | starcoder | <gh_stars>0
//From: http://stackoverflow.com/questions/28569246/how-to-get-distance-between-two-locations-in-windows-phone-8-1
using System;
using XamlingCore.Portable.Model.Location;
namespace XamlingCore.Portable.Util.GeoSpatial
{
/// <summary>
/// The distance type to return the results in.
/// </summary... | 3.149711 | a4224e4b2ba7e65b134f14d5f6945d1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74321 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ankitkanojia/DotNetCharts",
"max_stars_repo_path": "DotNetCharts/Views/CanvasJsChart/FinancialChart.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74322"
} | starcoder | @{
ViewBag.Title = "FinancialChart";
Layout = "~/Views/Shared/_CanvasJSChartLayout.cshtml";
}
<div class="row pt-3 px-4">
<div class="col-md-6">
<div class="card">
<div class="card-header">
Simple Financial Chart
</div>
<div class="card-body">
... | 2.635882 | 9ab8ad746f4d125430c6909419ebba49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tratteo/com.tratteo.GibFrame",
"max_stars_repo_path": "Runtime/Components/Selectors/RaycastSelector2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74323"
} | starcoder | <reponame>tratteo/com.tratteo.GibFrame
// Copyright (c) <NAME>
//
// com.tratteo.gibframe -> GibFrame : RaycastBasedSelector.cs
//
// All Rights Reserved
using System.Collections;
using UnityEngine;
namespace GibFrame.Selectors
{
public class RaycastSelector2D : DiscreteSelector
{
private Vector3 dir... | 2.078096 | 03eaa8a8510dbe1fcb136c343dd62f35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74323 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dfengwji/unity",
"max_stars_repo_path": "ZStart.Core/Model/AudioInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74324"
} | starcoder | <filename>ZStart.Core/Model/AudioInfo.cs<gh_stars>1-10
namespace ZStart.Core.Model
{
[System.Serializable]
public struct AudioInfo
{
public int id;
public string name;
public string assetPath;
public bool isLoop;
public float time;
public uint bundle;
}
... | 1.767016 | 2c9cbaccfb096b658cc9ff4d93003dc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ivan-Proskurin/Monifier",
"max_stars_repo_path": "Monifier.BusinessLogic.Queries/Settings/UserSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74325"
} | starcoder | <filename>Monifier.BusinessLogic.Queries/Settings/UserSettings.cs<gh_stars>0
using Monifier.BusinessLogic.Contract.Settings;
namespace Monifier.BusinessLogic.Queries.Settings
{
public class UserSettings : IUserSettings
{
public int ItemsPerPage { get; set; } = 7;
public decimal Danger... | 2.095856 | 7e6ad7b3438d7fc8dcfd8f1d5dd54ae3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeterTheHe/lovers-on-a-park-bench",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerHealth.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74326"
} | starcoder | <reponame>PeterTheHe/lovers-on-a-park-bench
using UnityEngine;
using System.Collections;
public class PlayerHealth : MonoBehaviour {
public GameLogic gameLogic;
public float maxHealth;
public float health;
public bool target;
// Use this for initialization
void Start () {
}
// Update is calle... | 2.06633 | dc3273dac8b48b873c04cc28f5e2f967 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74326 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ASharpPen/valheim.dropthat",
"max_stars_repo_path": "Valheim.DropThat/Configuration/Multiplayer/ConfigMultiplayerPatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74327"
} | starcoder | <reponame>ASharpPen/valheim.dropthat
using HarmonyLib;
using System;
using Valheim.DropThat.Core;
using Valheim.DropThat.Core.Network;
namespace Valheim.DropThat.Configuration.Multiplayer
{
[HarmonyPatch(typeof(ZNet))]
public class ConfigMultiplayerPatch
{
[HarmonyPatch("OnNewConnection")]
[HarmonyPostfix]
... | 1.947876 | a036cb4921c79a2b6dd0325e23f39782 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74327 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jjh2v2/DirectX12GameEngine",
"max_stars_repo_path": "DirectX12GameEngine.Shaders/ShaderGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74328"
} | starcoder | using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace DirectX12GameEngine.Shaders
{
public class ShaderGenerator
{
public const string DelegateEntryPointName = "Main";
public const string DelegateTy... | 2.22025 | 9c7bae03099e30115ab3a4a5f0de6498 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Harurow/SlideshowScreenSaver",
"max_stars_repo_path": "src/SlideshowScreenSaver/Lib/TimerEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74329"
} | starcoder | using System;
using System.ComponentModel;
using System.Threading;
namespace SlideshowScreenSaver.Lib
{
/// <summary>
/// 別スレッドで稼働するタイマー
/// Threading.Timerを使いやすくラップした
/// </summary>
public sealed class TimerEx : IDisposable
{
#region IDisposable
private bool _disposed;
public bool IsDis... | 3.053882 | 391b5c0fbe3f1b53f375e30fae4be5f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svetlimladenov/WorkDemos",
"max_stars_repo_path": "WebApiForTests/DTOs/WebApi.DTO/Product/CreateProductInputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74330"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace WebApi.DTO.Product
{
public class CreateProductInputModel
{
[MinLength(3)]
[Required]
public string Name { get; set; }
[Required]
publi... | 1.675147 | 102963cb80915dbf0051f53197857eb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74330 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AnteVuletic/ljepotaservis",
"max_stars_repo_path": "ljepotaservis/ljepotaservis.Infrastructure/DataTransferObjects/FilterDtos/SearchFilterDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74331"
} | starcoder | using System;
using ljepotaservis.Data.Enums;
using Newtonsoft.Json.Linq;
namespace ljepotaservis.Infrastructure.DataTransferObjects.FilterDtos
{
public class SearchFilterDto
{
public SearchFilterDto(JObject searchFilter)
{
Enum.TryParse<StoreType>(searchFilter["filters"]["storeTyp... | 2.483499 | dc46716cd02f253b8b48bbfbb57bb6c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "negativeeddy/AzureServiceBusBotRelay",
"max_stars_repo_path": "Src/NegativeEddy.Bots.AzureServiceBusRelay.Service/DispatcherService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74332"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.Azure.Relay;
using Microsoft.Extensions.Host... | 2.03774 | fd3292188359dd1e98d309e4654a8916 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74332 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "heneryville/Daisy",
"max_stars_repo_path": "Tests/Daisy/Unit/Program/PerformanceMeasurementsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74333"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ancestry.Daisy.Program;
using NUnit.Framework;
namespace Ancestry.Daisy.Tests.Daisy.Unit.Program
{
/// <summary>
///
/// </summary>
[TestFixture,Catego... | 2.403285 | c965d34af2691b89dce654a02f3f266c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.