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 | 8830040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenucleus/nuclei.plugins",
"max_stars_repo_path": "src/Nuclei.Plugins.Core/PropertyDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149260"
} | starcoder | <filename>src/Nuclei.Plugins.Core/PropertyDefinition.cs
//-----------------------------------------------------------------------
// <copyright company="TheNucleus">
// Copyright (c) TheNucleus. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root f... | 2.852585 | 788df16968f69f5e6b8be347cdff9288 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830041 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Mrgove10/SGJ2019",
"max_stars_repo_path": "Assets/Scripts/EndGame/EndGameScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149261"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using Assets.Scripts;
public class EndGameScript : MonoBehaviour
{
public Text Texte;
public Button BoutonRetourMenu;
private string MessageSante = "Attention, problème a... | 2.196164 | d05fa003a5ef71c9052f832bec0624a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/PackageManagerUI/Editor/UI/Common/SimplePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149262"
} | starcoder | <filename>client/framework/UnityCsReference-master/Modules/PackageManagerUI/Editor/UI/Common/SimplePage.cs
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Collections.Generic;
using Sys... | 2.241349 | 9b359334d935c240e596dd5c808cccf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830043 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "umutseven92/Plutus",
"max_stars_repo_path": "Plutus.Core/DI/AutofacBootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149263"
} | starcoder | using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Plutus.Core.DI.Modules;
namespace Plutus.Core.DI
{
public static class AutofacBootstrapper
{
public static IContainer Init()
{
var serviceCollection = new ServiceColle... | 1.696596 | 14a2f279088ea1a41486ae1a4d9a2127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ekenstein/Files",
"max_stars_repo_path": "Fileicsh.Crypto/WritablePgpStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149264"
} | starcoder | <reponame>Ekenstein/Files<gh_stars>0
using Fileicsh.Abstraction;
using Fileicsh.Crypto.Extensions;
using Org.BouncyCastle.Bcpg.OpenPgp;
using System;
using System.Collections.Async;
using System.Threading;
using System.Threading.Tasks;
namespace Fileicsh.Crypto
{
/// <summary>
/// Represents an <see cref="ISt... | 2.522868 | 3cfd8d5ae6f7e3b61feeac98927aeedd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830045 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JeepNL/CloudFlare",
"max_stars_repo_path": "News/Services/AuthService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149265"
} | starcoder | <filename>News/Services/AuthService.cs
using Blazored.LocalStorage;
using Grpc.Core;
using Microsoft.AspNetCore.Components.Authorization;
using System.Net.Http.Headers;
namespace News.Services;
public class AuthService : IAuthService
{
private readonly HttpClient _httpClient;
private readonly AuthenticationStatePro... | 2.411627 | a7b77fa8d76df23c208087f0c9bec6d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "silvath/siscobras",
"max_stars_repo_path": "SiscoMensagem/SiscoMensagem/clsMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149266"
} | starcoder | <gh_stars>0
using System;
namespace SiscoMensagem
{
/// <summary>
/// Summary description for clsMain.
/// </summary>
public class clsMain
{
#region MAIN
[STAThread]
static void Main(string[] strArgs)
{
int nExit = 0;
string strReturn = "";
int nProcessCount = System.Diagnostics.Process.Ge... | 2.455501 | f9c694deb22e5dd2a4ecde3a4428ea75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "olegip/Exceptionless",
"max_stars_repo_path": "Source/Core/Extensions/StackFrameCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149267"
} | starcoder | using System;
using System.Text;
using Exceptionless.Models;
using Exceptionless.Models.Data;
namespace Exceptionless.Core.Extensions {
public static class StackFrameCollectionExtensions {
public static string ToExceptionStackString(this StackFrameCollection stackFrames) {
var sb = new StringB... | 2.56369 | 4db8f49195d6c4d04d9813eebea2d228 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoiveyp/IApproveThisTalk.Demo",
"max_stars_repo_path": "IApproveThisTalk.Demo/BreakGlass/E_WorkflowEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149268"
} | starcoder | <filename>IApproveThisTalk.Demo/BreakGlass/E_WorkflowEvents.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Slack.NetStandard;
using Slack.NetStandard.EventsApi;
using Slack.NetStandard.EventsApi.CallbackEvents;
namespace IAp... | 2.05335 | d13f8002851d2b3bbe1cf8de755cd1ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830049 | {
"extension": "c-sharp",
"max_stars_count": "4697.0",
"max_stars_repo_name": "mryanmurphy/octokit.net",
"max_stars_repo_path": "Octokit.Tests/Helpers/TestSetup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149269"
} | starcoder | <reponame>mryanmurphy/octokit.net
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace Octokit.Internal
{
public static class TestSetup
{
public static Task<IApiResponse<object>> CreateApiResponse(HttpStatusCode statusCode)
{
var response = Cre... | 2.138184 | 05d1ddc2a72987e79e7afa379e808eba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830050 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Ghetaldus/retro-dungeon-crawler-kit",
"max_stars_repo_path": "Plugins/UnityTilemap/Tilemap/Scripts/Tools/Rectangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149270"
} | starcoder | <filename>Plugins/UnityTilemap/Tilemap/Scripts/Tools/Rectangle.cs
using UnityEngine;
using System;
using System.Collections.Generic;
namespace toinfiniityandbeyond.Tilemapping
{
[Serializable]
public class Rectangle : ScriptableTool
{
public bool filled;
private Point start;
privat... | 2.926917 | 2d5944bab8a5f7ed2cb561287fc5ddd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830051 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TrovoLib/AspNet.Security.OAuth.Providers",
"max_stars_repo_path": "src/AspNet.Security.OAuth.Twitch/TwitchAuthenticationConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149271"
} | starcoder | <gh_stars>1-10
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
* for more information concerning the license and the contributors participating to this project.
*/
namespace AspNet.Security.OAu... | 1.608418 | 5dadaae5f095228895d6c2913d436af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830052 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NetherQuartz/ComputerGraphicsLabs",
"max_stars_repo_path": "Lab7/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149272"
} | starcoder | #region Директивы using (подключаемые библиотеки) и точка входа приложения
using Device = CGLabPlatform.OGLDevice;
using DeviceArgs = CGLabPlatform.OGLDeviceUpdateArgs;
using SharpGL;
using System;
using System.Linq;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Dia... | 1.977849 | 009b14006829a34182f7f04475b5c3a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeknikhogskolanGothenburg/ticketSystem-team-terminator",
"max_stars_repo_path": "src/RestApiClient/Model/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149273"
} | starcoder | <reponame>TeknikhogskolanGothenburg/ticketSystem-team-terminator<filename>src/RestApiClient/Model/Order.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TicketSystem.RestApiClient.Model
{
public class Order
{
public... | 1.808993 | 04ddb6ca1c42a85fc2c88c16ab06905c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830054 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "akobr/CalcEngine",
"max_stars_repo_path": "Source/CalcEngineDemo/CalcEngineDemo/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149274"
} | starcoder | <filename>Source/CalcEngineDemo/CalcEngineDemo/Form1.Designer.cs
namespace CalcEngineDemo
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///... | 2.147462 | fa5331d2047440542940e7313f7bd6bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiagodenoronha/Mobile.BuildTools",
"max_stars_repo_path": "tests/Mobile.BuildTools.Tests/Fixtures/Generators/BuildHostSecretsGeneratorFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149275"
} | starcoder | <reponame>tiagodenoronha/Mobile.BuildTools
using System;
using Mobile.BuildTools.Build;
using Mobile.BuildTools.Generators;
using Mobile.BuildTools.Generators.Secrets;
using Mobile.BuildTools.Tests.Mocks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Xunit;
using Xunit.Abstractions;
namespace Mobile.Buil... | 2.379693 | 9d32fcff6bd7eed312ac6281bb656346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Congyuan1225/skilling-module-1-Congyuan1225",
"max_stars_repo_path": "Assets/Scenes/School/Scripts/Homework/Session1Homework.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149276"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
/*
Session 1 homework:
Declare a int variable and set a value
Declare a float variable and set a value
Declare a string variable and set a value
Create a function that prints the declared variables
Declare and initialize an a... | 3.53968 | 7fda932e7a60f20da725f537c3eecae6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "medengineer/Bonsai_3.0",
"max_stars_repo_path": "Bonsai.Audio/Configuration/SourceConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149277"
} | starcoder | using Bonsai.Resources;
using OpenTK;
using OpenTK.Audio.OpenAL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Bonsai.Audio.Configuration
{
[XmlType(Namespace =... | 2.217772 | 85dbd8bb975684a1c4797939038374b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InsDel2113/Brick-Hill.NET",
"max_stars_repo_path": "BrickHillDotNet/DataTypes/Clan/Clan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149278"
} | starcoder | <filename>BrickHillDotNet/DataTypes/Clan/Clan.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BrickHillDotNet
{
public class Clan
{
public int id { get; set; }
public int owner_id { get; set; }
public string tag { get; set; }
... | 2.755828 | 5e9987e532266c09f7a3f0bfea97844a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmorris99/Mandrill-dotnet",
"max_stars_repo_path": "src/Mandrill/Models/WebHookEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149279"
} | starcoder | <filename>src/Mandrill/Models/WebHookEvent.cs
using System;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
/* http://help.mandrill.com/entries/21738186-introduction-to-webhooks
Simple MVC Controller example
[AcceptV... | 2.614288 | 8682bb949299587e585bff9c8d2938e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ORT-DA1/Oblig2",
"max_stars_repo_path": "FeelingAnalyzer.UI/AddAlarm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149280"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using FeelingAnalyzer.Domain;
using FeelingAnalyzer.Memory;
namespace FeelingAnalyzer.UI
{
... | 1.981726 | 45fb6c2dfcb6f0beeeedef07b7aeecd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rubicon7/ApplePickerTest",
"max_stars_repo_path": "ApplePick/Assets/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149281"
} | starcoder | /***
* Created By: <NAME>
* Date Created: 3/4/2022
*
* Last Edited: N/A
* Last Edited By: N/A
*
* Description: GM
*
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
#region ... | 2.742418 | 3190ef3bbd4b7b239cd7247cade11c74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "miyuki-31270/SimpleCalculator",
"max_stars_repo_path": "Calculator_01/Calculator_01/SimpleCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149282"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Calculator_01
{
public partial class SimpkeCalculator : Form
... | 3.025111 | 9fc76552095fc40d0598507412e0abd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.AlgoStore.CSharp.AlgoTemplate",
"max_stars_repo_path": "src/Lykke.AlgoStore.Algo/Indicators/ADX.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149283"
} | starcoder | using Lykke.AlgoStore.CSharp.AlgoTemplate.Models.Enumerators;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Lykke.AlgoStore.Algo.Indicators
{
public class ADX : BaseIndicator
{
private int _samples;
private double? _currentADX { get; set; }
public overr... | 2.713428 | 5f9fd32cc933dd87f6c1b5fc14c1bd28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simakvladimir/bc-csharp-extensions",
"max_stars_repo_path": "src/asn1/GOST34310PublicKeyAlgParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149284"
} | starcoder | <reponame>simakvladimir/bc-csharp-extensions
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.CryptoPro;
namespace Org.BouncyCastle.Extensions.Asn1
{
public class Gost34310PublicKeyAlgParameters : Gost3410PublicKeyAlgParameters
{
public Gost34310PublicKeyAlgParameters(DerObjectIdentifier publi... | 1.752744 | 28baf370b3e03bcd4c1d0263dab5e80b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830065 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "adamralph/scriptcs-nancy",
"max_stars_repo_path": "src/SampleModules/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149285"
} | starcoder | <gh_stars>10-100
// <copyright file="AssemblyInfo.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SampleModules")]
[assembly: AssemblyDescription("Sample modules for te... | 1.558826 | a2f8d3f8c6b9a65dbfd24ac876e8b5aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830066 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "stanac/LiteApi",
"max_stars_repo_path": "LiteApi/LiteApi.Tests/Controllers/NoRootController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149286"
} | starcoder | namespace LiteApi.Tests.Controllers
{
[ControllerRoute("NoRoot")]
public class NoRootController : LiteController
{
public string Get()
{
return "NoRoot";
}
}
}
| 1.550292 | d309109b4a923e7d8982878cf49b8b47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830067 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "tangxuehua/ENodeShop",
"max_stars_repo_path": "src/EStore/CacheDict.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149287"
} | starcoder | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using ECommon.Logging;
namespace EStore
{
public class CacheDict<TKey, TValue> where TValue : ITimeValue
{
private readonly object _lockObj = new object();
private readonly long SecondFactor = 10000000L;
... | 2.813889 | 3372a13d831f8a2f87caf5180ee31167 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mleik/deepnet_rt_pos",
"max_stars_repo_path": "MqttApi/MqttApi/Subscriber/Subscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149288"
} | starcoder | <gh_stars>0
using MqttApi.Models;
using MQTTnet;
using MQTTnet.Client.Connecting;
using MQTTnet.Client.Disconnecting;
using MQTTnet.Client.Options;
using MQTTnet.Client.Receiving;
using MQTTnet.Extensions.ManagedClient;
using Newtonsoft.Json;
using Serilog;
using System;
using System.Collections.Generic;
using System.... | 2.316889 | f9b69320beae8078a0c49fc283fe7df0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830069 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Seekatar/guflow",
"max_stars_repo_path": "Guflow/Decider/ChildWorkflow/ChildWorkflowFailedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149289"
} | starcoder | <reponame>Seekatar/guflow<filename>Guflow/Decider/ChildWorkflow/ChildWorkflowFailedEvent.cs
// /Copyright (c) <NAME>. Please see the LICENSE file in the project root folder for license information.
using System.Collections.Generic;
using Amazon.SimpleWorkflow.Model;
namespace Guflow.Decider
{
/// <summary>
/... | 2.238786 | 82e40d66bf7e3fa445455bb860facc1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taucode/taucode.testing",
"max_stars_repo_path": "test/TauCode.Testing.Tests.Core/CoreHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149290"
} | starcoder | <filename>test/TauCode.Testing.Tests.Core/CoreHelper.cs
using System.Collections.Generic;
using System.Linq;
using TauCode.Testing.Tests.Core.Features;
namespace TauCode.Testing.Tests.Core
{
internal static class CoreHelper
{
internal static bool UniqueCurrencyCodes(IList<SetupSystemCurrencyRate> curr... | 1.90539 | 876a16472ef0decd06029f0608a2a601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830071 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WaitWhatWolf/Ascension",
"max_stars_repo_path": "Internal/RecipeCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149291"
} | starcoder | using Ascension.Attributes;
using Ascension.Enums;
using System;
using System.Collections.Generic;
using Terraria;
using Terraria.ModLoader;
namespace Ascension.Internal
{
/// <summary>
/// Recipe class used in <see cref="ASCResources.Recipes"/> to automatically create a recipe.
/// </summary>
[Create... | 2.217788 | 9e4f46772e5c63b795b5fbaa639a0197 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830072 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ericmutta/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Usage.DoNotIgnoreMethodResults6/cs/FxCop.Usage.DoNotIgnoreMethodResults6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149292"
} | starcoder | <filename>snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Usage.DoNotIgnoreMethodResults6/cs/FxCop.Usage.DoNotIgnoreMethodResults6.cs
//<Snippet1>
using System;
namespace Samples
{
public class Book
{
public Book()
{
}
public static Book CreateBook()
{
retur... | 2.130353 | 1c84a286a4f95da5282b985132aecd31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DragonSpark/VoteReporter",
"max_stars_repo_path": "Framework/DragonSpark/Composition/ServiceLocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149293"
} | starcoder | <filename>Framework/DragonSpark/Composition/ServiceLocator.cs
using DragonSpark.Activation;
using DragonSpark.Extensions;
using DragonSpark.Sources.Parameterized;
using DragonSpark.Specifications;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Reflection;
namespace DragonSpark.... | 2.279173 | df946bb0be317026de04bc0af3e87488 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830074 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "averyspa/data-pipeline",
"max_stars_repo_path": "src/Implementation/Shared/Core/Logging/NLog/NLogFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149294"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using Mic... | 1.961554 | 653a59a8496bb1d5c22aac4ce4bbd111 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varorbc/alipay-sdk-net-all",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayInsSceneSellerActivityQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149295"
} | starcoder | using System;
using System.Xml.Serialization;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayInsSceneSellerActivityQueryResponse.
/// </summary>
public class AlipayInsSceneSellerActivityQueryResponse : AopResponse
{
/// <summary>
/// 关于签约查询结果的告知
/... | 1.450136 | 4dc324a9431ef47b33e1c5332bec85ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830076 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gheorghitamutu/Hyped",
"max_stars_repo_path": "ViridianTester/Msvm/VirtualSystemManagement/VirtualSystemManagementServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149296"
} | starcoder | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Management;
using System.Threading;
using Viridian.Root.Virtualization.v2.Msvm.Integration;
using Viridian.Root.Virtualization.v2.Msvm.... | 1.814625 | 2901a3e85b9ff2b8c5324542c696be37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashr/dumptrack",
"max_stars_repo_path": "modules/GoogleCustomSearchModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149297"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace dumptrack
{
public class GoogleCustomSearchModule : IDumpTrackModule
{
public GoogleCustomSearchModule ()
{
}
public List<Offence> FindOffences (){
List<Offen... | 2.322205 | cb87f5c0442266b62c1ed8801dcff44f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "centrify/Centrify.Samples.DotNet.ConnectorHealth",
"max_stars_repo_path": "Centrify.Samples.DotNet.ApiLib/ApiClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149298"
} | starcoder | <gh_stars>0
/**
* Copyright 2016 Centrify Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 2.138947 | 2ef386feb1c7c338d0ad5b1053169bb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Toukiloglou/WebGL_SQL",
"max_stars_repo_path": "Assets/Scripts/SQLCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149299"
} | starcoder | <filename>Assets/Scripts/SQLCommand.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Networking;
public class SQLCommand : MonoBehaviour
{
public InputField inpSQL;
public Text txtResult;
public void ExecuteCommand() {
Star... | 2.343659 | 4b8ad234868d4d1b75daaddce76cdd77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FelipeCabralz/PokeApi-He4rts",
"max_stars_repo_path": "PokeApi.Domain/Interfaces/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149300"
} | starcoder | using PokeApi.Domain;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PokeApi.Domain.Interfaces
{
public interface IRepository<TEntity> where TEntity : class
{
void Add(TEntity entity);
void Edit(TEntity entity);
void Delete(TEntity entity);
... | 2.193619 | dec18b5aba8f434ffdffdb14a7e10a58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ygit/clevertap-xamarin",
"max_stars_repo_path": "clevertap-component/src/android/CleverTap.Bindings.Android/obj/Release/generated/src/Com.Clevertap.Android.Sdk.Java_websocket.Protocols.Protocol.cs",
"provenance": "train-00027-of-00045... | starcoder | <filename>clevertap-component/src/android/CleverTap.Bindings.Android/obj/Release/generated/src/Com.Clevertap.Android.Sdk.Java_websocket.Protocols.Protocol.cs
using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
namespace Com.Clevertap.Android.Sdk.Java_websocket.Protocols {
// Me... | 2.034953 | 8743f4f4fea789f7c4035652c739da1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830082 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "virajs/Aggregates.NET",
"max_stars_repo_path": "src/Aggregates.NET/Exceptions/DiscriminatorException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149302"
} | starcoder | using System;
namespace Aggregates.Exceptions
{
public class DiscriminatorException : Exception
{
}
}
| 1.353233 | 99de7fef9b44dcd3c30d72fd182f96ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830083 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Net.Client/GetLatestPostTimeOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149303"
} | starcoder | // GetLatestPostTimeOperation
using ClubPenguin.Net.Client;
using ClubPenguin.Net.Domain;
using hg.ApiWebKit.core.attributes;
using hg.ApiWebKit.mappers;
[HttpGET]
[HttpPath("cp-website-api-base-uri", "/wp-json/snowflake/v1/social")]
[HttpAccept("application/json")]
public class GetLatestPostTimeOperation : CPAPIHttpO... | 1.744434 | 075f7752a48fd5dc1324e6b0edae0f50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kyordhel/refbox",
"max_stars_repo_path": "server/Terminal/Kernel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149304"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace RefBox.Terminal
{
public delegate void StringEventHandler(string s);
/// <summary>
/// Encapsulates all console commands
/// </summary>
public class Kernel
{
#region Variables
/// <summary>
... | 2.779427 | b000d1e70b1a1888fe0eaf5c6baab03a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "training4developers/angular_03142016",
"max_stars_repo_path": "WidgetsApp/App_Start/WebApiConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149305"
} | starcoder | using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Web.Http;
namespace WidgetsApp
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config... | 2.335957 | 0786da7be60a3b5ac991bc191db8985a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830086 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OptiJuegos/Plants-VS-Zombies-NET",
"max_stars_repo_path": "DotNETPvZ_Shared/Lawn/System/Objects/GridItem/GridItemType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149306"
} | starcoder | using System;
namespace Lawn
{
public enum GridItemType
{
GRIDITEM_NONE,
GRIDITEM_GRAVESTONE,
GRIDITEM_CRATER,
GRIDITEM_LADDER,
GRIDITEM_PORTAL_CIRCLE,
GRIDITEM_PORTAL_SQUARE,
GRIDITEM_BRAIN,
GRIDITEM_SCARY_POT,
GRIDITEM_SQUIRREL,
GRIDITEM_ZEN_TOOL,
GRIDITEM_... | 1.752766 | 9bcdf25bb65844c71a924d5a3d1f0c49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830087 | {
"extension": "c-sharp",
"max_stars_count": "2199.0",
"max_stars_repo_name": "hankovich/MagicOnion",
"max_stars_repo_path": "src/MagicOnion.MSBuild.Tasks/MagicOnionGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149307"
} | starcoder | using Microsoft.Build.Framework;
using System;
using System.Threading;
// MagicOnion.MSBuild.Tasks.MagicOnionGenerator
namespace MagicOnion.MSBuild.Tasks
{
public class MagicOnionGenerator : Microsoft.Build.Utilities.Task
{
[Required]
public string Input { get; set; }
[Required]
... | 2.005412 | 7098fad7a80413d9eaf39c40cca40445 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HarinezumiSama/omnifactotum",
"max_stars_repo_path": "src/Omnifactotum.Tests/ExtensionMethods/OmnifactotumDelegateExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149308"
} | starcoder | <filename>src/Omnifactotum.Tests/ExtensionMethods/OmnifactotumDelegateExtensionsTests.cs<gh_stars>0
#nullable enable
using System;
using NUnit.Framework;
namespace Omnifactotum.Tests.ExtensionMethods
{
[TestFixture(TestOf = typeof(OmnifactotumDelegateExtensions))]
internal sealed class OmnifactotumDelegateEx... | 2.454307 | c3ac810cb28766c628c74960399369db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830089 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "simonec73/threatsmanager",
"max_stars_repo_path": "Studio/ThreatsManager.Extensions.WinForms/Panels/ItemTemplateList/ItemTemplateListPanel.CustomRibbonExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149309"
} | starcoder | <filename>Studio/ThreatsManager.Extensions.WinForms/Panels/ItemTemplateList/ItemTemplateListPanel.CustomRibbonExtension.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DevComponents.DotNetBar.SuperGrid;
using PostSharp.Patterns.Contracts;
using ThreatsManager.Ext... | 2.143414 | cbf9a0080ce1235d9aedf48b6af4b7f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830090 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "iqans/service-testing-docker-poc",
"max_stars_repo_path": "src/DummyService.App/Application/Models/DummyEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149310"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace DummyService.App.Application.Models
{
public class DummyEvent
{
public int Id { get; set; }
public string Text { get; set; }
}
}
| 1.677265 | 5285e093fe125340507dde961a79586d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830091 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "samcook/AspNet.Identity.Shaolinq",
"max_stars_repo_path": "AspNet.Identity.Shaolinq/ShaolinqIdentityUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149311"
} | starcoder | <gh_stars>1-10
using System;
using AspNet.Identity.Shaolinq.DataModel.Interfaces;
using Microsoft.AspNet.Identity;
namespace AspNet.Identity.Shaolinq
{
public class ShaolinqIdentityUser<TKey> : IUser<TKey>
where TKey : IEquatable<TKey>
{
public TKey Id { get; internal set; }
public string UserName { get; set; ... | 2.199614 | 1023de3d0582ec364d7e515c0e703bff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830092 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lorenchorley/StrangeIoC-Updated",
"max_stars_repo_path": "Assets/scripts/StrangeIoC/signal/impl/BaseSignal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149312"
} | starcoder | <filename>Assets/scripts/StrangeIoC/signal/impl/BaseSignal.cs<gh_stars>1-10
using System;
using strange.extensions.signal.api;
using System.Collections.Generic;
namespace strange.extensions.signal.impl {
public class BaseSignal : IBaseSignal {
private event Action<IBaseSignal, object[]> BaseListene... | 2.532632 | 8a36603e03d3ea651eb9817f4397e16d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830093 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jingeno/SoftwareArchitectsHandbook",
"max_stars_repo_path": "SoftwareArchitectsHandbook/SoftwareArchitectsHandbook/Chapter09/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149313"
} | starcoder | using SoftwareArchitectsHandbook.Common;
using System;
namespace SoftwareArchitectsHandbook.Chapter09
{
public class Order
{
private readonly ILogger _logger;
private readonly ICache _cache;
public Order(ILogger logger, ICache cache)
{
if (logger == nul... | 2.407974 | 04405bf8792ec59fd81b89724a5b5a7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830094 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bentmar/Xamarin.Forms.BackgroundKit",
"max_stars_repo_path": "src/XamarinBackgroundKitSample/ExploreViewsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149314"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Forms;
using XamarinBackgroundKit.Controls;
using XamarinBackgroundKit.Effects;
using XamarinBackgroundKitSample.IssuesGalleryViews;
namespace Xamari... | 1.960689 | f0bd8082b279240d01cead4e4a4c5219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "ImageServer/Model/DatabaseVersion.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149315"
} | starcoder | <gh_stars>1-10
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above... | 1.748846 | fca247fcbd3373a8450be56247c6a6a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MelbourneDeveloper/Uno",
"max_stars_repo_path": "src/Uno.UI/Microsoft/UI/Xaml/Controls/Primitives/CornerRadiusFilterConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149316"
} | starcoder | <filename>src/Uno.UI/Microsoft/UI/Xaml/Controls/Primitives/CornerRadiusFilterConverter.cs
using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Microsoft.UI.Xaml.Controls.Primitives
{
public partial class CornerRadiusFilterConverter : Dependen... | 2.619576 | 800f8b0b5abddcc43e40c933821148c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brendankeesing/Instance-Painter",
"max_stars_repo_path": "Scripts/InstanceMesh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149317"
} | starcoder | <filename>Scripts/InstanceMesh.cs
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
[System.Serializable]
public class InstanceMeshLOD
{
[SerializeField]
Mesh _mesh;
Mesh _realMesh;
public Material[] materials;
public Material[] fadeMaterials;
public bool castShadows = tr... | 2.250245 | 30e02aa68e32976500b50e327cf81e81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viniciusmalagi/Prova2Bim",
"max_stars_repo_path": "Instituicao/Instituicao/Matricula.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149318"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Instituicao
{
class Matricula
{
public int RA { get; set; }
public string Nome { get; set; }
public string Curso1 { get; set; }
public string Curso2 {... | 2.09877 | 316b0bc75529b71565d0f70d69686aa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830099 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/Compute/Beta/Outputs/PathRuleResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149319"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
name... | 1.909097 | 41d9e50a2adb17978823fd0279566d34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830100 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "pedrobalao/easyMedicine",
"max_stars_repo_path": "easyMedicine/Services/PercentileService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149320"
} | starcoder | using System;
using System.Globalization;
using System.Threading.Tasks;
using easyMedicine.Models;
namespace easyMedicine.Services
{
public class PercentileService
{
public PercentileService()
{
}
public async Task<Percentile> GetHeightPercentile(Gender gender, DateTime birt... | 2.652832 | dec60ac5f5bde41c5ff4dcc66099b2ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830101 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "macrogreg/sdk-dotnet",
"max_stars_repo_path": "Src/SDK/Common/Temporal.Common.Payloads/internal/PayloadContainers.UnnamedEnumerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149321"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using Temporal.Util;
namespace Temporal.Common.Payloads
{
public static partial class PayloadContainers
{
internal class UnnamedEnumerator : IEnumerator<PayloadContainers.UnnamedEntry>
{
private readonly IEnumerator<Payloa... | 2.385442 | 01e0f0a3b73a092a0edae782d4a9b6cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucaslrc/CadastroCliente",
"max_stars_repo_path": "Helpers/Messages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149322"
} | starcoder | namespace CadastroCliente.Helpers
{
public class Messages
{
public const string CLIENTES_NAO_ENCONTRADOS = "Clientes não encontrados.";
public const string CLIENTE_FALTANDO_DADOS = "Dados incompletos para cadastro. Por favor, preencha todos os campos.";
public const string CLIENTE_INSERI... | 2.309268 | c10f1ead6c5d3f3f56f916ee8ecb889f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830103 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "sizingservers/vApus",
"max_stars_repo_path": "vApus.Util/SocketWrapper/SocketWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149323"
} | starcoder | /*
* 2007 Sizing Servers Lab, affiliated with IT bachelor degree NMCT
* Technical University Kortrijk, Department GKG
*
* Author(s):
* <NAME>
*/
using System;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Net.Sockets;
using System.Runtime.Serialization.Formatters.B... | 2.605966 | 6336a8a48612a04a409ef14a686fc0ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829848 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "MihailITPlace/VSharp",
"max_stars_repo_path": "VSharp.CSharpUtils/ArrayUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149068"
} | starcoder | using System;
namespace VSharp.CSharpUtils
{
public static class Array
{
[Implements("System.Int32 System.Array.GetUpperBound(this, System.Int32)")]
public static int GetUpperBound(System.Array array, int dimension)
{
return array.GetLowerBound(dimension) + array.GetLength(... | 2.77929 | 9c48a83905480efb10cb6f708daf3aca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829849 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tnypxl/BasinFramework",
"max_stars_repo_path": "Basin/Core/Browsers/Interfaces/IInternetExplorerBrowser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149069"
} | starcoder | using OpenQA.Selenium.IE;
namespace Basin.Core.Browsers.Interfaces
{
public interface IInternetExplorerBrowser : IBrowser
{
InternetExplorerDriverService Service { get; set; }
InternetExplorerOptions Options { get; set; }
}
} | 1.507799 | 55576314c01d739a50d6e3b9120eb177 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidbarone/dbarone",
"max_stars_repo_path": "dbarone-api/Entities/RefreshToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149070"
} | starcoder | namespace dbarone_api.Entities;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
public class RefreshToken
{
[Key]
[JsonIgnore]
public int Id { get; set; }
public int UserId { get; set; } // FK to user
public string Token { get; set; } = default!;
public D... | 1.76087 | d4339d8fc550e14e3d25f6c1452686b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "modzelm1/bearded-archer",
"max_stars_repo_path": "FileStorage/SharedKernel.StreamExtension/ProgressStreamDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149071"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StreamExtension
{
[Serializable]
public class ProgressStreamDecorator : Stream
{
Stream baseStream;
/// <summary>
///
... | 2.91786 | 8f2ffd8088d823214368471aac19c9de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intelligentplant/ProblemDetails.WebApi",
"max_stars_repo_path": "ProblemDetails.WebApi/ServerErrorProblemDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149072"
} | starcoder | // Copyright (c) Intelligent Plant Ltd. All rights reserved.
// Copyright (c) Other contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Newtonsoft.Json;
namespace IntelligentPlant.ProblemDetails {
... | 2.469877 | 375fd2fc2722eb1ba390a6d0bf5067a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nmarazov/TA-Homework",
"max_stars_repo_path": "Courses 2016-fall/OOP/DefiningClassesPart1/Model.DefiningClasses/Models/Contracts/IGsm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149073"
} | starcoder | <reponame>nmarazov/TA-Homework<gh_stars>0
namespace Model.DefiningClasses.Models.Contracts
{
public interface IGsm
{
}
} | 0.995923 | b296460e4b9b2cee4648d54181da62f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829854 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ZorPastaman/Random-Generators",
"max_stars_repo_path": "Runtime/DiscreteDistributions/DistributionFilters/FilteredGeneratorProviders/IntFilteredGeneratorProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149074"
} | starcoder | <gh_stars>10-100
// Copyright (c) 2020-2021 <NAME> <EMAIL> https://github.com/ZorPastaman/Random-Generators
using UnityEngine;
namespace Zor.RandomGenerators.DiscreteDistributions.DistributionFilters
{
/// <summary>
/// Provides <see cref="DiscreteFilteredGenerator{Int32,TGenerator}"/>.
/// </summary>
[CreateAsse... | 1.809603 | bf8274f49078719cfd0951dcdf60d2b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829855 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "contensive/Contensive5",
"max_stars_repo_path": "source/Models/Models/Db/LayoutModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149075"
} | starcoder | <gh_stars>1-10
namespace Contensive.Models.Db {
//
public class LayoutModel : DbBaseModel {
//
//====================================================================================================
/// <summary>
/// table definition
/// </summary>
public static ... | 1.64197 | d7d8a4242ddc4f844218c50f6db96db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829856 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Hunv/can2mq",
"max_stars_repo_path": "can2mqtt_core/can2mqtt_core/Translator/StiebelEltron/StiebelEltron.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149076"
} | starcoder | // Thanks to:
// http://juerg5524.ch/list_data.php
// https://wiki.c3re.de/index.php/Projekt_23_Smarthome_/_Zugriff_Heizung
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace can2mqtt_core.Translator.StiebelEltron
{
/// <summary>
/// This Translator class transla... | 2.473838 | 7b42f2610ec5c1034d042995f01bd7c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yann4/Dissertation-Shapes",
"max_stars_repo_path": "Dissertation/Assets/Scripts/Character/Blackboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149077"
} | starcoder | using Dissertation.Character.Player;
using Dissertation.Util;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Dissertation.Character.AI
{
public class Blackboard
{
public PlayerController Player { get; private set; }
private Dictionary<CharacterFaction, List<AgentController>> _... | 2.353402 | 31cb3d205d642cd0b66724d540384c21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829858 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "TripleView/SummerBoot",
"max_stars_repo_path": "ExpressionParser/Base/SqlInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149078"
} | starcoder | using System;
using System.Collections.Generic;
namespace ExpressionParser.Base
{
/// <summary>
/// sql信息体
/// </summary>
public class SqlInfo
{
private static readonly List<string> all26Words = new List<string> { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "... | 2.828784 | c4562f2d106bff9ab1969ca57d9a63e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavorg/getaclub",
"max_stars_repo_path": "Data/UserData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149079"
} | starcoder | using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using AcmeApi.Library;
using AcmeApi.Models;
using AcmeApi.Entities;
using System;
namespace AcmeApi.Data
{
public class UserData : MsSqlExtensions
{
public UserEntity authenticate(AuthenticateRequest user){
... | 2.440106 | 39bab31cfdcc698be0cd258cf1780a2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sumithpdd/OneSound",
"max_stars_repo_path": "src/Feature/Artist/code/Views/Artists/LatestAlbums.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149080"
} | starcoder | @using Sitecore.Mvc
@using Sitecore.Mvc.Presentation
@using OneSound.Feature.Artists
@model OneSound.Feature.Artists.Models.LatestAlbums
<!-- ##### Latest Albums Area Start ##### -->
<section class="latest-albums-area section-padding-100">
<div class="container">
<div class="row">
<div class="col-12">
... | 2.579947 | f1351c5b8f4e56a43f764a2c7a8062ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829861 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "BlaiseD/LogicBuilder.DataComponents",
"max_stars_repo_path": "LogicBuilder.EntityFrameworkCore.SqlServer/Repositories/StoreHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149081"
} | starcoder | using AutoMapper;
using AutoMapper.Extensions.ExpressionMapping;
using AutoMapper.QueryableExtensions;
using LogicBuilder.Data;
using LogicBuilder.Domain;
using LogicBuilder.EntityFrameworkCore.SqlServer.Crud.DataStores;
using LogicBuilder.EntityFrameworkCore.SqlServer.Visitors;
using LogicBuilder.Expressions.Utils;
u... | 2.018013 | 5c0f21544fb64e97f65a90f063749ca4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829862 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OdeToCode/biggy",
"max_stars_repo_path": "Tests/Helpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149082"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Biggy;
namespace Tests {
public class Film {
[PrimaryKey]
public int Film_ID { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public i... | 2.150105 | a3131cdd732144bc4a46c4471034057a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkriptInsight/Apache.NBCEL",
"max_stars_repo_path": "NBCEL/Verifier/VerificationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149083"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... | 2.472407 | f9a1bd1eb8cd8f003fc11b3134229bbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgevella/Nyx",
"max_stars_repo_path": "src/Nyx.Framework.Tests/Stubs/IAnotherDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149084"
} | starcoder | <gh_stars>0
namespace Nyx.Tests.Stubs
{
public interface IAnotherDependency
{
}
} | 0.724628 | 06469ab942b84ef337d52a2250b3ad1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsujonathan/arm-test",
"max_stars_repo_path": "Source/Microsoft.Teams.Apps.Celebration/Bot/CelebrationBotAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149085"
} | starcoder | // <copyright file="CelebrationBotAdapter.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.Celebration.Bot
{
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Teams.Apps... | 1.820379 | 81f360771fbf8e666040aac4e4e198a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatousK/ThesisQuest",
"max_stars_repo_path": "Assets/Scripts/AI/HeroAI/HeroAiBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149086"
} | starcoder | using System.Linq;
using Assets.Scripts.Combat;
using Assets.Scripts.Combat.Conditions;
namespace Assets.Scripts.AI.HeroAI
{
/// <summary>
/// Base class for Hero artifical intelligence.
/// Note that these are used only for the simulator to fill the difficulty matrix, not used during gameplay
/// Tha... | 2.956379 | 4d74fbced53e7539e7448961f2156d09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saikat-adak/red-brain.authentication",
"max_stars_repo_path": "tests/Controllers.Tests/UsersControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149087"
} | starcoder | <filename>tests/Controllers.Tests/UsersControllerTests.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RedBrain.Authentication.Controllers;
using RedBrain.Authentication.Models.Users;
using System;
namespace RedBrain.Authentication.Tests
{
[TestClass]
public class U... | 2.289296 | dd19a15b5e910f5da4654756c96b165b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829868 | {
"extension": "c-sharp",
"max_stars_count": "1863.0",
"max_stars_repo_name": "GalaxyGFX/webmin",
"max_stars_repo_path": "postfix/config.info.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149088"
} | starcoder | line1=Nastavení konfigurace,11
perpage=Pořet poštovních zpráv zobrazených na jedné stránce,0,6
line2=Konfigurace systému,11
postfix_control_command=Úplná cesta ke kontrolnímu příkazu Postfixu,0
postfix_config_command=Úplná cesta ke konfiguračnímu příkazu Postfixu,0
postfix_config_file=Úplná cesta ke konfiguračnímu soub... | 1.24387 | cc782ccc06d20be849bf154b199d2f84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829869 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "danijel-peric/Xeeny",
"max_stars_repo_path": "Src/Xeeny/Api/SocketTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149089"
} | starcoder | <filename>Src/Xeeny/Api/SocketTools.cs
using Microsoft.Extensions.Logging;
using Xeeny.Sockets;
using System;
using System.Collections.Generic;
using System.Text;
using Xeeny.Transports;
namespace Xeeny.Api
{
static class SocketTools
{
public static SocketTransport CreateTcpTransport(string address, S... | 2.609169 | 148aac2cfebd96c241f922575ce7eafc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unwild/DigestTools",
"max_stars_repo_path": "DigestTools/DigestResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149090"
} | starcoder | namespace DigestTools
{
public struct DigestResponse
{
public string username;
public string realm;
public string nonce;
public string uri;
public string qop;
public string nc;
public string cnonce;
public string response;
public string op... | 1.359133 | e8a6da2416f38d009d37d464469d22b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829871 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "aelyo-softworks/AmalgaDrive",
"max_stars_repo_path": "AmalgaDrive/AmalgaDrive/Utilities/Serializable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149091"
} | starcoder | <reponame>aelyo-softworks/AmalgaDrive<filename>AmalgaDrive/AmalgaDrive/Utilities/Serializable.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using ShellBoost.Core.Utilities;
... | 2.530379 | 717e51f69e20f6e1ebc1a941337f23ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StackSmack007/Programing-Fundamentals-September-2018",
"max_stars_repo_path": "Dictionaries, Lambda and LINQ - Exercise/01. Count Chars in a String/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149092"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
class Program
{
static void Main()
{
string input = Console.ReadLine();
Dictionary<char, int> occurances = new Dictionary<char, int>();
for (int i = 0; i < input.Length; i++)
{
if (input[i]==' ')
... | 3.212768 | 0e601c96c2bbb0577f9c991d4da5f3d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829873 | {
"extension": "c-sharp",
"max_stars_count": "599.0",
"max_stars_repo_name": "studentutu/Computational-geometry",
"max_stars_repo_path": "Assets/_Habrador Computational Geometry Library/_Utility scripts/Data structures/Heap/IHeapItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149093"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace Habrador_Computational_Geometry
{
//Interface for each item in the heap
public interface IHeapItem<T> : IComparable<T>
{
int HeapIndex
{
get;
set;
}
}
... | 2.104928 | a289202f6d5f4ea14f31dd8e5e4a97ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelverhagen/BlobDelta",
"max_stars_repo_path": "src/Knapcode.TableDelta/EntityEnumerable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149094"
} | starcoder | <gh_stars>0
using Knapcode.Delta.Common;
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Knapcode.TableDelta
{
public class EntityEnumerable<T> : IAsyncEnumerable<EntityContext<T>> where T : ITableEntity
{
private cons... | 2.272884 | 1bb2a9390865a6447d0cb3e63fc90690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidsvcl/2ndviewer",
"max_stars_repo_path": "2ndviewer/MinimapForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149095"
} | starcoder | <reponame>davidsvcl/2ndviewer
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI;
using libsecondlife;
namespace _2ndviewer
{
public partia... | 2.037717 | 11b373a0b240097af0fbd2a05e3a64f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Victor-Y-Fadeev/RuC-WPF",
"max_stars_repo_path": "ScintillaNET.WPF/ScintillaWPF.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149096"
} | starcoder | <reponame>Victor-Y-Fadeev/RuC-WPF
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Markup;
using System.Windows.Shapes;
using System.ComponentModel;
using System.Windows.Con... | 1.650851 | c9c47b1fc4181e97f69b0f0d4aed0c34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cvizzini/DevExpressCoreDocker",
"max_stars_repo_path": "src/AspNetCore.Reporting.MVC/Models/LoginRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149097"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace AspNetCore.Reporting.MVC.Models {
public class LoginRequest {
[Required]
public string Username { get; set; }
[Required]
public string UserID { get; set; }//We have created predefined users for simplicity, so we use it instead... | 2.153309 | d9ad9a56ae6bfef2b71a8ca3c5332f01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vaskinn/auth0.net",
"max_stars_repo_path": "src/Auth0.ManagementApi/ManagementApiClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149098"
} | starcoder | <gh_stars>0
using System;
using System.Net.Http;
using Auth0.Core.Http;
using Auth0.ManagementApi.Clients;
namespace Auth0.ManagementApi
{
/// <summary>
/// Represents the Management API client.
/// </summary>
public class ManagementApiClient : IManagementApiClient
{
private readonly ApiCo... | 1.524674 | f33ff5a8c24d8680e25667716c784e97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Crown-Commercial-Service/ccs-conclave-jaggaer-logindirector",
"max_stars_repo_path": "logindirector/Views/Errors/BothRolesAssigned.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149099"
} | starcoder | <gh_stars>0
@model ErrorViewModel
@{
ViewData["Title"] = "Invalid Role Setup";
}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl page-title page-title--tight">Public Procurement Gateway</h1>
@if (Model.Service != null && !String.IsNullOrWhit... | 2.151697 | bb3d7296fd0b42a7a7442a25eea0a524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "roguishmountain/SkiaSharp",
"max_stars_repo_path": "binding/HarfBuzzSharp.Shared/Font.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149100"
} | starcoder | <gh_stars>1-10
using System;
using System.Runtime.InteropServices;
namespace HarfBuzzSharp
{
public class Font : NativeObject
{
internal Font(IntPtr handle)
: base(handle)
{
}
public Font(Face face)
: this(IntPtr.Zero)
{
if (face == null)
{
throw new ArgumentNullException(nameof(face));
... | 2.32883 | f2f924c0806a7bb73d448131efb9fcc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Libs/ManagedIrbis5/Source/Biblio/BiblioTerm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149101"
} | starcoder | <reponame>amironov73/ManagedIrbis5<filename>Source/Libs/ManagedIrbis5/Source/Biblio/BiblioTerm.cs
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable Com... | 1.926173 | c4f4e060758b8fdbbdc31184599bcb4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829882 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "yyc/ractive",
"max_stars_repo_path": "Assets/Photon Unity Networking/Demos/DemoHub/MoveCam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149102"
} | starcoder | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Camera))]
public class MoveCam : MonoBehaviour
{
private Vector3 originalPos;
private Vector3 randomPos;
private Transform camTransform;
public Transform lookAt;
// Use this for initialization
void Start ()
{
... | 2.337725 | dee57d65dd7d9383a357139ed6619dec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829883 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "x2bool/tdlib",
"max_stars_repo_path": "TdLib.Api/Objects/Reaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149103"
} | starcoder | using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public static partial class TdApi
{
/// <summary>
/// Contains stickers which must be used for reaction animation rendering
/// </summary>
public partial ... | 2.569532 | be76c293af145ddaa55b4891e1ef7aae |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.