added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/Main/Base/Project/Src/Services/FileIconService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72134"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using ICSharpCode.Core;
using System;
using System.Collections.Generic;
using System.Drawing;
namespace ICSharpCode.SharpDeve... | 2.630664 | 3b00f2440fba00af79400c585da66637 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Trustyn/CST465-Web-Development",
"max_stars_repo_path": "CST465_Project/CST465_Project/WebForms/ValidatedForm.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72135"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
namespace CST465_Project.WebForms
{
public partial class ValidatedForm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs ... | 1.961201 | f5318fc73c37b452801b5cb4a3b9ceb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fhmcn/Tailviewer",
"max_stars_repo_path": "Tailviewer.Api/BusinessLogic/Plugins/PluginAuthorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72136"
} | starcoder | <reponame>fhmcn/Tailviewer<filename>Tailviewer.Api/BusinessLogic/Plugins/PluginAuthorAttribute.cs
using System;
namespace Tailviewer.BusinessLogic.Plugins
{
/// <summary>
/// This attribute should be placed alongside other attributes in your
/// AssemblyInfo.cs file. The author's name will be displayed to ... | 2.633213 | faa95c0be781e10a2d9ec7a60e6f539b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72136 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dotnet-ad/Transform",
"max_stars_repo_path": "src/Transform/Ease.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72137"
} | starcoder | <gh_stars>10-100
namespace Transform
{
using System;
public enum Ease
{
InOut,
In,
Out,
ElasticIn,
ElasticOut,
ElasticInOut,
}
public static class EaseFunctions
{
private static readonly float PI_2 = (float)(Math.PI / 2);
public... | 3.390857 | de176d0c9898f5fbc7293465f314d532 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72137 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PacktPublishing/Learn-How-to-Code-Using-C-The-Basics-of-Programming",
"max_stars_repo_path": "CODES/CSharpSourceCode/Lecture Code/37 ConstructorsLecture/ConstructorsLecture/Car.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72138"
... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConstructorsLecture
{
class Car
{
public string color;
public string brand;
public int currentSpeed;
public Car()
{
currentSpeed = ... | 3.838549 | 1eb5844edcfbab4ea7f0162adf49e62e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72138 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gsferreira/simple-payment-gateway",
"max_stars_repo_path": "PaymentGateway/src/PaymentGateway.Infrastructure/Repositories/InMemoryEventStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72139"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PaymentGateway.SharedKernel;
namespace PaymentGateway.Infrastructure.Repositories
{
// Based on: https://github.com/gregoryyoung/m-r/blob/master/SimpleCQRS/EventStore.cs
public class InMem... | 2.904725 | 79d8b62d16f3822fe69e2d5429e4ec8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72139 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "YusufMavzer/correlationid-middleware",
"max_stars_repo_path": "test/Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Middleware.AddCorrelationId.Tests/AddCorrelationIdMiddlewareTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72140"... | starcoder | <gh_stars>1-10
namespace Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Middleware.AddCorrelationId.Tests
{
using Microsoft.AspNetCore.Http;
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
public class AddCorrelationIdMiddlewareTests
{
[Fact]
pu... | 1.955458 | 97ad16bcb3e1067be022648a20a107d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neozhu/bms",
"max_stars_repo_path": "src/BMS.Solution/Web/WebApp/Views/MenuItems/_menuitemdatagridjsview.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72141"
} | starcoder | @model WebApp.Models.MenuItem
<script type="text/javascript">
//初始化 MenuItem datagrid
var $menuitemsdg = $('#childmenuitems_datagrid');
$(() => {
$menuitemsdg.datagrid({
rownumbers: true,
iconCls: 'fa fa-list',
idField: 'Id',
sortName: 'Id',
sortOrder: 'asc',
remoteFilter: tr... | 2.075279 | 125c038eb77d9e5e635b862f827fcb5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "varunjha089/Neutronium",
"max_stars_repo_path": "JavascriptFramework/Vue/VueVersions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72142"
} | starcoder | <gh_stars>0
using Neutronium.Core.Infra;
using Neutronium.Core.JavascriptFramework;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersion
{
public string Name { get; }
public string Version { get; }
public DebugToolsUI DebugToolsUI { get; }
public string Fram... | 1.602753 | 55b9a32fc7125911a65835bfadf9a11b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72142 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "proteanic/protean",
"max_stars_repo_path": "bindings/cs/Protean-cs/Protean.Net/VariantItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72143"
} | starcoder | using System;
namespace Protean {
public class VariantItem
{
public VariantItem(Variant value)
{
Type = Variant.EnumType.Sequence;
Value = value;
}
public VariantItem(String key, Variant value)
{
Type = Variant.EnumType.Mapping;
... | 3.235726 | 16497e0a5b2510a98d30ab63a5e668c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tnakamura/IssueHub",
"max_stars_repo_path": "src/IssueHub/Pages/SearchPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72144"
} | starcoder | using System;
using IssueHub.Actions;
using IssueHub.Models;
using IssueHub.States;
using IssueHub.ViewModels;
using Octokit;
using ReduxSharp;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
using Xamarin.Forms.Xaml;
namespace IssueHub.Pages
{
... | 2.011711 | ca3446f47952e7e5446a1d0281850ff7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "CoreServices/ApplicationRegistration/Data/Generated_Dao/NicQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72145"
} | starcoder | <reponame>BryanApellanes/bam.net.shared
/*
This file was generated and should not be modified directly
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using Bam.Net.Data;
namespace Bam.Net.CoreServices.ApplicationRegistration.Data.Dao
{
public cla... | 1.962885 | 91e7b11bc9ceb16a3223af0fa722abdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GGG-KILLER/GParse",
"max_stars_repo_path": "GParse/IO/CodeWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72146"
} | starcoder | using System;
using System.Globalization;
using System.Text;
namespace GParse.IO
{
/// <summary>
/// Defines a code writer
/// </summary>
public sealed class CodeWriter
{
private readonly StringBuilder _builder;
private readonly String _indentationSequence;
private String _... | 3.214062 | 50824cb3cc5e4dd1dc5e5345cb2bdc16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MINPIP/cSharpCoursePractice",
"max_stars_repo_path": "changeNumberToText/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72147"
} | starcoder | <reponame>MINPIP/cSharpCoursePractice
using System;
namespace _20181112MethodsNamuDarbai
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter Number: ");
String StartNumber = Console.ReadLine();
Boolean Isnumeric = CheckIfNumber(StartNum... | 3.303213 | 28ea1def7e22a0ce3f3ba8b13a687f84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "compilenix/MediaPlay",
"max_stars_repo_path": "MediaPlay/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72148"
} | starcoder | <filename>MediaPlay/Form1.cs
using MediaPlay.Properties;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
namespace MediaPlay {
public partial class frmMediaPlayer : Form {
private bool isOpen = false;
private bool isPlaying = false;
... | 3.039871 | e4215fdcab069ee9d26a55b4674e99fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "battosai/Krieg",
"max_stars_repo_path": "Assets/Scripts/Armory/Armory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72149"
} | starcoder | <reponame>battosai/Krieg
using System;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = ("Wargear/Armory"))]
public class Armory : ScriptableObject
{
public List<RangedWeapon> _ranged;
public Dictionary<string, RangedWeapon> ranged;
public List<MeleeWeapon> _melee;
publi... | 2.190624 | d0c334e7baa57e9ca4a6e92e729f04cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "Programing Basics/Exam - Preparation/Try Exam 1/05. EasterEggs/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72150"
} | starcoder | using System;
using System.Runtime.InteropServices.ComTypes;
namespace _05._EasterEggs
{
class Program
{
static void Main(string[] args)
{
double allEggs = double.Parse(Console.ReadLine());
int redcounter = 0;
int orangecounter = 0;
int bluecount... | 3.584013 | 6da66047c980dd37b7afb7e10b8665b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72150 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yangli1128/itextsharp.NetCore",
"max_stars_repo_path": "src/core/iTextSharp/text/pdf/security/TSAClientBouncyCastle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72151"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... | 1.819119 | eba2bfc335e9f6cd480ce974a1d7fa19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tatmanblue/CornTheory2022",
"max_stars_repo_path": "C2022-Game/Assets/My Game/Code/Data/TypeableTextLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72152"
} | starcoder | using System;
namespace CornTheory.Data
{
public enum TypeableTextLineType
{
/// <summary>
/// don't care
/// </summary>
NA,
/// <summary>
/// represents it being typed as the user
/// </summary>
Local,
/// <summary>
/// represe... | 2.815326 | fa64682fe073b5af63d0eb47ebf5175f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72152 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "carpool-team/carpool",
"max_stars_repo_path": "src/API/RestService/DataAccessLayer/Migrations/20201226154558_AddedParticipantToStop.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72153"
} | starcoder | // <auto-generated />
using System;
using DataAccessLayer.DatabaseContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;... | 1.755519 | 055502239c9c6ace8ba14b79e7095bda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72153 | {
"extension": "c-sharp",
"max_stars_count": "472.0",
"max_stars_repo_name": "elGuille-info/fourth-edition",
"max_stars_repo_path": "Code/Chapter_8/Dogs/Dogs/Dog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72154"
} | starcoder | <reponame>elGuille-info/fourth-edition
using System;
using System.Collections.Generic;
using System.Text;
namespace Dogs
{
class Dog : IComparable<Dog>
{
public Breeds Breed { get; set; }
public string Name { get; set; }
public int CompareTo(Dog other)
{
... | 3.138434 | 447d092ac785fa9930d02115f24d7c22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomasperez/YAGL",
"max_stars_repo_path": "src/YAGLi/Extensions/Collection/ForEachExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72155"
} | starcoder | using System;
using System.Collections.Generic;
namespace YAGLi.Extensions.Collection
{
public static class ForEachExtension
{
public static IEnumerable<T> ForEach<T>(this IEnumerable<T> source, Action<T> action)
{
foreach (var element in source.ReplaceByEmptyIfNull())
... | 3.060056 | 7bab17c7bc3781ee2dc2f3ca4a2b3491 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adambajguz/pkp-app",
"max_stars_repo_path": "backend/TrainsOnline.Api/SoapEndpoints/Interfaces/IStationSoapEndpointService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72156"
} | starcoder | namespace TrainsOnline.Api.SoapEndpoints.Interfaces
{
using System.ServiceModel;
using System.Threading.Tasks;
using MediatR;
using TrainsOnline.Api.CustomMiddlewares.Soap;
using TrainsOnline.Api.SoapEndpoints.Core;
using TrainsOnline.Application.DTO;
using TrainsOnline.Application.Handlers... | 1.655751 | 8b2cce6d345390130e125dfec58d6e51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72156 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brightness007/unofficial-aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-ccs/Ccs/Model/V20171001/QueryHotlineRecordRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72157"
} | starcoder | <gh_stars>1-10
/*
* 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
* "... | 1.310984 | b65014765a6acd5a6452a57ec84dda4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72157 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "azarashi2931/Cerke-Online",
"max_stars_repo_path": "Assets/Scripts/CerkeOnline/Application/MatchingSceneUIPresenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72158"
} | starcoder | <filename>Assets/Scripts/CerkeOnline/Application/MatchingSceneUIPresenter.cs
using UnityEngine;
using UnityEngine.UI;
using UniRx;
using Mirror;
using Azarashi.CerkeOnline.Networking;
namespace Azarashi.CerkeOnline
{
public class MatchingSceneUIPresenter : MonoBehaviour
{
[SerializeField] Text statusT... | 2.229547 | 617a67e5d2dfe22361efa7f56ab3bd19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielEstebanSalvatore/N-Commerce",
"max_stars_repo_path": "Presentacion.Core/Comprobantes/_00058_CompraConsulta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72159"
} | starcoder | using Aplicacion.Constantes;
using Dominio.UnidadDeTrabajo;
using IServicio.Configuracion;
using IServicios.Compras;
using IServicios.Compras.DTOs;
using PresentacionBase.Formularios;
using System;
using System.Collections.Generic;
using System.Data.Entity.Validation;
using System.Linq;
using System.Windows.Forms;
n... | 2.004649 | 72d84dbdfb1bfeae77d22db1ca50ca23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joppe-A/rce-doorzoeker",
"max_stars_repo_path": "RceDoorzoeker/Services/LatLongHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72160"
} | starcoder | <reponame>Joppe-A/rce-doorzoeker
using System;
using RceDoorzoeker.Services.Querying;
namespace RceDoorzoeker.Services
{
static internal class LatLongHelper
{
public static double CalcLatLongPerPixel(int pixelHeight, LatLong topLeft, LatLong bottomRight)
{
double distance = Math.Abs(topLeft.Latitude - bottom... | 2.222999 | 4b02f95b4bd6d8fbc2ebf486cab563cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Huex/mitheti",
"max_stars_repo_path": "src/core/Services/IWatcherControlService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72161"
} | starcoder | <filename>src/core/Services/IWatcherControlService.cs<gh_stars>0
namespace Mitheti.Core.Services
{
public delegate void WatcherStatusChangedHandler(object sender, WatcherStatusEventArgs args);
public interface IWatcherControlService
{
event WatcherStatusChangedHandler WatcherStatusChanged;
... | 2.033072 | b489c417704db1749cfe5a80839cc7b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72161 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Aragas/Bannerlord.MBOptionScreen",
"max_stars_repo_path": "src/MCM.Adapter.ModLib/MCMModLibSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72162"
} | starcoder | <reponame>Aragas/Bannerlord.MBOptionScreen<gh_stars>10-100
using Bannerlord.BUTR.Shared.Helpers;
using MCM.Abstractions.Attributes;
using MCM.Abstractions.Attributes.v2;
using MCM.Abstractions.Settings.Base.Global;
using System.Collections.Generic;
using TaleWorlds.Localization;
namespace MCM.Adapter.ModLib
{
... | 1.814196 | 34c4b25caf576f0a26357a6f3fad8dd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jboddiford/ByteScout-SDK-SourceCode",
"max_stars_repo_path": "Spreadsheet SDK/C#/Set Cell Formula/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72163"
} | starcoder | <filename>Spreadsheet SDK/C#/Set Cell Formula/Program.cs
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/downloa... | 2.841475 | 239dfb89a3e8a4b542d8a67d6996fd03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YutoNakayachi/Tobacco_Action",
"max_stars_repo_path": "TobaccoAction/Assets/Scripts/ShopControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72164"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ShopControl : MonoBehaviour
{
////////////////////////////////////////////
// public static variable
public static bool isExit = false;
public static ... | 2.353565 | b4804422cb3a6f0a457b609e0977d47b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuegosSerios-UCM-Grupo2-20-21/MuseosUCM",
"max_stars_repo_path": "MuseosUCM/Assets/uAdventureAnalytics/Plugins/Simva/Runner/SimvaBridge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72165"
} | starcoder | <filename>MuseosUCM/Assets/uAdventureAnalytics/Plugins/Simva/Runner/SimvaBridge.cs
using AssetPackage;
using System;
using UnityFx.Async.Promises;
namespace Simva
{
public class SimvaBridge : IBridge, IDataStorage, IAppend, IWebServiceRequest, ILog
{
private ApiClient apiClient;
private UnityB... | 2.232198 | b8cdc78e2973c76667dc7bba7360d5f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rafael-Miceli/ContainerSamples",
"max_stars_repo_path": "app-api/api/TruthyExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72166"
} | starcoder | namespace TruthyExtension
{
public static class Extensions
{
public static bool ToTruthy(this string value) =>
!string.IsNullOrEmpty(value)
&&
(
value != "0"
&& value.ToLower() != "false"
);
public static bool To... | 3.005735 | ded611ea3f372b55833f2f4944c3b513 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jetelain/ArmaRealMap",
"max_stars_repo_path": "ArmaRealMap/DataSources/Osm/OsmCategorizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72167"
} | starcoder | <reponame>jetelain/ArmaRealMap<filename>ArmaRealMap/DataSources/Osm/OsmCategorizer.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using ArmaRealMap.Roads;
using OsmSharp;
using OsmSharp.Complete;
using OsmSharp.Db;
using OsmSharp.Geo;
using OsmSharp.S... | 2.344898 | 5f72e0d0f49a1095284679307c900de4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72167 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arkeine/Fierce-Galaxy",
"max_stars_repo_path": "fierce-galaxy/FierceGalaxyInterface/ParserModule/IJsonToActionParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72168"
} | starcoder | <reponame>arkeine/Fierce-Galaxy
namespace FierceGalaxyInterface
{
// Action to the game module
public delegate void MoveHandler(IReadOnlyPlayer player, IReadOnlyNode sourceNode, IReadOnlyNode targetNode, double ressources);
public delegate void UsePowerDestroyHandler(IReadOnlyPlayer player, IReadOnlyNode ... | 2.196825 | 7961f4d4d54665b26a50cdead7eea5fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtarcha/Transavia_Airports",
"max_stars_repo_path": "src/Transavia.Application.Queries/GetSupportedAirportSizes/GetSupportedAirportSizesQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72169"
} | starcoder | using System.Collections.Generic;
using MediatR;
namespace Transavia.Application.Queries.GetSupportedAirportSizes
{
public sealed class GetSupportedAirportSizesQuery : IRequest<IEnumerable<Size>>
{
}
} | 1.321393 | d0476e903e32db80b6a3b9d8d4aa228e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72169 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ExLuzZziVo/KKTServiceLib",
"max_stars_repo_path": "KKTServiceLib.Atol/Types/Operations/KKT/GetLicenses/LicenseInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72170"
} | starcoder | <gh_stars>1-10
#region
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
#endregion
namespace KKTServiceLib.Atol.Types.Operations.KKT.GetLicenses
{
[Description("Информация о лицензии/коде защиты")]
public class LicenseInfo
{
/// <summary>
/// Номер лицензии/кода з... | 1.91321 | 750f8bbf189420dfcabec59d206503e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "panoramicdata/AutoTask.Psa.Api",
"max_stars_repo_path": "AutoTask.Psa.Api/Interfaces/IPurchaseOrderItemReceivingChild.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72171"
} | starcoder | namespace AutoTask.Psa.Api.Interfaces;
/// <summary>
/// Represents a collection of functions to interact with the API endpoints
/// </summary>
public interface IPurchaseOrderItemReceivingChild
{
/// <summary>
///
/// </summary>
/// <exception cref="Exceptions.ApiException">Thrown when fails to make API call</exce... | 2.005983 | 8dadf22f6ba79246164cc56f0acc4632 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SirkleZero/Cinderblock",
"max_stars_repo_path": "Cinderblock/IReturningCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72172"
} | starcoder | namespace Cinderblock
{
/// <summary>
/// Provides a command interface that defines behaviors within the system.
/// </summary>
public interface IReturningCommand<R>
{
/// <summary>
/// Determines if the command meets its requirements for execution.
/// </summary>
//... | 3.051135 | f80ae07124c2626d948667af738dcc10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtarcha/.net-6-sandbox",
"max_stars_repo_path": "SourceGenerator/Benchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72173"
} | starcoder | <filename>SourceGenerator/Benchmark.cs
using System;
using System.Text.Json;
using BenchmarkDotNet.Attributes;
namespace SourceGenerator;
public class Benchmark
{
private WorkDetails _details = new WorkDetails
{
CompanyName = "RTL",
Position = ".NET developer"
};
private string _deser... | 2.634588 | 4c14c6e9001a5527f6015b23d7d05a0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72173 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CAUCA-9-1-1/survip-webapi",
"max_stars_repo_path": "Survi.Prevention.ApiClient/DataTransferObjects/StorageTankType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72174"
} | starcoder | namespace Survi.Prevention.ApiClient.DataTransferObjects
{
public enum StorageTankType
{
Unknown,
Underground,
Aboveground
}
} | 1.514473 | 4fc1094d264e26a58d06005d9552d7e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emin-alajbegovic/Meet-Go",
"max_stars_repo_path": "MeetAndGo/MeetAndGo/Database/UserAccountRole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72175"
} | starcoder | using System;
namespace MeetAndGo.Database
{
public partial class UserAccountRole
{
public int UserAccountRoleId { get; set; }
public DateTime ChangeDate { get; set; }
public int UserAccountId { get; set; }
public int RoleId { get; set; }
public virtual Role Role { get... | 1.807638 | c9f04b5ff5d724595fd69648036c1b3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xiiilamorte/Contacts",
"max_stars_repo_path": "ContactsAppUI/ContactsApp/Contact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72176"
} | starcoder | using System;
namespace ContactsApp
{
public class Contact : ICloneable
{
#region Инициализация полей
/// <summary>
/// Поле свойста фамилия
/// </summary>
private string _surname;
/// <summary>
/// Поле свойста имя
/// </summary>
privat... | 3.497637 | 9ffbb77532b52ff2e13f1390494a5559 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72176 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TacoDevs/AbpZero-SmartAdmin",
"max_stars_repo_path": "Cinotam.AbpModuleZero.Tools/AngularHelpers/AngularCustomObj.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72177"
} | starcoder | namespace Cinotam.AbpModuleZero.Tools.AngularHelpers
{
public class AngularCustomObj
{
public class AngularMenuItem
{
public AngularMenuItem(bool hasPermission,
string permissionName,
string stateName,
string uiUrl,
str... | 2.09904 | cc3caf2b5da6633755446e80386f1d1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72177 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AshRolls/GalaxyGen",
"max_stars_repo_path": "GalaxyGen/ViewModel/SolarSystemViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72178"
} | starcoder | <reponame>AshRolls/GalaxyGen
using Akka.Actor;
using GalaxyGen.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GalaxyGen.ViewModel
{
public class SolarSystemViewM... | 2.640398 | c654aca5c0d56eed24708432d420fd80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Daramkun/Misty",
"max_stars_repo_path": "Daramkun.Misty.Platform.OpenTK/Graphics/GraphicsDevice.Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72179"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Daramkun.Misty.Common;
using OpenTK.Graphics.OpenGL;
namespace Daramkun.Misty.Graphics
{
public partial class GraphicsDevice : StandardDispose, IGraphicsDevi... | 1.122179 | c0951e7220459250e7b6e3230dfcb4b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "klaaspolinder/FFImageLoading",
"max_stars_repo_path": "source/FFImageLoading.Touch/Targets/UIBarItemTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72180"
} | starcoder | using System;
using System.Threading.Tasks;
using FFImageLoading.Extensions;
using UIKit;
namespace FFImageLoading.Work
{
public class UIBarItemTarget: UIControlTarget<UIBarItem>
{
// For some reason the UIBarItem .NET instance can be garbaged even though the control still exists (especially with UITabBarIt... | 2.339341 | dfafd16e55851c7e58307bcd743d25db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artumino/NomaiVR-FixedFoveatedRendering",
"max_stars_repo_path": "NomaiVRFoveated/NomaiVRModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72181"
} | starcoder | <filename>NomaiVRFoveated/NomaiVRModule.cs
using System.Linq;
using UnityEngine;
namespace NomaiVRFoveated
{
internal abstract class NomaiVRModule<Behaviour>
where Behaviour : MonoBehaviour
{
protected static OWScene[] PlayableScenes = new[] { OWScene.SolarSystem, OWScene.EyeOfTheUniverse };
... | 2.545807 | cc254497f541a9b43377393a941e765d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ijat/opc-daaehda-client-net-standard",
"max_stars_repo_path": "examples/net/C#/Sample Client/Hda/Test/TestEditDlg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72182"
} | starcoder | <gh_stars>1-10
//============================================================================
// TITLE: ItemEditDlg.cs
//
// CONTENTS:
//
// A dialog used to modify the parameters of an item.
//
// (c) Copyright 2003-2004 The OPC Foundation
// ALL RIGHTS RESERVED.
//
// DISCLAIMER:
// This code is provided by the OPC... | 1.632194 | fa7b4c3f7705a06db0b7880962ace261 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbendtsen/couchbase-net-client",
"max_stars_repo_path": "src/Couchbase/Management/Views/DesignDocumentNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72183"
} | starcoder | <gh_stars>0
namespace Couchbase.Management.Views
{
public class DesignDocumentNotFoundException : CouchbaseException
{
public DesignDocumentNotFoundException(string bucketName, string viewName)
: base($"Design document does not exist {bucketName}/{viewName}")
{
}
}
}
| 1.487817 | 25eb098500b03b378a28ccc16572f223 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chips100/auto-dns-updater",
"max_stars_repo_path": "AutoDnsUpdater.Console/Implementations/Logger/ConsoleLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72184"
} | starcoder | namespace AutoDnsUpdater.Console.Implementations.Logger
{
/// <summary>
/// Writes log entries to the console.
/// </summary>
public sealed class ConsoleLogger : ILogger
{
/// <summary>
/// Writes an entry to the log.
/// </summary>
/// <param name="text">Text of the... | 2.939667 | d3d07983c66309ca33a0182750b4e547 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ManagedIrbis",
"max_stars_repo_path": "Source/UnitTests/ManagedIrbis/IrbisTextTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72185"
} | starcoder | <reponame>fossabot/ManagedIrbis
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ManagedIrbis;
namespace UnitTests.ManagedIrbis
{
[TestClass]
public class IrbisTextTest
{
private void _TestCleanup
(
string source,
string expected
)
... | 2.057816 | b42c5b71174513f351e92a998c6f3c94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72185 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Elvyria/MagicStorage",
"max_stars_repo_path": "Sorting/SortMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72186"
} | starcoder | <reponame>Elvyria/MagicStorage<gh_stars>1-10
namespace MagicStorage.Sorting
{
public enum SortMode
{
Default,
Id,
Name,
Quantity,
Power,
Damage,
}
}
| 1.433587 | 351b042feba0683e9b024b10d4ac643c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rapsealk/NavOps",
"max_stars_repo_path": "Assets/Scripts/Neo/Flocking/BoidAvoidanceBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72187"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Boid))]
public class BoidAvoidanceBehaviour : MonoBehaviour
{
public float Radius;
public float RepulsionForce;
private Boid Boid;
// Start is called before the first frame update
void Start()... | 2.473686 | e5f8887d7a595dc4044149a70b06bdee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dunklas/azure-devops-prs",
"max_stars_repo_path": "src/azure-devops-prs/PullRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72188"
} | starcoder | <filename>src/azure-devops-prs/PullRequest.cs
using System;
namespace AzureDevOpsPrs
{
public class PullRequest
{
public int Id { get; }
public string Title { get; }
public string Description { get; }
public string CreatedBy { get; }
public DateTime CreatedAt { get; }
... | 2.882174 | 7b3eb317384382c428281a04681b970e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72188 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "npcook/terminal",
"max_stars_repo_path": "SSH/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72189"
} | starcoder | <filename>SSH/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
us... | 1.973881 | be9c4f61d8c8df6d3ceb73dc64cf80dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "osisdie/Hello6.WebAPI.on.NET5.OpenAPI.JWT.FluentValidator.MediatR.EmailHandler.Docker.AZ_Pipeline.xUnit",
"max_stars_repo_path": "src/Endpoint/Contracts/HelloMediatR/AuthServices/Login/HelloLogin_RequestValidator.cs",
"provenance": "t... | starcoder | using FluentValidation;
namespace Hello.MediatR.Domain.Contract.AuthServices.Login
{
public class HelloLogin_RequestValidator : AbstractValidator<HelloLogin_RequestDto>
{
public HelloLogin_RequestValidator()
{
RuleFor(c => c.UserName).NotEmpty().Length(4, 255);
RuleFor(... | 2.224736 | b250a91759d1d0e3c8a3f725b85f88fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72190 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ThyWoof/SolastaDungeonMakerPro",
"max_stars_repo_path": "TODO/UserLocationEditorScreenPatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72191"
} | starcoder | using HarmonyLib;
using System.Collections.Generic;
namespace SolastaDungeonMakerPro.Patches.Scripting
{
internal static class UserLocationEditorScreenPatcher
{
// adjusts the dungeon editor details panel to take half the screen height
[HarmonyPatch(typeof(UserLocationEditorScreen), "OnBeginSh... | 2.034004 | 3162cd4c58c963c8f425f11750318cbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forsbergsskola-se/cred",
"max_stars_repo_path": "Assets/00_Game/Scripts/Clothing/Upgrade/UpCycle/UpcycleHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72192"
} | starcoder | <reponame>forsbergsskola-se/cred
using System;
using Clothing.Inventory;
using UnityEngine;
using Utilities;
namespace Clothing.Upgrade {
public class UpcycleHandler : MonoBehaviour {
EventCombinedWearable eventCombinedWearable;
Wearable newUpcycledWearable;
void Start() {
Even... | 1.624403 | d249bd4f4e0837dfe5ca1380be60bf69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mudlee/the-legend-of-sara",
"max_stars_repo_path": "Assets/Entities/NPC/ScareShadow/ShadowController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72193"
} | starcoder | <gh_stars>0
using UnityEngine;
[RequireComponent(typeof(Animator))]
[RequireComponent(typeof(AudioSource))]
public class ShadowController : MonoBehaviour {
private const int TRIGGER_RADIUS = 2;
private GameObject _player;
private AudioSource _audioSource;
private Animator _animator;
private bool _... | 1.832835 | 67a82a3564f442a84faf57416b350a32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonathanzz/JJBookStore",
"max_stars_repo_path": "JJBookStore/Views/Users/ChangePwd.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72194"
} | starcoder | <reponame>jonathanzz/JJBookStore
@model JJBookStore.ViewModels.ChangePwdViewModel
@{
ViewBag.Title = "Change Password";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Change Password</h2>
@using (Html.BeginForm("ChangePwd", "Users", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
... | 2.260114 | 4b614d7bc5bde45605252425da9ec54a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yongleck97/Testing",
"max_stars_repo_path": "src/Application/Common/Helpers/ExcelHelper/ExcelWriterModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72195"
} | starcoder | <filename>src/Application/Common/Helpers/ExcelHelper/ExcelWriterModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CleanArchitecture.Application.Common.Helpers.ExcelHelper
{
public class ExcelWriterModel<T>
{
public IE... | 2.235025 | 4bf7e9865f7d084ef641db63e332a7b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edulima2412/dotnet-rpg",
"max_stars_repo_path": "Migrations/20210314180332_FinalSeeding.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72196"
} | starcoder | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using dotnet_rpg.Data;
namespace dotnet_rpg.Migrations
{
[DbContext(typeof(DataC... | 2.146396 | 7002ecacaffbf38dea1fed48fabaf6d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72196 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/PayContractDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72197"
} | starcoder | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// PayContractDTO Data Structure.
/// </summary>
[Serializable]
public class PayContractDTO : AopObject
{
/// <summary>
/// 账号扩展属性,主要是国际付款涉及到的sw... | 1.699658 | 268dbe949395584c4af0823fe555911c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shadowkras/Sena.Mvc.Framework",
"max_stars_repo_path": "Sena.Mvc.Framework.Views/ViewModels/ExceptionViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72198"
} | starcoder | using System;
namespace Sena.Mvc.Framework.Views.ViewModels
{
/// <summary>
/// View model class for exception errors.
/// </summary>
public class ExceptionViewModel
{
public string Title { get; private set; }
public string Message { get; private set; }
public string Source... | 2.568266 | a23f54a3664447011433cdbfc89774c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arcidev/ProjectManagementSystem",
"max_stars_repo_path": "src/DAL/Entities/ProjectTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72199"
} | starcoder | <reponame>Arcidev/ProjectManagementSystem
using Riganti.Utils.Infrastructure.Core;
using Shared.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DAL.Entities
{
/// <summary>
/// Entity for project ... | 2.131358 | 509014ee272b6849def756be60005aed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kionius/DacronDuvet",
"max_stars_repo_path": "Assets/ScenicAssets/DacronDuvet/ParticleCollectionFX.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72200"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[RequireComponent(typeof(ParticleSystem))]
public class ParticleCollectionFX : MonoBehaviour {
public float durationWeightless = 2f;
public float durationAttract = 2f;
public float attract... | 2.017594 | b0661c144cc492141e4d90e1e46304f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avalier/busk",
"max_stars_repo_path": "src/Avalier.Busk.Common/IStorageProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72201"
} | starcoder | <reponame>avalier/busk
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Avalier.Busk
{
public interface IStorageProvider
{
Task CreateSubscriptionAsync(string type, string endpoint);
Task DeleteSubscriptionAsync(string type, string endpoint);
Task<ILis... | 1.669562 | 6faf121a0d2e7f044abbe1d4b4c92ae4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72201 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kzrnm/roslyn",
"max_stars_repo_path": "src/VisualStudio/CSharp/Impl/Options/AutomationObject/AutomationObject.DocumentationComment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72202"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.DocumentationComments;
namespace Microsoft.VisualStudio.LanguageServic... | 1.393942 | b5baa98929df4d552bc5389f8f7a36c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moonshine95/moonshine",
"max_stars_repo_path": "Moonshine.Aggregator/Rss/RssFeed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72203"
} | starcoder | using Moonshine.Aggregator.News;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonshine.Aggregator.Rss
{
public class RssFeed
{
public string Title { get; set; }
public string Description { get; set; }
pub... | 2.160178 | 7ef0219c3b2584b6f97717e3a2d6ed31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72203 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kmclarnon/FactorioModBuilder",
"max_stars_repo_path": "FactorioModBuilder/Build/Extensions/ICompilerExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72204"
} | starcoder | <filename>FactorioModBuilder/Build/Extensions/ICompilerExtension.cs
using FactorioModBuilder.Build.Data;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactorioModBuilder.Build.Extensions
{
public interface ICompilerEx... | 1.907159 | 2333b17bc95654bf3f18874ecd941334 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72204 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "adobe-sign/AdobeSignCSharpSDK",
"max_stars_repo_path": "src/IO.Swagger.Test/Api/WebhooksApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72205"
} | starcoder | <reponame>adobe-sign/AdobeSignCSharpSDK
/*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 6.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.IO;
using System.Collections.Gene... | 1.803949 | a3f908cc11f3c3dad053a06ac3792aa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanIvTodorov/SoftUniEducation",
"max_stars_repo_path": "C#Advanced/2.MultidimensionalArrays/MultidimensionalArraysExercise/MaximalSum/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72206"
} | starcoder | using System;
using System.Linq;
namespace MaximalSum
{
class Program
{
static void Main(string[] args)
{
int[] size = ReadFromConsole();
int[,] matrix = new int[size[0], size[1]];
for (int r = 0; r < matrix.GetLength(0); r++)
{
... | 3.64755 | 52db2f5201552f3725e30942d215daf5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72206 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "PholioVisualisationWS/ExceptionLogger/ExceptionLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72207"
} | starcoder | <filename>PholioVisualisationWS/ExceptionLogger/ExceptionLog.cs
using System;
using System.IO;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Web.Script.Serialization;
using PholioVisualisation.DataAccess;
namespace PholioVisualisation.ExceptionLogging
{
public class ExceptionLog
{
... | 2.52897 | 647178c92151b11ad6387e7db4f90649 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72207 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "adamhewitt627/sqlite-native",
"max_stars_repo_path": "src/Blob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72208"
} | starcoder | using System;
using System.IO;
using static SqliteNative.Sqlite3;
namespace SqliteNative
{
public class Blob : Stream
{
private readonly bool _writable;
private IntPtr _ppBlob;
public Blob(IntPtr db, string zDb, string zTable, string zColumn, long iRow, int flags = 0)
{
... | 2.884694 | bd36b1d0f2cb625b20cdfe16c506d8f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72208 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JensKrumsieck/PorphyStruct",
"max_stars_repo_path": "PorphyStruct.Core/Plot/TitleOverridePlotModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72209"
} | starcoder | <gh_stars>1-10
using OxyPlot;
namespace PorphyStruct.Core.Plot
{
public sealed class TitleOverridePlotModel : BasePlotModel
{
protected override void RenderOverride(IRenderContext rc, OxyRect rect)
{
//save titles
var title = Title;
var subTitle = Subtitle;
... | 2.692128 | eed63143d79435a4aa3b92e808eae288 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShisatOwO/SeekuhTraktor",
"max_stars_repo_path": "Assets/Scripts/Gameplay/Menu/dontDestroy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72210"
} | starcoder | <filename>Assets/Scripts/Gameplay/Menu/dontDestroy.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class dontDestroy : MonoBehaviour
{
public AudioClip standard;
public AudioClip cursed;
public AudioClip pianoIntensifies;
public AudioClip bronto;
public AudioClip ... | 2.224793 | 9151ed4340b8c7975b2c25fa01e806be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72210 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "huidetang/Charanke",
"max_stars_repo_path": "Charanke.Mobile/Charanke/Views/LoginPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72211"
} | starcoder | <reponame>huidetang/Charanke<filename>Charanke.Mobile/Charanke/Views/LoginPage.xaml.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Charanke.Views
{
/// <summary>
/// Login page.
/// </summary>
public partial class LoginPage : ContentPage
{
/// <summary>
... | 1.632824 | d875c306bc739dfddc858bc82591460f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72211 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "psryland/rylogic_code",
"max_stars_repo_path": "projects/Rylogic.Gui.WinForms/src/Extn/Drawing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72212"
} | starcoder | <reponame>psryland/rylogic_code
//***************************************************
// Drawing Extensions
// Copyright (c) Rylogic Ltd 2008
//***************************************************
using System.Drawing;
using System.Windows.Forms;
using Rylogic.Extn;
using Rylogic.Maths;
using Matrix = System.... | 2.234519 | 938e3c4bf77d028a93b89284f48802e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kavros/Api.Kefalaio",
"max_stars_repo_path": "Api.Kefalaio/Model/Smset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72213"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace Api.Kefalaio.Model
{
[Table("SMSET")]
[Index(nameof(SmsCode1), nameof(SmsCode2), Name =... | 1.624928 | 1ee18dba88fbd4002f6c3e0fb99e99da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wxf1223138295/Shawn.AbpProject",
"max_stars_repo_path": "aspnet-core/BizMasterData.Domain/IPersonRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72214"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Abp.Domain.Repositories;
namespace BizMasterData.Domain
{
public interface IPersonRepository: IRepository<Person>
{
}
}
| 1.492718 | cdbab8e098b61a37d0eca5bfb80d77cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72214 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EzrealJ/Moredian",
"max_stars_repo_path": "Ezreal.Moredian.ApiClient/Ezreal.Moredian.ApiClient/ApiParameterModels/Response/ResponseOfUnderlyingType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72215"
} | starcoder | <filename>Ezreal.Moredian.ApiClient/Ezreal.Moredian.ApiClient/ApiParameterModels/Response/ResponseOfUnderlyingType.cs
using Ezreal.Moredian.ApiClient.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ezreal.Moredian.ApiClient.ApiP... | 2.484666 | db2b2612d2be3d46ab684bf46d802fa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72215 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zanardini/ARXivarNext-StressTest",
"max_stars_repo_path": "ARXivarNext-StressTest/IO.Swagger/Api/QuickSearchesV2Api.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72216"
} | starcoder | <gh_stars>1-10
/*
* WebAPI
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: data
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
using System.Collections.... | 1.660057 | 24227a94d34eedb29507f1ffd2efed53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neozhu/bms",
"max_stars_repo_path": "src/BMS.Solution/Web/WebApp/Views/Favorites/_DisplayForm.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72217"
} | starcoder | <gh_stars>0
@model WebApp.Models.Favorite
<div class="form-row">
@Html.HiddenFor(x=>x.Id)
<!--Global Id-->
<div class="col-xs-12 col-md-6">
<label class="form-label text-danger">@Html.DisplayNameFor(model => model.GlobalId)</label>
@Html.EditorFor(x => x.GlobalId, new { htmlAtt... | 2.26888 | 97a58908e880ed8db0db4c1eba07a5f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alokshukla1978/Platformus",
"max_stars_repo_path": "src/Platformus.ECommerce.Data.Entities/Serialized/SerializedProduct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72218"
} | starcoder | // Copyright © 2018 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ExtCore.Data.Entities.Abstractions;
using Platformus.Core.Data.Entities;
namespace Platformus.ECommerce.Data.Entities
{
/// <summary>
/// Represen... | 2.469706 | a0e5a0950ed1b31050729b1f8e7320e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpocza/AbevWebForm",
"max_stars_repo_path": "src/WebForm/FormHost.Web/Code/WebInfoProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72219"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FormHost.Model.Forms;
using FormHost.Model.Interfaces;
using System.IO;
namespace FormHost.Web.Code
{
public class WebInfoProvider : IInfoProvider
{
public WebDTVContent GetFormDataBy(DocTypeVersion dtv)
... | 2.227926 | 376e9972da46efc4e2bba28869e976ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72219 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evgeni-tsn/CSharp-Web-Development",
"max_stars_repo_path": "2.C#-Object-Oriented-Programming/00.Exercises/02.Exception-Handling/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72220"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Channels;
using System.Text;
using System.Threading.Tasks;
namespace _01.ValidPerson
{
class Person
{
private string firstName;
private string lastName;
private int age;
public Per... | 3.470162 | 408fb6727695b415c561633312985358 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72220 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SonicTheCat/Databases-Advanced---Entity-Framework",
"max_stars_repo_path": "06.Advanced Relations/PaymentsSystem - with Patterns/P01_BillsPaymentSystem.Core/CommandInterpreter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72221"
} | starcoder | namespace P01_BillsPaymentSystem.Core
{
using P01_BillsPaymentSystem.Core.Attributes;
using P01_BillsPaymentSystem.Core.Commands.Contracts;
using P01_BillsPaymentSystem.Core.Contracts;
using System;
using System.Linq;
using System.Reflection;
public class CommandInterpreter : ICommandInte... | 2.946941 | 659354befd79ba42709cf2a621171c22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72221 | {
"extension": "c-sharp",
"max_stars_count": "2441.0",
"max_stars_repo_name": "juwens/xamarin-macios",
"max_stars_repo_path": "tools/common/Optimizations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72222"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Utils;
namespace Xamarin.Bundler
{
public class Optimizations
{
static string [] opt_names =
{
"remove-uithread-checks",
"dead-code-elimination",
"inline-isdirectbinding",
"inline-intptr-size",
"in... | 2.108307 | 3dcffb9161ff310a7e840adb67afcbc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72222 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "carehart/dba-dash",
"max_stars_repo_path": "DBADashGUI/Drives/DriveThresholdConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72223"
} | starcoder | <filename>DBADashGUI/Drives/DriveThresholdConfig.cs
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 DBADashGUI
{
public partial class Driv... | 2.476329 | 76733247c7eb990fa1976c7ce8a05837 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmsereno/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/HttpModules/Users Online/UsersOnlineModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72224"
} | starcoder | <gh_stars>0
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Web;
using DotNetNuke.Common;
using DotNetNuke.Entities.Users;
#endregion
namespace DotNetNuke.Ht... | 1.88034 | 365108c70406eb275f857450a79fbaa7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MSyics/Traceyi",
"max_stars_repo_path": "MSyics.Traceyi/Trace/TraceFilters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72225"
} | starcoder | <filename>MSyics.Traceyi/Trace/TraceFilters.cs
namespace MSyics.Traceyi;
/// <summary>
/// 選別するトレース動作を表します。
/// </summary>
[Flags]
public enum TraceFilters
{
/// <summary>
/// トレース動作
/// </summary>
Trace = 0x0001,
/// <summary>
/// デバッグ動作
/// </summary>
Debug = 0x0002,
/// <summa... | 2.566172 | 22c8ae3883df184768515a43889cec35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72225 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NaskoVasilev/Databases-Advanced-EntityFramework-Core",
"max_stars_repo_path": "Code-First/CodeFirst/Hospital/Migrations/20190307144849_DoctorEnitiyFix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72226"
} | starcoder | <gh_stars>1-10
using Microsoft.EntityFrameworkCore.Migrations;
namespace Hospital.Migrations
{
public partial class DoctorEnitiyFix : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Visitations_D... | 1.892557 | 30e7026a2fefe92711f1bb233d6882fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72226 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ercand/CottontailSummoners",
"max_stars_repo_path": "Website/App_Start/NinjectWebCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72227"
} | starcoder | <gh_stars>1-10
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(Website.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(Website.App_Start.NinjectWebCommon), "Stop")]
namespace Website.App_Start
{
using System;
using System.Web;
using Mic... | 2.046206 | 6ad7cc8a1ea07013d3280b9c572255bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArnoldV/Skybrud.Umbraco.GridData",
"max_stars_repo_path": "src/Skybrud.Umbraco.GridData/Config/GridEditorTextConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72228"
} | starcoder | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Skybrud.Essentials.Json.Extensions;
namespace Skybrud.Umbraco.GridData.Config {
/// <summary>
/// Class representing the configuration of a text editor.
/// </summary>
public class GridEditorTextConfig : GridEditorConfigBase {... | 2.772522 | 2f8c0a329296ff33e64307be604b45e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72228 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tarunbatta/ipg",
"max_stars_repo_path": "core/leetcode/541.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72229"
} | starcoder | <reponame>tarunbatta/ipg
// Url:https://leetcode.com/problems/reverse-string-ii
/*
541. Reverse String II
Easy
Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there are less than k characters left, reverse all of them. If th... | 3.304531 | a7be210526c8ea2d1f915e26a3770d38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72229 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "trebletree/OregonTrail",
"max_stars_repo_path": "src/Module/Director/EventDirectorModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72230"
} | starcoder | // Created by <NAME>' McDowell (<EMAIL>)
// Timestamp 01/03/2016@1:50 AM
using System;
using OregonTrailDotNet.Entity;
using OregonTrailDotNet.Event;
using OregonTrailDotNet.Window.RandomEvent;
namespace OregonTrailDotNet.Module.Director
{
/// <summary>
/// Numbers events and allows them to propagate th... | 2.977988 | 48a5570ef345d50fafcbb730eb186ac7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaimunGr/Authentication",
"max_stars_repo_path": "02. Infrastructure/Infra.Dal/UserAggregate/UserConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72231"
} | starcoder | <gh_stars>0
using Core.DomainModel.UserAggregate.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Infra.Dal.UserAggregate
{
public sealed class UserConfig : IEntityTypeConfiguration<User>
{
public void Configure(EntityTypeBuilder<User> bui... | 1.970062 | 33163342b628054eef0445ad42ed7b04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72231 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "coderliz/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Data.Tests/FeatureSetTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72232"
} | starcoder | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using DotSpatial.NTSExtension;
using DotSpatial.Projections;
usi... | 2.463971 | 3666dad3b6869719a14b478705641e67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72232 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "AtomicalSloths/twinsanity-editor",
"max_stars_repo_path": "TwinsaityEditor/Editors/PositionEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72233"
} | starcoder | <reponame>AtomicalSloths/twinsanity-editor
using System.Windows.Forms;
using Twinsanity;
namespace TwinsaityEditor
{
public partial class PositionEditor : Form
{
private SectionController controller;
private Position pos;
private FileController File { get; set; }
private Twins... | 2.048136 | d3f908b3e4853e096cf01f2455d01770 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.