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 | 8816318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leecrest/battleio",
"max_stars_repo_path": "Assets/Scripts/Item/HeartItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135538"
} | starcoder | <filename>Assets/Scripts/Item/HeartItem.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HeartItem : ItemBase
{
public override void OnInit()
{
base.OnInit();
transform.localScale = new Vector3(2, 2, 2);
transform.localRotation = Quaternion... | 1.936592 | 3020151fcf2417def38b804bd1e9c955 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816319 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "afonsoft/Portal-Afonsoft",
"max_stars_repo_path": "aspnet-core/src/Afonsoft.Portal.Core/MultiTenancy/Payments/Paypal/PayPalGatewayManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135539"
} | starcoder | using System;
using System.Threading.Tasks;
using Abp.Dependency;
using Abp.UI;
using PayPalCheckoutSdk.Core;
using PayPalCheckoutSdk.Orders;
namespace Afonsoft.Portal.MultiTenancy.Payments.Paypal
{
public class PayPalGatewayManager : PortalServiceBase, ITransientDependency
{
private readonly PayPalHt... | 2.285781 | e57fd338b250fb62562979f9842cabe4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816320 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Proxyer/RenameEverything",
"max_stars_repo_path": "Source/RenameEverything/HarmonyPatches/Patch_InspectPaneUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135540"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
using RimWorld;
using System.Reflection;
using System.Reflection.Emit;
using Harmony;
namespace RenameEverything
{
public static class Patch_InspectPaneUtility
{
[HarmonyPatch(typeof... | 2.328279 | 325bb0f486345f2d4c235f96a330b06f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hansgschossmann/iot-edge-opc-agent",
"max_stars_repo_path": "opcagent/OpcConfigurationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135541"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using Opc.Ua;
using System;
using System.Collections.Generic;
namespace OpcAgent
{
using System.ComponentModel;
/// <summary>
/// Class describing an action on an OPC UA server
/// </summary>
public class ActionModel
{
public ActionModel()
... | 2.445672 | 24eeb7451f8b3581952bf738321af9f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jcbeck37/fi-retorch",
"max_stars_repo_path": "fi.retorch.com/fi.retorch.com/Areas/Dashboard/Views/Transactions/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135542"
} | starcoder | @model fi.retorch.com.Areas.Dashboard.Models.TransactionList
@using PagedList.Mvc;
@{
ViewBag.Title = "Transactions";
string SelectOptionText = "-- {0} --";
}
@section Scripts {
<script src="~/Scripts/fi/fi.transactions.js"></script>
<script type="text/javascript">
$(function () {
fi.transaction... | 2.105965 | 37f946cf1233c2d62fe8382df6cd5922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816323 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/firstpass/YamlDotNet/Serialization/NamingConventions/NullNamingConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135543"
} | starcoder | <reponame>undancer/oni-data<filename>Managed/firstpass/YamlDotNet/Serialization/NamingConventions/NullNamingConvention.cs
namespace YamlDotNet.Serialization.NamingConventions
{
public sealed class NullNamingConvention : INamingConvention
{
public string Apply(string value)
{
return value;
}
}
}
| 2.006312 | 97280190d6b33bd82854ee369dbf5f86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abrusle/minesweeper",
"max_stars_repo_path": "Assets/Minesweeper/Runtime/CursorUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135544"
} | starcoder | using Minesweeper.Runtime.Data;
using UnityEngine;
namespace Minesweeper.Runtime
{
public static class CursorUtility
{
public static void SetCursor(CursorSetup cursorSetup)
{
Cursor.SetCursor(cursorSetup.texture, cursorSetup.hotspot, cursorSetup.cursorMode);
}
}
} | 1.761834 | 51892c54198110335036978007ed87e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NCARB/raas-v2-sdk-dotnet-standard",
"max_stars_repo_path": "Raas.Standard/Models/CurrencyBreakdownModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135545"
} | starcoder | /*
* Raas.Standard
*
* This file was automatically generated for Tango Card, Inc. by APIMATIC v2.0 ( https://apimatic.io ).
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsof... | 2.188702 | 53762c0b7e4d6ffb092a8ff9b3d4a564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816326 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "oskardudycz/GoldenEyeFramework",
"max_stars_repo_path": "src/Core/Core.Tests/Extensions/Functions/Memoize/RecursionWithFunctionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135546"
} | starcoder | <reponame>oskardudycz/GoldenEyeFramework
using System;
using FluentAssertions;
using GoldenEye.Extensions.Functions;
using Xunit;
namespace GoldenEye.Tests.Extensions.Functions.Memoize;
public class RecurrsionWithFunctionTests
{
[Fact]
public void RegularFunction_ShouldBeMemoized()
{
Func<int, int... | 2.584563 | 7a513ad24bf3e58dcfd2098c86348027 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cternes/tdd-advent-of-code-2021",
"max_stars_repo_path": "day1/IncreaseCounterPuzzle1Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135547"
} | starcoder | <reponame>cternes/tdd-advent-of-code-2021
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using FileHandling;
using FluentAssertions;
using Xunit;
namespace day1;
public class IncreaseCounterPuzzle1Test
{
[Fact]
public void ShouldIncrease3TimesWhenValuesOnlyIncreasing... | 2.834523 | d716144921f26fb26791651c355dcf08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "distantcam/JsonBoxNet",
"max_stars_repo_path": "src/JsonBoxNet/IJsonBoxRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135548"
} | starcoder | <gh_stars>0
using System;
namespace JsonBoxNet
{
/// <summary>
/// A wrapper for the record.
/// </summary>
/// <typeparam name="T">The type of the custom data stored in the record.</typeparam>
public interface IJsonBoxRecord<T>
{
/// <summary>
/// The ID of the record.
/// </summary>
string Id { get; }... | 2.401413 | 805ad3e8cee63c005e0a3ab0cf8314d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816329 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "noisecrime/curves",
"max_stars_repo_path": "burningmime.curves.sample/src/util/wpf/IconExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135549"
} | starcoder | <reponame>noisecrime/curves
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System.Windows.Media.Imaging;
namespace burningmime.util.wpf
{
/// <summary>
/// Links to an icon that is a packed resource (ie "Resource" -NOT- "Embedded Resource" in VS) ... | 2.62042 | b804fd1a06b5b30ae6d1402bd77af93b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816330 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "bingwang12/Spider",
"max_stars_repo_path": "Develop/Drivers/Cdy.Spider.CalculateDriver.Develop/CalculateDriverDevelop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135550"
} | starcoder | <reponame>bingwang12/Spider
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cdy.Spider.CalculateDriver.Develop
{
public class CalculateDriverDevelop : DriverDevelop
{
#region ... Variables ...
private CalculateDriv... | 2.008419 | 614d287a134e066334c611220e1ef53a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rolfwessels/SteveTheTradeBot",
"max_stars_repo_path": "src/SteveTheTradeBot.Core/Migrations/20210731072730_AddStrategy.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135551"
} | starcoder | <filename>src/SteveTheTradeBot.Core/Migrations/20210731072730_AddStrategy.Designer.cs
// <auto-generated />
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.Enti... | 1.917592 | e16ecff21915d947eb042fc358af404d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816332 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nerconer/PACMAN3D",
"max_stars_repo_path": "Assets/_Scripts/CameraMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135552"
} | starcoder | using UnityEngine;
using System.Collections;
public class CameraMovement : MonoBehaviour {
public GameObject pacman;
public static Vector3 offset;
// Use this for initialization
void Start () {
offset = transform.position - pacman.transform.position;
}
// Update is called once per frame
void FixedUpdate ... | 1.650937 | b7b4da01a9fc5a7c5489d4f05fe39585 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "debolakoya/letstest",
"max_stars_repo_path": "LetsTest.UnitTests/CourseServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135553"
} | starcoder | using FakeItEasy;
using LetsTest.Data;
using LetsTest.Model;
using LetsTest.Service;
using Xunit;
namespace LetsTest.UnitTests
{
public class CourseServiceTests
{
private IRepository<Course> fakeRepository;
public CourseServiceTests()
{
fakeRepository = A.Fake<IRepository<Course>>();
}
... | 2.321972 | f0854deaf753594e366b73752ab58ecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816334 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "Zechsu/OpenNefia",
"max_stars_repo_path": "OpenNefia.Core/Serialization/Manager/Result/DeserializedHspIds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135554"
} | starcoder | using OpenNefia.Core.Prototypes;
namespace OpenNefia.Core.Serialization.Manager.Result
{
public class DeserializedHspIds<TValue> :
DeserializedDictionary<HspIds<TValue>, string, TValue>
where TValue : struct
{
public DeserializedHspIds(
HspIds<TValue> value,
IRe... | 2.250925 | 164abb278a890fb60a052ecaffa81c19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbx44/RX.Pharmacy.Web",
"max_stars_repo_path": "src/RX.Svng.Web.Data/Repositories/PharmacyRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135555"
} | starcoder | <reponame>rbx44/RX.Pharmacy.Web
using System.Threading.Tasks;
using Dapper;
using Microsoft.Extensions.Logging;
using RX.Svng.Web.Data.Models;
using RX.Svng.Web.Data.Providers;
namespace RX.Svng.Web.Data.Repositories
{
public interface IPharmacyRepository
{
Task<PharmacyDataModel> FindClosestPharmacyA... | 2.462445 | aa602fecd0daa5c8f26e72559bb0bb60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uvivagabond/Match3-game-on-Tilemaps",
"max_stars_repo_path": "Assets/Scripts/Tile/CustomMatch3TileIcon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135556"
} | starcoder | <reponame>uvivagabond/Match3-game-on-Tilemaps
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using UnityEngine.Tilemaps;
#if UNITY_EDITOR
[InitializeOnLoad]
internal class CustomMatch3TileIcon
{
static string match3TileExtensio... | 2.069713 | 3747ee85e8834e0c4b417eab2d44da2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sunandabalu/arcade-services",
"max_stars_repo_path": "src/Shared/Microsoft.DotNet.Kusto/KustoHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135557"
} | starcoder | <filename>src/Shared/Microsoft.DotNet.Kusto/KustoHelpers.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Gen... | 2.367149 | 9e3831f3b29ff052a24fb6f0c1b7c806 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awmcclain/Sextant",
"max_stars_repo_path": "Sextant.Domain/Phrases/CelestialScanPhrases.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135558"
} | starcoder | // Copyright (c) Stickymaddness All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Sextant.Domain.Phrases
{
public class CelestialScanPhrases
{
public string[] ScanComplete { get; set; }
... | 1.856486 | 8e3b686180d5e72d8ecc2624ad3abd95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yndu13/dingtalk-sdk",
"max_stars_repo_path": "dingtalk/csharp/core/todo_1_0/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135559"
} | starcoder | <reponame>yndu13/dingtalk-sdk
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Tea;
using Tea.Utils;
using AlibabaCloud.SDK.Dingtalktodo_1_0.Models;
namespace AlibabaCloud.SDK.Dingtal... | 1.343657 | 4a9999b4c8e9d1d07ac081146724f82e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816340 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NateD-MSFT/codeql",
"max_stars_repo_path": "csharp/extractor/Semmle.Extraction.CIL/Entities/TypeContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135560"
} | starcoder | using System;
using Microsoft.CodeAnalysis;
using System.Collections.Generic;
using System.IO;
namespace Semmle.Extraction.CIL.Entities
{
/// <summary>
/// Base class for all type containers (namespaces, types, methods).
/// </summary>
public abstract class TypeContainer : GenericContext, IExtractedEnt... | 2.447143 | fab48e9f82afd260f7b0146e4b0e6817 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816341 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dmilov/script-runtime-service-for-vsphere",
"max_stars_repo_path": "src/vSphereIntegrationLibraries/VMware.ScriptRuntimeService.WsTrust/SecurityContext/WsSecurityContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135561"
} | starcoder | // **************************************************************************
// Copyright 2020 VMware, Inc.
// SPDX-License-Identifier: Apache-2.0
// **************************************************************************
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using ... | 2.376781 | c7f4cae04c1468ca5bf5af9118907bba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1103003188/Kigg",
"max_stars_repo_path": "Source/Web.Test/Controllers/MembershipControllerFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135562"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using DotNetOpenAuth.OpenId;
//using DotNetOpenAuth.OpenId.Extensions.SimpleRegistration;
using DotNetOpenAuth.OpenId.RelyingParty;
using Kigg.Service;
using Moq;
using Xunit;
namespace Kig... | 1.581944 | 1357e2d2c9b2a3bd5d188e77f51c0e5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "longvutam/vtl-nvp",
"max_stars_repo_path": "Radzen.Blazor/obj/Debug/netstandard2.1/Razor/RadzenHtmlEditorCustomTool.razor.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135563"
} | starcoder | #pragma checksum "D:\c#\blazor\vtl-nvp\Radzen.Blazor\RadzenHtmlEditorCustomTool.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cf87ef20853195dad52bb32fcac711d3178802a5"
// <auto-generated/>
#pragma warning disable 1591
namespace Radzen.Blazor
{
#line hidden
using System;
using System.Collections.Generic;
... | 1.521856 | 33b77273d76b52836269698f7d0c152a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jammo-NET/Jammo.HTTP",
"max_stars_repo_path": "HTTP-Tests/UrlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135564"
} | starcoder | using System;
using System.Net;
using System.Net.Http;
using Jammo.HTTP;
using NUnit.Framework;
namespace HTTP_Tests
{
public class UrlTests
{
private readonly Url testUrl = new Url("https://www.github.com/github");
[Test]
public void TestValidUrl()
{
Assert... | 2.626606 | 9b864d8dc2c1df5097a8d22b4c9f8464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xamarin-automation-service/rockford",
"max_stars_repo_path": "Samples/ProjectTracker/ProjectTracker.Ui.WinForms/ProjectEdit.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135565"
} | starcoder | <gh_stars>1-10
namespace PTWin
{
partial class ProjectEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">tru... | 1.679922 | 906382c557362603bdda59f7d856a4c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hype8912/Oliviann",
"max_stars_repo_path": "source/Oliviann.Common/UriExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135566"
} | starcoder | namespace Oliviann
{
#region Usings
using System;
using System.Collections.Specialized;
using System.IO;
#if NETSTANDARD1_3
using Oliviann.Web;
#else
using System.Web;
#endif
#endregion Usings
/// <summary>
/// Represents a collection of commonly used extension methods for extend... | 2.984639 | 06931398e01847cc4818e1d5fcfe4006 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816347 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "laingsimon/draw-ship",
"max_stars_repo_path": "DrawShip.Preview/PreviewSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135567"
} | starcoder | using System.Configuration;
using System.Drawing.Imaging;
using System.Reflection;
namespace DrawShip.Preview
{
internal class PreviewSettings
{
public int UpScaleForPrint { get; set; }
public ImageFormat RenderingFormat { get; set; }
public PreviewSettings()
{
UpS... | 2.888328 | 0cc1bae01b0c2150f610d540c855e81f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "palladiumkenya/afyamobile",
"max_stars_repo_path": "LiveHTS.Core/Interfaces/Services/IAppDashboardService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135568"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using LiveHTS.Core.Model;
using LiveHTS.Core.Model.Subject;
using LiveHTS.Core.Model.Survey;
namespace LiveHTS.Core.Interfaces.Services
{
public interface IAppDashboardService
{
AppDashboard Load(User user,string serial= "");
}
} | 1.168841 | 05780833eba767c8f4f172073d530bfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816349 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dykarohora/HoloAzureSample",
"max_stars_repo_path": "Assets/HoloAzureSample/Tests/__MVP/Usecase/SpeechToTextUsecaseTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135569"
} | starcoder | using System;
using NUnit.Framework;
using Zenject;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace HoloAzureSample.SpeechToText.MVP.Test
{
/// <summary>
/// Usecaseクラスのテスト。Editorテストでもよい。
/// </summary>
[TestFixture]
public class SpeechToTextUsecaseTest : ZenjectUnitTestFixture
... | 2.811017 | eae7caf43f4a793cbefe92603721f7f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "supermihi/MetaBrainz.MusicBrainz",
"max_stars_repo_path": "MetaBrainz.MusicBrainz/Objects/Entities/Collection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135570"
} | starcoder | <reponame>supermihi/MetaBrainz.MusicBrainz<filename>MetaBrainz.MusicBrainz/Objects/Entities/Collection.cs
using System;
using MetaBrainz.MusicBrainz.Interfaces.Entities;
namespace MetaBrainz.MusicBrainz.Objects.Entities;
internal sealed class Collection : Entity, ICollection {
public Collection(Guid id, EntityTy... | 2.390002 | 1de9044b7baa65dd464e304ba089cf69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816351 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "JTOne123/Michonne",
"max_stars_repo_path": "Solution/Michonne.01/PollingDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135571"
} | starcoder | <reponame>JTOne123/Michonne
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PollingDispatcher.cs" company="No lock... no deadlock" product="Michonne">
// Copyright 2014 <NAME> (@Cyrdup), <NAME> (@tpierrain)
// Licensed... | 2.432204 | 44be48db355aef469b463aa1824d37f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasestevan/SistemaVendasC-",
"max_stars_repo_path": "SistemaVendas/SistemaVendas/Apresentacao/frm_RecebimentoVenda.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135572"
} | starcoder | <reponame>lucasestevan/SistemaVendasC-<gh_stars>0
namespace SistemaVendas.Apresentacao
{
partial class frm_RecebimentoVenda
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/... | 1.783635 | 841a3cfc063f9e0160388c56f353857e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816353 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DomainBus/DomainBus",
"max_stars_repo_path": "src/Tests/Transport/ServerMessagesReceiverTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135573"
} | starcoder | using System;
using System.Threading.Tasks;
using CavemanTools;
using CavemanTools.Logging;
using DomainBus.Dispatcher.Client;
using DomainBus.Transport;
using FluentAssertions;
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using Xunit;
using Xunit.Abstractions;
namespace Tests.Transport
{
public clas... | 2.11237 | 40f27040a3997003ba28eb1cc8b09aee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JackWangCUMT/CppSharp",
"max_stars_repo_path": "src/Generator/Passes/GenerateTemplatesCodePass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135574"
} | starcoder | <reponame>JackWangCUMT/CppSharp
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using CppSharp.AST;
namespace CppSharp.Passes
{
public class GenerateTemplatesCodePass : TranslationUnitPass
{
public override bool VisitASTContext(ASTContext context)
{
... | 2.376897 | dd6b3888ff118bbb8a9108cd0e008ef8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pasvistelik/GrodnoTrolleybusTimetableConverter",
"max_stars_repo_path": "GrodnoTrolleybusTimetableConverter/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135575"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GrodnoTrolleybusTimetableConverter
{
static class Program
{
/// <summary>
... | 2.521604 | b68e8f037940e73afa685adbd69843e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816356 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bitzhuwei/SoftGL",
"max_stars_repo_path": "SoftGL/GLObjects/ShaderProgram/FragmentShader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135576"
} | starcoder | <reponame>bitzhuwei/SoftGL
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
namespace SoftGL
{
class FragmentShader : PipelineShader
{
public override int ... | 1.339864 | afcb435dbb91bd2d177d15a179184021 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evergreencait/MixdTape",
"max_stars_repo_path": "src/MixdTape/Views/Artists/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135577"
} | starcoder | @{
ViewData["Title"] = "Create";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@model MixdTape.Models.Artist
<div class="create">
<h2 id="createpost">Add an artist to your favorites</h2>
<div class="container">
<div class="createpost">
@using (Html.BeginForm())
{
... | 2.398302 | bcb1b2a5cc54c025a552a3f953f5eb16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guozihong/MyET",
"max_stars_repo_path": "Server/Hotfix/Module/DB/DBDeleteBatchRequestHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135578"
} | starcoder | <filename>Server/Hotfix/Module/DB/DBDeleteBatchRequestHandler.cs
using System;
using ETModel;
namespace ETHotfix
{
[MessageHandler(AppType.DB)]
public class DBDeleteBatchRequestHandler : AMRpcHandler<DBDeleteBatchRequest, DBDeleteBatchResponse>
{
protected override void Run(Session session, DBDeleteBatchRequest ... | 2.088908 | c1de697746e3a5841ac9426c1c59c7d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artem-bayandin/euromonitor",
"max_stars_repo_path": "api/src/Application/Queries/Subscriptions/SubscriptionsQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135579"
} | starcoder | <reponame>artem-bayandin/euromonitor
using Application.Models;
using AutoMapper;
using Domain.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Queries.Subscriptions
{
pub... | 2.219766 | c055806c4cba7bbf28fa566821269f80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AsafEtzion/the_scribble",
"max_stars_repo_path": "Assets/STB/ADAOPS/Source/Base/Functions/BasicFunctions [Decals].cs",
"provenance": "train-00027-of-00045.jsonl.gz:135580"
} | starcoder | <reponame>AsafEtzion/the_scribble
using UnityEngine;
using System.Collections.Generic;
namespace STB.ADAOPS
{
///////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary>
/// Class: BasicDecalFunctions
/// # Compilation of some needed fuctions
/// </summar... | 2.372892 | 685c7f722e427de911d9b71a5d06bb4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816361 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moto2002/kaituo_src",
"max_stars_repo_path": "src/Assets.Migration.Scripts.Node.ResourceLoader.Parser/NcrBuffTagGameObjectParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135581"
} | starcoder | using Assets.Migration.Scripts.Node.ResourceLoader.Core;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Assets.Migration.Scripts.Node.ResourceLoader.Parser
{
public class NcrBuffTagGameObjectParser : NcrParser
{
public const string BuffTagGameObjectTag = "Btg_";
... | 2.318513 | 8b3b47c9ad2e01954ceae2edf636f5bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jyu78749/CyberPatriot-Scoring-Report",
"max_stars_repo_path": "Configuration Tool/Configuration/Range.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135582"
} | starcoder | <filename>Configuration Tool/Configuration/Range.cs
namespace Configuration_Tool.Configuration
{
public class Range
{
public int Max { get; set; }
public int Min { get; set; }
public Range(int min, int max)
{
Max = max;
Min = min;
}
pub... | 3.214567 | f863f1d61b69c5c4bd4aac3f0a807455 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "migrap/Tradier",
"max_stars_repo_path": "src/Tradier/Features/WatchlistsFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135583"
} | starcoder | <reponame>migrap/Tradier<filename>src/Tradier/Features/WatchlistsFeature.cs
namespace Tradier.Features {
public class WatchlistsFeature : IWatchlistsFeature {
public WatchlistsFeature(TradierClient client) {
Client = client;
}
public TradierClient Client { get; }
}
} | 1.669877 | 3bfb0f0e9c39af4ecd1275d9ec56d156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816364 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rudimk/dlr-dotnet",
"max_stars_repo_path": "Src/Languages/IronPython/IronPython/Compiler/Ast/DictionaryExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135584"
} | starcoder | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | 2.227505 | 61b314fe8d7ff5586686ea55c2331227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816365 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "luyouli/ZHSan",
"max_stars_repo_path": "WorldOfTheThreeKingdoms/GamePlugins/CreateTroopPlugin/CreateTroop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135585"
} | starcoder | <reponame>luyouli/ZHSan<gh_stars>100-1000
using GameFreeText;
using GameGlobal;
using GameManager;
using GameObjects;
using GameObjects.Influences;
using GameObjects.PersonDetail;
using GameObjects.TroopDetail;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using PluginInterface;
using System;
... | 1.68153 | 2d828d939d37f441f3ce50d37d222b55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816366 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "supertask/Nen2",
"max_stars_repo_path": "Assets/Plugins/LeapMotion/Core/Scripts/LeapImageRetriever.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135586"
} | starcoder | <filename>Assets/Plugins/LeapMotion/Core/Scripts/LeapImageRetriever.cs
/******************************************************************************
* Copyright (C) Leap Motion, Inc. 2011-2018. *
* Leap Motion proprietary and confidential. *
* ... | 1.753712 | baab08e2e9c66304023cdd5136378231 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Svizel/couchbase-net-client",
"max_stars_repo_path": "Src/Couchbase.Tests/Core/Diagnostics/TimerFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135587"
} | starcoder | using System.Threading;
using Couchbase.Logging;
using Couchbase.Core.Diagnostics;
using Couchbase.Core.Transcoders;
using Couchbase.IO.Operations;
using NUnit.Framework;
namespace Couchbase.Tests.Core.Diagnostics
{
[TestFixture]
public class TimerFactoryTests
{
[Test]
public void Test_Get... | 1.712485 | 2e9dbb5cf6ad5bdfa2303c52f95c580e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mikanwolfe/Artillery3",
"max_stars_repo_path": "src/Entities/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135588"
} | starcoder | <reponame>Mikanwolfe/Artillery3<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Artillery
{
public interface IPlayer
{
IInputMethod InputMethod { get; set; }
ICharacter Character { get; set; }
}
pu... | 2.743967 | a058a32f1218e5a18ef0e52c1559cb16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816369 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "matteofabbri/Workday.WebServices",
"max_stars_repo_path": "Workday.RevenueManagement/Get_Deferred_Cost_TransactionsInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135589"
} | starcoder | <filename>Workday.RevenueManagement/Get_Deferred_Cost_TransactionsInput.cs
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.ServiceModel;
namespace Workday.RevenueManagement
{
[GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsa... | 1.53285 | 8172ca21680f73613cdd03e919a83b8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816370 | {
"extension": "c-sharp",
"max_stars_count": "180.0",
"max_stars_repo_name": "NanoFabricFX/iotgateway",
"max_stars_repo_path": "IoTGateway/Areas/BasicData/Controllers/DeviceConfigController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135590"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Mvc;
using WalkingTec.Mvvm.Core.Extensions;
using IoTGateway.ViewModel.BasicData.DeviceConfigVMs;
namespace IoTGateway.Controllers
{
[Area("BasicData")]
[ActionDescription("设备参数配置")... | 1.729214 | 397c29044ca9922ec55820b818a68989 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "domibu/MarketTool",
"max_stars_repo_path": "test/Binance.Tests/Market/SymbolPriceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135591"
} | starcoder | using System;
using Binance.Market;
using Newtonsoft.Json;
using Xunit;
namespace Binance.Tests.Market
{
public class SymbolPriceTest
{
[Fact]
public void Throws()
{
var symbol = Symbol.BTC_USDT;
const decimal value = 1.2345m;
Assert.Throws<Argument... | 2.81966 | 51b69b990bb76d6b9da68aab1fd09e12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816372 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Sage/graphql-dotnet",
"max_stars_repo_path": "src/GraphQL/Types/Relay/DataObjects/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135592"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
namespace GraphQL.Types.Relay.DataObjects
{
public class Connection<T>
{
public int TotalCount { get; set; }
public PageInfo PageInfo { get; set; }
public List<Edge<T>> Edges { get; set; }
public List<T> Ite... | 2.102086 | 734fe111e14ac495a5b74b9bdcb00b59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThabangSirrve/Qaelo",
"max_stars_repo_path": "Qaelo/Qaelo/Web/Users/Company/Post.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135593"
} | starcoder | <reponame>ThabangSirrve/Qaelo
using Qaelo.Data.CompanyData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Qaelo.Web.Users.Company
{
public partial class Post : System.Web.UI.Page
{
protec... | 2.067132 | f530872a588ea3adffe53861ef5c8cb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816374 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JimBobSquarePants/Umbraco.FileSystemAbstractions",
"max_stars_repo_path": "src/Media.Core/MediaFileResolverMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135594"
} | starcoder | // Copyright (c) <NAME>.
// See LICENSE for more details.
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using FileSystem.Abstractions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microso... | 2.197582 | 49941defeee67dc2c38301e2c1914f32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816375 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-jarvis/Jarvis/Transform/V20180206/DescribeCpmcPunishListResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135595"
} | starcoder | <reponame>awei1688/aliyun-openapi-net-sdk
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lic... | 1.122681 | 7962412ec5c6c7c039e21ed672c95239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bwdymods/SDV-PersonalEffects",
"max_stars_repo_path": "Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135596"
} | starcoder | <filename>Properties/AssemblyInfo.cs<gh_stars>0
using System.Reflection;
[assembly: AssemblyTitle("PersonalEffects")]
[assembly: AssemblyDescription("A Stardew Valley mod for certain individuals. <3")]
[assembly: AssemblyCompany("bwdy")]
[assembly: AssemblyProduct("PersonalEffects")]
[assembly: AssemblyFileVersion("1.0... | 2.046707 | 9d94098d4b861404cafcd9ec662c3b0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/VueJSMVCDotNet",
"max_stars_repo_path": "TestApplication/mPerson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135597"
} | starcoder | using System;
using Org.Reddragonit.VueJSMVCDotNet.Interfaces;
using Org.Reddragonit.VueJSMVCDotNet.Attributes;
using System.Collections.Generic;
namespace TestApplication{
[ModelRoute("/models/mPerson")]
[ModelJSFilePath("/resources/scripts/mPerson.js")]
public class mPerson : IModel
{
private... | 2.772792 | 8ebf5e2cc07c2f37c882a8fa5d998edf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816378 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "TheRealCatherine/StageMechanic",
"max_stars_repo_path": "StageMechanic/Assets/Game Elements/Blocks/MoarBlox/Scripts/PushPullGameboardBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135598"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class PushPullGameboardBlock : AbstractPushPullBlock {
public GameObject Variation1;
public GameObject Variation2;
public int CurrentVariation = 0;
public override string TypeName
{
get
{
return "Gameboard";
}
set
{
... | 2.461031 | bc1211de5ec590625c8c744f628b1a5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816379 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v5/bv.winclient/Core/BvForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135599"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using bv.model.Model.Core;
using bv.winclient.BasePanel;
using DevExpress.XtraEditors;
namespace bv.winclient.Core
{
public partial class BvForm : XtraForm, IApplicationForm
{
public Bv... | 1.718836 | 4536c9fe401b075ffddacfd9d805577e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Salary_slip/ERPSalary_slip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135600"
} | starcoder | using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Salary_slip
{
public class ERPSalary_slip : ERPNextObjectBase
{
public ERPSalary_slip() : this(new ERPObject(DocType.Salary_slip)) { ... | 2.293423 | e8a8d791b4663e64965c99b904301ce5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SHAMMY1/Telerik-Academy",
"max_stars_repo_path": "Homeworks/CSharpOOP/05.OOPPrinciplesTwo/OOPPrinciplesTwoHomework/Shapes/ShapesTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135601"
} | starcoder | <reponame>SHAMMY1/Telerik-Academy<gh_stars>0
namespace Shapes
{
using System.Collections.Generic;
using System.Linq;
using Shapes.Models;
public static class ShapesTest
{
public static void Main()
{
var Shapes = new List<Shape>()
{
new Rectangle(4.5, 2.3),
new Triangle(2, 4.5),
new Square(... | 3.236511 | bf8c7463996f0406e7e18571ee094de2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahgardner/Photo-Album-Client",
"max_stars_repo_path": "WeddingUnitTest/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135602"
} | starcoder | <filename>WeddingUnitTest/UnitTest1.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WeddingApp;
namespace WeddingUnitTest
{
[TestClass]
public class UnitTest1
{
/// <summary>
/// Exercise view model so that all server calls are made successfully.
/// </summary>
... | 2.703114 | 4bf8b5b401d5d860740760a5ad484a53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaneTheory/Glimpse",
"max_stars_repo_path": "source/Glimpse.EF/AlternateType/GlimpseDbProviderServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135603"
} | starcoder | using System;
using System.Data.Common;
using System.Reflection;
#if EF43 || EF5
using System.Data.Common.CommandTrees;
using System.Data.Metadata.Edm;
#else
using System.Data.Entity.Core.Common;
using System.Data.Entity.Core.Common.CommandTrees;
using System.Data.Entity.Core.Metadata.Edm;
us... | 2.202128 | 524f37212ad21bd447108ec78fbae7d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jtpete/LemonadeStand",
"max_stars_repo_path": "LemonadeStand/Ice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135604"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LemonadeStand
{
public class Ice : Item
{
public Ice(string name, int shelfLifeDays, double price)
{
this.name = name;
this.shelfLifeDays = shel... | 2.622343 | cab032f909cd45d09b54614fb0ba2985 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugartomato/AllProjects",
"max_stars_repo_path": "[OtherProjects]/ZS.WechatFileBack/ZS.WechatFileBack/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135605"
} | starcoder | namespace ZS.WechatFileBack
{
partial class frmMain
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 tru... | 1.925091 | 013c9c10182f4ef04607795102a09d60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816386 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "NETMF/llilum",
"max_stars_repo_path": "Zelig/Zelig/RunTime/Framework/Windows/Devices/Spi/SpiBusInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135606"
} | starcoder | <gh_stars>100-1000
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
using System.Collections.Generic;
namespace Windows.Devices.Spi
{
public sealed class SpiBusInfo
{
// This needs to be marked as internal so the end user cannot instantiate it
internal SpiBusIn... | 2.211761 | b699c425e87c527e4126d742a9aafa8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aaasoft/Unoffical.System.Speech",
"max_stars_repo_path": "System.Speech/System.Speech.Synthesis/VoiceInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135607"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Speech.AudioFormat;
using System.Speech.Internal;
using System.Speech.Internal.ObjectTokens;
using System.Speech.Internal.Synthesis;
namespace System.S... | 2.317817 | 2d293a4fee2e9f88d41b49379430346d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816388 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aelariane/arglib",
"max_stars_repo_path": "Arglib/OptionIdentifierExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135608"
} | starcoder | namespace Arglib
{
public static class OptionIdentifierExtensions
{
public static bool HasBoth(this in OptionIdentifier identifier)
{
return identifier.HasAlias && identifier.HasName;
}
public static bool OneMatch(this in OptionIdentifier identifier, in OptionIdenti... | 3.077464 | 41c64631a086dc57cd87725405c1fcd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816389 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "AreebaAroosh/Machete",
"max_stars_repo_path": "src/Machete.HL7Schema/Generated/V26/Segments/GOL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135609"
} | starcoder | <filename>src/Machete.HL7Schema/Generated/V26/Segments/GOL.cs<gh_stars>10-100
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26
{
using Sy... | 1.791561 | 3be04d0fe6352a8108c0154773cfde73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816390 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Anoon-Studios/Gauss",
"max_stars_repo_path": "Library/PackageCache/com.unity.2d.spriteshape@3.0.12/Editor/SpriteShapeEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135610"
} | starcoder | using UnityEngine;
using UnityEngine.U2D;
using UnityEditor;
using UnityEditor.AnimatedValues;
using UnityEditorInternal;
using UnityEditor.U2D.Common;
using System.Collections.Generic;
using UnityEditor.U2D.SpriteShape;
namespace UnityEditor.U2D
{
[CustomEditor(typeof(UnityEngine.U2D.SpriteShape)), CanEditMultipl... | 1.424671 | 8d95f4d193eb56b1bfb670250b1cb27c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816391 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "olegtosovic/ewcore",
"max_stars_repo_path": "Orko.EntityWorks.Generator/Provider/Factories/OracleEwgFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135611"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Orko.EntityWorks.Generator
{
/// <summary>
/// Represents Oracle data provider.
/// </summary>
public class OracleEwgFactory : EwgProviderFactory
{
#region Instance
/// <summary>
//... | 2.302558 | 98548b5259e9c0f803668c42caeec119 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smokeballdev/launchdarkly-xamarin-client-sdk",
"max_stars_repo_path": "src/LaunchDarkly.XamarinSdk/ConnectionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135612"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Common.Logging;
using LaunchDarkly.Common;
namespace LaunchDarkly.Xamarin
{
/// <summary>
/// Manages our connection to LaunchDarkly, if any, and encapsulates all of the state that
/// determines whether we should have a connection ... | 2.881809 | b70606e7f79a43ba728d738d39cd8051 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetMarketingBox/MarketingBox.Affiliate.Service",
"max_stars_repo_path": "src/MarketingBox.Affiliate.Service.Client/Interfaces/ICountryClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135613"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using MarketingBox.Affiliate.Service.Domain.Models.Country;
namespace MarketingBox.Affiliate.Service.Client.Interfaces;
public interface ICountryClient
{
Task<IEnumerable<Country>> GetCountries();
} | 1.392119 | dfd4cb916bc6118821e391312de22556 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MEMENIM-Project/MEMENIM-Scripting",
"max_stars_repo_path": "Core/Attributes/RequiredClientVersionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135614"
} | starcoder | using System;
namespace Memenim.Scripting.Core
{
[AttributeUsage(AttributeTargets.Class)]
public class RequiredClientVersionAttribute : Attribute
{
public ClientVersionRange Range { get; }
public RequiredClientVersionAttribute(
string minVersion = null, string maxVersion = nul... | 2.506377 | 460abd4fcb0841e39c15f993cc26b43f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gweone/.Net-Extensions",
"max_stars_repo_path": "Sitecore.Extensions/Sitecore.Extensions.VisualStudio/Sitecore.Extensions.VisualStudio.Wizard/NuGetTemplateWizard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135615"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using EnvDTE;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TemplateWizard;
using NuGet.VisualStudio;
namespace ... | 2.20693 | ec7cf08cf4cf54251d125e01fe43adbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816396 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PenseCre/PacotePenseCre",
"max_stars_repo_path": "Scripts/BuildPipeline/Editor/DebugPlayerSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135616"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace PacotePenseCre.Editor.BuildPipeline
{
public class DebugPlayerSettings : WindowsPlayerSettings
{
public override void ApplySettings(string applicationName, string companyName)
{
SetCommonSettings(applicationName, companyName);... | 1.541475 | 360932661497013a5677e37ef552e7c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "owlvey/owlvey_falcon",
"max_stars_repo_path": "src/Owlvey.Falcon.API/Controllers/FeatureController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135617"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Owlvey.Falcon.Components;
using Owlvey.Falcon.Core.Values;
using Owlvey.Falcon.Models;
namespace Owlvey.Falcon.API.Controllers
{
[Route("f... | 2.349146 | 0f3ac448a3733769f9639b3cf730e3ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkyGrass/hippos_api_vm",
"max_stars_repo_path": "Ams.Utils/Document/Word/DocX/Headers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135618"
} | starcoder | namespace Novacode
{
public class Headers
{
internal Headers()
{
}
public Header odd;
public Header even;
public Header first;
}
}
| 1.697074 | e263c1ff394f556570dfe127ff1e914b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisMcKee/RedisMemoryCacheInvalidationCore",
"max_stars_repo_path": "src/RedisMemoryCacheInvalidation/Redis/StandaloneRedisConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135619"
} | starcoder | <reponame>ChrisMcKee/RedisMemoryCacheInvalidationCore<filename>src/RedisMemoryCacheInvalidation/Redis/StandaloneRedisConnection.cs
using StackExchange.Redis;
using System;
using System.Reflection;
namespace RedisMemoryCacheInvalidation.Redis
{
internal class StandaloneRedisConnection : RedisConnectionBase
{
... | 2.562726 | 4871704b35fc2f1b556998b1a3445ab5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daridakr/ProgGuru",
"max_stars_repo_path": "src/Daridakr.ProgGuru.Application.Contracts/Events/UpdateEventDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135620"
} | starcoder | using Daridakr.ProgGuru.Base;
using System;
namespace Daridakr.ProgGuru.Events
{
public class UpdateEventDto : UpdatePostEntityDto
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public double Cost { get; set; }
}
}
| 1.455963 | 79a1e66ca074a053fba8ba5aa1982061 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816401 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/DeconTools",
"max_stars_repo_path": "DeconTools.Backend/Algorithms/IsotopicProfileMultiChromatogramExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135621"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using DeconTools.Backend.Core;
using DeconTools.Backend.DTO;
using DeconTools.Backend.ProcessingTasks.Smoothers;
namespace DeconTools.Backend.Algorithms
{
public class IsotopicProfileMultiChromatogramExtractor
{
readonly int m_numPeaks;
... | 2.747512 | 0372ef1bcfe6da4876d3ad06ca4cacd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816402 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "vgromfeld/ReswPlus",
"max_stars_repo_path": "src/Sample/Pages/BasicPluralizationSamplePage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135622"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License.
// Source: https://github.com/DotNetPlus/ReswPlus
using Windows.UI.Xaml.Controls;
namespace ReswPlusSample.Pages
{
public sealed partial class BasicPluralizationSamplePage : Page
{
public BasicPluralizationSamplePage()
... | 1.579856 | 0f4578226c4a878ffc3531eee8b64c3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816403 | {
"extension": "c-sharp",
"max_stars_count": "353.0",
"max_stars_repo_name": "MiheevN/USharp",
"max_stars_repo_path": "Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Internal/CodeGenerator/CSharpTextBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135623"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UnrealEngine.Runtime
{
public class CSharpTextBuilder
{
private StringBuilder text = new StringBuilder();
private int numPrevEmptyLines;// Number of lines just written which were empty
priva... | 3.049229 | 1875ffecc20bd2fe5fa235b509816da5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milou-se/milou.deployer",
"max_stars_repo_path": "src/Milou.Deployer.Web.Core/Logging/ChangeLogLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135624"
} | starcoder | namespace Milou.Deployer.Web.Core.Logging
{
public class ChangeLogLevel
{
public ChangeLogLevel(string newLevel)
{
NewLevel = newLevel;
}
public string NewLevel { get; }
}
}
| 1.832053 | 86ebc27d6ea00d12caec60a09d657016 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816405 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "swax/DeOps",
"max_stars_repo_path": "UI/Interface/Settings/Connection.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135625"
} | starcoder | namespace DeOps.Interface.Settings
{
partial class Connection
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.915342 | 64d0b8531247de5dc9f751a432d149df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816406 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/EditorFeatures/TestUtilities/Extensions/XElementExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135626"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Xml.Linq;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Editor.UnitTests.Extensions
{
public static ... | 1.844149 | f61171d6eee1405fc7c47bc7015be71c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timoCasti/virtual-exhibition-presenter",
"max_stars_repo_path": "Assets/Scripts/Unibas/DBIS/VREP/Core/ExhibitionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135627"
} | starcoder | using System;
using System.Collections.Generic;
using DefaultNamespace;
using DefaultNamespace.VREM.Model;
using Unibas.DBIS.VREP.World;
using UnityEngine;
using World;
namespace Unibas.DBIS.VREP.Core
{
public class ExhibitionManager
{
private Exhibition _exhibition;
public Exhib... | 2.330061 | bca2764628804e858155ab18c7f552d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816408 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "valoni/MBN-TinyCLR",
"max_stars_repo_path": "Examples/TempHum2Click/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135628"
} | starcoder | <reponame>valoni/MBN-TinyCLR
using MBN;
using MBN.Modules;
using System;
using System.Diagnostics;
using System.Threading;
namespace Examples
{
internal class Program
{
private static TempHum2Click _sensor;
private static Single _temperature;
private static Single _humidi... | 2.540471 | 96885c440f12ff62e5a75e66aa441429 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816409 | {
"extension": "c-sharp",
"max_stars_count": "577.0",
"max_stars_repo_name": "mateusz-pietrzak/protobuf-net.Grpc",
"max_stars_repo_path": "examples/pb-net-grpc/Server_CS/MyCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135629"
} | starcoder | using Microsoft.Extensions.Logging;
using Shared_CS;
using System.Threading.Tasks;
namespace Server_CS
{
public class MyCalculator : ICalculator
{
ValueTask<MultiplyResult> ICalculator.MultiplyAsync(MultiplyRequest request)
{
var result = new MultiplyResult { Result = request.X * r... | 2.469991 | a70c5601747ea5dc3584997ed3f7fecd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chris-Mingay/svelte-christmas",
"max_stars_repo_path": "src/Common/CleanArchitecture.Application/Leagues/Commands/CreateLeague/CreateLeagueCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135630"
} | starcoder | using CleanArchitecture.Application.Common.Interfaces;
using FluentValidation;
namespace CleanArchitecture.Application.Leagues.Commands.CreateLeague;
public class CreateLeagueCommandValidator : AbstractValidator<CreateLeagueCommand>
{
public CreateLeagueCommandValidator(IApplicationDbContext _context)
{
... | 2.311339 | 0d8ba60625d7f50cae7377d41bf87ed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thedonmon/telnyx-dotnet",
"max_stars_repo_path": "src/Telnyx.net/Infrastructure/EpochTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135631"
} | starcoder | <reponame>thedonmon/telnyx-dotnet<gh_stars>0
// <copyright file="EpochTime.cs" company="Telnyx">
// Copyright (c) Telnyx. All rights reserved.
// </copyright>
namespace Telnyx.Infrastructure
{
using System;
/// <summary>
/// EpochTime
/// </summary>
internal static class EpochTime
{
pr... | 2.731696 | 4f0e5bc0591c86fc4d720c8284693b9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816412 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jacksonal/adventofcode2017",
"max_stars_repo_path": "AdventOfCode.Tests/Day16/SpinMoveTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135632"
} | starcoder | using System.Collections.Generic;
using AdventOfCode.Day16;
using NUnit.Framework;
namespace AdventOfCode.Tests.Day16
{
public class SpinMoveTests
{
[Test]
public void Create_ParsesCorrectSpinCount()
{
var move = DanceMove.GetInstance("s1") as SpinMove;
Assert.A... | 3.001264 | 9d91dc59eec66efcaa89c18de9b48699 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jgiannuzzi/ILGPU.Algorithms",
"max_stars_repo_path": "Src/ILGPU.Algorithms/IL/ILContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135633"
} | starcoder | <reponame>jgiannuzzi/ILGPU.Algorithms
// -----------------------------------------------------------------------------
// ILGPU.Algorithms
// Copyright (c) 2019 ILGPU Algorithms Project
// www.ilgpu.net
//
// File: ILContext.cs
//
// This file... | 1.98743 | 64bea0159989dc2ec407643d56d6fff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816414 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "k-t/haven-dotnet",
"max_stars_repo_path": "Source/Haven.Resources/Layers/CodeEntryLayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135634"
} | starcoder | <reponame>k-t/haven-dotnet
namespace Haven.Resources
{
public class CodeEntryLayer
{
public CodeEntry[] Entries { get; set; }
public ResourceRef[] Classpath { get; set; }
}
public struct CodeEntry
{
public CodeEntry(string name, string className) : this()
{
Name = name;
ClassName = className;
}
... | 1.847262 | be71630c3dd099f0a015d489bda65406 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816415 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zhyy2008z/ZDevTools",
"max_stars_repo_path": "ZDevTools.ServiceConsole/ServiceHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135635"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace ZDevTools.ServiceConsole
{
public static class ServiceHelper
{
#r... | 2.162199 | 7cdd044964b6a856ce5f7bb7f5ab29cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816416 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "twop/UniFlow",
"max_stars_repo_path": "Tests/Flow.CSharp.Core.Tests/NodeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135636"
} | starcoder | <filename>Tests/Flow.CSharp.Core.Tests/NodeTests.cs
using NUnit.Framework;
namespace Flow.CSharp.Core.Tests
{
[TestFixture]
public class NodeTests
{
//NOTE: Moq framework doesn't allow to call protected methods directly
//otherwise I would use it instead
private class PublicNode:Node
{
pub... | 2.845824 | 1bd8d6a84d82f259762a6bab1f192e6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wrhyme29/ChasejydMods",
"max_stars_repo_path": "Testing/TeamVillains/DeeprootTeamTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135637"
} | starcoder | using Handelabra;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using Handelabra.Sentinels.UnitTest;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using Chasejyd.DeeprootTeam;
namespace ChasejydTests
{
[TestFixture()]
public ... | 2.172527 | c38d7b3ca2b2d1cea77daac7176f61a3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.