added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812718 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "syncfusion/winforms-demos",
"max_stars_repo_path": "showcase/SuccinitySeries/CS/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131938"
} | starcoder | <gh_stars>100-1000
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// appl... | 2.070226 | 1d696ac6c7cffd2ec8526562f6c1c823 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markhiveit/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreEducationStatistics.Data.Api/Models/GeographicData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131939"
} | starcoder | using System;
using System.Collections.Generic;
using GovUk.Education.ExploreEducationStatistics.Data.Api.Models.Query;
namespace GovUk.Education.ExploreEducationStatistics.Data.Api.Models
{
public class GeographicData : TidyData, IGeographicData
{
public GeographicData()
{
}
p... | 2.099351 | 04422024ab8be4b8b732a2683c105cbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noordwind/Sama",
"max_stars_repo_path": "src/Sama.Core/Domain/IAggregateRoot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131940"
} | starcoder | using System.Collections.Generic;
namespace Sama.Core.Domain
{
public interface IAggregateRoot : IEntity
{
IEnumerable<IEvent> Events { get; }
}
} | 1.706746 | 05863e14f9fffb86c78ea3f579f33754 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thehoneymad/AzureCDNService",
"max_stars_repo_path": "AzureCDNService/AzureCDNService/Lib/BlobHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131941"
} | starcoder | using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzureCDNService.Lib
{
public class BlobHelper
{
public static Clou... | 2.513031 | 9450cdee9915a5fbfd7e70e55473775c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812722 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "renaudbedard/HoloFEZ",
"max_stars_repo_path": "Assets/FezUnity/FezUnityAnimatedTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131942"
} | starcoder | <filename>Assets/FezUnity/FezUnityAnimatedTexture.cs
using UnityEngine;
using System;
using System.Collections.Generic;
using FezEngine.Structure;
using FmbLib;
using System.IO;
public class FezUnityAnimatedTexture : MonoBehaviour, IFillable<AnimatedTexture> {
[HideInInspector]
public AnimatedTexture Animation;
... | 2.457267 | ceac106676bb0ce5825eef6f282028db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812723 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "mperdeck/dynamicbundles",
"max_stars_repo_path": "DynamicBundles/DynamicBundles.Test/Helpers/TestCacheHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131943"
} | starcoder | <reponame>mperdeck/dynamicbundles
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using DynamicBundles;
namespace DynamicBundles.Test
{
public class TestCacheHelper : ICacheHelper
{
public T Get<T>(string cacheKey, F... | 1.786439 | d6cdfc1eda913930bab69bab84149544 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gibberin/Inventorium",
"max_stars_repo_path": "Inventorium/Views/Bins/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131944"
} | starcoder | @model NventoriumLib.Bin
@{
ViewData["Title"] = "Details";
}
<h2>Details for bin '@Model.Name'</h2>
<span style="font-weight: bold;">@Html.DisplayFor(model => model.Description)</span>
<div>
<hr />
<p>
<a asp-controller="Racks" asp-action="Details" asp-route-id="@Model.Rack.ID">@Html.DisplayFor(... | 2.301433 | 96e6eca7940105fa09853c76b7190a29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linuxgurugamer/CactEye-2",
"max_stars_repo_path": "CactEye2/TimeLibrary/KSPDateStructure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131945"
} | starcoder | <reponame>linuxgurugamer/CactEye-2<gh_stars>0
#if true
/* Part of KSPPluginFramework
Version 1.2
Forum Thread:http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework
Author: TriggerAu, 2014
License: The MIT License (MIT)
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
u... | 2.54031 | 6add239a70391e14c9f2c5a75ac303c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "richardjharding/SampleApp",
"max_stars_repo_path": "Sprydon.Data/Sprydon.Api/App_Start/WebApiConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131946"
} | starcoder | using Sprydon.Data.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web.OData.Builder;
using System.Web.OData.Extensions;
namespace Sprydon.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
... | 2.080869 | 0cdc18790b2e5d405d8182a4c1c2cad7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ringtail-deploy-feature-utility",
"max_stars_repo_path": "data/MockData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131947"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RingtailDeployFeatureUtility.data
{
class MockData
{
internal static List<KeyDataObject> GenerateMockFeatureLaunchKeysList()
{
var featureLaunchKeysList = n... | 2.181733 | aa0f9c9f6336c20d7e24440581ff28e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oalt/MDD4All.SVG.DataModels",
"max_stars_repo_path": "src/MDD4All.SVG.DataModels/Rectangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131948"
} | starcoder | /*
* Copyright (c) MDD4All.de, Dr. <NAME>
*/
using MDD4All.SVG.DataModels.Extensions;
using System.Xml.Serialization;
namespace MDD4All.SVG.DataModels
{
public class Rectangle : SvgElement
{
[XmlAttribute("x")]
public string X { get; set; }
[XmlAttribute("y")]
public string ... | 2.283721 | 6e5c0a73ffa24694da4045ed213a1370 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoolPurist/Sunken-Castle",
"max_stars_repo_path": "Sunken-Castle/Assets/Scripts/Menue/ReplaceObjectWithPrefab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131949"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReplaceObjectWithPrefab : MonoBehaviour
{
[Tooltip("Object in scene which needs to be deleted/replaced.")]
public GameObject toReplaceObject;
[Tooltip("Object which should be created in a scene.")]
public GameO... | 2.5927 | eb6370c92b0094035bfcf00e66e6f10a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812730 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Konamiman/NestorDevice",
"max_stars_repo_path": "dotNet/RookieDriveDeviceServer/WinUSBNet/USBInterfaceCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131950"
} | starcoder | /* WinUSBNet library
* (C) 2010 <NAME> (www.madwizard.org)
*
* Licensed under the MIT license, see license.txt or:
* http://www.opensource.org/licenses/mit-license.php
*/
using System;
using System.Collections;
using System.Collections.Generic;
namespace MadWizard.WinUSBNet
{
/// <summary>
/// Collec... | 2.964292 | 191a7c0d72136ac7d168cdd97854e1c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812731 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "forki/JsonLD.Entities",
"max_stars_repo_path": "src/JsonLD.Entities/Context/AutoContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131951"
} | starcoder | using System;
using Newtonsoft.Json.Linq;
namespace JsonLD.Entities.Context
{
/// <summary>
/// Automatic @context based on properties and class identifier
/// </summary>
/// <typeparam name="T">Model type</typeparam>
/// <seealso cref="Newtonsoft.Json.Linq.JObject" />
public class AutoContext... | 2.857776 | 88c90851d4456ef7945433d0f4ff50a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812732 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "fatalcaster/UnityGames-HospitalEscape",
"max_stars_repo_path": "Infinite runner/Library/PackageCache/com.unity.shadergraph@7.3.1/Editor/Util/CompatibilityExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131952"
} | starcoder | <gh_stars>10-100
using System;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing
{
static class CompatibilityExtensions
{
#if !UNITY_2018_3_OR_NEWER
public static void MarkDirtyRepaint(this VisualElement element)
{
element.Dirty(ChangeType.R... | 1.883877 | 5c721e3ca994711ce0fe9f16f2c0063b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812733 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "Erffun/dotnet-arangodb",
"max_stars_repo_path": "Core.Arango/Modules/IArangoViewModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131953"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Core.Arango.Protocol;
namespace Core.Arango.Modules
{
/// <summary>
/// Arango View (ArangoSearch) management
/// </summary>
public interface IArangoViewModule
{
/// <summary>
/// ... | 2.206944 | bded2c42d8ad8c8fb04f7168b153dd79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluctritsch/CommunityServer",
"max_stars_repo_path": "web/core/ASC.Web.Core/Utility/PasswordSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131954"
} | starcoder | <reponame>jeanluctritsch/CommunityServer
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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... | 2.123586 | ea6bf70d3b6af201d8b01f8ba9d5517e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812735 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Septharoth/EndlessClient",
"max_stars_repo_path": "EOLib/Net/Translators/AccountLoginPacketTranslator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131955"
} | starcoder | using System.Collections.Generic;
using AutomaticTypeMapper;
using EOLib.Domain.Character;
using EOLib.Domain.Login;
using EOLib.IO.Repositories;
using EOLib.Domain.Protocol;
namespace EOLib.Net.Translators
{
[AutoMappedType]
public class AccountLoginPacketTranslator : CharacterDisplayPacketTranslator<IAccoun... | 2.245061 | 632a31bcc8c8da58a1ec24d79771c730 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnGaucho/StarDrive",
"max_stars_repo_path": "UnitTests/TestSpatialManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131956"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Ship_Game;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests
{
[TestClass]
public cla... | 0.709831 | 998d146fb1000e68b805d6b1453a02ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812737 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobDixonIII/Bloom",
"max_stars_repo_path": "Shared/Bloom.Domain/Models/PersonReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131957"
} | starcoder | using System;
using System.Data.Linq.Mapping;
namespace Bloom.Domain.Models
{
/// <summary>
/// Represents an association between a person and a reference.
/// </summary>
[Table(Name = "person_reference")]
public class PersonReference
{
/// <summary>
/// Creates a new person re... | 2.935457 | b4cfdf356e5ed09aabde50ecabbc3692 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812738 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-app-jobprofile-tasks",
"max_stars_repo_path": "DFC.App.JobProfileTasks/AutoMapperProfiles/ApiModelProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131958"
} | starcoder | <filename>DFC.App.JobProfileTasks/AutoMapperProfiles/ApiModelProfile.cs<gh_stars>1-10
using AutoMapper;
using DFC.App.JobProfileTasks.ApiModels;
using DFC.App.JobProfileTasks.AutoMapperProfiles.ValueConverters;
using DFC.App.JobProfileTasks.Data.Models.SegmentModels;
using DFC.HtmlToDataTranslator.Services;
using DFC.... | 2.31964 | f5b25bf680337ec175aeec25f2c07683 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tom-englert/FodyAddinSamples",
"max_stars_repo_path": "TracerLog4NetSample/Example.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131959"
} | starcoder | <filename>TracerLog4NetSample/Example.cs
using log4net;
using log4net.Config;
using log4net.Core;
using log4net.Repository.Hierarchy;
using NUnit.Framework;
using TracerAttributes;
namespace TracerLog4NetSample
{
[TestFixture]
[NoTrace]
public class Example
{
[Test]
public void Test()
... | 2.235556 | 3cc953c12e02b69490a5911f6e50abb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812740 | {
"extension": "c-sharp",
"max_stars_count": "245.0",
"max_stars_repo_name": "mhvuze/SteamBulkActivator",
"max_stars_repo_path": "Steam4NET2/autogen/IClientApps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131960"
} | starcoder | <reponame>mhvuze/SteamBulkActivator
// This file is automatically generated.
using System;
using System.Text;
using System.Runtime.InteropServices;
namespace Steam4NET
{
[StructLayout(LayoutKind.Sequential,Pack=4)]
public class IClientAppsVTable
{
public IntPtr GetAppData0;
public IntPtr SetLocalAppConfig1;
... | 1.665505 | ff75039d5f61d14d532fa31029e9a2ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812741 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "yavaka/SocialMediaWebsite",
"max_stars_repo_path": "SocialMedia/SocialMedia.Services/Post/PostService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131961"
} | starcoder | <reponame>yavaka/SocialMediaWebsite
namespace SocialMedia.Services.Post
{
using Microsoft.EntityFrameworkCore;
using SocialMedia.Data;
using SocialMedia.Data.Models;
using SocialMedia.Services.Comment;
using SocialMedia.Services.Group;
using SocialMedia.Services.TaggedUser;
using SocialMedi... | 1.956305 | 15f436a2f671e471859b76f5c2056daf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjsilvaoficial/LanchesMacV1",
"max_stars_repo_path": "LanchesMacV1/Views/Pedido/CheckOut.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131962"
} | starcoder | <reponame>rjsilvaoficial/LanchesMacV1<gh_stars>0
@model Pedido
<div class="row orderForm">
<h3 class="text-center">Você está à um passo de completar seu pedido <span class="glyphicon glyphicon-ok"></span></h3>
<form asp-action="CheckOut" method="post" class="form-horizontal">
<div class="form-group... | 2.002635 | f31560a84def149802762ca97fcb239d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivarszarins/LocalizationProvider",
"max_stars_repo_path": "Tests/DbLocalizationProvider.Tests/ClassFieldsTests/_LocalizedModelWithFieldsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131963"
} | starcoder | <reponame>ivarszarins/LocalizationProvider
using System.Linq;
using DbLocalizationProvider.Internal;
using DbLocalizationProvider.Queries;
using DbLocalizationProvider.Sync;
using Xunit;
namespace DbLocalizationProvider.Tests.ClassFieldsTests
{
public class LocalizedModelWithFieldsTests
{
public Local... | 2.122536 | 607d0390451a3d0205797a42b167d4d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickell-andrew/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/Model/Content/SecondEdition/Pilots/LambdaClassT4AShuttle/LieutenantSai.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131964"
} | starcoder | <filename>Assets/Scripts/Model/Content/SecondEdition/Pilots/LambdaClassT4AShuttle/LieutenantSai.cs
using ActionsList;
using Ship;
using System;
using Upgrade;
namespace Ship
{
namespace SecondEdition.LambdaClassT4AShuttle
{
public class LieutenantSai : LambdaClassT4AShuttle
{
publi... | 2.394183 | babcbc16aec63303f9ebbb76db5f7fe5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tiimber/what-are-you-carrying-sir",
"max_stars_repo_path": "Assets/RandomizeObjects/RandomScale.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131965"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
[System.SerializableAttribute]
public class RandomScale : MonoBehaviour, RandomInterface {
public Vector3[] possibleScales;
// Use this for initialization
void Start () {
}
// Update is called once per frame
... | 2.074413 | 41da41dbe865c90e6b0199f665ddf5ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812746 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "caesay/GenericMemoryCache",
"max_stars_repo_path": "System.Runtime.Caching.Generic/LfuEvictionPolicy(TKey, TValue).cs",
"provenance": "train-00027-of-00045.jsonl.gz:131966"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Runtime.Caching.Generic
{
public class LfuEvictionPolicy<TKey, TValue> : CachePolicyBase<TKey, TValue>
{
public LfuEvictionPolicy()
: base(EvictionPriority.PolicyImplied)
{
... | 2.361888 | 7f9c588f2e9e0cd5b65a7c282cf72476 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dashorama/XRDrawingTool",
"max_stars_repo_path": "Assets/_Scripts/DrawPenManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131967"
} | starcoder | <filename>Assets/_Scripts/DrawPenManager.cs
using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
/// <summary>
/// The DrawingManager that handles drawing of freeform lines. Each line that has a different color needs its own GameObject
/// which this class keeps track of. It ... | 2.919248 | 61bcc2b88b6687840f0ad6d0f9b86449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VolcaEM/LibHac",
"max_stars_repo_path": "src/LibHac/Fs/FileTimeStamp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131968"
} | starcoder | namespace LibHac.Fs
{
public struct FileTimeStampRaw
{
public long Created;
public long Accessed;
public long Modified;
}
}
| 1.590789 | d8ab5d0b3ce959cbc471daea007984e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812749 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TkYu/MSIFPCore",
"max_stars_repo_path": "MSIFPCore/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131969"
} | starcoder | using System;
using System.Diagnostics;
using System.Globalization;
using Microsoft.International.Converters;
using Microsoft.International.Formatters;
namespace MSIFPCore
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("The representation for number 123.45 in... | 2.227545 | 5eb178b8dac8d6e0e30ad17709798329 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skuvault/Square.Connect.SV",
"max_stars_repo_path": "src/Square.Connect/Model/CustomerCreationSourceFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131970"
} | starcoder | /*
* Square Connect API
*
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
usi... | 2.300842 | 721ba998449bd2ce1917ecc6127dd260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WolfgangKluge/Blazorise",
"max_stars_repo_path": "Demos/Blazorise.Demo/Pages/Tests/ChartsPage.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131971"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using Blazorise.Charts;
namespace Blazorise.Demo.Pages.Tests
{
public partial class ChartsPage
{
private LineChart<double> lineChart;
private Chart<double> barChart;
p... | 2.266815 | d41657dbae6413b01b1a9281e686621b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OBeautifulCode/OBeautifulCode.CodeGenSandbox",
"max_stars_repo_path": "OBeautifulCode.CodeGenSandbox/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131972"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Class1.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// --------------------------------------------------------------... | 1.595672 | bf4b8e56ea7fa5c1ae69fa7e8bd6ab0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abeauchamp96/Compendium",
"max_stars_repo_path": "Compendium.Migrations/Mappers/MigrationMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131973"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
using Compendium.Migrations.Models;
namespace Compendium.Migrations.Mappers
{
internal static class MigrationMapper
{
public static Migration ToModel(this IMigrationScriptDetails migrationScriptDetails) => new()
... | 1.960628 | 1b4af4d8d226180ab3b0dd6f099b12b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aethercowboy/Peikko",
"max_stars_repo_path": "Sample.BusinessLogic/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131974"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Peikko.BusinessLogic.Extensions;
using Sample.BusinessLogic.Services;
namespace Sample.BusinessLogic.Extensions
{
public static class ServiceCollectionExtensions
{
public static void AddBusinessLogic(this IServiceCollection services)
{
... | 1.589658 | 2ec1ccf1f01cae023f0e8abe66ec57a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812755 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ptasz3k/Kimbus",
"max_stars_repo_path": "Kimbus/MbExceptionCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131975"
} | starcoder | namespace Kimbus
{
/// <summary>
/// Possible Modbus exception codes as describen
/// in MODBUS Application Protocol Specification V1.1b.
/// </summary>
public enum MbExceptionCode
{
/// <summary>
/// Request processed without errors.
/// </summary>
Ok = 0x00,
... | 2.720013 | ad706e572f5315fe2b7c37ba0039f306 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaulGruffyddAmaze/Foundation",
"max_stars_repo_path": "src/Foundation/Features/Setup/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131976"
} | starcoder | <gh_stars>0
@model Foundation.Features.Setup.SetupViewModel
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en" class="@(PageEditing.PageIsInEditMode ? "editMode" : "")">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-wi... | 1.557734 | 00a281ebd1fc589dd2d107edb54c2da6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812757 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fangerm/osu",
"max_stars_repo_path": "osu.Game/Storyboards/IStoryboardElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131977"
} | starcoder | <reponame>fangerm/osu
// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
namespace osu.Game.Storyboards
{
public interface IStoryboardElement
{
string Path { get; }
... | 1.434011 | 58b2d22c197c5005df08a1d989fd2bce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtmr0x/remote-signer",
"max_stars_repo_path": "RemoteSigner/Log/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131978"
} | starcoder | /**
* Made by <NAME> - Original Project: https://github.com/opensatelliteproject/
*/
using System;
using System.Net.Sockets;
using System.Threading;
using System.Text;
using System.Globalization;
namespace RemoteSigner.Log {
/**
* A simple logger that outputs to console and syslog
*/
public cla... | 2.564252 | 26a1d8b35bdd1c9579e22922c19c4ce1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812759 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CosmosLoops/OneMore",
"max_stars_repo_path": "src/Cosmos.Security.Cryptography/Cosmos/Security/Cryptography/CryptoMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131979"
} | starcoder | <gh_stars>1-10
namespace Cosmos.Security.Cryptography
{
public enum CryptoMode
{
Encrypt,
Decrypt
}
} | 1.256551 | 34a897c49653d7719a3385ba32590b8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812760 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "janpieterz/Halibut",
"max_stars_repo_path": "source/Halibut/Transport/ServerCertificateInterceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131980"
} | starcoder | <filename>source/Halibut/Transport/ServerCertificateInterceptor.cs
#if SUPPORTS_WEB_SOCKET_CLIENT
using System;
using System.Collections.Generic;
using System.Net;
using System.Security.Cryptography.X509Certificates;
namespace Halibut.Transport
{
static class ServerCertificateInterceptor
{
public const... | 2.501293 | c0857e6fd568b2253afc6ae499d1bf2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812761 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "ib1333/EventSourcingKafka",
"max_stars_repo_path": "source/Shared/Jambo.Domain/Exceptions/TransactionConflictException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131981"
} | starcoder | <filename>source/Shared/Jambo.Domain/Exceptions/TransactionConflictException.cs
namespace Jambo.Domain.Exceptions
{
using Jambo.Domain.Model;
public class TransactionConflictException : JamboException
{
public AggregateRoot AggregateRoot { get; private set; }
public DomainEvent DomainEvent... | 2.090237 | 3849644eaf2de3cef18aadab49fae9b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812762 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sleepin-fang/KtaneTwitchPlays",
"max_stars_repo_path": "TwitchPlaysAssembly/Src/ComponentSolvers/Modded/TranslatedModules/TranslatedPasswordComponentSolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131982"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
public class TranslatedPasswordComponentSolver : ComponentSolver
{
public TranslatedPasswordComponentSolver(TwitchModule module) :
base(module)
{
_component = module.BombCompo... | 2.481302 | 0b5987db45ef50e67e610e03e5994a62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rover656/Closure",
"max_stars_repo_path": "Assets/Scripts/Interaction/Explosive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131983"
} | starcoder | using UnityEngine;
namespace Interaction {
public class Explosive : MonoBehaviour {
public float explodeTimeout;
public float explosionRadius;
public int explosionDamage;
public GameObject smokeEffect;
public bool changeSpriteOnIgnite;
public Sprite igniteSprite;
... | 2.37777 | 494db5827ab9ac8a74100beb8bc564ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812764 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "programcsharp/griddly",
"max_stars_repo_path": "Griddly.NetCore/Controllers/Examples/FiltersGrid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131984"
} | starcoder | using Griddly.Models;
using Griddly.Mvc;
using Griddly.Mvc.Results;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
namespace Griddly.Controllers
{
public partial class ExampleController : Controller
{
public GriddlyResult FiltersGrid(string[] item, string firstName, string lastName, ... | 2.513081 | 7c6319bbe8c4f445a39a65c85313c7e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812765 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jiripolasek/gopay-dotnet-api",
"max_stars_repo_path": "GoPay.net-sdkTests/src/Tests/PreAuthorizationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131985"
} | starcoder | <filename>GoPay.net-sdkTests/src/Tests/PreAuthorizationTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using GoPay.Model.Payments;
using GoPay.Model.Payment;
namespace GoPay.Tests
{
[TestClass()]
public class PreAuthorizationTests
{
//[TestMethod()]
pu... | 2.120818 | 60b7be75577594ee6fd9802f2b68f9b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812766 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "lifeisforu/NodeGraph",
"max_stars_repo_path": "Model/FlowChart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131986"
} | starcoder | <reponame>lifeisforu/NodeGraph
using NodeGraph.ViewModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace NodeGraph.Model
{
[FlowChart()]
public class FlowChart : ModelBase
{
#reg... | 2.080207 | b683090c2a7aa64c07479d8979b1b2fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcculic/millarowframework",
"max_stars_repo_path": "src/Millarow.Common/Hashing/Internal/RotatingHashCodeAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131987"
} | starcoder | <reponame>mcculic/millarowframework
namespace Millarow.Hashing.Internal
{
internal sealed class RotatingHashCodeAlgorithm : HashCodeAlgorithm
{
private RotatingHashCodeAlgorithm()
{
}
protected override void CombineHash<T>(ref int hash, T value)
{
unchecked
... | 2.383222 | 3f16a05d9c3a959603b8f3370a54dfb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simo-pro/ZiggyCreatures.FusionCache",
"max_stars_repo_path": "src/ZiggyCreatures.FusionCache/FusionCacheGlobalDefaults.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131988"
} | starcoder | using Microsoft.Extensions.Caching.Memory;
using System;
using System.Threading;
namespace ZiggyCreatures.FusionCaching
{
/// <summary>
/// Contains the default values used globally.
/// </summary>
public static class FusionCacheGlobalDefaults
{
/// <summary>
/// The global default <see cref="FusionCacheEn... | 2.377957 | 6aec6e34bf73c48aba3de756c9ff10ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812769 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexboia/Stakhanovise.NET",
"max_stars_repo_path": "LVD.Stakhanovise.NET.Logging.NLogLogging/NLogLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131989"
} | starcoder | using NLog;
using System;
using System.Collections.Generic;
using System.Text;
namespace LVD.Stakhanovise.NET.Logging.NLogLogging
{
public class NLogLogger : IStakhanoviseLogger
{
private Logger mNlogLog;
public NLogLogger ( Logger nlogLog )
{
mNlogLog = nlogLog ?? throw new ArgumentNullExcep... | 2.610104 | 0f0b49fa42447ca6e8556a02b4db07dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812770 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "LiuOcean/luban_examples",
"max_stars_repo_path": "Projects/Flatbuffers_json/Gen/cfg/TestAudioType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131990"
} | starcoder | // <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace cfg
{
public enum TestAudioType : int
{
TestAudioType_UNKNOWN = 0,
TestAudioType_ACC = 1,
TestAudioType_AIFF = 2,
};
}
| 1.073324 | e6723011f1523571b15fe5ebf950a922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hfloyd/Dragonfly.NetStandard",
"max_stars_repo_path": "src/Dragonfly/NetModels/Comparers/ComparisonComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131991"
} | starcoder | namespace Dragonfly.NetModels.Comparers
{
using System;
using System.Collections.Generic;
//Adapted from https://jonskeet.uk/csharp/miscutil/
/// <summary>
/// Utility to build an IComparer implementation from a Comparison delegate,
/// and a static method to do the reverse.
/// </summary>
public sealed class Compari... | 3.315338 | d75051cee0bb6d8b1df9cd6ae4e2872c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Urehelonn/TinyMonsterBigHeart",
"max_stars_repo_path": "Assets/Items/Talent/Talent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131992"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "newTalent")]
public class Talent : ScriptableObject
{
public string talentID;
public string talentName;
public string description;
}
| 1.448332 | 284a33c08922f4b9571bb7729ddb55b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812773 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rslnautic/Artificial-Intelligence",
"max_stars_repo_path": "StripsPathFindingIA/Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131993"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameManager : MonoBehaviour
{
public static GameManager instance = null; //Static instance of GameManager which allows it to be accessed by any other script.
private BoardManager boardScri... | 2.866636 | 2ae5e33a5f2393043c8905cc851da730 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Acidburn0zzz/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Common/Lists/ListInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131994"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Common.Lists
{
using System;
using DotNetNuke.Common.Utilities;
... | 1.870903 | a04d73d46f67b647215479f527ad21c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Geo3gamer/OpenPDN",
"max_stars_repo_path": "src/Core/PluginSupportInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131995"
} | starcoder | /////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) <NAME>, <NAME>, and past contributors. //
// Portions Copyright (C) Microsoft Corporation. All Rights Reserved. //
... | 2.287884 | d8a2f5e993045d805f51fd2cc1fe0461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812776 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "ozzi7/Poker-MCCFRM",
"max_stars_repo_path": "Poker-MCCFRM/Game/Hand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131996"
} | starcoder | <filename>Poker-MCCFRM/Game/Hand.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Poker_MCCFRM
{
public enum HandRanking
{
HighCard, Pair, TwoPair, ThreeOfAKind, Straight, Flush, FullHouse, FourOfAKind, StraightFlush
}
public class Hand
{
public List<Card> Cards { get; set;... | 3.23806 | ab98da0c806c873127d51def3498c2a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812777 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Liaojinghui/neo-modules",
"max_stars_repo_path": "tests/Neo.Plugins.StateService.Tests/MPT/UT_MPTTrie.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131997"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.IO;
using Neo.Persistence;
using Neo.Plugins.MPT;
using Neo.Plugins.StateService.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using static Neo.Helper;
namespace Neo.Plugins.StateService.Tests
{
... | 2.132923 | 4712a862a366b5621525262c0f19c487 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812778 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3D12_DISPATCH_ARGUMENTS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131998"
} | starcoder | <gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12.h(4054,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D12_DISPATCH_ARGUMENTS
{
public uint ThreadGroupCountX... | 1.224041 | 6c1fb81697426f43555b736501fa94b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812779 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "DiePathologie/BeautySalon",
"max_stars_repo_path": "Data/BeautyBooking.Data/Seeding/CustomSeeders/ServicesSeeder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131999"
} | starcoder | <reponame>DiePathologie/BeautySalon<filename>Data/BeautyBooking.Data/Seeding/CustomSeeders/ServicesSeeder.cs<gh_stars>10-100
namespace BeautyBooking.Data.Seeding
{
using System;
using System.Linq;
using System.Threading.Tasks;
using BeautyBooking.Data.Models;
public class ServicesSeeder : ISeeder... | 2.960907 | 73cb55ea62e784357b2adfae4e033903 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lenkelheit/Programming-And-Support-For-Web-Applications",
"max_stars_repo_path": "Task_2/PizzaShop/PizzaShop/Models/Entities/PizzaIngredient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132000"
} | starcoder | using System.ComponentModel;
using PizzaShop.Models.Entities;
namespace PizzaShop.Models.Entities
{
public class PizzaIngredient : EntityBase
{
[DisplayName("Select Pizza")]
public int PizzaId { get; set; }
public virtual Pizza Pizza { get; set; }
[DisplayName("Select Ingredi... | 2.031032 | 4887eae8f52ae7df5c95434f02d1a995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "USGS-WiM/BLTServices-new",
"max_stars_repo_path": "BLTDB.Test/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132001"
} | starcoder | using System;
using BLTDB;
using System.Data.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Configuration;
namespace BLTDB.Test
{
[TestClass]
public class UnitTest1
{
//test
private string connectionString = "metadata=res://*/BLTEntities.csdl|r... | 2.237739 | 50921f0d9fb97e2feafcfcf3bd8ec0ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812782 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "alexeyfadeev/EFSqlTranslator",
"max_stars_repo_path": "EFSqlTranslator.Translation/TranslationState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132002"
} | starcoder | <reponame>alexeyfadeev/EFSqlTranslator
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using EFSqlTranslator.Translation.DbObjects;
namespace EFSqlTranslator.Translation
{
public class TranslationState
{
private readonly List<IDbObject> _preScripts = new List<IDbObject>(... | 2.431344 | a7a71db5b75db6940967c2f31940c652 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahmetsekmen/UniLife",
"max_stars_repo_path": "src/UniLife.CommonUI/Pages/Admin/OgrenciIslem/OgrenciSinifAtlatma.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132003"
} | starcoder | <reponame>ahmetsekmen/UniLife<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UniLife.Shared.Dto.Definitions;
using Microsoft.AspNetCore.Components;
using UniLife.Shared.Dto;
using Syncfusion.Blazor.DropDowns;
using System.Net.Http.Js... | 1.95357 | 25f716a530ffea679fc34e9d8f996cb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812784 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kangwl/BootstrapWeb",
"max_stars_repo_path": "XK.Common/SqlBulkCopyHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132004"
} | starcoder | using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
namespace XK.Common {
public class SqlBulkCopyHelper {
public SqlBulkCopyHelper(SqlConnection connection, string toTableName, Dictionary<string, string> dicMap) {
Create(connection.ConnectionString, toTableName, di... | 2.652052 | 1dfb18f43621d75180755c68f54b340e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812785 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "vincpa/linqpadspy",
"max_stars_repo_path": "LinqPadSpy.Standalone/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132005"
} | starcoder | namespace LinqPadSpy
{
using System.Windows;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
#region Constructors and Destructors
public App()
{
this.InitializeComponent();
}
#endregi... | 1.770814 | 09acbdfe63ee3457dd1ea7b4d045a8d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812786 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "u338steven/UIAssistant",
"max_stars_repo_path": "UIAssistant.Infrastructure/Resource/Language/LanguageKeyValueGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132006"
} | starcoder | <reponame>u338steven/UIAssistant<gh_stars>10-100
using System.IO;
using System.Globalization;
using UIAssistant.Interfaces.Resource;
namespace UIAssistant.Infrastructure.Resource.Language
{
public class LanguageKeyValueGenerator : IResourceKeyValueGenerator<Language>
{
public string GenerateKey(strin... | 1.999172 | 4d6acae9207523c769f1f24591037463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812787 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Atvaark/Emurado",
"max_stars_repo_path": "HaloOnline.Server.Model/UserStorage/DataContainerTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132007"
} | starcoder | namespace HaloOnline.Server.Model.UserStorage
{
public static class DataContainerTypes
{
public const string WeaponLoadouts = "weapon_loadouts";
public const string ArmorLoadouts = "armor_loadouts";
public const string Customizations = "customizations";
public const string Prefe... | 1.136989 | 842be1d42d88087a72572f030233c94c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kumpera/Ccr",
"max_stars_repo_path": "src/Microsoft.Ccr.Core/PortSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132008"
} | starcoder | //
// PortSet.cs
//
// Author:
// <NAME> <<EMAIL>>
//
//
//
// 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 rights to use, copy,... | 2.200888 | 539a814d447d6b6544e0e2ce5f63899e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812789 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "npruehs/bychance",
"max_stars_repo_path": "Source/ByChanceFramework/Configuration/Parameters/DiscardOpenContextsRestriction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132009"
} | starcoder | <filename>Source/ByChanceFramework/Configuration/Parameters/DiscardOpenContextsRestriction.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DiscardOpenContextsRestriction.cs" company="<NAME>, <NAME>">
// Copyright 2011-2016... | 2.397818 | 9164569748b1849cf6cc8c4a6fbd98a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812790 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mavidian/DataConveyer",
"max_stars_repo_path": "DataConveyer/Intake/LineFeederHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132010"
} | starcoder | //LineFeederHelpers.cs
//
// Copyright © 2016-2021 Mavidian Technologies Limited Liability Company. 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://... | 2.603065 | fd52879ea4b85ccb7beb52d760b5e88d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ptorba/certbag",
"max_stars_repo_path": "CertBag/Pages/Index.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132011"
} | starcoder | <gh_stars>1-10
using System.Net.Mime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using CertBag.Models;
using Microsoft.Extensions.Configuration;
... | 1.969943 | e33bc36652e152d5d81adfdb0c6c777a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812792 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SteveGilham/Gendarme",
"max_stars_repo_path": "gendarme/rules/Gendarme.Rules.Security.Cas/SecurityDeclarationRocks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132012"
} | starcoder | //
// SecurityDeclarationRocks.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2008 - 2010 <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, includi... | 2.111156 | 8feaf0681350e1268eb5e4eaef6d761b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "walkmansit/Drinks",
"max_stars_repo_path": "web-api/src/Project.API/SharedKernel/Domain/Orders/OrderItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132013"
} | starcoder | <filename>web-api/src/Project.API/SharedKernel/Domain/Orders/OrderItem.cs
using System;
using System.Collections.Generic;
using Project.API.Ordering.Domain.Drinks;
using Project.API.SharedKernel.Domain.Core;
namespace Project.API.SharedKernel.Domain.Orders
{
public sealed class OrderItem
{
private read... | 3.096204 | 0a9ed67622a9cf2f52dc5fe9a30b73e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdamJachocki/Attacks",
"max_stars_repo_path": "src/4-SQLInjection/Pages/Login.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132014"
} | starcoder | using Common.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace _4_SQLInjection.Pages
{
class LoginPageModel : PageModel
{
[BindProperty]
public LoginViewModel Login { get; set; } = new LoginViewModel();
Sig... | 2.309353 | 07716caadcd6bc6122308c655b4e8214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustafasaaed/blog-task",
"max_stars_repo_path": "src/Task/TaskUI/Models/ViewModels/CategoryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132015"
} | starcoder | <filename>src/Task/TaskUI/Models/ViewModels/CategoryViewModel.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace TaskUI.Models.ViewModels
{
public class CategoryViewModel
{
public int Id { get; set; }
[... | 2.611296 | e9ecb69b7230b8be312042ecabac99f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812796 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "bobbyangers/XrmUnitTest",
"max_stars_repo_path": "DLaB.Xrm.Entities/ChannelPropertyGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132016"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 1.564201 | 60863b26c86f08ba41972706f724d16f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasMiz/lidgren-network-gen3",
"max_stars_repo_path": "Lidgren.Network/Buffer/NetBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132017"
} | starcoder | using System;
using System.Buffers;
using System.Text;
namespace Lidgren.Network
{
public class NetBuffer : IBitBuffer
{
/// <summary>
/// Number of extra bytes to overallocate for message buffers to avoid resizing.
/// </summary>
protected const int ExtraGrowAmount = 512; // T... | 2.822072 | 9cbced5077ee3934e86d2e423e624432 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812798 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "DelightedCat/TiledCS.Extensions.MonoGame",
"max_stars_repo_path": "Content.Pipeline/TiledMapWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132018"
} | starcoder | using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
namespace TiledCS.Extensions.MonoGame.Content.Pipeline
{
[ContentTypeWriter]
public class TiledMapWriter : ContentTypeWriter<TiledMap>
{
protected override void Write(ContentWriter... | 2.235726 | be92b7da97c3236cf27d006f1a38ba7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ademvelika/ADI-BAR",
"max_stars_repo_path": "MyBar/MYBAR/Model/Porosi/ClientOrderModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132019"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MYBAR.Model.Porosi
{
public class ClientOrderModel
{
public int Id;
public string Notes { get; set; }
public string Order_Status { get; set; }
public d... | 1.674355 | e93a3f992b30296fd5258f42b687c54c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812800 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "shimat/opencvsharp_2410",
"max_stars_repo_path": "src/OpenCvSharp/Src/Class/CvMemStoragePos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132020"
} | starcoder | <filename>src/OpenCvSharp/Src/Class/CvMemStoragePos.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace OpenCvSharp
{
#if LANG_JP
/// <summary>
/// メモリストレージの位置
/// </summary>
#else
/// <summary>
/// Memory storage position
/// <... | 2.743514 | d524c9e7b6c767ea9e768afb5714b705 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geruchvitaliy/SimpleEventStore",
"max_stars_repo_path": "src/SimpleEventStore/SimpleEventStore.CosmosDb/AzureCosmosDbStorageEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132021"
} | starcoder | <reponame>geruchvitaliy/SimpleEventStore
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos;
using Microsoft.Azure.Cosmos.Linq;
using Microsoft.Azure.Cosmos.Scripts;
using Newtonsoft.Json;
namespace SimpleEventStore.CosmosDb
{
in... | 2.207984 | 8a9b5527bbadc2fb6dc68a4ef026c7cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812802 | {
"extension": "c-sharp",
"max_stars_count": "550.0",
"max_stars_repo_name": "aliahmad866/ShopifySharp",
"max_stars_repo_path": "ShopifySharp/Entities/HSCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132022"
} | starcoder | <gh_stars>100-1000
using Newtonsoft.Json;
namespace ShopifySharp
{
public class HSCode : ShopifyObject
{
/// <summary>
/// The two-digit code for the country where the inventory item was made.
/// </summary>
[JsonProperty("country_code")]
public string CountryCode { get;... | 2.216722 | 6b6e641dced5ec7538d8e15c5970ad14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Icenium/aspnetwebstack",
"max_stars_repo_path": "src/System.Web.Http.Cors/Tracing/CorsEngineTracer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132023"
} | starcoder | <reponame>Icenium/aspnetwebstack<filename>src/System.Web.Http.Cors/Tracing/CorsEngineTracer.cs<gh_stars>0
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Diagnostics.Contracts;
using System.Globalization;
using System.We... | 1.940277 | a02f93f98a2e44d1af07bbfa0cd4d940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812804 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "adimosh/IX.Math",
"max_stars_repo_path": "src/IX.Math/Nodes/Functions/Binary/NumericBinaryFunctionNodeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132024"
} | starcoder | // <copyright file="NumericBinaryFunctionNodeBase.cs" company="<NAME>">
// Copyright (c) <NAME> with all rights reserved. Part of the IX Framework.
// </copyright>
using System.Linq.Expressions;
using IX.Math.Nodes.Constants;
namespace IX.Math.Nodes.Functions.Binary
{
/// <summary>
/// A base class for nu... | 2.61293 | 0a2dbc51d0bd57c41d8d3d2a3aeca691 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "usptact/PrinterNightmare",
"max_stars_repo_path": "PrinterNightmare.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132025"
} | starcoder | <reponame>usptact/PrinterNightmare
using System;
using System.Linq;
using Microsoft.ML.Probabilistic.Models;
using Microsoft.ML.Probabilistic.Distributions;
using Microsoft.ML.Probabilistic.Math;
public class PrinterNightmare
{
public Variable<int> numExamples;
// primary RVs
public VariableArray<bool> F... | 1.944229 | 9dc591dead81e0df8af88454809bb903 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812806 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "commercetools/commercetools-dotnet-core-sdk",
"max_stars_repo_path": "commercetools.Sdk/commercetools.Sdk.Client/VerifyEmailCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132026"
} | starcoder | <filename>commercetools.Sdk/commercetools.Sdk.Client/VerifyEmailCommand.cs
namespace commercetools.Sdk.Client
{
public abstract class VerifyEmailCommand<T> : Command<T>
{
public VerifyEmailCommand(string tokenValue, int? version = null)
{
this.TokenValue = tokenValue;
th... | 2.295833 | 84d81ec499f08d9ebbd016cfb8af5ab9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812807 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ajaffie/CAP",
"max_stars_repo_path": "src/DotNetCore.CAP/Processor/IDispatcher.Default.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132027"
} | starcoder | <reponame>ajaffie/CAP<gh_stars>1-10
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using DotNetCore.CAP.I... | 1.967699 | 78ff2e073030be7739cdb7956f10a13c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peppy/osu-new",
"max_stars_repo_path": "osu.Game/Screens/Edit/Components/CircularButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132028"
} | starcoder | <gh_stars>1-10
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Game.Graphics.UserInterface;
using osuTK;
namespace osu.Game.Screens.Edit.Components
{
public class CircularButton : OsuB... | 1.849799 | f024fd63afaeeb22e924b07d740503ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "techniq/OdataToEntity",
"max_stars_repo_path": "source/OdataToEntity.Linq2Db/EntityUpdateHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132029"
} | starcoder | <filename>source/OdataToEntity.Linq2Db/EntityUpdateHelper.cs
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace OdataToEntity.Linq2Db
{
internal static class EntityUpdateHelper
{
public static SetBuilder<T> GetSetBuilder<T>(PropertyInfo updatedProperty)
{
... | 2.952539 | 0128108e7ebe252992abb5b7c0f6c1c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812810 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shanhuashuiqing/proj4net",
"max_stars_repo_path": "Proj4Net/Proj4Net/Utility/HighResClock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132030"
} | starcoder | <filename>Proj4Net/Proj4Net/Utility/HighResClock.cs
// HighResClock.cs
//
// Copyright (C) 2003-2004 <NAME>
//
// This software is provided AS IS. No warranty is granted,
// neither expressed nor implied. USE THIS SOFTWARE AT YOUR OWN RISK.
// NO REPRESENTATION OF MERCHANTABILITY or FITNESS FOR ANY
// PURPOSE... | 2.699909 | a46887fe9cdece9ac4fcf001659a9f94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amitgaur2/test",
"max_stars_repo_path": "src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcApplicationBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132031"
} | starcoder | // 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;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Core;
using Microsoft.AspNetCore.Mvc.Internal;
using M... | 1.847057 | e27ca9c4d80e088b51329aa24c131ef2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PieEatingNinjas/Comet",
"max_stars_repo_path": "tests/Comet.Tests/Handlers/GenericViewHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132032"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using Comet.Reflection;
namespace Comet.Tests.Handlers
{
public class GenericViewHandler: IViewHandler
{
public GenericViewHandler ()
{
}
public View CurrentView { get; private set; }
public object NativeView => throw new NotImplemented... | 2.284107 | 8cbcedd52fd72d5b074a54aed5661473 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812813 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tony/ScreenToGif",
"max_stars_repo_path": "ScreenToGif.ViewModel/UploadPresets/UploadPreset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132033"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.Windows;
using ScreenToGif.Domain.Enums;
using ScreenToGif.Domain.Events;
using ScreenToGif.Domain.Interfaces;
using ScreenToGif.Domain.ViewModels;
using ScreenToGif.Util;
namespace ScreenToGif.ViewMo... | 2.12976 | c9fc13c83e78922028926a6e1119a9fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812814 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/train/csharp/74e816c822b6a3986a1d69a95762537e35bcc133PictureRepositoryFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132034"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PictureManager
{
public class PictureRepositoryFactory
{
public static Func<IPictureRepository> RepositoryBuilder =
CreateDefaultRepositoryBuilder;
private stat... | 2.689752 | be176c54665a26589d44c130b8fc5106 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812815 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cody-bui/Echo.NET",
"max_stars_repo_path": "Echo/Log.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132035"
} | starcoder | using System;
namespace Echo
{
public static class Log
{
private static void ConsoleLog(in string type, params object[] data)
{
for (int i = 0; i < data.Length; i++)
{
Console.WriteLine($"[{type}]: {data[i]}");
}
Conso... | 2.834136 | 6e77c1e3fb229b6d8d5133868b6fcfc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coruscateor/CoreComponents",
"max_stars_repo_path": "CoreComponents/Threading/ThreadNotStartedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132036"
} | starcoder | <filename>CoreComponents/Threading/ThreadNotStartedException.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading
{
public class ThreadNotStartedException : Exception
{
public ThreadNotStartedExc... | 2.44923 | 3278342750a8ba06360de5bc9c85c0e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812817 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CenterEdge/Yardarm",
"max_stars_repo_path": "src/Yardarm/Enrichment/Requests/RequestEnricherServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132037"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
namespace Yardarm.Enrichment.Requests
{
public static class RequestEnricherServiceCollectionExtensions
{
public static IServiceCollection AddDefaultRequestEnrichers(this IServiceCollection services) =>
services
... | 1.385866 | 548d6dc14bc21ac4b5d6c742c17c8207 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.