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 | 8831812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "animous-consulting/project-one",
"max_stars_repo_path": "PengKep.Interfaces/Interfaces/IUnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151032"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace PengKep.Common.Interfaces
{
public interface IUnitOfWork : IDisposable
{
int Commit();
void Rollback();
}
}
| 1.435425 | 0a9bfff0c3c3f5c5a481adac6bfb7ce5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aevansme/SpotifyApi.NetCore",
"max_stars_repo_path": "src/SpotifyApi.NetCore.Tests/Mocks/MockHttpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151033"
} | starcoder | <filename>src/SpotifyApi.NetCore.Tests/Mocks/MockHttpClient.cs<gh_stars>0
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using Moq.Protected;
namespace SpotifyApi.NetCore.Tests.Mocks
{
internal class MockHttpClient
{
private Mock<HttpMessageHan... | 2.599159 | aa67339f0226e3229f11c27aa8f26e5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831814 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joelverhagen/Knapcode.CommonLibrary.NET",
"max_stars_repo_path": "src/Lib/CommonLibrary.NET/Paging/Pager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151034"
} | starcoder | <reponame>joelverhagen/Knapcode.CommonLibrary.NET<gh_stars>1-10
/*
* Author: <NAME>
* Url: http://commonlibrarynet.codeplex.com/
* Title: CommonLibrary.NET
* Copyright: � 2009 <NAME>
* License: LGPL License
* LicenseUrl: http://commonlibrarynet.codeplex.com/license
* Description: A C# based .NET 3.5 Open-Source ... | 2.640145 | 140208ccfd1af8bab42295f74a216230 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maximeheliot/unityProject_RogueTactics",
"max_stars_repo_path": "RogueTactics/Assets/Scripts/ViewModelComponent/Ability/Range/SelfAbilityRange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151035"
} | starcoder | <reponame>maximeheliot/unityProject_RogueTactics<gh_stars>0
using System.Collections.Generic;
public class SelfAbilityRange : AbilityRange
{
public override bool positionOriented => false;
public override List<WorldTile> GetTilesInRange()
{
List<WorldTile> retValue = new List<WorldTile>();
... | 1.98683 | 35b6946b3d4966a94c2589bfa0d338fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831816 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "adoconnection/AspNetDeploy",
"max_stars_repo_path": "AspNetDeploy.Contracts/IDeploymentAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151036"
} | starcoder | <filename>AspNetDeploy.Contracts/IDeploymentAgent.cs
using System;
using AspNetDeploy.Contracts.Exceptions;
using AspNetDeploy.Contracts.MachineSummary;
using AspNetDeploy.Model;
namespace AspNetDeploy.Contracts
{
public interface IDeploymentAgent
{
bool IsReady();
int GetVersion();
bo... | 2.057698 | f1b8fb63f7f6df719f4591ed04885040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "husains/machinelearning",
"max_stars_repo_path": "src/Microsoft.ML.Transforms/Expression/CodeGen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151037"
} | starcoder | <filename>src/Microsoft.ML.Transforms/Expression/CodeGen.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using S... | 2.142805 | a047f7a1a454fc71c5c964e1552333a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FluiTec/FluiTec.AppFx.Data",
"max_stars_repo_path": "src/tests/integrationtests/FluiTec.AppFx.Data.NMemory.IntegrationTests/NMemoryDummyDataTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151038"
} | starcoder | using FluiTec.AppFx.Data.TestLibrary;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FluiTec.AppFx.Data.NMemory.IntegrationTests
{
/// <summary>
/// A memory entity data test.
/// </summary>
[TestClass]
[TestCategory("Integration")]
public class NMemoryDummyDataTest : DummyDataTe... | 1.655863 | 754ba580a78b3cff10f688527d9b2dea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benryves/Cogwheel",
"max_stars_repo_path": "Sega/Hardware/FloppyDiskController/FloppyDiskController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151039"
} | starcoder | <reponame>benryves/Cogwheel<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace BeeDevelopment.Sega8Bit.Hardware {
/// <summary>
///
/// </summary>
public class FloppyDiskController {
#region Types
/// <summary>
/// Status flags returned by reading th... | 2.286113 | efd81410ad3455eaa2cb5c8ba46c9044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831820 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Org.BouncyCastle.Asn1/DerBmpString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151040"
} | starcoder | <gh_stars>1-10
// DerBmpString
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Utilities;
using System;
public class DerBmpString : DerStringBase
{
private readonly string str;
public static DerBmpString GetInstance(object obj)
{
if (obj == null || obj is DerBmpString)
{
return (DerBmpString)obj;
}
... | 2.600326 | 8c1ce47c760ca3f26192dd445d709459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831821 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "AustralianDisabilityLimited/MultiversePlatform",
"max_stars_repo_path": "client/Serialization/Collada/ColladaMeshReader_14.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151041"
} | starcoder | <reponame>AustralianDisabilityLimited/MultiversePlatform<gh_stars>10-100
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obt... | 1.845247 | 672fd997a6ea01c1c8cdaa6d10f23ac7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831822 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "gjroelofs/fullinspector",
"max_stars_repo_path": "Assets/FullInspector2/Core/Editor/fiAutoCleanMissingScripts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151042"
} | starcoder | using FullInspector.BackupService;
using UnityEditor;
using UnityEditor.Callbacks;
namespace FullInspector.Internal {
public static class fiAutoCleanMissingScripts {
[DidReloadScripts]
public static void AutoCleanupMissingScripts() {
if (EditorApplication.isPlayingOrWillChangePlaymode)
... | 1.614772 | b0a0a5e8439302f9101894c469cb662d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831823 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Blucky87/Nez",
"max_stars_repo_path": "Nez.PipelineImporter/Overlap2D/VOs/NotImplemented/ShapeVO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151043"
} | starcoder | using Microsoft.Xna.Framework;
namespace Nez.Overlap2D.Runtime
{
public class ShapeVO
{
public Vector2[][] polygons;
public Circle[] circles;
}
}
| 1.329198 | 7cc886fe2b87384cf008a709b85d6d49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danieltruong/ag-lclb-cllc-public",
"max_stars_repo_path": "cllc-public-app/Models.Extensions/Adoxio_License.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151044"
} | starcoder | using Gov.Lclb.Cllb.Interfaces;
using Gov.Lclb.Cllb.Interfaces.Models;
using Gov.Lclb.Cllb.Public.ViewModels;
using System;
namespace Gov.Lclb.Cllb.Public.Models
{
/// <summary>
/// ViewModel transforms.
/// </summary>
public static class Adoxio_LicenseExtensions
{
public static AdoxioLic... | 2.119073 | bb2116b3d5e4912a0f507c2d0e929799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831825 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jasonmcboyd/Treenumerable.Linq",
"max_stars_repo_path": "Source/Treenumerable.Linq/TreeWalkers/DepthTreeWalker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151045"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Treenumerable.Linq.TreeWalkers
{
internal class DepthTreeWalker<T> : ITreeWalker<DepthNode<T>>
{
public DepthTreeWalker(ITreeWalker<T> walker)
{
this._Walker = walker;
}
private readonly ITreeWalker<T> ... | 3.142394 | ded6e2025ed16d73c3e3f19cf49b1df9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kzlabo/YaminabeExtensions",
"max_stars_repo_path": "YaminabeExtensions/YaminabeExtensions.Sql/BulkCopyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151046"
} | starcoder | /*
* Copyright 2020 kzlabo
*
* 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 applicable law or agreed to i... | 2.426448 | 393c688c57c0b5c608317219f32a8f19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831827 | {
"extension": "c-sharp",
"max_stars_count": "885.0",
"max_stars_repo_name": "Sollertix/PnP",
"max_stars_repo_path": "Samples/ECM.DocumentSets/ECM.DocumentSetsWeb/Models/AddAllowedContentTypeViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151047"
} | starcoder | <reponame>Sollertix/PnP
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ECM.DocumentSetsWeb.Models
{
public class AddAllowedContentTypeViewModel
{
//public SelectList ContentTypeList { get; set; }
public string SelectedString... | 1.52009 | 7a28de7b36e04b5d7878bf0923c92d3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831828 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vladislav-karamfilov/TelerikAcademy",
"max_stars_repo_path": "Web Services Projects/Homework-WindowsCommunicationFoundation/DayOfWeekInBulgarianConsoleClient/ClientUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151048"
} | starcoder | namespace DayOfWeekInBulgarianConsoleClient
{
using System;
using DayOfWeekInBulgarianConsoleClient.DayOfWeekInBulgarianService;
class ClientUI
{
static void Main()
{
string decorationLine = new string('-', Console.WindowWidth);
Console.Write(decorationLine);
... | 3.190845 | 4fba00152b557a33d4ac979c1dfd7637 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pablothedolphin/Objects",
"max_stars_repo_path": "Objects/Geometry/Curve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151049"
} | starcoder | <gh_stars>0
using Speckle.Objects.Primitive;
using Speckle.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Speckle.Objects.Geometry
{
public class Curve : Base, ICurve
{
public int degree { get; set; }
public bool periodic { get; set; }
publ... | 1.939916 | 128e5b689f007a2827fb042fc07f8ee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raytellier/Hager_Ind_CRM",
"max_stars_repo_path": "Views/Announcements/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151050"
} | starcoder | <gh_stars>0
@model Hager_Ind_CRM.Support.Announcement
@{
ViewData["Title"] = "Edit";
}
<h1 class="mt-4">Edit Announcement</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li>
<li class="breadcrumb-item active">Edit Announcemen... | 1.661943 | dcc5a18668817f586b6e037d704dcb65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831831 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amersaw/COMU-OOAD-Restaurant-Ordering-System",
"max_stars_repo_path": "Code/ROSys.WebClient/Views/Home/StartOrder.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151051"
} | starcoder | <filename>Code/ROSys.WebClient/Views/Home/StartOrder.cshtml<gh_stars>1-10
@model List<ROSys.Model.FoodDescription>
@{
ViewBag.Title = "StartOrder";
}
<style>
.list-group-item-success {
color: #3c763d;
background-color: #dff0d8;
}
</style>
@section scripts{
<script>
var s... | 2.571378 | a72da09b63828ea73ecb3337f667e348 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831832 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ritchiecarroll/common",
"max_stars_repo_path": "src/Gemstone/BitExtensions/BitExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151052"
} | starcoder | //******************************************************************************************************
// BitExtensions.cs - Gbtc
//
// Copyright © 2012, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// t... | 2.26433 | 2667be4be115e66395864a6280c29819 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831833 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JeffBramlett/EquationSolvr",
"max_stars_repo_path": "EquationSolver/EquationSolver/IVariableProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151053"
} | starcoder | using System.Collections.Generic;
using EquationSolver.Dto;
namespace EquationSolver
{
public interface IVariableProvider
{
Variable this[string name] { get; }
Dictionary<string, VariableTable> Tables { get; }
event VariableProvider.VarableValueChangedDelegate VariableValueChanged;
... | 2.298047 | f151201cdaa9ef8b0340135537284a27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tthorin/NET21OOP",
"max_stars_repo_path": "v39/TryCatchOvn/TryCatchOvn/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151054"
} | starcoder | namespace TryCatchOvn
{
using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
List<string> badList = null;
int[] intArr = new int[3];
//int tooMuch = 1000000000000000000000000000000000000000000000000000000... | 3.171672 | 9abadff4b278f7ff8b276096a1be865c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831835 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "SVemulapalli/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Data/DbContext/PageTemplates/PageTemplateMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151055"
} | starcoder | <filename>src/Cofoundry.Domain/Data/DbContext/PageTemplates/PageTemplateMap.cs<gh_stars>100-1000
using System;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Cofoundry.Core;
using Microsoft.EntityFrameworkCore;
using Cofoundry.Core.EntityFramework;
namespace Cofoundry.Domain.Data
{
public class PageT... | 2.349209 | 918162e3ba99539f6483553deda2b351 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831836 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Realtao/corefx",
"max_stars_repo_path": "src/System.Runtime.InteropServices.RuntimeInformation/src/RuntimeInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151056"
} | starcoder | <filename>src/System.Runtime.InteropServices.RuntimeInformation/src/RuntimeInformation.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
namespace System.Runtime.InteropServices
{
pub... | 2.095371 | c2544c25a3837a87171c792a85c3ab9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "s2quake/Ntreev.Crema",
"max_stars_repo_path": "server/JSSoft.Crema.Services/Domains/DomainContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151057"
} | starcoder | // Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, inclu... | 1.829768 | e78892c7cbbabcf42498124feabd1295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831838 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "TUC-Team/KazJamGame",
"max_stars_repo_path": "Assets/Scripts/Behaviour/Tutorial/TutorialClickHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151058"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
using UnityEngine.Events;
[RequireComponent(typeof(Collider))]
public sealed class TutorialClickHandler : MonoBehaviour {
public event Action Clicked = () => {};
public UnityEvent OnClickedEvent = new UnityEvent();
void OnMouseUp() {
OnClicked();
gameObject.SetA... | 1.949071 | 311163b79736e8d8b3d6713cc43d1ac9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aodag/pay",
"max_stars_repo_path": "build.cake",
"provenance": "train-00027-of-00045.jsonl.gz:151059"
} | starcoder | var target = Argument("target", "Default");
Task("Restore")
.Does(() =>
{
DotNetCoreRestore("./src/");
DotNetCoreRestore("./test/");
});
Task("Build")
.IsDependentOn("Restore")
.Does(() =>
{
DotNetCoreBuild("./src/Pay.Client");
DotNetCoreBuild("./src/Pay.Client.Example");
DotNetCoreBui... | 2.06537 | fbdb32fa0dcabe2fb394547e35daf8b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiyanLyubchev/LibraryManagementSystem",
"max_stars_repo_path": "LibraryWeb/LibrarySystem.Web/Areas/Identity/Pages/Account/Register.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151060"
} | starcoder | @page
@model RegisterModel
@{
ViewData["Title"] = "Register";
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="~/css/app.css" rel="stylesheet" />
<meta name='viewport' content='width=device-width, initial-scale=1'>
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<t... | 2.276082 | cc2783a07d919d89e1bcf9611d3407d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theADAMJR/PROJECT-2D",
"max_stars_repo_path": "Assets/Scripts/Nature/NatureBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151061"
} | starcoder | <gh_stars>1-10
using Project2D.Core;
using Project2D.Environment;
using UnityEngine;
namespace Project2D.Nature
{
public class NatureBehaviour : MonoBehaviour, IEnvironment
{
private Creature[] creatures => FindObjectOfType<GameManager>().CurrentRealm.Creatures;
private TimePresets timePresets... | 2.452523 | 4abf9b67ee2996f3a54475d4cc5c2653 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831842 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "tatelax/LazyECS",
"max_stars_repo_path": "Runtime/SimulationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151062"
} | starcoder | <filename>Runtime/SimulationController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using LazyECS;
using UnityEngine;
public enum LogLevel
{
None,
Verbose
}
public class SimulationController : MonoBehaviourSingleton<SimulationController>
{
[SerializeField] private LogLevel logLevel;
publ... | 2.428134 | ca7ea83819079bcf7ca2de5d628f9e5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831843 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "techfg/Lib.Net.Http.WebPush",
"max_stars_repo_path": "test/Test.Lib.Net.Http.WebPush/Functional/Infrastructure/FakePushServiceApplicationFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151063"
} | starcoder | <reponame>techfg/Lib.Net.Http.WebPush<filename>test/Test.Lib.Net.Http.WebPush/Functional/Infrastructure/FakePushServiceApplicationFactory.cs
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
namespace Test.Lib.Net.Http.WebPush.Functional.Infrastru... | 1.846269 | 6576628e0551d7479439f1013edf1168 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831844 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "GuOrg/Gu.SerializationAsserts",
"max_stars_repo_path": "Gu.SerializationAsserts.Tests/Internals/TypeExtTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151064"
} | starcoder | <reponame>GuOrg/Gu.SerializationAsserts<filename>Gu.SerializationAsserts.Tests/Internals/TypeExtTests.cs
namespace Gu.SerializationAsserts.Tests.Internals
{
using System;
using NUnit.Framework;
public class TypeExtTests
{
[TestCase(typeof(string), true)]
[TestCase(typeof(TypeExtTests)... | 2.349478 | c911c932617497e15847b7642170c079 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeuxjeux20/ClangSharp",
"max_stars_repo_path": "sources/ClangSharp.PInvokeGenerator/JNI/JniOutputBuilderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151065"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using ClangSharp.Abstractions;
using ClangSharp.CSharp;
using ClangSharp.JNI.Java;
namespace ClangSharp.JNI
{
int... | 2.100455 | 8d236666f7815aed1b84ced08e9ff3e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mallet23/AltiumSorter",
"max_stars_repo_path": "AltiumFileGenerator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151066"
} | starcoder | using System;
using System.Diagnostics;
using Microsoft.Extensions.Configuration;
namespace AltiumFileGenerator
{
class Program
{
static void Main(string[] args)
{
var configuration = new ConfigurationBuilder()
.AddJsonFile("appsettings.json")
.Build... | 2.828999 | 160c236e9b3b613d47ff547bef290dfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831847 | {
"extension": "c-sharp",
"max_stars_count": "292.0",
"max_stars_repo_name": "tenvick/hugula",
"max_stars_repo_path": "Client/Assets/Hugula/Editor/Task/TaskManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151067"
} | starcoder | <reponame>tenvick/hugula<gh_stars>100-1000
using UnityEngine;
using System.Collections.Generic;
namespace HugulaEditor.Task
{
public static class TaskManager<T>
{
static List<ITask<T>> tasks = new List<ITask<T>>();
public static void AddTask(ITask<T> task)
{
tasks.Add(tas... | 2.436995 | 9b0124febf1075d322f3e7841ca16d6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831848 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "pairbit/GostCryptography",
"max_stars_repo_path": "Source/GostCryptography/Asn1/Ber/Asn1BigInteger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151068"
} | starcoder | <reponame>pairbit/GostCryptography<filename>Source/GostCryptography/Asn1/Ber/Asn1BigInteger.cs
using System;
using GostCryptography.Properties;
namespace GostCryptography.Asn1.Ber
{
[Serializable]
public class Asn1BigInteger : Asn1Type
{
private const int MaxBigIntLen = 0x186a0;
public static readonly Asn1Ta... | 2.470987 | c7bb7f894a8b36524351b7d268d8f057 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831849 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "RemiGC/moddingSuite",
"max_stars_repo_path": "moddingSuite/Model/Ndfbin/Types/AllTypes/NdfCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151069"
} | starcoder | <reponame>RemiGC/moddingSuite
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.IO;
using System.Text;
using moddingSuite.BL.Ndf;
namespace moddingSuite.Model.Ndfbin.Types.AllTypes
{
public class NdfCo... | 2.212879 | f93278ca85af735a2f348a5855a1de28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thanhnam72/dp.framework",
"max_stars_repo_path": "Framework/DP.Plugin.V2-DS/DP.V2.Plugin/DP.V2.PLG.Auth/Busineses/IAuthBusiness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151070"
} | starcoder | <reponame>thanhnam72/dp.framework
using DP.V2.Core.Common.Base;
using DP.V2.PLG.Auth.Busineses.Dtos;
using DP.V2.PLG.Auth.Busineses.Requests;
using System.Threading.Tasks;
namespace DP.V2.PLG.Auth.Busineses
{
public interface IAuthBusiness
{
Task<BaseResponse<TokenDto>> GetToken(GetTokenReque... | 1.074106 | c5ed455f95ff55486f2c45d83f86c991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831851 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eduardolm/eVenda",
"max_stars_repo_path": "eVendas.Sales/Interface/IProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151071"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using eVendas.Sales.Model;
namespace eVendas.Sales.Interface
{
public interface IProductService : IGenericService<Product>
{
new IEnumerable<Product> GetAll();
new Product GetById(int id);
new object Create(Product product... | 1.919059 | 8a28353a620ea6891748d832eac02f75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Influx-Davin/ring-engine",
"max_stars_repo_path": "Assets/Scripts/WaterSurface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151072"
} | starcoder | using UnityEngine;
public class WaterSurface : MonoBehaviour
{
public BoxCollider surface;
BoxCollider boxCollider;
public GameObject waterSplash;
float centerY;
// Use this for initialization
void Start()
{
boxCollider = GetComponent<BoxCollider>();
}
// Update is calle... | 2.109508 | 82032665976d19b57f7b07a5a705914e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theproadam/Connections",
"max_stars_repo_path": "Connections Client/Connections Client/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151073"
} | starcoder | <filename>Connections Client/Connections Client/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace Connections_Client
{
class Program
{
static bool ... | 3.316169 | 4571916371293bbbd45554b920c0ce83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831854 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "cietwwl/xgame-code_server",
"max_stars_repo_path": "client_wpf/Xgame.GameBizModule/Login/LoginLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151074"
} | starcoder | <gh_stars>10-100
using System;
using log4net;
namespace Xgame.GameBizModule.Login
{
/// <summary>
/// 登陆日志
/// </summary>
sealed class LoginLog
{
/** 单例对象 */
public static readonly ILog LOG = LogManager.GetLogger("Login");
/// <summary>
/// 类默认构造器
/// </su... | 1.756916 | 158743d46d542a3d89658ebbd41951c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDulouard/ProrokTestUnit2",
"max_stars_repo_path": "ProrokUnitTest2V3/Assets/Scripts/TargetPositions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151075"
} | starcoder | using System;
using UnityEngine;
public class TargetPositions
{
/* Can read the target values in the json file and stores the values */
public float legFrontLeftBot;
public float legFrontLeftTop;
public float shoulderFrontLeft;
public float legFrontRightBot;
public float legFrontRightTo... | 2.626814 | 8fb696977818b41bc3190722c1c49c79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831856 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AGGP-NHTI/Capstone2019_BrokenVessel",
"max_stars_repo_path": "Assets/Scripts/InteractButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151076"
} | starcoder | using UnityEngine;
namespace BrokenVessel.Interact
{
public class InteractButton : Interact
{
public GameObject hatch;
private bool activated = false;
public override void Impulse()
{
if(!activated)
{
hatch.transform.position -= new Vec... | 2.145186 | d1ca71b1899fd969cf849eb77767bf7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astyanax/Project-Xenocide",
"max_stars_repo_path": "xna/trunk/Xenocide/Source/Model/StaticData/Research/TechnologyPrerequisite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151077"
} | starcoder | #region Copyright
/*
--------------------------------------------------------------------------------
This source file is part of Xenocide
by Project Xenocide Team
For the latest info on Xenocide, see http://www.projectxenocide.com/
This work is licensed under the Creative Commons
Attribution-NonCommercia... | 2.300395 | a7a2ced40418487e70955087364fc55f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simadine/simad",
"max_stars_repo_path": "BeyondThemes.BeyondAdmin/Pa_Perfiles_MenuSegunRol_Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151078"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.062537 | 1cadec6d7f779809112adb537213e13d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831859 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.Drawing.Common/src/System/Drawing/Printing/PrinterResolutionKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151079"
} | starcoder | <gh_stars>10-100
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Drawing.Printing
{
/// <summary>
/// Specifies a printer resolution.
/... | 2.287894 | 4e897e6722e79645e83bb99063dbb57a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aqrl/unity-virtual-gallery",
"max_stars_repo_path": "Assets/Invector-3rdPersonController/Shooter/Scripts/Weapon/vCollectShooterMeleeControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151080"
} | starcoder | <filename>Assets/Invector-3rdPersonController/Shooter/Scripts/Weapon/vCollectShooterMeleeControl.cs
using UnityEngine;
namespace Invector.vMelee
{
using System;
using vCharacterController.vActions;
using vShooter;
[vClassHeader("Collect Shooter Melee Control", "This component is used when you're char... | 2.119817 | d945f2841be3d80428782df0765f7fa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831861 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "eredmo/mocklis",
"max_stars_repo_path": "src/Mocklis.BaseApi/JoinStepExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151081"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="JoinStepExtensions.cs">
// SPDX-License-Identifier: MIT
// Copyright © 2019-2020 <NAME> and contributors. All rights reserved.
// </copyright>
// ------------------------------... | 2.637115 | ef6f4ab455bad8fa0a4ae52a308c23e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveage/EllAid",
"max_stars_repo_path": "source/Entities/Services/Validation/IValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151082"
} | starcoder | <gh_stars>0
namespace EllAid.Entities.Services.Validation
{
public interface IValidator<T> where T : class
{
ValidationResult Validate(T item);
}
} | 1.720316 | ccd0ab60c01fae5adbdbbc47a2ca8ee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "13daysaweek/iFlyShop",
"max_stars_repo_path": "Backend/ThirteenDaysAWeek.iFlyShop.Api/Telemetry/IDependencyTracker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151083"
} | starcoder | <filename>Backend/ThirteenDaysAWeek.iFlyShop.Api/Telemetry/IDependencyTracker.cs
using System;
using System.Threading.Tasks;
namespace ThirteenDaysAWeek.iFlyShop.Api.Telemetry
{
public interface IDependencyTracker
{
Task<TReturnType> TrackDependencyAsync<TReturnType>(Func<Task<TReturnType>> dependency... | 2.31825 | e7bf255f90b9b2b0a498278a826809ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ECourant/TopShelfAPI",
"max_stars_repo_path": "TopShelfAPI/TSConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151084"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TopShelfAPI
{
/// <summary>
/// Represents a configuration object used to define settings for communicating with TopShelf's REST API.
/// </summary>
public sealed class TSConfi... | 3.021543 | bbc35723d471819869dd411e4f8009cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831865 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "AnthonyCarl/NodaTime.Serialization.ServiceStackText",
"max_stars_repo_path": "src/NodaTime.Serialization.ServiceStackText/DateTimeZoneSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151085"
} | starcoder | using System;
using System.Linq;
using NodaTime.TimeZones;
namespace NodaTime.Serialization.ServiceStackText
{
/// <summary>
/// ServiceStack.Text JSON serializer for <see cref="DateTimeZone"/> for the given <see cref="IDateTimeZoneProvider"/>.
/// Deserialization is case insensitive.
/// </summary>
... | 3.033876 | 4c2593f70951281ff94c82ea393cfd32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831866 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jevonsflash/GeneralServiceHost",
"max_stars_repo_path": "GeneralServiceHost/Model/ByWeekInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151086"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeneralServiceHost.Model
{
public class ByWeekInfo:ViewModelBase
{
public ByWeekInfo()
{
Time = DateTime.Now;
this.Value = 1;
this.... | 2.758604 | 7063d93484b703814d27696ee24ad52d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831867 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "zeusgame2/ET",
"max_stars_repo_path": "Unity/Assets/Editor/ILRuntimeEditor/ILRuntimeCrossAdaptorGenerate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151087"
} | starcoder | <gh_stars>1-10
using UnityEditor;
using UnityEngine;
namespace ETEditor
{
public class ILRuntimeCrossAdaptorGenerate
{
[MenuItem("Tools/ILRuntime/Generate CrossAdaptor")]
static void CrossAdaptorGenerate()
{
//由于跨域继承特殊性太多,自动生成无法实现完全无副作用生成,所以这里提供的代码自动生成主要是给大家生成个初始模版,简化大家的工作
... | 1.977505 | 074d2febc7fba2c3b68d4f0c948e9c85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gousia-MSFT/DevDays",
"max_stars_repo_path": "Microsoft.Teams.Samples.HelloWorld.Web/Views/Home/Day2FirstTrack2.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151088"
} | starcoder | <filename>Microsoft.Teams.Samples.HelloWorld.Web/Views/Home/Day2FirstTrack2.cshtml
@{
ViewBag.Title = "Day2FirstTrack2";
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" conte... | 2.473053 | 205e02d4691948f3b9e1cd864831ba7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LyuboslavKrastev/C-Advanced",
"max_stars_repo_path": "02. CSharp-Advanced-Sets-And-Dictionaries-Exercises/05. Phonebook/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151089"
} | starcoder | using System;
using System.Collections.Generic;
namespace _05._Phonebook
{
class Program
{
static void Main(string[] args)
{
var phoneBook = new Dictionary<string, string>();
var input = Console.ReadLine();
while (input != "search")
... | 3.473684 | 3eccc264af2f9bc298b3e5abb92ee8c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thnetii/oauthproxy-webservice",
"max_stars_repo_path": "src/THNETII.WebServices.OAuthProxyWebApp.AuthorizeUI/Views/Shared/0dcd503a-ae38-4929-a1ef-ec2589da2baf/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151090"
} | starcoder | <h1>Authorize</h1>
<p>This is the authorize index page.</p>
| 0.954423 | dacb42118b2d394fee9948996b6c9557 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831871 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_4294267F.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151091"
} | starcoder | // Instance generated by TankLibHelper.InstanceBuilder
using TankLib.Math;
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x4294267F)]
public class STU_4294267F : STUInstance {
[STUFieldAttribute(0x11B47C68, "m_id")]
public teUUID m_id;
[STUFieldAttribute(0xB48F1D... | 1.285406 | 655d500dbde575a8cda8dd70700c3bdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831872 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/7kyu/FixmeGetFullNameTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151092"
} | starcoder | <gh_stars>10-100
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class FixmeGetFullNameTests
{
[Test, Description("Sample Test")]
public void SampleTest()
{
// Assert.AreEqual("<NAME>", new FIXMEGetFullName.Dinglemouse("Clint", "Eas... | 2.142169 | ab867b69e31eb550e6d533799131c366 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831873 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "VollRagm/PTView",
"max_stars_repo_path": "src/PTView/PTViewClient/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151093"
} | starcoder | <reponame>VollRagm/PTView<filename>src/PTView/PTViewClient/MainForm.Designer.cs
namespace PTViewClient
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.73937 | 3e9dd6a02d686b08fa0a027405103c8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sytabaresa/IMO-Maritime-Single-Window",
"max_stars_repo_path": "IMOMaritimeSingleWindow/Server/Helpers/Errors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151094"
} | starcoder | <gh_stars>0
/* This was taken from an example project written by
* author: <NAME> (https://github.com/mmacneil)
* cited in a blog post
* url: https://fullstackmark.com/post/13/jwt-authentication-with-aspnet-core-2-web-api-angular-5-net-core-identity-and-facebook-login
* demonstrating how to implement a framew... | 2.210298 | f4703aea730dec608d5df088fc156f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Rafy/Rafy.UI/MetaModel/View/ViewMetaExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151095"
} | starcoder | /*******************************************************
*
* 作者:胡庆访
* 创建时间:20111110
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20111110
*
*******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using Syste... | 2.429136 | 7175d4c61360d38a02b64698e11414a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisLmis/MixedRealityToolkit-Unity",
"max_stars_repo_path": "Assets/MRTK/Examples/SceneUnderstanding/Scripts/DemoSceneUnderstandingStuffController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151096"
} | starcoder | <filename>Assets/MRTK/Examples/SceneUnderstanding/Scripts/DemoSceneUnderstandingStuffController.cs
using UnityEngine;
using UnityEngine.Animations;
[RequireComponent(typeof(ParentConstraint))]
public class DemoSceneUnderstandingStuffController : MonoBehaviour
{
// Start is called before the first frame update
... | 1.707569 | 1e5c69bac4f70e4d807adda34bda9093 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831877 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SkightTeam/eLiteWeb",
"max_stars_repo_path": "FluentBuild/FluentFs/Support/MoveFileTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151097"
} | starcoder | using FluentFs.Core;
using NUnit.Framework;
using Rhino.Mocks;
namespace FluentFs.Support
{
[TestFixture]
public class MoveFileTests
{
private MoveFileArtifact _subject;
private IFileSystemWrapper _fileSystemWrapper;
private File _file;
private string _destination;
... | 2.554899 | 78a70c2005e71a664e666bf12f01e857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831878 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "SaladLab/TicTacToe",
"max_stars_repo_path": "src/GameServer.Tests/ClusterContextFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151098"
} | starcoder | using System;
using Akka.Actor;
using Akka.Interfaced;
using Akka.Cluster.Utility;
using Domain;
namespace GameServer.Tests
{
public class ClusterContextFixture : IDisposable
{
public ClusterNodeContext Context { get; private set; }
public ClusterContextFixture()
{
// forc... | 1.868471 | 14b83f7eb2ad82500b583c777f3a1761 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amitrotner/Mini-Twitter",
"max_stars_repo_path": "Server/MiniTwitterWebAPI/MiniTwitterWebAPI/Models/TweetsTbl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151099"
} | starcoder | <filename>Server/MiniTwitterWebAPI/MiniTwitterWebAPI/Models/TweetsTbl.cs
using System;
using System.Collections.Generic;
namespace MiniTwitterDotNetAPI.Models
{
public partial class TweetsTbl
{
public long Id { get; set; }
public string UserName { get; set; }
public string ProfilePicPa... | 2.047491 | ee8e9f9c623208dc2157641b661b6530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831880 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/Dlls/Microsoft.ServiceFabric.ClusterManagementCommon/CertificateClusterUpgradeFlow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151100"
} | starcoder | <reponame>gridgentoo/ServiceFabricAzure<filename>src/prod/src/managed/Api/Dlls/Microsoft.ServiceFabric.ClusterManagementCommon/CertificateClusterUpgradeFlow.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License ... | 1.949898 | 6823e2c61050e940b984141c26c886ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831881 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "daeken/SupercellNx",
"max_stars_repo_path": "Supercell/IpcServices/Generated/nn.bsdsocket.cfg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151101"
} | starcoder | <reponame>daeken/SupercellNx
#pragma warning disable 169, 465
using System;
using UltimateOrb;
using static Supercell.Globals;
namespace Supercell.IpcServices.Nn.Bsdsocket.Cfg {
[IpcService("bsdcfg")]
public unsafe partial class ServerInterface : _Base_ServerInterface {}
public unsafe class _Base_ServerInterfac... | 1.669249 | 809301bcfffc40b4f43ab53437ec1145 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831882 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "yiliansource/cmdotnet",
"max_stars_repo_path": "CMDotNet/Attributes/AliasAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151102"
} | starcoder | <filename>CMDotNet/Attributes/AliasAttribute.cs
using System;
namespace CMDotNet
{
/// <summary>
/// Indicates aliases for a command.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class AliasAttribute : Attribute
{
public AliasAttribute(p... | 2.669371 | 171cd217ce22a477d9a343ee2165d0b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831883 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BrightstarDB/odata-sparql",
"max_stars_repo_path": "ODataLib/ODataContrib/Silverlight/Microsoft/Data/OData/Query/AllQueryToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151103"
} | starcoder | <filename>ODataLib/ODataContrib/Silverlight/Microsoft/Data/OData/Query/AllQueryToken.cs
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
... | 2.370414 | b4d16907b41a75fcb49041fcfee955bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831884 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sLill/SoundboardYourFriends",
"max_stars_repo_path": "SoundboardYourFriends/SoundboardYourFriends/ViewModel/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151104"
} | starcoder | using NAudio.Wave;
using SoundboardYourFriends.Core;
using SoundboardYourFriends.Core.Config;
using SoundboardYourFriends.Core.Windows;
using SoundboardYourFriends.Model;
using SoundboardYourFriends.View.Windows;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
usi... | 1.950736 | 6246a51ff303b1915e63f83e40b1e820 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtebenev/mediafiles",
"max_stars_repo_path": "AppEngine.Video/VideoImprint/IVideoImprintStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151105"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace AppEngine.Video.VideoImprint
{
/// <summary>
/// The client interface for the video imprint storage.
/// </summary>
public interface IVideoImprintStorage
{
/// <summary>
/// Retrieves all stored video imprints.
/// </summar... | 2.246317 | 1445e6d4fd5b79510fda011865e78b5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andrewLarsson/circle-of-trust-csharp",
"max_stars_repo_path": "AndrewLarsson.CircleOfTrust.Persistence/Models/BetrayedCircle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151106"
} | starcoder | using System;
namespace AndrewLarsson.CircleOfTrust.Persistence.Models {
public class BetrayedCircle {
public Guid Id { get; set; }
public Guid CircleId { get; set; }
public Guid PlayerId { get; set; }
}
}
| 1.81743 | a69796b346c278278d818795b938d66f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andersonlucasg3/binary-serializer-csharp",
"max_stars_repo_path": "BinarySerialization/Sources/Mapping/Types/DictionaryMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151107"
} | starcoder | using System;
using BinarySerializer.Extensions;
using BinarySerializer.Helping;
namespace BinarySerializer.Mapping.Types
{
public readonly struct DictionaryMap : IMap
{
public Type type { get; }
public readonly IMap keyMap;
public readonly IMap valueMap;
public DictionaryMap(... | 2.874306 | ec1c1bdcb29466af37477eed77dc2b07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "huangxiangyao/MatBlazor",
"max_stars_repo_path": "src/MatBlazor/Components/MatTextField/MatTextFieldType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151108"
} | starcoder | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace MatBlazor
{
/// <summary>
/// Text fields allow users to input, edit, and select text.
/// </summary>
public class MatTextFieldType<T> : MatInputTextComponent<T>
{
}
} | 1.928209 | f9319215425e84c61d4a9b84f896485b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831889 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "kohanis/Longship",
"max_stars_repo_path": "Longship/Patches/PatchListenToHumanoidEquipItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151109"
} | starcoder | <filename>Longship/Patches/PatchListenToHumanoidEquipItem.cs
using HarmonyLib;
using Longship.Events;
namespace Longship.Patches
{
[HarmonyPatch(typeof(Humanoid), "EquipItem")]
public class PatchListenToHumanoidEquipItem
{
static void Postfix(Humanoid __instance, ItemDrop.ItemData item, bool __res... | 1.914669 | 8001c0f4085078c637d711a29ff6f186 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilisa/NumberToEnglishText",
"max_stars_repo_path": "NumberToEnglishText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151110"
} | starcoder | <reponame>emilisa/NumberToEnglishText
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace NumberToEnglishText
{
class NumberToEnglishText
{
/// <Exercise goal>
/// Write a program that converts a number in the range [0...999] t... | 3.775201 | 5ed54ecd7b84d2b0de45b41ecd699ed1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Diarde/DIARDEForDXF",
"max_stars_repo_path": "DiardeToDXF/floorplan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151111"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace DiardeToDXF.logic
{
class Floorplan
{
public class Tetragon
{
public readonly Point2D p1;
public readonly Point2D p2;
public readonly Point2D p3;
public readonly Point2D p4;
... | 3.097675 | cf9b15b7a111c811fa31791f8cefbcbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmytrokuzmin/RepairisCore",
"max_stars_repo_path": "src/Repairis.Application/Brands/Dto/BrandFullListDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151112"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Repairis.Brands.Dto
{
public class BrandFullListDto
{
public List<BrandFullEntityDto> Brands { get; set; }
}
}
| 1.234049 | 8926019827ef1757431a919904eef0be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831893 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/IncidentEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151113"
} | starcoder | using System;
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file ... | 1.606421 | 214a92ebe684722c2eb727ce9906d8eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831894 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "manoj75/o365-EWS-Editor",
"max_stars_repo_path": "EWSEditor/Forms/Dialogs/AddRemoveHeaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151114"
} | 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.IO;
using System.Text.RegularExpressions;
using Microsoft.Exchange.WebServices.Data;
using... | 1.967781 | 593432707d7606e41a0593ebd1d41079 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swisschain/Exchange.Operations",
"max_stars_repo_path": "src/Operations/Configuration/FeesSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151115"
} | starcoder | <reponame>swisschain/Exchange.Operations
namespace Operations.Configuration
{
public class FeesSettings
{
public string GrpcUrl { get; set; }
}
}
| 0.651982 | 09afbaefd36caee2b7d00c294a6296e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Drawing/Test/System.Drawing/TestRectangleConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151116"
} | starcoder | //
// Tests for System.Drawing.RectangleConverter.cs
//
// Author:
// Ravindra (<EMAIL>)
//
//
// Copyright (C) 2004 Novell, Inc (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 dea... | 2.130363 | ef30844d831d3b40f240308896e8fb07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831897 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "geek96/MacomberMap",
"max_stars_repo_path": "MacomberMapCommunications/Messages/MM_Data_Collection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151117"
} | starcoder | <reponame>geek96/MacomberMap<gh_stars>1-10
using MacomberMapCommunications.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MacomberMapCommunications.Messages
{
/// <summary>
/// © 2014, <NAME>, Ph.D., Electric ... | 2.576917 | 1e3935932df99dd8c5e0f8cf200f61aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NewBediver/SharpLibrary",
"max_stars_repo_path": "SharpLibrary/Models/GenreLiterature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151118"
} | starcoder | namespace SharpLibrary.Models
{
public class GenreLiterature
{
public long GenreId { get; set; }
public Genre Genre { get; set; }
public long LiteratureId { get; set; }
public Literature Literature { get; set; }
}
}
| 1.829965 | 11890fcc3cc951c98fe112db52dd703c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madhub/dotnetsamplecode",
"max_stars_repo_path": "AspDemo/Shared/WebhookReceiver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151119"
} | starcoder | <reponame>madhub/dotnetsamplecode
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Shared
{
// note route is made of randomstring to ma... | 2.416769 | 6d461f1fcfdf3a892d2f1dd0b9289794 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DatZach/GMExtensionPacker",
"max_stars_repo_path": "GMExtensionPacker/Models/Gm22/GMExtensionModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151120"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using GMExtensionPacker.Models.Common;
namespace GMExtensionPacker.Models.Gm22
{
[DataContract]
internal abstract class ModelBase
{
[DataMember]
public Guid id { get; set; }
[DataMember]
pu... | 1.747633 | 61258847a18261d803e61439ce74e06c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831901 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VladimirKhil/CIRCe",
"max_stars_repo_path": "IRCProviders/IBaseWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151121"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace IRCProviders
{
/// <summary>
/// Базовый интерфейс окна клиента
/// </summary>
public interface IBaseWindow: IDisposable
{
#region Properties
/// <summary... | 2.863289 | 9ab379fb5ab6190f3666ea292990c0d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831902 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Appizeo/Blazor.Polyfill",
"max_stars_repo_path": "src/SyncFusionBlazorSamples/Pages/Diagram/SampleList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151122"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BlazorDemos;
namespace BlazorDemos
{
internal partial class SampleConfig
{
public List<Sample> Diagram { get; set; } = new List<Sample>{
new Sample
{
Name = "Fl... | 2.061913 | ea3bf8590c5e5be98994f52376aa8944 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcurl/RJCP.DLL.Log",
"max_stars_repo_path": "TraceReader.Dlt/DltTraceReader/Dlt/ControlArgs/LogLevelExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151123"
} | starcoder | <filename>TraceReader.Dlt/DltTraceReader/Dlt/ControlArgs/LogLevelExtension.cs
namespace RJCP.Diagnostics.Log.Dlt.ControlArgs
{
/// <summary>
/// Provides extension methods for the <see cref="LogLevel"/> enumeration.
/// </summary>
public static class LogLevelExtension
{
/// <summary>
... | 2.849486 | b4b57bcbe57b4487db5924bc22c130ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.V0001",
"max_stars_repo_path": "source/R5T.V0001.Library/Code/Classes/ObjectWithAsyncMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151124"
} | starcoder | using System;
using System.Threading.Tasks;
namespace R5T.V0001.Library
{
public class ObjectWithAsyncMethod
{
#pragma warning disable CA1822 // Mark members as static
public Task AsyncMethod()
#pragma warning restore CA1822 // Mark members as static
{
return Task.CompletedTask;
... | 2.345193 | 83d78a8df2d425cf4e5217740bf4970f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831905 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "dkarkanas/Indice.AspNet",
"max_stars_repo_path": "samples/ResourceOwnerPasswordFlow/Configuration/Settings/ClientSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151125"
} | starcoder | using System.Collections.Generic;
namespace ResourceOwnerPasswordFlow.Settings
{
public class ClientSettings
{
public const string Name = "Client";
public string Id { get; set; }
public string Secret { get; set; }
public IEnumerable<string> Scopes { get; set; }
}
}
| 1.809028 | 84dcf438108c8c9579782c2d9acfb3e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831906 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "GhalamborM/MicroBootstrap",
"max_stars_repo_path": "src/MicroBootstrap/MicroBootstrap.WebApi/Requests/IRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151126"
} | starcoder | namespace MicroBootstrap.WebApi.Requests
{
public interface IRequest
{
}
} | 1.385066 | 15370e1a327134044344ba152039e37f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seschwartz8/UniversityRegistrar.Solution",
"max_stars_repo_path": "UniversityRegistrar.Solution/Views/Departments/GetStudents.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151127"
} | starcoder | @{
Layout = "_Layout";
}
@using UniversityRegistrar.Models;
@* @model UniversityRegistrar.Models.Department; *@
@model IEnumerable<UniversityRegistrar.Models.CourseCourseStudent>;
<h1>Students in the department</h1>
<div class='content'>
@if (Model.Any())
{
<h4>Incomplete Coursework Within Department:</h4>
... | 2.523568 | 8177476c34b3fd3b7c4e1cf1d27a3273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831908 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/Compute/Inputs/SecurityScanConfigAuthenticationGetArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151128"
} | starcoder | <filename>sdk/dotnet/Compute/Inputs/SecurityScanConfigAuthenticationGetArgs.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collecti... | 1.593073 | 47d0a2ea271b90a8e559ac3373d463be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yongyan-gh/template-analyzer",
"max_stars_repo_path": "src/Analyzer.JsonRuleEngine.UnitTests/ExpressionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151129"
} | starcoder | <reponame>yongyan-gh/template-analyzer
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using Microsoft.Azure.Templates.Analyzer.RuleEngines.JsonEngine.Expressions;
using Microsoft.Azure.Templates.Analyzer.Types;
using Microsoft.Azure.Templates.Analyzer.Utilities;
using Microso... | 1.83685 | 9e0af01dfc4b897cc388b56e5b7eedf5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831910 | {
"extension": "c-sharp",
"max_stars_count": "972.0",
"max_stars_repo_name": "mr0ng/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/Plugins/bc-csharp/crypto/src/crypto/parameters/ECNamedDomainParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151130"
} | starcoder | <reponame>mr0ng/unity-renderer
using System;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.X9;
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Math.EC;
namespace Org.BouncyCastle.Crypto.Parameters
{
public class ECNamedDomainParameters
: ECDomainParameters
{
private readonly De... | 1.775508 | 3ddb244b6b6c1c6168003c02471a0428 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831911 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NMijat1024/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/StorageSync/Commands.StorageSync/Validations/NamespaceValidations/InvalidFilenameValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151131"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 2.194946 | e5a4005bda8d9df92ce20c26a4302356 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.