added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sidsryu/exercises-for-programmers",
"max_stars_repo_path": "c#/Exercise.18/Exercise.18/TemperatureConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149932"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise._18
{
public static class TemperatureConverter
{
public static double FahrenheitToCelsius(double f)
{
double c = (f - 32.0) * (5.0 / 9.... | 2.811744 | c4c83a9fd8961f25c633f1d708e86fcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gabe-santana/rest-api-template",
"max_stars_repo_path": "src/Infra/rest-api-template.Infra/Data/Database.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149933"
} | starcoder | <reponame>gabe-santana/rest-api-template
using Microsoft.EntityFrameworkCore;
using rest_api_template.Domain.Entities;
namespace rest_api_template.Infra.Data
{
public class Database : DbContext
{
public DbSet<Customer> Customers { get; set; }
public DbSet<Product> Products { get; set; }
... | 1.768117 | 1f64bcfe0dfbe991a539d964b903245d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "limitzero/MonacoServiceBus",
"max_stars_repo_path": "src/Monaco/Testing/Internals/Invocations/MockServiceBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149934"
} | starcoder | <reponame>limitzero/MonacoServiceBus<gh_stars>1-10
using System;
using System.Collections.Generic;
using Castle.DynamicProxy;
using Monaco.Bus.Internals;
using Monaco.Bus.Internals.Eventing;
using Monaco.Bus.MessageManagement.Callbacks;
using Monaco.Configuration;
using Monaco.Configuration.Endpoint;
using Monaco.Endpo... | 1.495581 | 5d30fe2840aa2fe1795983cb8b99ce61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ludonkey/ludk2d-extras",
"max_stars_repo_path": "Runtime/LuDK/Toolkit/L2D/CarriedObject2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149935"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
namespace LuDK.Toolkit.L2D
{
public class CarriedObject2D : MonoBehaviour, CarryController2D. Carryable
{
public bool alwaysOnTop = false;
public float deltaXFront = 0.3f;
public float deltaYFront = 0.0f;
public float deltaXBack = -0... | 2.146645 | 0bd4083232c9f311b7499639bb8c3e3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ConradoAndrade/mouse-me-out",
"max_stars_repo_path": "game/Assets/changeMaterialAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149936"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class changeMaterialAction : MonoBehaviour
{
public Material active;
public bool state;
public void changeIfActive()
{
if (!state)
{
gameObject.GetComponent<MeshRenderer>().material = ac... | 2.168861 | 8e6b6f77d0cca8bbc7fd0427d48d11a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830717 | {
"extension": "c-sharp",
"max_stars_count": "392.0",
"max_stars_repo_name": "ChenCheng368/Industrial-IoT",
"max_stars_repo_path": "components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Edge.Publisher/tests/Engine/LegacyJobOrchestratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149937"
} | starcoder | <filename>components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Edge.Publisher/tests/Engine/LegacyJobOrchestratorTests.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root f... | 1.732342 | ba3cba6fa1bced79826c783c793ee815 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcintyre321/Transmuter",
"max_stars_repo_path": "Transmuter/NA.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149938"
} | starcoder | namespace Transmuter
{
public struct NA
{
}
} | 1.040291 | cbe58eb135ab2cc9224ad8b687714aa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830719 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Laerdal/Laerdal.Xamarin.Dfu",
"max_stars_repo_path": "Laerdal.Dfu.Sample/Laerdal.Dfu.Sample/Helpers/EnumBindableViews/EnumBindableCheckboxes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149939"
} | starcoder | using Laerdal.Dfu.Sample.Helpers.EnumBindableViews.DataTemplates;
using Laerdal.Dfu.Sample.Helpers.EnumBindableViews.Models;
using System;
using Xamarin.Forms;
namespace Laerdal.Dfu.Sample.Helpers.EnumBindableViews
{
public class EnumBindableCheckboxes<T> : EnumBindableCollectionView<T> where T : struct, Enum
... | 1.85376 | 9eaeca7017cc51b70d3983d20e2fff08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Enaium-StardewValleyMods/Labeling",
"max_stars_repo_path": "Framework/Gui/DeleteLabelingGui.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149940"
} | starcoder | <reponame>Enaium-StardewValleyMods/Labeling
using EnaiumToolKit.Framework.Screen;
using EnaiumToolKit.Framework.Screen.Elements;
namespace Labeling.Framework.Gui
{
public class DeleteLabelingGui : ScreenGui
{
public DeleteLabelingGui()
{
foreach (var variable in ModEntry.GetInstanc... | 2.382213 | af0ee703305e40806e9bc302ef315352 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830721 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "DeathCradle/Terraria-s-Dedicated-Server-Mod",
"max_stars_repo_path": "Core/ServerCore/ClientConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149941"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Sockets;
using System.Threading;
using tdsm.api;
using tdsm.api.Plugin;
using tdsm.core.Logging;
using tdsm.core.Messages.Out;
using tdsm.core.Misc;
using Terraria;
namespace tdsm.core.ServerCore
{
public class ClientConnec... | 1.995868 | 43b26ecc3fb94884ba294b2ae7c2cd66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlericInglewood/opensimulator",
"max_stars_repo_path": "OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149942"
} | starcoder | <filename>OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs<gh_stars>0
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted ... | 1.56894 | 60471f0457a5a8631e75938a4af6fb63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xandon/MarkerTool",
"max_stars_repo_path": "Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBossItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149943"
} | starcoder | /*! \cond PRIVATE */
using System;
using UnityEngine;
// ReSharper disable once CheckNamespace
namespace DarkTonic.CoreGameKit {
[Serializable]
// ReSharper disable once CheckNamespace
public class PoolBossItem {
// ReSharper disable InconsistentNaming
public Transform prefabTransform;
... | 2.032893 | af1d64606710b66ffc9f78182592ebac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yehiaraslan85/SmiqsMobileApp",
"max_stars_repo_path": "smiqs/smiqs/Models/Navigation/NavigationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149944"
} | starcoder | <reponame>yehiaraslan85/SmiqsMobileApp
using System.Runtime.Serialization;
using Xamarin.Forms.Internals;
namespace smiqs.Models.Navigation
{
/// <summary>
/// Model for the Navigation List and Tile with Cards page.
/// </summary>
[Preserve(AllMembers = true)]
[DataContract]
public class Navig... | 2.236356 | ffdac912c0f542eaac12592db4ebe948 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830725 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "timnguyen90/IZCommerce",
"max_stars_repo_path": "Src/IZCommerce/IZCommerce.Core/Models/Shipper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149945"
} | starcoder | <reponame>timnguyen90/IZCommerce
using System.Collections.Generic;
namespace IZCommerce.Core.Models
{
public class Shipper
{
public int ShipperId { get; set; }
public string CompanyName { get; set; }
public string Phone { get; set; }
public ICollection<Order> Orders { get; s... | 1.48189 | 507f15cf525dccddff47d9b7ebab1c8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830726 | {
"extension": "c-sharp",
"max_stars_count": "242.0",
"max_stars_repo_name": "rafsanulhasan/CodeHub",
"max_stars_repo_path": "CodeHub/Controls/BusyScreen.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149946"
} | starcoder | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace CodeHub.Controls
{
public sealed partial class BusyScreen : UserControl
{
public BusyScreen()
{
InitializeComponent();
}
public string BusyText
{
get => (string)GetValue(BusyTextProperty);
set => SetValue(BusyTextProperty, value);
... | 2.260523 | 39e101d5f222d4ce9e0b0e35d137912e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830727 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Org.BouncyCastle.Crypto.Tls/TlsServerContextImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149947"
} | starcoder | // TlsServerContextImpl
using Org.BouncyCastle.Crypto.Tls;
using Org.BouncyCastle.Security;
internal class TlsServerContextImpl : AbstractTlsContext, TlsServerContext, TlsContext
{
public override bool IsServer => true;
internal TlsServerContextImpl(SecureRandom secureRandom, SecurityParameters securityParameters)
... | 1.785529 | ebb11c94cdb8d3bfdea7552582a564a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830728 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MohamedHashish42/Data-Structures-And-Algorithms",
"max_stars_repo_path": "2-Data Structure/DataStructure/DataStructure/4-HashTable/HashtablePractices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149948"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace DataStructure.HashTable
{
class HashtablePractices
{
public static void CsharpBuiltInHashtable()
{
Hashtable myHashtable = new Hashtable();
myHashtable.Add("First", "O... | 3.572803 | f799f7add90cb1753eb2bc526c8b99a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SVemulapalli/jasper",
"max_stars_repo_path": "src/Jasper/Http/Routing/CompiledRouter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149949"
} | starcoder | <reponame>SVemulapalli/jasper
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Jasper.Http.Routing
{
public abstract class CompiledRouter
{
public RequestDelegate NotFound { get; s... | 2.152658 | 440b96a0ef3816050ff09ffaeb3c0d55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830730 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lighter-cd/Doubility3D",
"max_stars_repo_path": "DoubilityUnity/Runtime/Doubility3D/Resource/ResourceObj/ResourceObjectSingle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149950"
} | starcoder | <filename>DoubilityUnity/Runtime/Doubility3D/Resource/ResourceObj/ResourceObjectSingle.cs
using System;
namespace Doubility3D.Resource.ResourceObj
{
public class ResourceObjectSingle : ResourceObject
{
public ResourceObjectSingle(UnityEngine.Object obj){
unity3dObject = obj;
}
}
}
| 1.486274 | 0e7d36c5ee7f8687e95ef7ea0fb00c37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830731 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "victorbush/ego.nefsedit",
"max_stars_repo_path": "VictorBush.Ego.NefsEdit/Source/UI/ItemDebugForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149951"
} | starcoder | // See LICENSE.txt for license information.
namespace VictorBush.Ego.NefsEdit.UI
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VictorBush.Ego.NefsEdit.Services;
using VictorBush.Ego.NefsEdit.Workspace;
using VictorBush.Ego.NefsLib;
using ... | 2.127572 | 75ad76e14ca0dc9a1d35afdf51144919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThiagoBottacin/Cadastro-Cliente",
"max_stars_repo_path": "WcfService/Service1.svc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149952"
} | starcoder | using System;
using System.Collections.Generic;
using DAL;
using DTO.Entities;
using DTO.Exceptions;
namespace WcfService
{
public class Service1 : IService1
{
public string GetData(int value)
{
return string.Format("You entered: {0}", value);
}
public CompositeTyp... | 3.010205 | adfa84d39e22ea7f883f143b21956b7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "9carlo6/Strohhut451",
"max_stars_repo_path": "MontagsGame/Assets/Script/WeaponScripts/WeaponPlayerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149953"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using HumanFeatures;
public class WeaponPlayerController : WeaponController
{
//Per gestire il puntatore dell'arma
public GameObject weaponSight;
Ray rayWeaponSight;
Raycas... | 2.119393 | 0bb3e3214340bbb6125d805158e69eca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edowney29/Cops-and-Robert",
"max_stars_repo_path": "Assets/Plugins/Dissonance/Core/Audio/Capture/IFrameProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149954"
} | starcoder | using System;
using JetBrains.Annotations;
using NAudio.Wave;
namespace Dissonance.Audio.Capture
{
/// <summary>
/// Provides fixed size frames of PCM data in a given format
/// </summary>
internal interface IFrameProvider
{
/// <summary>
/// Format of data read from this provider
... | 3.081498 | a6985e28ad7e9d1118d70d9445419e06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Course/ERPCourse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149955"
} | starcoder | <reponame>dmequus/gizmofort.connector.erpnext<gh_stars>0
using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Course
{
public class ERPCourse : ERPNextObjectBase
{
public ERPCourse() : t... | 2.021873 | 4c0028c40c49fadbdd5070445879f709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830736 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-provide-feedback-apprentice",
"max_stars_repo_path": "src/Apprentice.Functions.NotifyMessageHandlerV2/SendSmsMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149956"
} | starcoder | namespace ESFA.DAS.ProvideFeedback.Apprentice.Functions.NotifyMessageHandlerV2
{
using System;
using System.Text;
using System.Threading.Tasks;
using ESFA.DAS.ProvideFeedback.Apprentice.Core.Exceptions;
using ESFA.DAS.ProvideFeedback.Apprentice.Core.Interfaces;
using ESFA.DAS.ProvideFeedback.App... | 1.959057 | 3652abbd0817e27454a2bcc0065c0241 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Colliebot/Colliebot.Api.Rest",
"max_stars_repo_path": "src/Controllers/Discord/DiscordGuildController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149957"
} | starcoder | <reponame>Colliebot/Colliebot.Api.Rest
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace Colliebot.Api.Rest.Controllers.Discord
{
[Route("discord/guild")]
public class DiscordGuildController : Controller
{
private readonly DiscordGuildManager _guilds;
... | 2.416424 | 55c75a225ef76d87c60c7e36222a85ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robin5/Sidekick.Core",
"max_stars_repo_path": "Sidekick/Views/Shared/_Header.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149958"
} | starcoder | <reponame>robin5/Sidekick.Core<filename>Sidekick/Views/Shared/_Header.cshtml
@*
**********************************************************************************
* Copyright (c) 2020 <NAME>
**********************************************************************************
*
* File: _Header.cshtml
... | 1.651763 | 4ecdeb082e8cb4043924314ed7f68a8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830739 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ChrizzFeller/FryWithMe-VR2",
"max_stars_repo_path": "Assets/Alloy/Scripts/EffectsManager/Editor/AlloyCameraEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149959"
} | starcoder | <filename>Assets/Alloy/Scripts/EffectsManager/Editor/AlloyCameraEditor.cs
// Alloy Physical Shader Framework
// Copyright 2013-2017 RUST LLC.
// http://www.alloy.rustltd.com/
using System;
using System.Linq;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(Camera))]
[CanEditMultipleObjects]
public class All... | 2.157434 | 0f58157d16e9d93b2a8436c6f3471210 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "henry9836/PROTOTYPERENAME-2020",
"max_stars_repo_path": "Assets/Scripts/ui/BHtimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149960"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BHtimer : MonoBehaviour
{
private Text thetext;
private Blackhole BH;
void Start()
{
thetext = this.gameObject.GetComponent<Text>();
BH = GameObject.FindGameObjectWithTa... | 2.12217 | 61d7c6bc3d4b49221f1a92a97eaf5a30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830741 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "IanWold/MusicXmlSharp",
"max_stars_repo_path": "3.0/Source/systemmargins.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149961"
} | starcoder | <reponame>IanWold/MusicXmlSharp
namespace MusicXml
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.2046.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.S... | 2.108745 | 3152fb9b4c5bbf5c6c8ec6343d195e38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830742 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Executor-Cheng/CacheManager",
"max_stars_repo_path": "CacheManager.Core/Internal/CacheSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149962"
} | starcoder | <filename>CacheManager.Core/Internal/CacheSerializer.cs
using CacheManager.Core.Utility;
using System;
namespace CacheManager.Core.Internal
{
/// <summary>
/// Base implementation for cache serializers.
/// </summary>
public abstract class CacheSerializer<TKey, TValue> : ICacheSerializer<TKey, TValue>... | 2.834154 | fdc28ee12b479ceddcf02539b4b431ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JonasESmith/ZendeskSellApiClient",
"max_stars_repo_path": "ZendeskSell/Models/ZendeskSellObjectResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149963"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace ZendeskSell.Models
{
public class ZendeskSellObjectResponse<T>
where T : class
{
[JsonProperty("data")]
public T Data { get; set; }
[JsonProperty("meta")]
public ZendeskResponseMetadata Meta { get; set;... | 1.797229 | e56fab8973a164783f9c5b58c84aee57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrispepper1989/xunit",
"max_stars_repo_path": "src/xunit.v3.core/Sdk/v3/Utility/TestCollectionComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149964"
} | starcoder | using System.Collections.Generic;
namespace Xunit.v3
{
/// <summary>
/// An implementation of <see cref="IEqualityComparer{T}"/> for <see cref="_ITestCollection"/>.
/// Compares the IDs of the test collections.
/// </summary>
public class TestCollectionComparer : IEqualityComparer<_ITestCollection>
{
/// <sum... | 2.759544 | d516966ebd90a57da7a1f483d07a0eff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830745 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "inthehand/compactframework",
"max_stars_repo_path": "InTheHand.Net.NetworkInformation/TcpStatistics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149965"
} | starcoder | <reponame>inthehand/compactframework
// In The Hand - .NET Components for Mobility
//
// InTheHand.Net.NetworkInformation.TcpStatistics
//
// Copyright (c) 2003-2009 In The Hand Ltd, All rights reserved.
using System;
namespace InTheHand.Net.NetworkInformation
{
/// <summary>
/// Provides Internet Protocol (... | 2.705614 | bc3331ebc2701796e4eb37211e4b253d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830746 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Simply007/ems-mvc-component-boilerplate",
"max_stars_repo_path": "MyCompany.Components/MyCompanyComponents/Widgets/Image/ImageWidgetResources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149966"
} | starcoder | <filename>MyCompany.Components/MyCompanyComponents/Widgets/Image/ImageWidgetResources.cs
using Kentico.Content.Web.Mvc;
using MyCompany.Components.MyCompanyComponents.Widgets.Image;
[assembly: RegisterPageBuilderLocalizationResource(typeof(ImageWidgetResources), "en-us")]
namespace MyCompany.Components.MyCompanyCom... | 1.342156 | 7d2425e49ede8f3cbcb783e14f697c58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "graemsheppard/GraemSheppardOnline",
"max_stars_repo_path": "GraemSheppardOnline/Views/Account/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149967"
} | starcoder | @model GraemSheppardOnline.ViewModels.AccountVM
@{
ViewData["Title"] = "Edit";
}
<div class="container main-container">
<div class="row">
<div class="col-12">
<h2>My Account</h2>
<hr />
<h3>@Model.FirstName @Model.LastName</h3>
</div>
</div>
<div c... | 2.415455 | 5da4b2985d3445178e2569c4a86a67a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830748 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "luyouli/ZHSan",
"max_stars_repo_path": "WorldOfTheThreeKingdoms/GameObjects/Conditions/ConditionKindPack/ConditionKind2710.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149968"
} | starcoder | using GameObjects;
using GameObjects.Conditions;
using System;
using System.Runtime.Serialization;namespace GameObjects.Conditions.ConditionKindPack
{
[DataContract]public class ConditionKind2710 : ConditionKind
{
public override bool CheckConditionKind(Architecture a)
{
return a... | 1.806089 | 4321cb29c158532c948128c612617ee0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clearwaterstream/AWSLambda.AspNetCoreAppMesh",
"max_stars_repo_path": "Sample/SampleWebApp/LambdaEntryPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149969"
} | starcoder | using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.AspNetCoreServer;
using Amazon.Lambda.AspNetCoreServer.Internal;
using Amazon.Lambda.Core;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Features;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Ta... | 1.333449 | fe37434e4ef6e28b2b4ce48c713468cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830750 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PearCoding/ParMaLy",
"max_stars_repo_path": "PMLR/Src/Output/EventFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149970"
} | starcoder | <reponame>PearCoding/ParMaLy
/*
* Copyright (c) 2016, <NAME> <<EMAIL> AT pearcoding.eu>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain... | 2.384726 | 5d31288ba7cbc3b96faf0178e5ff414b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kostya19980/PrintStore",
"max_stars_repo_path": "Models/product.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149971"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PrintStore.Models
{
public class product
{
public int Id { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public string Width { get; set; }
... | 2.581712 | 4f4d93b41e55311244a284e640c0aeef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830752 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "differentrain/YYProject.RichTextBoxEx",
"max_stars_repo_path": "YYProject.RichTextBoxEx/RTBLineSpacingRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149972"
} | starcoder | using System;
namespace YYProject.RichEdit
{
/// <summary>
/// Specifies the type of the line spacing.
/// </summary>
[Serializable]
public enum RTBLineSpacingRule:Byte
{
/// <summary>
/// Single spacing, the <see cref="RTBLineSpacing.Spacing"/> property is ignored.
///... | 3.107724 | bd55869996777a4c155bd08f4e8d98fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830753 | {
"extension": "c-sharp",
"max_stars_count": "3557.0",
"max_stars_repo_name": "agocke/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRow.HorizontalRowManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149973"
} | starcoder | <filename>src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRow.HorizontalRowManager.cs
// 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.
#nullable dis... | 2.416019 | 0e3c34bea61625874eb63030aad732bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charliedua/line-bot-sdk-dotnet",
"max_stars_repo_path": "src/LineBot/Messages/Template/ImageCarousel/ImageCarouselColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149974"
} | starcoder | <reponame>charliedua/line-bot-sdk-dotnet
// Copyright 2017-2018 <NAME> (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// <NAME> licenses this file to you 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 Lice... | 2.437534 | 3da86264878f0ce0ef6e24dc1abca96e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830755 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "deagl0r/nUpdate",
"max_stars_repo_path": "nUpdate.Administration/UI/Dialogs/UpdatingInfoDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149975"
} | starcoder | // UpdatingInfoDialog.cs, 10.06.2019
// Copyright (C) <NAME> 17.06.2019
using System;
namespace nUpdate.Administration.UI.Dialogs
{
public partial class UpdatingInfoDialog : BaseDialog
{
public UpdatingInfoDialog()
{
InitializeComponent();
}
private void UpdatingI... | 1.908034 | 840e9e2dc058f750bdbc29be07c76ff3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830756 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OuterGazer/Laser-Defender",
"max_stars_repo_path": "Scripts/BossBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149976"
} | starcoder | <filename>Scripts/BossBehaviour.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
using System.Linq;
public class BossBehaviour : MonoBehaviour
{
private bool hasOminousEntranceFinished = false;
private bool isShieldActive = true;
... | 2.166195 | dee2b4fd4571e2a7c289ecc4c1b0b923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wobling/valkyrie-package",
"max_stars_repo_path": "Assets/Valkyrie/Tests/Runtime/Source/TimerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149977"
} | starcoder | using System.Collections;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Valkyrie.Components;
using Valkyrie.Timers;
namespace Tests
{
public class TimerTests
{
[UnityTest]
public IEnumerator Timer_StartTimer_TwoSecondsElapse()
{
// Arrange
... | 2.390828 | d3c64632b3a6485d97844f0887fe2ac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftBIM/ACadSharp",
"max_stars_repo_path": "ACadSharp/Color.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149978"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ACadSharp
{
public struct Color
{
public static Color ByLayer { get { return new Color(256); } }
public static Color ByBlock { get { return new Color(0); } }
/// <summary>
/// Defines if the color is defined by layer.
/// </summ... | 3.013794 | 823c034ddd04c2435478d0da4a92d851 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrlacey/WP7TombstoneHelper",
"max_stars_repo_path": "TombstoneHelper/FakeFrameworkElementActingAsListBoxEndIndicator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149979"
} | starcoder | using System.Windows;
namespace TombstoneHelper
{
internal class FakeFrameworkElementActingAsListBoxEndIndicator : FrameworkElement
{
}
} | 1.031033 | 3d4284e926ac18e96f3f59707cebd430 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JopMaarse/VoteBot",
"max_stars_repo_path": "Votebot/Commands/SetTimeOut.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149980"
} | starcoder | using System.Threading.Tasks;
using Discord.Commands;
using Votebot.Controllers;
namespace Votebot.Commands
{
public class SetTimeOut : ModuleBase<SocketCommandContext>
{
[Command("timeout"), Summary("Set the time until votes are automatically closed in seconds.")]
public async Task Reset(int ... | 2.493072 | b8ec87df78ff02ca8125101d6196173a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830761 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_5FDDF6E9.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149981"
} | starcoder | <reponame>Mike111177/OWLib
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x5FDDF6E9)]
public class STU_5FDDF6E9 : STU_CF110906 {
[STUFieldAttribute(0xF9C9453C)]
public ulong m_F9C9453C;
[STUFieldAttribute(0x3... | 0.755661 | 3338d5f745ac66c84e1c58d8a60eb7a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830762 | {
"extension": "c-sharp",
"max_stars_count": "1083.0",
"max_stars_repo_name": "BitcoinSolution/UnityMMO",
"max_stars_repo_path": "Assets/Scripts/Game/Config/ResPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149982"
} | starcoder | <gh_stars>1000+
using UnityEngine;
namespace UnityMMO
{
public static class ResPath
{
public const string RoleResPath = "Assets/AssetBundleRes/role";
public const string UIResPath = "Assets/AssetBundleRes/ui";
public const string MonsterResPath = "Assets/AssetBundleRes/monster";
... | 2.094891 | 7220410cdce345583df5dfdee0a51cb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielAureo/Louvre",
"max_stars_repo_path": "Assets/_Scripts/Stage1/TurnLightOnOff.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149983"
} | starcoder | <filename>Assets/_Scripts/Stage1/TurnLightOnOff.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class TurnLightOnOff : MonoBehaviour
{
Light source;
float range;
[SerializeField] private AudioClip audioClip;
[SerializeField] float ... | 2.409177 | 559061d257e311c5d530f5e2bf5f3a1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830764 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "khannarheams/azure-powershell",
"max_stars_repo_path": "src/EventGrid/EventGrid/EventSubscription/GetAzureEventGridSubscription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149984"
} | starcoder | <reponame>khannarheams/azure-powershell<filename>src/EventGrid/EventGrid/EventSubscription/GetAzureEventGridSubscription.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
... | 1.408567 | a1ba570f003dd876666061857682f7c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dzmitry-lahoda/NRegFreeCom",
"max_stars_repo_path": "research/idl2cs/VS2012/Win32/Common.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149985"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
namespace Win32
{
public unsafe delegate void _FARPROC();
public enum CALLCONV
{
CC_FASTCALL = 0,
CC_CDECL = 1,
CC_MSCPASCAL = 2,
CC_PASCAL = 2,
CC_MACPASCAL = 3,
CC_STD... | 1.965749 | 77595a5990c1ee24b902492cadf079d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830766 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Configuration/Rum/Models/UserActionAndSessionProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149986"
} | starcoder | using Dynatrace.Net.Common.Converters;
using Newtonsoft.Json;
namespace Dynatrace.Net.Configuration.Rum.Models
{
public class UserActionAndSessionProperties
{
public string DisplayName { get; set; }
[JsonConverter(typeof(UserActionAndSessionPropertyTypesConverter))]
public UserActionAndSessionPropert... | 1.603764 | 99418b89f4b8a06463cd1c2da25f511e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KazeEternal/Automata",
"max_stars_repo_path": "Automata/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149987"
} | starcoder | <filename>Automata/MainWindow.xaml.cs
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Policy;
using System.Threading;
using System.Windows;
using Path = System.IO.Path;
namespace Automata
{
/// <summary>
//... | 2.392325 | d0a38c04cafb4c7fff11d83af5ad018f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830768 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ExclamationLabs/Opserver",
"max_stars_repo_path": "Opserver.Core/Data/HAProxy/HAProxyGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149988"
} | starcoder | <reponame>ExclamationLabs/Opserver
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using StackExchange.Profiling;
namespace StackExchange.Opserver.Data.HAProxy
{
public partial class HAProxyGroup : IMonitedService, ISearchableNode
{
private static reado... | 2.385164 | 850a260cac380213bf387c16b3c42cfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830769 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Sleyy/DatabasesAdvanced-EntityFrameworkCore",
"max_stars_repo_path": "IntroductionToEntityFrameworkCore/FindEmployeesByFirstNameStartingWithSa/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149989"
} | starcoder | using Microsoft.EntityFrameworkCore;
using P02_DatabaseFirst.Data;
using System;
using System.IO;
using System.Linq;
namespace FindEmployeesByFirstNameStartingWithSa
{
class StartUp
{
static void Main(string[] args)
{
using (SoftUniContext context = new SoftUniContext())
... | 3.276427 | 3cb14eccf6dc40a3e3095e1836ccdf9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830770 | {
"extension": "c-sharp",
"max_stars_count": "9552.0",
"max_stars_repo_name": "MessageBOX/Polly",
"max_stars_repo_path": "src/Polly/CircuitBreaker/ICircuitBreakerPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149990"
} | starcoder | using System;
namespace Polly.CircuitBreaker
{
/// <summary>
/// Defines properties and methods common to all circuit-breaker policies.
/// </summary>
public interface ICircuitBreakerPolicy : IsPolicy
{
/// <summary>
/// Gets the state of the underlying circuit.
/// </summa... | 2.846766 | 9fadc6922963c33b1ddd1915d43748ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830771 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "dlbromen/docs.particular.net",
"max_stars_repo_path": "samples/logging/application-insights/Metrics_4/Endpoint/ApplicationInsightsConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149991"
} | starcoder | <gh_stars>10-100
using Microsoft.ApplicationInsights.Extensibility;
using NServiceBus;
using NServiceBus.Configuration.AdvancedExtensibility;
public static class ApplicationInsightsConfigurationExtensions
{
public static void EnableApplicationInsights(this EndpointConfiguration configuration, TelemetryConfi... | 1.332638 | a737d41c1beb8162b768877895990fee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830772 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marlonajgayle/LifeBank",
"max_stars_repo_path": "LifeBank.Domain/Entities/Donor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149992"
} | starcoder | using LifeBank.Domain.Common;
using System;
using System.Collections.Generic;
namespace LifeBank.Domain.Entities
{
public class Donor : AuditableEntity
{
public long DonorId { get; set; }
public string FirstName { get; set; }
public string MiddleInital { get; set; }
public stri... | 2.12677 | ff95fc5189c8a2a58fe4939a93b8313c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnrealKaraulov/DotaAllstarsConfigEditor",
"max_stars_repo_path": "DotaAllstarsConfigEditor/ConfigEditorForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149993"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using IniPar... | 2.012744 | cee413b62794918e0025beaede77040e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mkhomutov/Catel",
"max_stars_repo_path": "src/Catel.Tests/Data/TestClasses/ModelWithObservableCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149994"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ModelWithObservableCollection.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// ----------------... | 2.533533 | 56f76ebea78ee339d0d58b3c6bbfdb86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830775 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "jl632541832/spear",
"max_stars_repo_path": "src/Spear.Core/Message/Implementation/DMessageSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149995"
} | starcoder | <filename>src/Spear.Core/Message/Implementation/DMessageSerializer.cs
using System;
namespace Spear.Core.Message.Implementation
{
public abstract class DMessageSerializer : IMessageSerializer
{
public abstract byte[] Serialize(object value);
public virtual byte[] SerializeNoType(object value)... | 2.409089 | ddf0da935e9ecc70f8168c9e6b68eb53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830776 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nickbabcock/Pfarah",
"max_stars_repo_path": "src/Pfarah.Benchmarks/ParseFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149996"
} | starcoder | <gh_stars>1-10
using BenchmarkDotNet.Attributes;
using System.IO;
namespace Pfarah.Benchmarks
{
public class ParseFile
{
private byte[] data;
[Setup]
public void SetupData()
{
data = File.ReadAllBytes(Payload);
}
[Params("achievements.txt")]
... | 2.503453 | 716e22aacd8687fb17fb905d0e2659e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830777 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "georgidelchev/w3resource-solutions",
"max_stars_repo_path": "01 - [CSharp Exercises]/03 - [C# Data Types Exercises]/08 - [Surface And Volume Of The Sphere]/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149997"
} | starcoder | using System;
namespace SurfaceAndVolumeOfTheSphere
{
class Program
{
static void Main(string[] args)
{
double rad = double.Parse(Console.ReadLine());
double surface = 4 * Math.PI * Math.Pow(rad, 2);
double volume = 4d / 3d * Math.PI * Math.Pow(rad, 3);
... | 3.757811 | 885dfc5ce4428654992235d75439325d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830778 | {
"extension": "c-sharp",
"max_stars_count": "476.0",
"max_stars_repo_name": "dvs99/OpenSilver",
"max_stars_repo_path": "src/Compiler/Compiler/Loggers/LoggerThatUsesConsoleWriteLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149998"
} | starcoder | <filename>src/Compiler/Compiler/Loggers/LoggerThatUsesConsoleWriteLine.cs<gh_stars>100-1000
/*===================================================================================
*
* Copyright (c) Userware (OpenSilver.net, CSHTML5.com)
*
* This file is part of both the OpenSilver Compiler (https://opensilv... | 2.434969 | 48b24656e07916112bb34041629c626a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fpisti35/jQuery-Autocomplete-with-SQL-on-C-ASP.NET",
"max_stars_repo_path": "Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149999"
} | starcoder | <reponame>fpisti35/jQuery-Autocomplete-with-SQL-on-C-ASP.NET<filename>Default.aspx.cs
using System;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
... | 1.99844 | 025000a06397da7a0d836224e5f5c10a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vinej/RestMediaServer",
"max_stars_repo_path": "SqlDAL/Service/LikeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150000"
} | starcoder | <reponame>vinej/RestMediaServer<filename>SqlDAL/Service/LikeService.cs
using System.Collections.Generic;
using SqlDAL.Domain;
using SqlDAL.DAL;
// simple service for future use
namespace SqlDAL.Service
{
public class LikeService
{
static readonly WaitToFinishMemoryCache<IEnumerable<Like>> _LikeManyCa... | 2.467715 | 124a2d34438b0fe3bc70d17211bd55f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830781 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JaydenB14/YandereSimulatorDecompiled",
"max_stars_repo_path": "Assembly-CSharp/HomeYandereScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150001"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: HomeYandereScript
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9
// Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll
using System;
using System.Co... | 1.408969 | 8c7397ded2f196e232f4a71decd28d6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830782 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "blukatdevelopment/FPS_Framework",
"max_stars_repo_path": "Items/IWeapon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150002"
} | starcoder | <reponame>blukatdevelopment/FPS_Framework
// Interface for qnything that can provide damage(ie a weapon)
interface IWeapon{
Damage GetBaseDamage();
}
| 1.84767 | 0b873c9974fd8103bd15dd739d47a703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edwonedwon/Unity-Tools",
"max_stars_repo_path": "Runtime/ToggleEventRelay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150003"
} | starcoder | <filename>Runtime/ToggleEventRelay.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Edwon.Tools
{
[System.Serializable]
public class OnToggleUnityEvent : UnityEvent<bool> {}
public class ToggleEventRelay : MonoBehaviour
... | 2.763 | 8b670790adaccc4627a2c4f67bab7c73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Haasanhuseyinbag/MobControl",
"max_stars_repo_path": "MobControl/Assets/Scripts/Menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150004"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
using UnityEngine.UI;
public class Menu : MonoBehaviour
{
[SerializeField] Text ParaText, LevelText;
GameSkor Skor;
private void Start()
{
Skor = GameObject.Find("GameSk... | 1.420083 | 3eea866b944d5f72629c97750dc0087b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YuriSiman/windows-forms-projects",
"max_stars_repo_path": "src/FormApp/WinForms.FormApp/Forms/Validacao/SenhaForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150005"
} | starcoder |
namespace WinForms.FormApp.Forms.Validacao
{
partial class SenhaForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... | 2.02841 | 5932f481eb6a17b0dd5229a704bbdcf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Byndyusoft/Byndyusoft.AspNetCore.Mvc.Formatters.ProtoBuf",
"max_stars_repo_path": "tests/Unit/ProtoBufOutputFormatterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150006"
} | starcoder | using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Byndyusoft.AspNetCore.Mvc.Formatters.Models;
using Byndyusoft.AspNetCore.Mvc.Formatters.Unit.Types;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Formatters;
using ProtoBuf.Meta;
usin... | 2.280937 | 83e6af234470a74a06cdc4ef530dba12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrehman29/cloudstack.net",
"max_stars_repo_path": "src/CloudStack.Net/Generated/ExpungeVirtualMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150007"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class ExpungeVirtualMachineRequest : APIRequest
{
public ExpungeVirtualMachineRequest() : base("expungeVirtualMachine") {}
... | 2.563109 | 45e07ad05057d739b52fc170835c5df2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830788 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "dreamsilver/HotUpdateSolution",
"max_stars_repo_path": "Assets/NGUI/Scripts/Extension/Tweening/TweenTweener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150008"
} | starcoder | <reponame>dreamsilver/HotUpdateSolution
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2014 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
/// <summary>
/// Tween the tweener's factor and value.
/// </summary>
[Requ... | 2.13535 | a615b88679f59459a0df71e321f6d4e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830789 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jmpichardo/aspnet-core-react-redux-boilerplate",
"max_stars_repo_path": "Renetdux.API/Renetdux/Authorization/RoleAuthorizationFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150009"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Filters;
using Newtonsoft.Json;
using Renetdux.Infrastructure.Domain.Users;
using System;
using System.Linq;
using System.Security.Claims;
namespace Renetdux.Authorization
{
public class RoleAuthorizationFil... | 2.342109 | 2feb87f8f1595d2ffd6b8bd9b6bf710e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ginsutime/P02",
"max_stars_repo_path": "Assets/Scripts/Audio/MusicManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150010"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MusicManager : MonoBehaviour
{
public AudioSource audioSrc;
[SerializeField] AudioSource newTurn = null;
[SerializeField] AudioSource cardDraw = null;
[SerializeField] AudioSource cardPlace = null;
... | 2.092257 | ae9705b7073b4c0f119a0d384e28d621 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830791 | {
"extension": "c-sharp",
"max_stars_count": "1558.0",
"max_stars_repo_name": "Microsoft/WindowsTemplateStudio",
"max_stars_repo_path": "code/TemplateStudioForWPF/Templates/_comp/MT/Test.MWebView.NUnit/Param_ProjectName.Tests.NUnit/PagesTests$ts.ItemName_gpostaction.cs",
"provenance": "train-00027-of-00045.js... | starcoder | <reponame>Microsoft/WindowsTemplateStudio<gh_stars>1000+
namespace Param_RootNamespace.Tests.NUnit;
public class PagesTests
{
private void ConfigureServices(HostBuilderContext context, IServiceCollection services)
{
// Services
//{[{
services.AddSingleton<IRightPaneService, RightPaneSe... | 1.788343 | 33483252137df3ef50eca31dc413dc48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NamedJohnny/Checkmapp-Windows-Phone-",
"max_stars_repo_path": "CheckMapp/Views/TripViews/AddEditTripView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150012"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using CheckMapp.ViewModels.TripViewModels;
using CheckMapp.Resources;
using CheckMapp.V... | 1.954723 | cbd37ff077f804bd535143493e09c88a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViersJW/PasswordManager",
"max_stars_repo_path": "PasswordManager/DI/DI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150013"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace PasswordManager.Dependancies
{
public static class DI
{
public static IServiceProvider Provider { get; private set; }
public static void Startup()
{
... | 1.990548 | 96fdad8cb5fd6855162486a22353469c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830794 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "syntaxonline-rewhitley/elsa-core",
"max_stars_repo_path": "src/dashboard/Elsa.Dashboard/Areas/Elsa/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150014"
} | starcoder | <reponame>syntaxonline-rewhitley/elsa-core
@using GravatarHelper.Common
@using Elsa.Dashboard.Areas.Elsa.ViewModels
@addTagHelper *, GravatarHelper.AspNetCore
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Elsa.WorkflowDesigner
| 1.054347 | b4b5f7620c59f7a2fdbce4725d089c3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fundator/GravityVectorToKML",
"max_stars_repo_path": "GravityVectorToolKit.DataModel/DeviationCell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150015"
} | starcoder | <filename>GravityVectorToolKit.DataModel/DeviationCell.cs
using NetTopologySuite.Geometries;
namespace GravityVectorToolKit.DataModel
{
/// <summary>
/// geohash,Unnamed: 0,disttoP,Plat,Plon,rel_dist_std,rel_dist_max,rel_cog_std,rel_cog_max,rel_sog_std,rel_sog_max,g1lat,g1lon,
/// g2lat,g2lon,significance,lat,lon,... | 2.020453 | 71bca99bdef694dce4a7f135b5445d2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mark-Diedericks/Office-Macros",
"max_stars_repo_path": "Base/Macro Editor/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150016"
} | starcoder | <filename>Base/Macro Editor/Properties/Settings.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost ... | 1.83926 | dbffafe5f940e75ddd285d352d95d245 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830797 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "abjerner/UmbracoRestApi",
"max_stars_repo_path": "src/Umbraco.RestApi.Tests/TestHelpers/ServiceMocks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150017"
} | starcoder | using Moq;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Core.Services;
namespace Umbraco.RestApi.Tests.TestHelpers
{
public class ServiceMocks
{
public static DatabaseContext... | 1.901156 | c719d843435a823df44fe1b06455d1df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gartenschlaeger/RoWatch2",
"max_stars_repo_path": "Rowatch2/Forms/FormSkillTimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150018"
} | starcoder | <gh_stars>0
using ExtendedControls;
using Rowatch2.Embeding;
using Rowatch2.Librarys;
using System;
using System.Windows.Forms;
namespace Rowatch2.Forms
{
public partial class FormSkillTimer : FormEx
{
#region Constructor
public FormSkillTimer(CharacterInfo charInfo, ProcessManager processMan... | 1.993744 | b893b196da738aecd3aa81fbdeb2d7e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KolesnichenkoDS/intrinio-netcore",
"max_stars_repo_path": "Intrinio/Api/CryptoApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150019"
} | starcoder | <reponame>KolesnichenkoDS/intrinio-netcore
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using RestSharp;
using Intrinio.Client;
using Intrinio.Model;
namespace Intrinio.Api
{
/// <summary>
/// Represents a collection of functions to int... | 1.803162 | 63783820ab89d8b4f1b7aded905663ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rainersigwald/vsts-agent",
"max_stars_repo_path": "src/Agent.Plugins/SvnSourceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150020"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.TeamFoundation.Build.WebApi;
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Newtonsoft.Json;
using Agent.Sdk;
using Pipelines = Microsoft.TeamFoundation.DistributedTa... | 2.137496 | bb02a4001a0aa5cb6815e062d2eee4b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "McP4nth3r/coreclr-module",
"max_stars_repo_path": "api/AltV.Net/Enums/VehicleWheel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150021"
} | starcoder | <reponame>McP4nth3r/coreclr-module
namespace AltV.Net.Enums
{
public enum VehicleWheel : byte
{
LeftFront,
RightFront,
LeftRear,
RightRear,
Unk1,
Unk2,
Unk3,
Unk4,
Unk5,
Unk6
}
}
| 1.396295 | 7c88e1c2a139d0994637c1582910dd75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830802 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dawsonliu/Aliyun.TableStore",
"max_stars_repo_path": "Aliyun.TableStore.Test/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150022"
} | starcoder | <filename>Aliyun.TableStore.Test/Config.cs
namespace Aliyun.TableStore.Test
{
internal class Config
{
public static string AccessKeyId = "<Your Access Key Id>";
public static string AccessKeySecret = "<Your Access Key Secret>";
public static string Endpoint = "https://name.cn-shanghai... | 2.139079 | 561fe2ca639186b122b625cbda07ac84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830803 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ThoughtHaven/AspNetCore",
"max_stars_repo_path": "src/ThoughtHaven.AspNetCore.Mvc/Startup/ThoughtHavenMvcServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150023"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.DependencyInjection.Extensions;
using ThoughtHaven;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ThoughtHavenMvcServiceCollectionExtensions
{
public static IMvcBuilder... | 1.751847 | 717e89ae3aa4ecb47aaa11f108e4d08c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patrickdemooij9/InboundLinkErrors",
"max_stars_repo_path": "source/InboundLinkErrors.Core/ConfigurationProvider/ILinkErrorConfigurationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150024"
} | starcoder | namespace InboundLinkErrors.Core.ConfigurationProvider
{
public interface ILinkErrorConfigurationProvider
{
LinkErrorConfiguration GetConfiguration();
}
}
| 1.37297 | 284c59c23498069a49042589b0e338d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CS-UCY-EPL343/epl343.winter18.team10",
"max_stars_repo_path": "Invoice/UnitTestProject/UnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150025"
} | starcoder | // /*****************************************************************************
// * MIT License
// *
// * Copyright (c) 2020 InvoiceX
// *
// * Permission is hereby granted, free of charge, to any person obtaining a copy
// * of this software and associated documentation files (the "Software"), to deal
// * ... | 1.945515 | e68a86c586bc68387040db5c38a26e09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Koritenos/TheLittlePawnThatCould",
"max_stars_repo_path": "Assets/LevelGenerator/Scripts/Exceptions/InvalidRuleDeclarationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150026"
} | starcoder | using System;
namespace LevelGenerator.Scripts.Exceptions
{
public class InvalidRuleDeclarationException : Exception
{
public override string Message => "Duplicate tag in special rule declaration, can only define one rule per tag";
}
}
| 2.041099 | 0de5857dc6e4ba5918f8d4cf93e1bcd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830807 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "WeihanLi/MvcSimplePager",
"max_stars_repo_path": "src/WeihanLi.AspNetMvc.MvcSimplePager/PagedListModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150027"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace WeihanLi.AspNetMvc.MvcSimplePager
{
/// <summary>
/// PagedListModel
/// </summary>
/// <typeparam name="T">Type</typeparam>
internal sealed class PagedListModel<T> : IPagedListM... | 2.810599 | ead02be1e0f54b4fddeb887ac3988cb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evgeni-tsn/CSharp-Web-Development",
"max_stars_repo_path": "3.C#-High-Quality-Code/15.SOLID-Principles/Logger/Reports/ErrorReport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150028"
} | starcoder | namespace Logger.Reports
{
public class ErrorReport : Report
{
public override int ReportLevel => ReportLevelValues.ErrorLevelValue;
public override string ToString() => "Error";
}
} | 2.152499 | feddc33b4282ccb1f448b742e25ad0af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelov87/C-OOP-Basics",
"max_stars_repo_path": "Interfaces/P08_MilitaryElite/Interfaces/ISpecialisedSoldier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150029"
} | starcoder | <gh_stars>0
using P08_MilitaryElite.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace P08_MilitaryElite.Interfaces
{
public interface ISpecialisedSoldier : IPrivate
{
Corps Corps { get; set; }
}
}
| 1.111275 | b26b7473b71b75ebc04b22e3d792ac7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830810 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-1010-83bb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150030"
} | starcoder | <gh_stars>1-10
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1010_83bb-588af350")]
public void Method_1010_83bb()
{
ii(0x1010_83bb, 5); push(0x8c); ... | 1.721846 | b571d929278cd14a775bee47d98bfde1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830811 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SwissLife-OSS/bewit",
"max_stars_repo_path": "src/Storage.MongoDB/DiscriminatorClassMapConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150031"
} | starcoder | using System;
using System.Text;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Conventions;
namespace Bewit.Storage.MongoDB
{
internal class DiscriminatorClassMapConvention : ConventionBase, IClassMapConvention
{
public void Apply(BsonClassMap classMap)
{
var di... | 2.670419 | 288ca661de52ce57ede52ce422170490 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.