added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74033 | {
"extension": "c-sharp",
"max_stars_count": "477.0",
"max_stars_repo_name": "weinre/Relinq",
"max_stars_repo_path": "Core/Parsing/Structure/IntermediateModel/JoinExpressionNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74034"
} | starcoder | // Copyright (c) rubicon IT GmbH, www.rubicon.eu
//
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. rubicon licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with the Lic... | 1.726205 | 8789da5eb98471f52a80445dbc830b14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OsaMichael/CyberKitchen_updated",
"max_stars_repo_path": "Cyber_Kitchen/Views/Score/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74035"
} | starcoder | @model Cyber_Kitchen.Models.ScoreModel
@{
ViewBag.Title = "Details";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Details</h2>
<div>
<h4>ScoreModel</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.ScoreId)
</dt>
<dd>
... | 2.317757 | 0e8c83bf6b9f2397a6451f2c92d4c4f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "detanaputra/sharpgodotfirebase",
"max_stars_repo_path": "SharpGodotFirebase/Utilities/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74036"
} | starcoder | using Godot;
namespace SharpGodotFirebase.Utilities
{
internal static class Logger
{
internal static void Log(params object[] msg)
{
Convert(msg, out object[] newMsg);
GD.Print(newMsg);
}
internal static void LogErr(params object[] msg)
{
... | 2.517633 | a67956a4dc9682e9225e20fc18499f31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hmmrpss/Programming-Basics-2016-Course-Homeworks",
"max_stars_repo_path": "03.Simple_Conditions/Task_9/09.Guess_the_password.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74037"
} | starcoder | /* Task #9: <NAME>
Да се напише програма, която въвежда парола (един ред с произволен текст) и проверява дали въведеното съвпада с фразата “s3cr3t!P@ssw0rd”. При съвпадение да се изведе “Welcome”. При несъвпадение да се изведе “Wrong password!”.
*/
using System;
using System.Collections.Generic;
using System.Linq;
u... | 3.195541 | 6ee33415dfcfc49fb9ec255cfff10b06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74037 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "f14shm4n/f14.AspNetCore.FileManager",
"max_stars_repo_path": "src/f14.AspNetCore.FileManager/Commands/Validators/MoveCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74038"
} | starcoder | using f14.AspNetCore.FileManager.Abstractions;
using FluentValidation;
namespace f14.AspNetCore.FileManager.Commands
{
/// <summary>
/// Provides a validator for <see cref="MoveCommand"/>.
/// </summary>
public sealed class MoveCommandValidator : FileManagerRequestValidator<MoveCommand>
{
... | 2.109532 | 5665145027582812cca1ba984132d647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "weloveloli/NCloud",
"max_stars_repo_path": "src/NCloud.FileProviders.AliyunDrive/AliyunDriveAPI/Models/Response/DownloadUrlResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74039"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="DownloadUrlResponse.cs" company="Weloveloli">
// Copyright (c) 2021 weloveloli. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace NCloud.FileProvide... | 1.846548 | 85aac5a80a0023ab0c820ebb3aa64e7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "G0hub1/xamarin-macios",
"max_stars_repo_path": "tests/common/Assert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74040"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Resources;
using System.Runtime.InteropServices;
using System.Diagnostics;
#if XAMCORE_2_0
using Foundation;
using ObjCRuntime;
#else
using MonoTouch.Foundation;
using MonoTouch.ObjCRuntime;
#endif
using NUnit.Framework;
using NU... | 2.086151 | 98fad8863981171ef98189357cb8acc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74040 | {
"extension": "c-sharp",
"max_stars_count": "362.0",
"max_stars_repo_name": "dakinshin/OsEngine",
"max_stars_repo_path": "project/OsEngine/bin/Debug/Custom/Indicators/Plugs/Entity/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74041"
} | starcoder | <filename>project/OsEngine/bin/Debug/Custom/Indicators/Plugs/Entity/Extensions.cs
using System;
using System.Globalization;
namespace OsEngine.Entity
{
public static class Extensions
{
public static decimal ToDecimal(this string value)
{
if (value.Contains("E"))
{
... | 3.07042 | e8e8014568ec98ae3f62074ecf21c588 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74041 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "justdmitry/NanoRpcSharp",
"max_stars_repo_path": "NanoRpcSharp/Messages/RaiFromRawRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74042"
} | starcoder | <gh_stars>1-10
namespace NanoRpcSharp.Messages
{
using System.Numerics;
/// <summary>
/// Divide a raw amount down by the rai ratio.
/// </summary>
public class RaiFromRawRequest : RequestBase<BigIntegerAmount>
{
public RaiFromRawRequest(BigInteger amount)
: base("rai_from_... | 2.193507 | 609fff4e8c32fcd8044ef4eeff8a6003 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74042 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ManlyMarco/KK_MainGameVR",
"max_stars_repo_path": "CharaStudioVR/Controls/VRCameraMoveHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74043"
} | starcoder | using System;
using Studio;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using VRGIN.Core;
namespace KKS_VR.Controls
{
public class VRCameraMoveHelper : MonoBehaviour
{
public bool showGUI = true;
public RectTransform menuRect;
private static VRCameraMov... | 1.869935 | 54a0b25d4f89cf307cb5d829410cf5d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cpt-Jack04/ACTools_Saving",
"max_stars_repo_path": "Runtime/Serialization Surrogates/Vector2SerializationSurrogate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74044"
} | starcoder | using System.Runtime.Serialization;
using UnityEngine;
namespace ACTools.Saving
{
internal class Vector2SerializationSurrogate : ISerializationSurrogate
{
public void GetObjectData(object obj, SerializationInfo info, StreamingContext context)
{
Vector2 vector2 = (Vector2)obj;
... | 2.450495 | c5ac5980be2310c10b76e240a8936cf5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74044 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gamenet2/GameNetCore",
"max_stars_repo_path": "src/Middleware/MiddlewareAnalysis/test/TestDiagnosticListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74045"
} | starcoder | <reponame>gamenet2/GameNetCore<filename>src/Middleware/MiddlewareAnalysis/test/TestDiagnosticListener.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Gene... | 1.644716 | b81532d5ba4c5f0795e117ba0813d220 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74045 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "Lakhvich/TRUDUtilsD365",
"max_stars_repo_path": "TRUDUtilsD365/KernelSettings/KernelSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74046"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TRUDUtilsD365.KernelSettings
{
public partial class KernelSettin... | 2.396221 | 2f5f0092bb3ec41c669bb8024f70ac13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edwin-channel/JCSUnity",
"max_stars_repo_path": "Assets/JCSUnity/Scripts/GUI/JCS_GUIObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74047"
} | starcoder | /**
* $File: JCS_GUIObject.cs $
* $Date: 2018-08-25 22:33:57 $
* $Revision: $
* $Creator: <NAME> $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright © 2018 by <NAME> $
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unit... | 2.338181 | 484cb711cb69f9b3e1a029df1d068fa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fearthecowboy/coapp",
"max_stars_repo_path": "Packaging/Service/dtf/WindowsInstaller/CustomActionAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74048"
} | starcoder | <reponame>fearthecowboy/coapp<filename>Packaging/Service/dtf/WindowsInstaller/CustomActionAttribute.cs
//---------------------------------------------------------------------
// <copyright file="CustomActionAttribute.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ... | 2.34298 | 92bf3f9128237e5788d15dd3324826d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drunkwater/leetcode",
"max_stars_repo_path": "medium/csharp/c0359_787_cheapest-flights-within-k-stops/00_leetcode_0359.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74049"
} | starcoder | // DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//787. Cheapest Flights Within K Stops
//There are n cities connected by m flights. Each fight starts from city u and arrives at v with a price w.
//No... | 3.344884 | d081588ccc0deb48410c7c7d2a6caa04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74049 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JanJorgensen/StepBro",
"max_stars_repo_path": "source/StepBro.Core/Data/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74050"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StepBro.Core.Data
{
public static class StringExtensions
{
public static bool TryParse(this string s, ref DateTime time)
{
return false; // TODO
}... | 2.56132 | f7da5080b337a9c6df1cafe225309873 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhangHanming/PixelExplosion",
"max_stars_repo_path": "Assets/Script/PauseButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74051"
} | starcoder | <filename>Assets/Script/PauseButton.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;
public class PauseButton : MonoBehaviour {
#if UNITY_IOS
private string gameId = "1587978";
#elif UNITY_ANDROID
private string gameId = "1587977";
#endif
... | 2.251185 | 1795b53452e17f4909b7e6013bc2b378 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74051 | {
"extension": "c-sharp",
"max_stars_count": "160.0",
"max_stars_repo_name": "oussamabonnor1/oussama",
"max_stars_repo_path": "Assets/GooglePlayGames/BasicApi/Video/iVideoClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74052"
} | starcoder | <reponame>oussamabonnor1/oussama
// <copyright file="IVideoClient.cs" company="Google Inc.">
// Copyright (C) 2016 Google Inc.
//
// 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
//
// h... | 2.353063 | 26ea53ec4a50c9a8d1dc97907af247b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidsvcl/2ndviewer",
"max_stars_repo_path": "2ndviewer/OptionForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74053"
} | starcoder | <reponame>davidsvcl/2ndviewer
namespace _2ndviewer
{
partial class OptionForm
{
/// <summary>
/// 必要なデザイナ変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
... | 1.973136 | e9cd5a684063c0f18fbd0b59ea3557c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BinaryCodeLA/APIAnalitycs",
"max_stars_repo_path": "obj/Release/Package/PackageTmp/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74054"
} | starcoder | <div class="jumbotron">
<h1>API REST ASP.NET</h1>
<p class="lead">Revise la definición de los Endpoints en el link API</p>
@*<p><a href="https://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>*@
</div>
<div class="row">
<div class="col-md-4">
<h2>Protocolo de comunicación</h2... | 2.687406 | 45ed6a06773d85d2bf741fe872d9b98d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74054 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "staman1702/mono1app",
"max_stars_repo_path": "Project.Mvc/Mapping/ModelToResourceProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74055"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Project.Service.Domain.Models;
using Project.Mvc.Resources;
namespace Project.Mvc.Mapping
{
public class ModelToResourceProfile : Profile
{
public ModelToResourceProfile()
... | 1.719257 | 97ef15131a2b110b6a995fe87c626a70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74055 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "avmakesthings/vr-os",
"max_stars_repo_path": "VR_OS/Assets/FogVolume/Scripts/Other/TAA/Scripts/VelocityBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74056"
} | starcoder | // Copyright (c) <2015> <Playdead>
// This file is subject to the MIT License as seen in the root of this folder structure (LICENSE.TXT)
// AUTHOR: <NAME> <<EMAIL>>
#if UNITY_5_5_OR_NEWER
#define SUPPORT_STEREO
#endif
using UnityEngine;
namespace FogVolumePlaydeadTAA
{
public class VelocityBuffer : EffectBase
... | 1.870181 | 48dd1e0bc9c632f375dac38ec40b9635 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MeapVR/WebSocketCore",
"max_stars_repo_path": "Server/Main/Server.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74057"
} | starcoder | using System;
using System.Threading;
using WebSocketSharp;
using WebSocketSharp.Server;
namespace Server.Main
{
internal class Server : WebSocketBehavior
{
// Little handler framework to keep things clean.
protected override void OnOpen() => Handlers.OnConnect.Handle(Context);
protec... | 2.651063 | 4f85f66978d7e5bf0775601c07a496ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kentico/xperience-module-intercom",
"max_stars_repo_path": "src/Kentico.Xperience.Intercom.AspNetCore/Extensions/HtmlHelperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74058"
} | starcoder | <filename>src/Kentico.Xperience.Intercom.AspNetCore/Extensions/HtmlHelperExtensions.cs
using System;
using System.Security.Cryptography;
using System.Web;
using CMS.ContactManagement;
using CMS.Core;
using CMS.DataEngine;
using CMS.DataProtection;
using CMS.SiteProvider;
using Microsoft.AspNetCore.Html;
u... | 2.172953 | c63314d748fa5f2f874d644e29efb9b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spikar1/Gravity",
"max_stars_repo_path": "Assets/Scripts/EditTilemapTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74059"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using MoreMountains.Feedbacks;
public class EditTilemapTest : MonoBehaviour
{
[SerializeField]
Tilemap tilemap;
public Vector3Int startTile;
int[] x = { -1, 0, 1, 0 };
int[] y = { 0, 1, 0, -1... | 2.139792 | 1324db3791525f4869d377af0cbb85d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74059 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "JTOne123/SAHB.GraphQLClient",
"max_stars_repo_path": "tests/SAHB.GraphQLClient.Tests/FieldBuilder/Inheritance/InheritanceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74060"
} | starcoder | <filename>tests/SAHB.GraphQLClient.Tests/FieldBuilder/Inheritance/InheritanceTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SAHB.GraphQLClient.FieldBuilder;
using Xunit;
namespace SAHB.GraphQLClient.Tests.FieldBuilder.Inheritance
{
public class InheritanceTest
... | 2.682668 | 8ea221379f2256710d097f456a720221 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74060 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ciliakas/ePiggyWeb",
"max_stars_repo_path": "src/Pages/MonthlyReport.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74061"
} | starcoder | using System;
using System.Security.Claims;
using System.Threading.Tasks;
using ePiggyWeb.CurrencyAPI;
using ePiggyWeb.DataManagement.MonthlyReport;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace ePiggyW... | 2.165436 | 99f3df41a394ed4d775f1ae596fbc2b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74061 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "calebjenkins/Talks.CodeToDiFor",
"max_stars_repo_path": "src/Talks.C2DF.BetterApp/SuperSendingMicroApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74062"
} | starcoder | <filename>src/Talks.C2DF.BetterApp/SuperSendingMicroApp.cs
using System;
using Talks.C2DF.BetterAppLib.Logging;
using Talks.C2DF.Interfaces;
using Talks.C2DF.Models;
namespace Talks.C2DF.BetterApp
{
public class SuperSendingMicroApp : IMessageSendingMicroApp
{
readonly ICostCalculator _cost;
readonly ... | 2.794333 | f09b3ab8f9997aa3ed37db047291744d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "felipesflisboa/GMTK",
"max_stars_repo_path": "Assets/Scripts/Editor/OrbEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74063"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(Orb))]
public class OrbEditor : Editor {
public override void OnInspectorGUI() {
DrawDefaultInspector();
GUILayout.Label(AI.GetDebugString());
}
}
| 1.481187 | 346eeac866304ddb3ee922c927ec831c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shliao/SurveySystem",
"max_stars_repo_path": "SurveySystem/SurveySystem.ORM/DBModels/QuestionnaireDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74064"
} | starcoder | <reponame>shliao/SurveySystem
namespace SurveySystem.ORM.DBModels
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class QuestionnaireDetails
{
... | 2.139993 | 9b1765d084fabed5e872c0a0ce95ae54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "protechdm/CompareCloudware",
"max_stars_repo_path": "CompareCloudware.POCOQueryRepository/DataPump/ApplicationProductionData/CRMProductionData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74065"
} | starcoder | <filename>CompareCloudware.POCOQueryRepository/DataPump/ApplicationProductionData/CRMProductionData.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CompareCloudware.Domain.Models;
using System.IO;
using GhostscriptSharp;
namespace CompareCloudware.POCOQueryRepository.Dat... | 2.160256 | f0999b4cb662f3a3883d7a11366cc660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74065 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "VAllens/Mages",
"max_stars_repo_path": "src/Mages.Core/Runtime/Functions/Curry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74066"
} | starcoder | <filename>src/Mages.Core/Runtime/Functions/Curry.cs
namespace Mages.Core.Runtime.Functions
{
using System;
/// <summary>
/// Provide helpers to enable currying.
/// </summary>
public static class Curry
{
/// <summary>
/// Checks if the provided args deliver at least one argumen... | 3.084505 | b84fb7f50ed5aac8119a6a36b386b474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "P7CoreOrg/GraphQL.Play.2.2",
"max_stars_repo_path": "src/AppIdentity.Models/Extensions/AspNetCoreServiceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74067"
} | starcoder | using AppIdentity.Contracts;
using AppIdentity.Models;
using AppIdentity.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace AppIdentity.Extensions
{
public static class AspNetCoreServiceExtensions
{
public static void AddInMe... | 1.882752 | c250dde514927c41dcc5b7cbc7b02fcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KinocoLLC/MySQLToCsharp",
"max_stars_repo_path": "src/MySQLToCsharp.Tests/CreateTableParseTableUnitTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74068"
} | starcoder | using FluentAssertions;
using MySQLToCsharp.Listeners;
using MySQLToCsharp.Parsers;
using System.Collections.Generic;
using Xunit;
namespace MySQLToCsharp.Tests
{
public class CreateTableParseTableUnitTest
{
[Theory]
[MemberData(nameof(GenerateParseTestData))]
public void ParsableTest(... | 2.456785 | c6251f80af2aab1a04fb06ce3cff0b7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovichikhinAlexey/Lykke.Service.PayInternal",
"max_stars_repo_path": "src/Lykke.Service.PayInternal.Core/Exceptions/InvalidRowKeyValueException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74069"
} | starcoder | <reponame>NovichikhinAlexey/Lykke.Service.PayInternal
using System;
using System.Runtime.Serialization;
namespace Lykke.Service.PayInternal.Core.Exceptions
{
public class InvalidRowKeyValueException : Exception
{
public InvalidRowKeyValueException()
{
}
public InvalidRowKeyVal... | 2.025711 | 3a7bb3180d03737fcce8129190f463c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teachmeskills-dotnet/TMS-DotNet02-Straltsou",
"max_stars_repo_path": "src/LearnApp.DAL/Models/Card.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74070"
} | starcoder | namespace LearnApp.DAL.Models
{
/// <summary>
/// Card model for saving the information from client.
/// </summary>
public class Card
{
/// <summary>
/// Primary key.
/// </summary>
public int Id { get; set; }
/// <summary>
/// Remembered word.
... | 2.493897 | 8f6b873fe8d751e3292666e0a99d5526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonaMazu/KoboldKare",
"max_stars_repo_path": "Assets/KoboldKare/Scripts/AimAtJoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74071"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AimAtJoint : MonoBehaviour {
public Rigidbody body;
public Transform connectedBody;
public Vector3 localAnchor;
public Vector3 localConnectedAnchor;
public Vector3 localConnectedAimVector;
pub... | 1.869583 | c48c19cb94fe1477a9502040b40167a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74071 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "easonjim/MaticsoftCodeGenerator",
"max_stars_repo_path": "BuilderVS2010/Updater/CreateXmlTools/FormMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74072"
} | starcoder | <reponame>easonjim/MaticsoftCodeGenerator
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.IO;
using System.Diagnostics;
using AutoUpdaterCreateXmlTools.... | 2.237285 | d81faef505beceb43eb1f461a51be3ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahmetcanaydemir/Herbarium",
"max_stars_repo_path": "View/UserControls/ManageableForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74073"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Herbarium.UserControls
{
public partial class ManageableForm : Form
{... | 2.564521 | 41bfb2d74ab9ebe77225bbbbdc8b556a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74073 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MarinMarinov/ASP.NET-MVC-Graduation-Project",
"max_stars_repo_path": "Auction/Data/Auction.Models/ItemType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74074"
} | starcoder | namespace Auction.Models
{
public enum ItemType
{
Picture,
Statue,
Vase,
Coin,
PostageStamp,
Car,
Other
}
} | 1.581364 | d68c978794734cac0fc8767a94692e42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CanftIn/Games",
"max_stars_repo_path": "Mine/Mine/FrmMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74075"
} | starcoder | <filename>Mine/Mine/FrmMain.cs
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Mine
{
public partial class FrmMain : Form
{
//游戏等级
private GameLevel _gameLevel = GameLevel.Beginner;
//游戏实例
private Game _game;
//绘图图面
private Graphics _gr... | 2.714678 | 90b65269de8febf86fed66cf67488d4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74075 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sanzmauro/.net-core-client",
"max_stars_repo_path": "src/Splitio-net-core/Domain/Key.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74076"
} | starcoder |
namespace Splitio.Domain
{
public class Key
{
public string matchingKey { get; private set; }
public string bucketingKey { get; private set; }
public bool bucketingKeyHadValue { get; private set; }
public Key(string matchingKey, string bucketingKey)
{
this.... | 2.331907 | 6d8d6110983b2d39c450675a1e760776 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Woxsart/OpenXMLSDK.Engine",
"max_stars_repo_path": "OpenXMLSDK.Engine/Word/ReportEngine/Renders/BarChartExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74077"
} | starcoder | <filename>OpenXMLSDK.Engine/Word/ReportEngine/Renders/BarChartExtensions.cs
using System;
using System.Linq;
using System.Text.RegularExpressions;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using OpenXMLSDK.Engine.ReportEngine.DataContext;
using O... | 2.434904 | 0cce8dca6baf406d62d1b1c5a41e1fce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kovachevmartin/SoftUni",
"max_stars_repo_path": "CSharp-Advanced/03-SETS_Exercise/P04.Even_Times/EvenTimes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74078"
} | starcoder | using System;
using System.Collections.Generic;
namespace P04.Even_Times
{
class EvenTimes
{
static void Main(string[] args)
{
int lines = int.Parse(Console.ReadLine());
Dictionary<int, int> numbers = new Dictionary<int, int>();
for (int i = 0; i < lines; ... | 3.649191 | 470373d39345f52b0df1608b5d79c7dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NisalUdara/encode-grocerly-api",
"max_stars_repo_path": "Src/Ncode.Grocerly.Application/WishList/Commands/AddWishListItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74079"
} | starcoder | using MediatR;
using Ncode.Grocerly.Application.Common;
using Ncode.Grocerly.Application.Exceptions;
using Ncode.Grocerly.Domain.Common;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Ncode.Grocerly.Application.Commands
{
public class AddWishListItem : IRequestHandler<AddWishLi... | 2.605812 | 43876ce4f6f3edb91feed4896e534f17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74079 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevewgh/NServiceBus.Transport.InMemory",
"max_stars_repo_path": "src/NServiceBus.Transport.InMemory.Tests/Orders/OrdersEndpoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74080"
} | starcoder | namespace NServiceBus.Transport.InMemory.Tests.Orders
{
using System;
using AcceptanceTesting;
using IntegrationTesting;
public class OrdersEndpoint : EndpointConfigurationBuilder
{
public OrdersEndpoint()
{
EndpointSetup<EndpointTemplate<OrdersEndpointConfiguration>>()... | 1.775222 | 2167dc0370a2dc80c950f6c3b2c94efe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74080 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marlandolaud/presentations",
"max_stars_repo_path": "WPF/MVVM/View/ProductService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74081"
} | starcoder | #region Copyright Info
// Copyright Information
// ==============================
// MVVM - WPF - ProductService.cs
// All samples copyright <NAME>
// http://www.skimedic.com 2014/05/13
// See License.txt for more information
// ==============================
#endregion
#region Copyright
#endregion
using System.Col... | 2.371258 | 9d76d14a221545910f813945fe57b6b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neopi21/VeraNet",
"max_stars_repo_path": "VeraNet/Objects/VeraState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74082"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="VeraState.cs" company="Seb<EMAIL>">
// Copyright 2012 - Sebastien.warin.fr
// </copyright>
// <author><NAME></author>
// -----------------------------------------------------------------------
namespace VeraNet.Objects
{
... | 2.52329 | 5833cd4c59edb87c515755ee21261387 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kiradien/EpubGenerate",
"max_stars_repo_path": "Folder2Epub/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74083"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace Folder2Epub
{
public class Settings
{
public string Author { get; set; }
public string Title { get; set; }
public string C... | 2.764524 | 89f862b711dfc7ed49ef9dcb7b9b9bde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KatsumiTakei/TohoJam4",
"max_stars_repo_path": "Assets/#Game/Scripts/DebugGui.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74084"
} | starcoder | <reponame>KatsumiTakei/TohoJam4
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
public class DebugGui : MonoBehaviour
{
public FpsCounter fpsCounter;
public LogStorage logStorage;
public DebugGuiStyle style;
private GUIStyle textStyle;
void ... | 2.380618 | 8059a5be8df01c62ef93f86ffde38f90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OskarKlintrot/ef2.0-inmemory-breaking-changes",
"max_stars_repo_path": "BROKEN/Issue.Web/Controllers/NewsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74085"
} | starcoder | <filename>BROKEN/Issue.Web/Controllers/NewsController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Intranet.Web.Domain.Data;
using Intran... | 2.279539 | 76f8db11d5f848c60710ad2cd9e33225 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74085 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Wu3r5l1n/NvEncSharp",
"max_stars_repo_path": "src/NvEncSharp/LibCuda.Device.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74086"
} | starcoder | using System;
using System.Runtime.InteropServices;
// ReSharper disable UnusedMember.Global
namespace Lennox.NvEncSharp
{
public static unsafe partial class LibCuda
{
/// <summary>CUresult cuDeviceGet ( CUdevice* device, int ordinal )
/// Returns a handle to a compute device.</sum... | 2.140168 | c5a57ffc34becf3c73f91445ea4e8f29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ye4241/ACNHPoker",
"max_stars_repo_path": "acnhpoker/Twitch/OrderDisplay.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74087"
} | starcoder | <reponame>ye4241/ACNHPoker<gh_stars>0
namespace ACNHPoker
{
partial class OrderDisplay
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... | 1.913803 | 74c5461ff5f3446cfc6f13503ee235e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74087 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RasheR666/ApprovalTests.Net-3.0.13",
"max_stars_repo_path": "ApprovalUtilities/Persistence/MockLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74088"
} | starcoder | <gh_stars>1-10
namespace ApprovalUtilities.Persistence
{
public class MockLoader<T> : ILoader<T>
{
private T t;
public MockLoader(T t)
{
this.t = t;
}
public T Load()
{
return t;
}
}
} | 2.074855 | 861afcaa68a09627b5d23aa22459ec5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74088 | {
"extension": "c-sharp",
"max_stars_count": "4226.0",
"max_stars_repo_name": "gstsgy/Util",
"max_stars_repo_path": "src/Util.Ui.Angular.AntDesign/Zorro/Forms/DatePickerTagHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74089"
} | starcoder | <filename>src/Util.Ui.Angular.AntDesign/Zorro/Forms/DatePickerTagHelper.cs
using Microsoft.AspNetCore.Razor.TagHelpers;
using Util.Ui.Angular.Forms.Configs;
using Util.Ui.Enums;
using Util.Ui.Renders;
using Util.Ui.TagHelpers;
using Util.Ui.Zorro.Forms.Base;
using Util.Ui.Zorro.Forms.Renders;
namespace Util.Ui.Zorro.... | 2.111143 | 94e75035875901a179671daed05232d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ITVenture/ITVComponents",
"max_stars_repo_path": "ITVComponents.WebCoreToolkit/Navigation/Navigator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74090"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ITVComponents.WebCoreToolkit.Models;
using ITVComponents.WebCoreToolkit.Security;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.De... | 2.214404 | b4f5c61ed3b856722abc8477fb9ae436 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "satrapu/user-management",
"max_stars_repo_path": "UserManagement.Core/IUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74091"
} | starcoder | using System;
using System.Collections.Generic;
using UserManagement.Core.Search;
namespace UserManagement.Core
{
public interface IUser
{
UserId Id { get; }
TenantId TenantId { get; }
string UserName { get; }
string FirstName { get; }
string MiddleName { get; }
... | 2.019606 | 89a1b374be32763237322b37fe4d98a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74091 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kroltan/MAGNETOGRABBER2000",
"max_stars_repo_path": "Assets/Scripts/MapGenerationOverrides.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74092"
} | starcoder | using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MapGenerationOverrides : MonoBehaviour {
public float MapSize;
public string GameScene;
[UsedImplicitly]
private void Awake() {
DontDestroyOnLoad(gameObject);
}
public void StartWithMapSize(float mapSize) {
Map... | 1.776641 | 8c0c0ee4cfefa4ce48580282f3a8d53a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pamanes/servicearchitecture",
"max_stars_repo_path": "BusinessContracts/VMDepartmentSave.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74093"
} | starcoder | <reponame>pamanes/servicearchitecture
namespace BusinessContracts
{
public class VMDepartmentSave
{
public string Name { get; set; }
}
}
| 1.187363 | 35af80149ce28efb34bb4d536de454d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GotWoods/Fluent-Build",
"max_stars_repo_path": "tests/FluentBuild.Tests/Build/BuildUsingCscTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74094"
} | starcoder | using System;
using FluentBuild.Compilation;
using FluentFs.Core;
using NUnit.Framework;
namespace FluentBuild.Tests.Build
{
[TestFixture]
public class BuildUsingCscTests : BuildTests
{
public override FileSet GetBasicSources()
{
var fileSet = new FileSet();
fileSe... | 2.046867 | 1bcc4079c20852655f0836d2a1b026d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "willsmythe/FASTER",
"max_stars_repo_path": "cs/test/LargeObjectTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74095"
} | starcoder | <filename>cs/test/LargeObjectTests.cs<gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using FASTER.core;
using System.I... | 2.087005 | 96a0e9ffe38cb7233165b76017377410 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74095 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xipherix/WebsocketChainExpanderApp",
"max_stars_repo_path": "WebsocketAdapter/Events/MessageEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74096"
} | starcoder | <reponame>xipherix/WebsocketChainExpanderApp
using System;
using System.Collections.Generic;
using System.Text;
namespace WebsocketAdapter.Events
{
public class MessageEventArgs : EventArgs
{
public DateTime TimeStamp { get; set; }
public byte[] Buffer { get; set; }
}
}
| 1.100163 | 0a01f3bf3dee394a9d0b82e155a5e222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74096 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Moolt/Unity-GameObject-Array",
"max_stars_repo_path": "Assets/ArrayModifiers/Scripts/ObjectPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74097"
} | starcoder | <reponame>Moolt/Unity-GameObject-Array
using System;
using UnityEngine;
using Object = UnityEngine.Object;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace ArrayModifiers.Scripts
{
public class ObjectPool
{
private readonly Func<Transform> _prefabGetter;
private Transform Prefab => _prefa... | 2.529113 | 803e6656eacca79365e6c90f453e6a79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "solidsign/gravity",
"max_stars_repo_path": "Assets/Scripts/Weapons/GravityRay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74098"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Game
{
[RequireComponent(typeof(Animator))]
public class GravityRay : Weapon, ISwitchable, IChargeAlternative1
{
[Header("How is it viewed")]
[SerializeField] private GravityRayCrosshair... | 2.259018 | 876bd41fed6d0a2ce40720345f5d3f47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GiorgioG/npgsql",
"max_stars_repo_path": "src/Npgsql/INpgsqlDatabaseInfoFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74099"
} | starcoder | using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Npgsql
{
/// <summary>
/// A factory which get generate instances of <see cref="NpgsqlDatabaseInfo"/>, which describe a database
/// and the types it contains. When first connecting to a database, Npgsql will attempt to load information
... | 2.824276 | c2f3c65dee6a206905f1475e8ce74d57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74099 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Patika-dev-Unlu-Co-Net-Bootcamp/AliGulmen.UnluCoProject.UrunKatalog",
"max_stars_repo_path": "AliGulmen.UnluCoProject.UrunKatalog/Core/Application/Interfaces/Repositories/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7... | starcoder | using AliGulmen.UnluCoProject.UrunKatalog.Core.Domain.Entities;
using AliGulmen.UnluCoProject.UrunKatalog.Shared;
using System.Threading.Tasks;
namespace AliGulmen.UnluCoProject.UrunKatalog.Core.Application.Interfaces.Repositories
{
public interface IRepository<TEntity> where TEntity : class
{
Task<TE... | 1.853762 | b7a7514cab2321e34d7ad4695e3b16a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74100 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LJBGH/Liliya",
"max_stars_repo_path": "src/Liliya.Shared/OperationResult/ResultMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74101"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Liliya.Shared
{
public static class ResultMessage
{
public const string InsertSuccess = "添加成功";
public const string InsertFail = "添加失败";
public const string UpdateSuccess = "修改成功";
publi... | 1.763661 | 5946253959c4e930eef7dc8e23690dba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74101 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "philasmar/aws-dotnet-deploy",
"max_stars_repo_path": "src/AWS.Deploy.CLI/ServerMode/EncryptionKeyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74102"
} | starcoder | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace AWS.Deploy.CLI.ServerMode
{
public class EncryptionKeyI... | 2.473588 | ec722e70de1a07888b90c401177fa38b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74102 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "databinding-gmbh/T4.FileManager.VisualStudio",
"max_stars_repo_path": "tests/T4.FileManager.NetCore.AcceptanceCriteria/Features/Helper/RetryUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74103"
} | starcoder | namespace T4.FileManager.NetCore.AcceptanceCriteria.Features.Helper
{
using System;
using System.Threading.Tasks;
public static class RetryUtil
{
public static int maxAttempts = 40;
public static TimeSpan delay = TimeSpan.FromSeconds(2);
public static void RetryOnException(Act... | 2.674432 | 1e9dcfe2d466939372c6d295fb1be476 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74103 | {
"extension": "c-sharp",
"max_stars_count": "781.0",
"max_stars_repo_name": "LiuZiYang1/repkg",
"max_stars_repo_path": "RePKG.Application/Texture/TexReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74104"
} | starcoder | using System;
using System.IO;
using RePKG.Application.Exceptions;
using RePKG.Core.Texture;
namespace RePKG.Application.Texture
{
public class TexReader : ITexReader
{
private readonly ITexHeaderReader _texHeaderReader;
private readonly ITexImageContainerReader _texImageContainerReader;
... | 2.438903 | deaa2cba319d02e364cf967adc3568ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74104 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "robertfang/EFFC.Frame.Net.Core",
"max_stars_repo_path": "WechatApp/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74105"
} | starcoder | <reponame>robertfang/EFFC.Frame.Net.Core
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.L... | 1.57802 | a536b17e44d801f742b383253c3d03b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74105 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MV10/JobFac",
"max_stars_repo_path": "ConsoleTests/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74106"
} | starcoder | <reponame>MV10/JobFac
using JobFac.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleTests
{
public class Program
{
public static async... | 1.976422 | 59385a8c7dc77e4c4369a075ef0eb886 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74106 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "huaweicloud/huaweicloud-sdk-net",
"max_stars_repo_path": "Examples/Ims/V2/Schemas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74107"
} | starcoder | using System;
using HuaweiCloud.SDK.Core;
using HuaweiCloud.SDK.Core.Auth;
using HuaweiCloud.SDK.Ims.V2;
using HuaweiCloud.SDK.Ims.V2.Model;
namespace Examples.Ims.V2
{
public class Schemas
{
static void Main1(string[] args)
{
const string ak = "{your ak string}";
const... | 2.060698 | 9e552024d73695cca6e84d787d8fb134 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74107 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "Guribo/BetterAudio",
"max_stars_repo_path": "Runtime/Examples/VoiceOverrideRoom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74108"
} | starcoder | using System;
using Guribo.UdonUtils.Runtime.Common;
using Guribo.UdonUtils.Runtime.Common.Networking;
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
namespace Guribo.UdonBetterAudio.Runtime.Examples
{
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
public class VoiceOverride... | 1.879306 | d2bb685ed657c51e3006be768d90465c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaiklT/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Website/DesktopModules/Admin/ViewProfile/ViewProfile.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74109"
} | starcoder | <gh_stars>0
// 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
#region Usings
using System;
using System.Linq;
using System.Text;
using System.Threading;
using Mi... | 1.302544 | 6b1a4ecd434a5982203de14847657cae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "workgroupengineering/xFunc",
"max_stars_repo_path": "xFunc.Maths/Expressions/Root.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74110"
} | starcoder | <gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
namespace xFunc.Maths.Expressions;
/// <summary>
/// Represents the nth root operator.
/// </summary>
public class Root :... | 2.625374 | abd935de89d70ac841d28043abf262e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74110 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "tappcontributor/hellosign-dotnet-sdk",
"max_stars_repo_path": "src/HelloSign/Models/SigningOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74111"
} | starcoder | using Newtonsoft.Json;
namespace HelloSign
{
/// <summary>
/// Signing Options for a Signature Request
/// </summary>
public class SigningOptions
{
[JsonProperty("draw")]
public bool Draw { get; set; } = false;
[JsonProperty("type")]
public bool Type { get; set; } =... | 2.287786 | ac6226fd67fa81ec302896d91119b411 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74111 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Vibhav-Deo/Todo",
"max_stars_repo_path": "Todo/Todo.Database/Models/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74112"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Todo.Contracts.Enums;
namespace Todo.Database.Models
{
public partial class User
{
public Guid Id { get; set; }
public string FirstName { get; set; }
public string ... | 2.152309 | 0904f83d9c6f63b57716b3530af0ff6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ay2015/AYUI8",
"max_stars_repo_path": "Ay/ay/SDK/CONTROLLIB/Large/PropertyGrid/PropertyValueChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74113"
} | starcoder | <reponame>ay2015/AYUI8
using System.Windows;
namespace Xceed.Wpf.Toolkit.PropertyGrid
{
/// <summary>Provides information related to changes to property values.</summary>
public class PropertyValueChangedEventArgs : RoutedEventArgs
{
/// <summary>Gets or sets the new value.</summary>
public object NewValue
{
... | 2.593808 | d32c97f34890e9a449a69fd37677090b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VictorGrassi/SistemaDeVenda",
"max_stars_repo_path": "17570/17570/FrmVendas.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74114"
} | starcoder | <filename>17570/17570/FrmVendas.Designer.cs
namespace _17570
{
partial class FrmVendas
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... | 1.829145 | c747607404d9f4fe73f864c9939282a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74114 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ceasius/aspnetcore-api-jwt",
"max_stars_repo_path": "server/Starter.Data/Config/UserProfileConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74115"
} | starcoder | <reponame>ceasius/aspnetcore-api-jwt<filename>server/Starter.Data/Config/UserProfileConfig.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Starter.Data.Entities;
namespace Starter.Data.Config
{
class UserProfileConfig : IEntityTypeConfiguration<UserProfile>
... | 2.219151 | bfbb92784c2e87ee3dfc96a5bb69819a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74115 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ertugrulozcan/ErtisAuth.Net",
"max_stars_repo_path": "ErtisAuth/Providers/Google/Core/Models/GoogleAuthToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74116"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace ErtisAuth.Providers.Google.Core.Models
{
public class GoogleAuthToken
{
#region Properties
[JsonProperty("token_type")]
public string TokenType { get; set; }
[JsonProperty("access_token")]
public string AccessToken { get; set; }
[JsonProperty("scope"... | 1.657529 | ec4cd78634ef86485d704af35ddda4c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74116 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "omeaart/Nancy",
"max_stars_repo_path": "src/Nancy.Tests/xUnitExtensions/SkippableFactAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74117"
} | starcoder | <reponame>omeaart/Nancy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using Xunit.Sdk;
namespace Nancy.Tests.xUnitExtensions
{
public class SkippableFactAttribute : FactAttribute
{
protected override IEnumerable<ITestCommand> EnumerateTes... | 2.236707 | 290c6daa33b33c4cee23cd901e3b3267 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MZachura/.net5WebApi",
"max_stars_repo_path": "xkomZadanie/Dtos/EventDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74118"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace xkomZadanie.Dtos
{
public record EventDto
{
public Guid Id { get; init; }
public string Name { get; init; }
public Dictionary<string, string> Users { get; init; }
... | 1.39656 | bb61e6d26c90d5fbc7f30b71f5ed836e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "webmaster442/TcPlayer2",
"max_stars_repo_path": "TcPlayer.Network/Models/Browse/EnvelopeBody.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74119"
} | starcoder | <reponame>webmaster442/TcPlayer2<filename>TcPlayer.Network/Models/Browse/EnvelopeBody.cs<gh_stars>0
// ------------------------------------------------------------------------------------------------
// Copyright (c) 2021 <NAME>
// This is free software under the terms of the MIT License. https://opensource.org/licens... | 1.902737 | 833200bddbbb2b582fe22f64c42390c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wownetort/ClonogramServer",
"max_stars_repo_path": "Clonogram/Settings/CacheSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74120"
} | starcoder | <filename>Clonogram/Settings/CacheSettings.cs
using System;
namespace Clonogram.Settings
{
public class CacheSettings
{
public TimeSpan Comment { get; set; }
public TimeSpan Comments { get; set; }
public TimeSpan Hashtags { get; set; }
public TimeSpan Likes { get; set; }
... | 1.84804 | b5bd1e69c0a85db3462e82e014f225e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74120 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "devizer/KernelManagementLab",
"max_stars_repo_path": "MountLab/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74121"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using KernelManagementJam;
using KernelManagementJam.DebugUtils;
using Mono.Unix;
namespace MountLab
{
class Program
{
static void Main(string[] args)
{
... | 2.278234 | 3f84fd878dced9d7b20faec428e6b5aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74121 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "keymind/Epi-Info-Community-Edition",
"max_stars_repo_path": "Epi.Windows.Dashboard/Common.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74122"
} | starcoder | <filename>Epi.Windows.Dashboard/Common.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace Epi.WPF.Dashboard
{
public cla... | 2.541977 | cfaebb0c2cff5338fe736620026696a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74122 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "caesuric/familiar-quest",
"max_stars_repo_path": "FamiliarQuestMainGame/Assets/Scripts/AI/Sensors/EffectTracking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74123"
} | starcoder | <reponame>caesuric/familiar-quest
namespace AI.Sensors {
public class EffectTracking : GoapSensor {
StatusEffectHost statusEffectHost = null;
public override void Run(GoapAgent agent) {
if (statusEffectHost == null) statusEffectHost = agent.GetComponent<StatusEffectHost>();
... | 2.010099 | 2f7ce3874172638d7375c97e1ba82c4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74123 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "Tiplu/Eto.Parse",
"max_stars_repo_path": "Eto.Parse.Samples/Json/Ast/JsonAstBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74124"
} | starcoder | <gh_stars>100-1000
using System;
using Eto.Parse.Ast;
namespace Eto.Parse.Samples.Json.Ast
{
/// <summary>
/// Ast builder to generic token objects, for any json schema
/// </summary>
public class JsonAstBuilder : AstBuilder<JsonToken>
{
public JsonAstBuilder()
{
var token = new Builder<JsonToken>();
... | 2.437425 | 5f9df063c19f725a52a7384898cc7422 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NetWorkedData/NetWorkedData",
"max_stars_repo_path": "NWDModels/Cluster/NWDServer/NWDServer_Editor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74125"
} | starcoder | //=====================================================================================================================
//
// ideMobi 2020©
//
//=====================================================================================================================
// Define the use of Log and Benchmark only for this fil... | 1.48167 | cd0222fe5368cbbf191da3f4e2287454 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmarkov00/Design-Patterns",
"max_stars_repo_path": "VisitorPattern/VisitorPattern/Visitors/OvenVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74126"
} | starcoder |
namespace VisitorPattern
{
public class OvenVisitor : IVisitor
{
public string Visit(Chicken meat)
{
return "The CHICKEN meat is being prepared in the OVEN";
}
public string Visit(Beef meat)
{
return "The BEEF meat is being prepared in the OVEN"... | 3.142061 | c6bd86fa97ffc059864a15510c3da9ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSMarkoff/FoodSpot",
"max_stars_repo_path": "Web/FoodSpot.Web/Areas/Administration/Views/Recipes/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74127"
} | starcoder | <gh_stars>0
@model FoodSpot.Web.ViewModels.Administration.Recipes.IndexViewModel
@{
ViewData["Title"] = "Recipe Administration";
}
<div class="container">
<table class="table table-responsive table-hover text-center mt-3">
<thead class="thead-light">
<tr>
<th scope="col">I... | 2.159431 | 13ca2d54efc5c57ebe6129dd5cc753aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PedroJesusRomeroOrtega/SupermarketCheckout",
"max_stars_repo_path": "src/Core/Services/CheckoutService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74128"
} | starcoder | using Ardalis.GuardClauses;
using SupermarketCheckout.Core.Entities;
using SupermarketCheckout.Core.Interfaces;
using SupermarketCheckout.Core.Specifications;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SupermarketCheckout.Core.Services
{
public class CheckoutService : ICheckoutServi... | 2.597861 | 0d58c88290ac7ddb8b768fc882eb733e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MisterChangRay/minij",
"max_stars_repo_path": "instructions/invocation/Invoke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74129"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using minij.classfile;
using minij.rtda;
using minij.rtda.heap.constantpool;
using minij.rtda.heap;
namespace minij.instructions.invocation
{
//invoke native
class InvokeNative : Instruction
... | 2.575545 | 4885d113fea8bfd623e30e63f8710875 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74129 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leoshiang/HtmlTooltip",
"max_stars_repo_path": "Source/FiniteStateMachine/StateMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74130"
} | starcoder | using System.Collections.Generic;
using Bridge.Html5;
using HtmlTooltip.Component;
using HtmlTooltip.FiniteStateMachine.TransitionFunctions;
namespace HtmlTooltip.FiniteStateMachine
{
/// <summary>
/// 有限狀態機
/// </summary>
public class StateMachine
{
/// <summary>
/// 目前狀態
... | 2.772362 | fbfa04721c97d6ad36e5bffdd5abcbf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74130 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "CaioPi/RestWithASP-NET5",
"max_stars_repo_path": "BONUS_RestWithASPNETUdemy_MigratingFromDotNetCore2ToDotNet5/RestWithASPNETUdemy/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74131"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Microsoft.Net.Http.Headers;
... | 1.972295 | 42fab5e16b2f0781b1467793c725ede8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CarsonCook/SlackLibrary",
"max_stars_repo_path": "SlackLibrary/JsonParsing/ChannelJson/JsonChannelPublic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74132"
} | starcoder | <reponame>CarsonCook/SlackLibrary<gh_stars>0
using Newtonsoft.Json;
namespace SlackITSupport.SlackLibrary.JsonParsing.ChannelJson
{
public class JsonChannelPublic : JsonChannel
{
[JsonProperty("is_channel")]
public bool IsChannel { get; set; }
[JsonProperty("is_general")]
publi... | 1.722841 | 14430ae033288dd3b5e4d444564d5484 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KoushikShetty/plivo-dotnet",
"max_stars_repo_path": "src/Plivo/Resource/Application/ApplicationInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74133"
} | starcoder | <filename>src/Plivo/Resource/Application/ApplicationInterface.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Plivo.Client;
using Plivo.Http;
namespace Plivo.Resource.Application
{
/// <summary>
/// Application interface.
/// </su... | 2.542367 | b22dca21f8f09553c87112f9231df88b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.