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 | 8816518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlstroud/SweetSavory",
"max_stars_repo_path": "SweetSavory/Views/Treats/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135738"
} | starcoder | @{
Layout = "_Layout";
}
@model SweetSavory.Models.Treat
<div class="row">
<div class="col-md-12">
@if(@Model == null)
{
<p>Sorry, this is not a valid treat.</p>
}
else
{
<div class="panel panel-primary">
<div class="panel-heading">
<div class="panel-title">
... | 2.3566 | f2a9d580bb33101316edb8c1ab6e0d37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816519 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "seanlinmt/tradelr",
"max_stars_repo_path": "bajula/Controllers/liquid/liquidErrorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135739"
} | starcoder | <reponame>seanlinmt/tradelr
using System.Net;
using System.Web.Mvc;
using tradelr.Libraries.ActionFilters;
namespace tradelr.Controllers.liquid
{
[TradelrHttp]
public class liquidErrorController : baseController
{
public ActionResult NotFound()
{
var template = CreateLiquidTemp... | 1.57521 | 94e85d2b59f476ecbb2bbec37547afdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816520 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "SteveDunn/Vogen",
"max_stars_repo_path": "tests/Vogen.IntegrationTests/SerializationAndConversionTests/ClassVos/Types/StringVo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135740"
} | starcoder | namespace Vogen.IntegrationTests.TestTypes.ClassVos
{
[ValueObject(conversions: Conversions.None, underlyingType: typeof(string))]
public partial class StringVo { }
[ValueObject(conversions: Conversions.None, underlyingType: typeof(string))]
public partial class NoConverterStringVo { }
[ValueObje... | 1.680846 | 550800f53fd38c09d28009c2f578ea1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sosan/UniRx",
"max_stars_repo_path": "Tests/UniRx.Tests/Observable.ConcatTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135741"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace UniRx.Tests
{
[TestClass]
public class ObservableConcatTest
{
[TestMethod]
public void Concat()
{
var a = Observable.Range(1, 5, Scheduler.Th... | 2.738842 | 4a5f8ebfef0f1b99605582fdb78efa98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlaiseD/Contoso.XPlatform",
"max_stars_repo_path": "Contoso.Bsl.Flow/Rules/RulesService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135742"
} | starcoder | <filename>Contoso.Bsl.Flow/Rules/RulesService.cs
using Contoso.Domain.Entities;
using LogicBuilder.Workflow.Activities.Rules;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Contoso.Bsl.Flow.Rul... | 2.206493 | ea9340dcd93b96a26607b801a352b099 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hasan-hasanov/CascadeCruises",
"max_stars_repo_path": "src/Adapter.EF/Queries/GetPassengerReservation/GetPassengerReservationQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135743"
} | starcoder | <reponame>hasan-hasanov/CascadeCruises<filename>src/Adapter.EF/Queries/GetPassengerReservation/GetPassengerReservationQuery.cs<gh_stars>0
using Core.Entities;
using Core.Queries;
using System.Collections.Generic;
namespace Adapter.EF.Queries.GetPassengerReservation
{
public class GetPassengerReservationQuery : IQ... | 1.866137 | b0c3b001170e4af5d02a1a54a9e07109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "k-u-s/snapx",
"max_stars_repo_path": "src/Snapx/Options/PromoteOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135744"
} | starcoder | <reponame>k-u-s/snapx
using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
using JetBrains.Annotations;
namespace snapx.Options
{
[Verb("promote", HelpText = "Promote a snap to next release channel. E.g.: test -> staging -> production")]
[UsedImplicitly]
internal class PromoteOptio... | 2.5148 | aee0eae34d766c44460fcb4dd4e35ee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ant512/ALite",
"max_stars_repo_path": "source/ALite.Core/StateMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135745"
} | starcoder | <reponame>ant512/ALite
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ALite.Core
{
/// <summary>
/// Class representing an abstract state machine. The possible states should be an
/// enum passed as the T parameter when constructing the object. State tran... | 3.484581 | e28f1850b6c56286ee5edf6b51a694cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/dxgidebug/IDXGIInfoQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135746"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dxgidebug.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.CompilerS... | 1.697139 | 87b9bc529d7068777b41c4e4f02692e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ejball/FaithlifeJson",
"max_stars_repo_path": "src/Faithlife.Json/JsonSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135747"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Faithlife.Json
{
/// <summary>
/// Settings for reading/writing JSON via <see cref="JsonUtility" />.
/// </summary>
public class JsonSettings
{
/// <summary>
/// Additional converters to use when reading/writing JSON.
/// </summa... | 2.644006 | 4d1976db86df2ba3ac839a89e33bd019 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Amp0/Sidekick",
"max_stars_repo_path": "src/Sidekick/Views/Leagues/Betrayal/BetrayalAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135748"
} | starcoder | namespace Sidekick.Views.Leagues.Betrayal
{
public class BetrayalAgent
{
public BetrayalAgent(string name, string image, RewardValue value)
{
AgentName = name;
Image = image;
Value = value;
}
public string AgentName { get; set; }
publ... | 1.987293 | 8ec26877c29f51b83a7578d6d84c327b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ksjoberg/dd-trace-dotnet",
"max_stars_repo_path": "test/Datadog.Trace.TestHelpers/ProfilerHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135749"
} | starcoder | <reponame>ksjoberg/dd-trace-dotnet
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace Datadog.Trace.TestHelpers
{
public class ProfilerHelper
{
private static string dotNetCoreExecutable = Environment.OSVersion.Platform == PlatformID.Win32NT ? "dotnet.e... | 2.067744 | 4b8ddad0291d530964c2942e6d115c14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816530 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "scream870102/Sakamichi-Emoji-Bot",
"max_stars_repo_path": "Modules/FileModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135750"
} | starcoder | using Discord.Commands;
using Discord;
using Seb.Misc;
using Seb.Sheet;
using System.Text;
namespace Seb.Modules
{
[Name("File")]
public class FileModule : ModuleBase<SocketCommandContext>
{
[Command("add"), Alias("a")]
[Summary("Add the gif")]
public Task AddTask([Remainder] string tags)
{
var tag = Tag... | 2.612427 | d457266c9d9528bb085ec0c00f55eb6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ese6-dwetter/user-microservice",
"max_stars_repo_path": "UserMicroservice/Exceptions/AccountAlreadyExistsException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135751"
} | starcoder | <reponame>ese6-dwetter/user-microservice
using System;
namespace UserMicroservice.Exceptions
{
[Serializable]
public class AccountAlreadyExistsException : Exception
{
public AccountAlreadyExistsException()
: base("A user with this account already exists.")
{
}
}
}
| 1.912996 | 8b9795f84775a29bcb0a4c2a7863ea30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thild/NET",
"max_stars_repo_path": "RCNet/Neural/Activation/Sinc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135752"
} | starcoder | <gh_stars>0
using RCNet.Extensions;
using RCNet.MathTools;
using System;
namespace RCNet.Neural.Activation
{
/// <summary>
/// Implements Sinc activation function
/// </summary>
[Serializable]
public class Sinc : AnalogActivationFunction
{
//Static members
private static reado... | 2.886088 | cedc4f94dad0fb78c733300539e01ba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816533 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Bayer-Group/COLID-AppData-Service",
"max_stars_repo_path": "src/COLID.AppDataService.Services/Interface/IMessageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135753"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using COLID.AppDataService.Common.DataModel;
using COLID.AppDataService.Common.DataModels.TransferObjects;
using COLID.AppDataService.Common.Exceptions;
using Common.DataModels.TransferObjects;
namespace COLID.AppData... | 2.332009 | b0406867d63f727caeb2dc3dbd9632a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joiny7/Dimensional-Rift",
"max_stars_repo_path": "Scripts/CurveSpawnerScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135754"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class CurveSpawnerScript : SpawnerScript
{
public GameObject CurveProjectileEmitter;
public GameObject SphereYellow;
public float Forward_force;
public GameObject CurveSpawner;
public override void Teleport(){
CurveSpawner.tr... | 1.938579 | b61096a0868c771bb36eb231aa4cd53d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mackep/clean-api-tests",
"max_stars_repo_path": "CleanTestsApiExample/CleanTestsApiExample.Tests/ComponentTests/Fakes/FakeRoomRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135755"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using CleanTestsApiExample.Room.Adapter.Secondary.Repository;
using CleanTestsApiExample.Room.Entity;
namespace CleanTestsApiExample.Tests.ComponentTests.Fakes
{
public class FakeRoomRepository : IRoomRepository
{
public bool RoomIsEnabled { get; set; } = true... | 1.801164 | c435d06118868b41f59207b17accfcfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816536 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "valispartanu/COMS30400",
"max_stars_repo_path": "Freight/Assets/Scripts/Photon/Items/Gun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135756"
} | starcoder | <filename>Freight/Assets/Scripts/Photon/Items/Gun.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using TMPro;
/*
Class that applies canvas and gunshot sound
*/
public class Gun : MonoBehaviourPun
{
[SerializeField]
private AudioSource gunShot;
[Ser... | 2.462972 | 926dd93d3de1311cc61c932dd9c63d36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msehudi/jag-pill-press-registry",
"max_stars_repo_path": "pill-press-app/Controllers/LoginController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135757"
} | starcoder | <reponame>msehudi/jag-pill-press-registry
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gov.Jag.PillPressRegistry.Interfaces;
using Gov.Jag.PillPressRegistry.Interfaces.Models;
using Gov.Jag.PillPressRegistry.Public.Authentication;
using Gov.J... | 1.886408 | e422b2c425ea2a83143be6617907f157 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816538 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tysmithnet/arg-parser",
"max_stars_repo_path": "ArgParser/ArgParser.Styles.Test/IterationInfoFactory_Should.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135758"
} | starcoder | <reponame>tysmithnet/arg-parser
using System.Linq;
using ArgParser.Core;
using ArgParser.Testing.Common;
using FluentAssertions;
using Xunit;
namespace ArgParser.Styles.Test
{
public class IterationInfoFactory_Should
{
[Fact]
public void Create_The_Correct_Info_For_The_Request()
{
... | 2.183128 | 2d4dd7b20ceb278421eb9aadae8e641a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caitlinsalt/simple-timetable-editor",
"max_stars_repo_path": "Unicorn.Writer/Primitives/PdfNumber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135759"
} | starcoder | namespace Unicorn.Writer.Primitives
{
/// <summary>
/// Class representing a number. This is a convenience class that both <see cref="PdfInteger" /> and <see cref="PdfReal" /> inherit from, to make it easier
/// to check the operand type of operators which can take either of those types as operands.
/... | 2.686833 | 4cbdc9e5f488ca9676595a44dccd4c3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "llytvynenko/Nake",
"max_stars_repo_path": "Source/Nake/Scripting/AssemblyResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135760"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Nake.Scripting
{
public static class AssemblyResolver
{
static readonly Dictionary<string, AssemblyReference> references =
new Dictionary<string, AssemblyReference>();
... | 2.423497 | 297aa0ed7d27eed9e6202b46982e5861 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "roederja/OctopusClients",
"max_stars_repo_path": "source/Octopus.Client.Tests/Repositories/OctopusRepositoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135761"
} | starcoder | <gh_stars>1-10
#if SYNC_CLIENT
using NUnit.Framework;
using System.Linq;
using NSubstitute;
using Octopus.Client.Extensions;
namespace Octopus.Client.Tests.Repositories
{
public class OctopusRepositoryTests
{
[Test]
public void AllPropertiesAreNotNull()
{
var repository = n... | 2.440654 | 00023985f9c47f9d39f68a7b66e00a65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816542 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "mzhokh/FilterByCategoryWidget",
"max_stars_repo_path": "CMS/CMSWebParts/Membership/Registration/WindowsLiveID.ascx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135762"
} | starcoder | <filename>CMS/CMSWebParts/Membership/Registration/WindowsLiveID.ascx.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code... | 1.407133 | 6f38883af6f0488e5a76dd4735bb3b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816543 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CesPaul/NoteApp",
"max_stars_repo_path": "NoteAppUI/NoteAppUI/AboutForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135763"
} | starcoder | <filename>NoteAppUI/NoteAppUI/AboutForm.Designer.cs
namespace NoteAppUI
{
partial class AboutForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources ... | 2.322324 | 31ced6e10fe0b034f29e1d6613e666fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "faridz974/BlazorStateSample",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135764"
} | starcoder | using BlazorState;
using FluentValidation;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
using System.Threading.Tasks;
namespace BlazorStateSample
{
public class Program
{
public static async Task Main(string[] args)
... | 1.877005 | 3ce7b7032874fe6ff63ce25e01c9f063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "korxal/ChestCube",
"max_stars_repo_path": "ChestCube/EntityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135765"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace ChestCube
{
class EntityType
{
static NLog.Logger l = NLog.LogManager.GetCurrentClassLogger();
private MsSql.MSSQLDriver d;
public string TypeFullName { get; }
public string A... | 2.492656 | 0ceee6fb059c5e1cd2428057885e3cb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eskye/globoTicket-management-app",
"max_stars_repo_path": "src/GloboTicket.ManagementApp.Persistence/GloboTicketDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135766"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using GloboTicket.ManagementApp.Domain.Common;
using GloboTicket.ManagementApp.Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace GloboTicket.ManagementApp.Persistence
{
public class GloboTicketDbContext : DbContext
{
publ... | 2.447313 | 382daad6a2abc2d3d71c48123d28d763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816547 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "MustafaLopaev/NetflixReplica",
"max_stars_repo_path": "ProLab/RegisterActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135767"
} | starcoder | 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;
using System.Data.SqlClient;
namespace ProLab
{
public partial class RegisterActivity : Form
{
... | 2.826855 | 80a3f7c3691051cb95203b99e017c38f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816548 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ankitkanojia/DotNetCharts",
"max_stars_repo_path": "DotNetCharts/Views/amCharts/PieChart.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135768"
} | starcoder | <reponame>ankitkanojia/DotNetCharts<filename>DotNetCharts/Views/amCharts/PieChart.cshtml
@{
ViewBag.Title = "PieChart";
Layout = "~/Views/Shared/_amChartLayout.cshtml";
}
<div class="row pt-3 px-4">
<div class="col-md-6">
<div class="card">
<div class="card-header">
Sim... | 2.18382 | 5b78ab1f1dbf415083444a662aa07390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816549 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Kayserheimer/Dynamics-Crm-DevKit",
"max_stars_repo_path": "test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Shared/Entities/WizardAccessPrivilege.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135769"
} | starcoder | <filename>test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Shared/Entities/WizardAccessPrivilege.generated.cs<gh_stars>10-100
//---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect behavior and will be lost if t... | 1.873503 | a36b3c35d98769aeda692897f14f75c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yangra/SoftUni",
"max_stars_repo_path": "ProgrammingBasics/04.ComplexConditions/001.OnTimeForExam/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135770"
} | starcoder | <reponame>yangra/SoftUni<gh_stars>0
using System;
namespace _001.OnTimeForExam
{
class Program
{
static void Main(string[] args)
{
int hourExam = int.Parse(Console.ReadLine());
int minutesExam = int.Parse(Console.ReadLine());
int hourArrive = int.Parse(Conso... | 3.419254 | 18ec5f3dff511390a77c7de48f741ce4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816551 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wolfberry-ab/telldus-live-dotnet",
"max_stars_repo_path": "Wolfberry.TelldusLive/Repositories/ErrorParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135771"
} | starcoder | <reponame>wolfberry-ab/telldus-live-dotnet<gh_stars>1-10
using Newtonsoft.Json.Linq;
using System;
using Wolfberry.TelldusLive.Models;
using Wolfberry.TelldusLive.Utils;
namespace Wolfberry.TelldusLive.Repositories
{
public static class ErrorParser
{
/// <summary>
/// Try extract error messag... | 2.711857 | f8fe663d448bf0dea517e5b24dda4f53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816552 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cristianoandrad/BatalhasAPI",
"max_stars_repo_path": "BatalhasAPI/Data/BatalhasAPIContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135772"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BatalhasAPI.Models;
namespace BatalhasAPI.Data
{
public class BatalhasAPIContext : DbContext
{
public DbSet<Heroi> Herois { get; set; }
public DbSet<Batal... | 2.12896 | 63484347a994492b353cd8461f63a1df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dragan/scriptcs",
"max_stars_repo_path": "src/ScriptCs/Command/CleanCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135773"
} | starcoder | using System;
using System.IO;
using System.Linq;
namespace ScriptCs.Command
{
internal class CleanCommand : ICleanCommand
{
private readonly string _scriptName;
private readonly IFileSystem _fileSystem;
private readonly IPackageAssemblyResolver _packageAssemblyResolver;
publi... | 2.991601 | ea3e2b7ab7d7973476f77e634a45d50c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816554 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "TheManta/RB.Faith",
"max_stars_repo_path": "Faith/Behaviors/MainBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135774"
} | starcoder | <reponame>TheManta/RB.Faith<filename>Faith/Behaviors/MainBehavior.cs<gh_stars>1-10
using Faith.Helpers;
using Faith.Localization;
using Faith.Options;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Collections.Generic;
using System.Threading.Tasks;
using TreeSharp;
namespace Fait... | 2.440266 | 95e588bb12b107922d2e23e6991e1938 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816555 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cston/dotnet-api-docs",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Winforms/ParentForm2/CS/form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135775"
} | starcoder | <reponame>cston/dotnet-api-docs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace ContainerProject
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
... | 2.195914 | 17a6753490f2f76c283b766be445c502 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BishalBudhathoki/Dont-Fall-Game",
"max_stars_repo_path": "Assets/Scripts/GameoverScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135776"
} | starcoder | <reponame>BishalBudhathoki/Dont-Fall-Game<filename>Assets/Scripts/GameoverScene.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameoverScene : MonoBehaviour
{
// Start is called before the first frame update
public void restart(... | 1.580368 | 52588d143113216f803c5d31a563ca20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816557 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "jonnii/chinchilla",
"max_stars_repo_path": "src/Chinchilla/Topologies/DefaultRequestTopologyBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135777"
} | starcoder | <reponame>jonnii/chinchilla
namespace Chinchilla.Topologies
{
public class DefaultRequestTopologyBuilder : IMessageTopologyBuilder
{
public IMessageTopology Build(IEndpoint endpoint)
{
var topology = new MessageTopology();
topology.SubscribeQueue = topology.DefineQueue()... | 1.08759 | d3273d97fe4e4ab85cefd22bb5e7faa4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baneDD/Banes.Todo",
"max_stars_repo_path": "Banes.ToDo/IoC/WindsorInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135778"
} | starcoder | using Castle.Facilities.Logging;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Banes.ToDo.Repositories;
using System;
using System.Configuration;
namespace Banes.ToDo.IoC
{
public class WindsorInstaller : IWindsorInstaller
{
publi... | 1.874219 | 9f29f2b272db5d75bffaa6b7c81b340b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cosmos-open/cosmos-holiday",
"max_stars_repo_path": "src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Belgium/Commemoration/AllSoulsDay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1357... | starcoder | using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.I18N.Countries;
namespace Cosmos.Business.Extensions.Holiday.Definitions.Europe.Belgium.Commemoration
{
/// <summary>
/// All Souls' Day<br />
/// fr: Fête des morts
/// nl: Allerzielen
/// de: Allerseelen
/// en: All Souls' Day
//... | 2.222657 | aa188531054316fefec5a042a59218d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjuanstevan/CSG",
"max_stars_repo_path": "CSG/CSG/views/FrmOrderRead.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135780"
} | starcoder | using CSG.cache;
using CSG.logic;
using CSG.model;
using System;
using System.Collections;
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 CSG.views
{
p... | 2.391858 | 638a4557951464413b48d3fb9bf33e2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816561 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "astrumcs/api-plugin-for-nopcommerce",
"max_stars_repo_path": "Validators/SpecificationAttributeOptionDtoValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135781"
} | starcoder | using FluentValidation;
using Nop.Plugin.Api.DTO.SpecificationAttributes;
using System;
using System.Collections.Generic;
namespace Nop.Plugin.Api.Validators
{
public class SpecificationAttributeOptionDtoValidator : AbstractValidator<SpecificationAttributeOptionDto>
{
public SpecificationAttributeOpti... | 2.437396 | 35ff8134877656e9c109003fa2e0e235 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816562 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "williamthompsonj/unitiled",
"max_stars_repo_path": "Assets/UniTiled/Scripts/AnimatedSprite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135782"
} | starcoder | using UnityEngine;
using System.Collections;
/// <summary>
/// Animates a sprite using an array of AnimationFrame objects
/// </summary>
[RequireComponent(typeof(SpriteRenderer))]
public class AnimatedSprite : MonoBehaviour
{
/// <summary>
/// Frames of the animation
/// </summary>
public AnimationFra... | 3.065631 | 58364bb8e9d24ea3ec54db22cb6f75a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816563 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "ScriptBox99/mono-linker",
"max_stars_repo_path": "test/ILLink.RoslynAnalyzer.Tests/Interop/PInvoke/PInvokeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135783"
} | starcoder |
using System.Threading.Tasks;
using Xunit;
namespace ILLink.RoslynAnalyzer.Tests.Interop
{
public sealed class PInvokeTests : LinkerTestBase
{
protected override string TestSuiteName => "Interop/PInvoke";
[Fact]
public Task UnusedDefaultConstructorIsRemoved ()
{
return RunTest ();
}
[Fact]
publi... | 1.680979 | 6b129a4c7c267b40fffe01207e095caa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816564 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ashblue/unity-quest-journal",
"max_stars_repo_path": "Assets/com.fluid.quest-journal/Runtime/Scripts/Utilities/ISetupEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135784"
} | starcoder | namespace CleverCrow.Fluid.QuestJournals.Utilities {
public interface ISetupEditor {
void SetupEditor ();
}
}
| 1.119494 | 941862fd240637c4a290f0ea429cefca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816565 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jzabroski/SaritasaTools",
"max_stars_repo_path": "src/Saritasa.Tools.Messages/Common/PipelineMiddlewares/PerformanceCounterMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135785"
} | starcoder | // Copyright (c) 2015-2017, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
#if NET452
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Saritasa.Tools.Messages.Abstractions;
namespace Saritasa.Tools.Me... | 2.208899 | 3a4f0d333a900dc027618f2570845a0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816566 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/Vokabular.ProjectParsing.Model/Entities/ImportedRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135786"
} | starcoder | <reponame>RIDICS/ITJakub<filename>UJCSystem/Vokabular.ProjectParsing.Model/Entities/ImportedRecord.cs
using System;
namespace Vokabular.ProjectParsing.Model.Entities
{
public class ImportedRecord
{
public string ExternalId { get; set; }
public object RawData { get; set; }
public bool... | 1.568379 | 66cfc489363011e60e7b5ce0cfd4d40f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816567 | {
"extension": "c-sharp",
"max_stars_count": "323.0",
"max_stars_repo_name": "xclw2000/SmartCode",
"max_stars_repo_path": "src/SmartCode.Generator/RazorTemplates/CSharp/SqlMap-Partials/SqlMap-PostgreSql.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135787"
} | starcoder | @using SmartCode
@using SmartCode.Db
@model BuildContext
@{
Layout = "_SqlMapLayout.cshtml";
var project = Model.Project;
var build = Model.Build;
var dbSource = Model.GetDataSource<DbSource>();
var buildTask = Model.Build;
var table = Model.GetCurrentTable();
var pkCol = table.PKColumn;
... | 1.971075 | 12c9b9e7cd168e87796ca5640f24b5e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Axinom/Toolkit",
"max_stars_repo_path": "Toolkit/ConsoleLogListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135788"
} | starcoder | <filename>Toolkit/ConsoleLogListener.cs<gh_stars>1-10
namespace Axinom.Toolkit
{
using System;
using System.Linq;
/// <summary>
/// A log listener that writes the output to the standard output and standard error streams.
/// </summary>
public sealed class ConsoleLogListener : ILogListener
... | 3.119161 | 27cba54bbb7b8021ba2d5199224d9c13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816569 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "PeteE/DReAM",
"max_stars_repo_path": "src/mindtouch.dream/system/Collections/Generic/DictionaryUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135789"
} | starcoder | /*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2014 MindTouch, Inc.
* www.mindtouch.com <EMAIL>
*
* For community documentation and downloads visit mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | 2.665023 | f6c596bc2fb54e0fad4f21cfc0cea571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816570 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "liguifa/Mooc",
"max_stars_repo_path": "Common/Common.Logger/LogLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135790"
} | starcoder | <reponame>liguifa/Mooc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Logger
{
public enum LogLevel
{
ERROR = 0x11170, //70000
WARN = 0xea60, //60000
INFO = 0x9c40, //40000
DEBUG = 0x7530, //3... | 1.480767 | f3f51a13e74d2db47199c722db5aaf30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816571 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/Game.Server.Scripts/AI/NPC/FourHardHawkNpc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135791"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Game.Logic.AI;
using Game.Logic.Phy.Object;
using Game.Logic;
using System.Drawing;
using Game.Logic.Actions;
using Bussiness;
using Game.Logic.Effects;
namespace GameServerScript.AI.NPC
{
public class FourHardHawkNpc : ABrain
{
... | 2.152889 | b27d996841d37afbbb0d132af9113249 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816572 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Org.BouncyCastle.Asn1.X509/PolicyMappings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135792"
} | starcoder | // PolicyMappings
using Org.BouncyCastle.Asn1;
using System.Collections;
public class PolicyMappings : Asn1Encodable
{
private readonly Asn1Sequence seq;
public PolicyMappings(Asn1Sequence seq)
{
this.seq = seq;
}
public PolicyMappings(Hashtable mappings)
: this((IDictionary)mappings)
{
}
public PolicyM... | 2.383279 | e5cba1c0d47a03d1dcb198e12275969d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gatewayprogrammingschool/RandomDataGeneration",
"max_stars_repo_path": "src/GPS.RandomDataGenerator.Abstractions/IDataGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135793"
} | starcoder | using System.Collections.Generic;
// ReSharper disable UnusedMemberInSuper.Global
namespace GPS.RandomDataGenerator.Abstractions
{
public interface IDataGenerator
{
}
public interface IResetable
{
void Reset(int seed);
}
public interface IDataGenerator<out TData> : ... | 2.321963 | 9a4e96140aa6ad24faac87ea6a502b06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816574 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PaintLab/SaveAsPdf",
"max_stars_repo_path": "src/PdfCanvas/Image/ApocImageFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135794"
} | starcoder | //Apache2, 2017, WinterDev
//Apache2, 2009, griffm, FO.NET
namespace Fonet.Image
{
using System;
using System.IO;
using System.Net;
using System.Reflection;
using System.Security;
/// <summary>
/// Creates FonetImage instances.
/// </summary>
public class FonetImageFactory
{
... | 2.663106 | 0d0cff3bfa2f01e4b571a620ef6caa19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GikaRodrigues/C-Sharp",
"max_stars_repo_path": "ExVaraisPessoas/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135795"
} | starcoder | <gh_stars>0
using System;
namespace ExVaraisPessoas
{
class Program
{
static void Main(string[] args)
{
int maiores = 0;
int menores = 0;
for (int i = 1; i <= 10; i++)
{
Console.WriteLine("Qual a idade:");
int ida... | 3.060082 | 842a1e02037e085f8b563fe0414dc715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sijie/dotpulsar",
"max_stars_repo_path": "src/DotPulsar/Exceptions/AuthenticationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135796"
} | starcoder | using System;
namespace DotPulsar.Exceptions
{
public sealed class AuthenticationException : DotPulsarException
{
public AuthenticationException(string message) : base(message) { }
public AuthenticationException(string message, Exception innerException) : base(message, innerException) { }
... | 1.950587 | fb884f5b92ae410ffaf2fd274d10a106 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816577 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Security/IBackofficeSecurityAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135797"
} | starcoder | namespace Umbraco.Cms.Core.Security
{
public interface IBackOfficeSecurityAccessor
{
IBackOfficeSecurity? BackOfficeSecurity { get; }
}
}
| 1.446125 | 9295bdf21a1b4a48ad97d6084927bd3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaGrisa/ef-core-multiple-dbcontexts",
"max_stars_repo_path": "ProjectTwo/ProjectTwoDbContextProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135798"
} | starcoder | <reponame>DaGrisa/ef-core-multiple-dbcontexts
namespace ProjectOne
{
using Common;
using Microsoft.EntityFrameworkCore;
public class ProjectTwoDbContextProvider : IDbContextProvider<ProjectTwoDbContext>
{
public ProjectTwoDbContextProvider()
{
this.DBContextOptions = new DbContextOptionsBuilder... | 2.262317 | f96bf90275155ab435c291e205695869 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BulutKAYA/TemplateProject",
"max_stars_repo_path": "InteraktifGrup.Entity/Migrations/20190906225338_migration.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135799"
} | starcoder | // <auto-generated />
using InteraktifGrup.Entity.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Inter... | 1.90572 | 167c2798faf6d63d895e0b837f5b9780 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EasyLOB/EasyLOB-Chinook-1",
"max_stars_repo_path": "Chinook.PersistenceOData/DTOs/InvoiceDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135800"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using EasyLOB.Data;
using EasyLOB.Library;
namespace Chinook.Data
{
[MetadataType(typeof(InvoiceDTOMetadata))]
public partial class InvoiceDTO : Chinook.Persistence.Chinook.Data.Inv... | 2.263489 | 5325c61a7a0b6bea56b3a8fff5a5d270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirakis97/OnlineCosmeticSalon",
"max_stars_repo_path": "OnlineCosmeticSalon.Web/Web/AspNetCoreTemplate.Web.ViewModels/Categories/CategorySimpleViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135801"
} | starcoder | <gh_stars>0
using AspNetCoreTemplate.Data.Models;
using AspNetCoreTemplate.Services.Mapping;
namespace AspNetCoreTemplate.Web.ViewModels.Categories
{
public class CategorySimpleViewModel : IMapFrom<Category>
{
public int Id { get; set; }
public string Name { get; set; }
public int Sa... | 1.46835 | d124327cd6f890f468420ccd7ce9dcc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microhobby/uno",
"max_stars_repo_path": "src/Uno.UI/Microsoft/UI/Xaml/Controls/Repeater/ItemsRepeaterScrollHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135802"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.X... | 1.7069 | b35958accd513da2fccd1b9dbf5efbc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816583 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "agono/OrchardCore.Transformalize",
"max_stars_repo_path": "src/OrchardCore.Transformalize/Services/Transforms/UserIdTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135803"
} | starcoder | using Microsoft.AspNetCore.Http;
using OrchardCore.Users.Models;
using OrchardCore.Users.Services;
using System;
using System.Collections.Generic;
using Transformalize;
using Transformalize.Contracts;
using Transformalize.Transforms;
namespace TransformalizeModule.Services.Transforms {
public class UserIdTransform... | 2.082009 | 730a1ca23902bc4b2bbbd128bd294220 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816584 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "puresystems/hotcakes-commerce-core",
"max_stars_repo_path": "Libraries/Hotcakes.Commerce/Catalog/ProductInventoryMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135804"
} | starcoder | <gh_stars>10-100
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files ... | 2.366396 | 9f9adc9f3bcaecbe8c6d12cf16a1cb49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816585 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "trenoncourt/generic-net",
"max_stars_repo_path": "src/GenericNet.Service/Service.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135805"
} | starcoder | <filename>src/GenericNet.Service/Service.cs
using GenericNet.Service.Abstractions;
using GenericNet.Repository.Abstractions;
using System.Collections.Generic;
using System.Linq;
namespace GenericNet.Service
{
public class Service<TIdentifier, TEntity> : IService<TIdentifier, TEntity>
where TIdentifier : c... | 2.7112 | b8484afc5c23cf3f4b06402566cd1bda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816586 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhengguo07q/unity_core_lib",
"max_stars_repo_path": "Script/Library/ScriptSupport/SupportUIItemRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135806"
} | starcoder | <gh_stars>1-10
// ***************************************************************
// Copyright(c) Yeto
// FileName : SupportUIItemRenderer.cs
// Creator :
// Date : 2016-11-23
// Comment :
// ***************************************************************
using SLua;
[CustomLuaClass]
public class Suppor... | 1.73772 | 0d6f275f5cbe5faae26d9979994c1210 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816587 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nixigaj/Programmering2",
"max_stars_repo_path": "Spelprojekt/Background/RecrusiveTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135807"
} | starcoder | <filename>Spelprojekt/Background/RecrusiveTexture.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Spelprojekt.Abstract_objects;
using Spelprojekt.Engine;
using Spelprojekt.Physical;
using System.IO;
namespace Spelprojekt.Background
{
public cl... | 2.814788 | 3ee6341a756a983d20cbab615cc0f17c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816588 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "speedyalibaba/Dragablz",
"max_stars_repo_path": "Dragablz/LocationHint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135808"
} | starcoder | namespace Dragablz
{
/// <summary>
/// Specifies where an item should appear when added to tab control, as the headers order do not
/// specifically correlate to the order of the the source items.
/// </summary>
public enum AddLocationHint
{
/// <summary>
/// Display item in the ... | 2.823841 | 695d1a17390c80796649d43a78621d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816589 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "digitalinteraction/OpenMovement-AxLE-Comms",
"max_stars_repo_path": "OpenMovement.AxLE.Comms/Exceptions/ConnectException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135809"
} | starcoder | using System;
namespace OpenMovement.AxLE.Comms.Exceptions
{
public class ConnectException : Exception
{
public ConnectException(Exception e) : base($"The device was found but the connect failed. Most likely the device is not nearby the device or just retry connection: {e.Message}", e) { }
... | 2.299959 | 305d6b70f807b1b27f135f4c382706ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816590 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Web.Candidate/Views/ApprenticeshipSearch/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135810"
} | starcoder | @using SFA.Apprenticeships.Domain.Entities.Vacancies
@using SFA.Apprenticeships.Domain.Entities.Vacancies.Apprenticeships
@model ApprenticeshipVacancyDetailViewModel
@{
ViewBag.Title = Model.Title + " - Find an apprenticeship";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section metatags
{
<meta name="... | 2.23723 | 471372594ceea4dcd5c12929a0056e85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yosa12978/CastleChat",
"max_stars_repo_path": "CastleChat/Data/CastleChatContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135811"
} | starcoder | <gh_stars>0
using CastleChat.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CastleChat.Data
{
public class CastleChatContext : DbContext
{
public ILogger<CastleC... | 1.602428 | f323ea75cfdbbc610ec1c0b4877e1bd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidfulop/netcore-examples",
"max_stars_repo_path": "Middleware/src/Middleware/Middlewares/SimpleAuthoriser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135812"
} | starcoder | using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
namespace Middleware.Middlewares
{
public class SimpleAuthoriser
{
private readonly RequestDelegate _next;
private readonly string _key;
public Simp... | 2.806369 | 0b1e92781669175250b086a38ed7828f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emreyigit/hazelcast-csharp-client",
"max_stars_repo_path": "src/Hazelcast.Net/Networking/NetworkingOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135813"
} | starcoder | // Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 2.058083 | 8af609082c073d519c4bd4c690f77033 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816594 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ABaboshin/DotNetCoreProfiler",
"max_stars_repo_path": "src/Interception.Core/ValidationInterceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135814"
} | starcoder | using Interception.Attributes;
using Interception.Attributes.Validation;
using System.Reflection;
namespace Interception.Core
{
[MethodInterceptorImplementation(typeof(ValidationAttribute))]
public class ValidationInterceptor : BaseInterceptor
{
public override int Priority => 100;
public... | 2.342144 | 18735c901ecc37b7b6117bf77a82dd7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816595 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "syncfusion/uwp-demos",
"max_stars_repo_path": "Editor/Showcase/Utils/TileBrush.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135815"
} | starcoder | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... | 2.212429 | 29d495089146d827d9777983eaf2741d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816596 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "patridge/Gum",
"max_stars_repo_path": "Gum/Plugins/Behaviors/MainPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135816"
} | starcoder | <filename>Gum/Plugins/Behaviors/MainPlugin.cs
using Gum.Plugins.BaseClasses;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gum.DataTypes;
using Gum.ToolStates;
using Gum.DataTypes.Behaviors;
using Gum.D... | 2.328526 | 3cc2012ee58293c26ec1b1461fd344f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeAlkemist/Lambda-Sharp",
"max_stars_repo_path": "Core/Utilities/ConsoleExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135817"
} | starcoder | <reponame>CodeAlkemist/Lambda-Sharp
// In short apache 2 license, check LICENSE file for the legalese
using System;
namespace Lambda
{
public static partial class Extensions
{
public static void WriteLine(this string str, ConsoleColor color)
{
Console.ForegroundColor = color;
... | 2.901873 | 7a0128bdbfabccc3eff693803501225e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816598 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sharwell/ef6tools",
"max_stars_repo_path": "src/EntityFramework/Migrations/Infrastructure/MigratorBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135818"
} | starcoder | <reponame>sharwell/ef6tools<filename>src/EntityFramework/Migrations/Infrastructure/MigratorBase.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.Migrations.Infrastructure
{
using System.... | 2.041632 | 07f711b0a39a51e117a251d9b210c67c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kavinci/JackFeller",
"max_stars_repo_path": "JackFeller/Data/Inventory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135819"
} | starcoder | <filename>JackFeller/Data/Inventory.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace JackFeller.Data
{
[Serializable]
public class Inventory
{
public Inventory(Item HealthPotion)
{
HealthPotions = new Slot(HealthPotion, StartingCapacity, MaxCapac... | 2.655687 | 98d1cda87ab91f64d7e544ddfcb9085e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816600 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mshonichev/ignite",
"max_stars_repo_path": "modules/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135820"
} | starcoder | <filename>modules/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Employee.cs
/*
* 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 lic... | 2.873109 | e3bb52010139709e4d4e9c4a68b48f59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816601 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cschladetsch/Diver",
"max_stars_repo_path": "App/WinForms/Dialogs/NetworkConnect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135821"
} | starcoder | <filename>App/WinForms/Dialogs/NetworkConnect.cs
namespace WinForms
{
using System;
using System.Windows.Forms;
using Pyro.Network;
/// <summary>
/// Dialog for connecting to another Pyro Peer
/// </summary>
public partial class NetworkConnect
: Form
{
private IPeer _lo... | 2.493464 | c04b1078f15c87f98b0d6f5ffbaddeae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaroslav08/KyivDigital",
"max_stars_repo_path": "KyivDigital/KyivDigital.Business/Services/Implementations/PinDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135822"
} | starcoder | using KyivDigital.Business.Helpers;
using KyivDigital.Business.Models;
using KyivDigital.Business.Services.Interfaces;
using KyivDigital.Business.WebHandlers;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
using System.Threading.Tasks;
namespace KyivDigital.Business.Services.Implementati... | 2.423613 | b6522010a55b728cbce50fc3ad3dce97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forsbergsskola-se/gp20-2021-0426-rest-gameserver-h-Nystrom",
"max_stars_repo_path": "MMORPG_WOW/Assets/Scripts/ClientApi/Broker/EventBroker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135823"
} | starcoder | using System;
using System.Collections.Generic;
namespace ClientApi.Broker {
public class EventBroker : IEventBroker {
private static EventBroker thisInstance;
public static EventBroker Instance() {
return thisInstance ??= new EventBroker();
}
readonly Dictionary<Type,... | 2.854207 | 3dc5a352de0cf82c2bacb52b8d186095 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neko3cs/neko3cs-lab",
"max_stars_repo_path": "sample-xam-numeric-editor-focus/Views/ModalWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135824"
} | starcoder | using System.Windows.Controls;
using XamNumericEditorFocusSample.ViewModels;
namespace XamNumericEditorFocusSample.Views
{
/// <summary>
/// ModalWindow.xaml の相互作用ロジック
/// </summary>
public partial class ModalWindow : UserControl
{
public ModalWindow()
{
InitializeCompo... | 1.934901 | 5e22bfcfedbce1b2f8b376a1b91895f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816605 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "brett-taylor/SubnauticaSubmarineManta",
"max_stars_repo_path": "Submarines/Content/Death/DeathManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135825"
} | starcoder | <gh_stars>1-10
using System.Collections;
using UnityEngine;
namespace Submarines.Content.Death
{
/**
* Handles dispatching the events that alot of our components that do stuff with the death of the submarine require.
*/
public class DeathManager : MonoBehaviour
{
public float DeathPrepar... | 2.389418 | 5081112314d1ebb6ade13af7a4c3b38c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816606 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PowerDG/Dg.KMS.Web",
"max_stars_repo_path": "Dg.KMS/InitModule/DgInitEFCore/Configuration/Startup/INavigationConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135826"
} | starcoder | using Abp.Application.Navigation;
//using Abp.Collections;
using DgInitEFCore.Collections;
namespace DgInitEFCore.Configuration.Startup
{
/// <summary>
/// Used to configure navigation.
/// </summary>
public interface INavigationConfiguration
{
/// <summary>
/// List of navigation ... | 1.757407 | d685f171a7a8bd5f729e98a4e5e4f80c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816607 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fernandoescolar/cac-cli",
"max_stars_repo_path": "src/Cac.Interpretation/IExecutionContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135827"
} | starcoder | <gh_stars>1-10
using Cac.Expressions;
using Cac.Extensibility;
using Cac.Plugins;
using Cac.Yaml;
using System.Collections.Generic;
namespace Cac.Interpretation
{
public interface IExecutionContext : Cac.IExecutionContext
{
PluginManager PluginManager { get; }
Evaluator ExpressionEvaluator { ... | 1.352181 | 4bf01addbe9a97d682d123d66fb0bb5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HavenDV/UpworkNotifier",
"max_stars_repo_path": "H.NET.Recorders.WinmmRecorder/StreamEmulatorRecorder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135828"
} | starcoder | using System;
using System.IO;
using System.Threading;
using H.NET.Core;
using H.NET.Core.Recorders;
namespace H.NET.Recorders
{
public class StreamEmulatorRecorder : ParentRecorder
{
#region Properties
public int Interval { get; private set; }
public Timer Timer { get; private set; }... | 2.404875 | 1ea0e827c2d9fe569d7a06b0e03c25c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816609 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "erwan-joly/hotchocolate",
"max_stars_repo_path": "examples/AzureFunction.StarWars/Types/SearchResultType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135829"
} | starcoder | using HotChocolate.Types;
using StarWars.Models;
namespace StarWars.Types
{
public class SearchResultType
: UnionType
{
protected override void Configure(IUnionTypeDescriptor descriptor)
{
descriptor.Name("SearchResult");
descriptor.Type<ObjectType<Starship>>();... | 1.808449 | 5fb33e2c23902c1ffd9b5db209996d76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qingshan315/QS.Core",
"max_stars_repo_path": "generator/Gen/QingShan/Web/Areas/Admin/Controllers/UserRoleController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135830"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using QingShan.Services.UserRole;
using QingShan.Services.UserRole.Dto;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using QingShan.Data;
namespace QingShan.Web.Areas.Admin.Controllers
{
/// <summary>
/// 用户角色实体
/// </summary... | 1.946436 | e2f0a8717e88d4f2f6cabfd4c9bb3ba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816611 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Xml.Linq/Test/System.Xml.Linq/XAttributeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135831"
} | starcoder | <gh_stars>100-1000
//
// Authors:
// <NAME>
//
// Copyright 2007 Novell (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// witho... | 2.202652 | 2fb33bd3da7d5a07b2a77263afd11972 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816612 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TetradogOther/SharpDevelop",
"max_stars_repo_path": "src/AddIns/BackendBindings/CSharpBinding/Project/Src/Completion/CSharpInsightItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135832"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the ri... | 1.775627 | 697252d345652f87c17b4a505e810cc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bfren/mileage",
"max_stars_repo_path": "src/Domain/GetIncompleteJourneys/GetIncompleteJourneysHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135833"
} | starcoder | // Mileage Tracker
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2022
using System.Collections.Generic;
using System.Threading.Tasks;
using Jeebs.Cqrs;
using Jeebs.Data.Enums;
using Jeebs.Logging;
using Mileage.Persistence.Repositories;
namespace Mileage.Domain.GetIncompleteJourneys;
/// <summary>
//... | 2.086854 | 89d3129d98968afd6c1c26a475d1bbf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cheficha/TelerikAcademyAlpha",
"max_stars_repo_path": "PlayerRanking/PlayerRanking/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135834"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wintellect.PowerCollections;
namespace PlayerRanking
{
class Program
{
static string input;
static void Main(string[] args)
{
var dict = new Dict... | 3.188474 | 159e11074f970ac3c8cee44c8e42ab74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scseely/ContosoAMPBasic",
"max_stars_repo_path": "src/Dashboard/Views/Subscriptions/UpdateSubscription.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135835"
} | starcoder | @model UpdateSubscriptionViewModel
@{
ViewData["Title"] = "All Offer Subscriptions";
}
<h1>Update Subscriptions</h1>
<hr />
<span class="text-danger">@Html.ValidationSummary(false)</span>
<form asp-action="UpdateSubscription">
<div>
<dl class="row">
<dt class="col-sm-2">
... | 2.412822 | dc0acd2feb5cce5914517f86f18964a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816616 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "tunaman65/xmla-client",
"max_stars_repo_path": "src/RequestMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135836"
} | starcoder | <gh_stars>10-100
namespace RadarSoft.XmlaClient
{
public enum RequestMethod
{
Execute,
Discover
}
} | 1.098485 | 5db1393c19a4cda58985e1221caf1ec3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "santedb/openiz",
"max_stars_repo_path": "OpenIZ.Persistence.Data.ADO/Services/Persistence/EntityAddressPersistenceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135837"
} | starcoder | <reponame>santedb/openiz
/*
* Copyright 2015-2018 Mohawk College of Applied Arts and Technology
*
*
* 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/licen... | 2.048124 | 20b8dd5e3301490ccf0c57233ca4180a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.