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 | 8837712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sandersaares/Koek",
"max_stars_repo_path": "Tests/XmlSerializationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156932"
} | starcoder | using Koek;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Tests
{
[TestClass]
public class XmlSerializationTests : BaseTestClass
{
public class MyClass
{
public string? MyProperty { get; set; }
}
[TestMethod]
public void Ba... | 3.025871 | 25ee413177160b757439943a58f61b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "auturge/servicesentry",
"max_stars_repo_path": "tests/ServiceSentry.Testing/Testing Framework/Randoms/RandomDateTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156933"
} | starcoder | using System;
namespace ServiceSentry.Testing
{
public partial class Tests
{
private static DateTime RandomDateTime()
{
var start = new DateTime(1995, 1, 1);
var range = (DateTime.Today - start).Days;
var output = start.AddDays(Rand... | 2.47222 | f2b8892251e26bfb104855670d5af578 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Umqra/metrics",
"max_stars_repo_path": "Vostok.Metrics/Primitives/Counter/CounterConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156934"
} | starcoder | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Vostok.Metrics.Models;
namespace Vostok.Metrics.Primitives.Counter
{
[PublicAPI]
public class CounterConfig
{
internal static readonly CounterConfig Default = new CounterConfig();
/// <summary>
/// S... | 2.411735 | 661ed73ceae008a544dd07674d1f55fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2006-jun15-net/Alfred-project1",
"max_stars_repo_path": "SportsApparelApp/ApparelApp.Entities/Entities/Orders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156935"
} | starcoder | using System;
using System.Collections.Generic;
namespace ApparelApp.Entities.Entities
{
public partial class Orders
{
public int OrderId { get; set; }
public int CustId { get; set; }
public DateTime Datecreated { get; set; }
public decimal? FinalAmount { get; set; }
... | 1.823551 | a3bd01d392e42d2c53592af272115ec6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837716 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "darke333/Chemical-Laboratory-VR",
"max_stars_repo_path": "Assets/Allegorithmic/Plugins/Substance/Livelink/Editor/Scripts/MaterialPropertiesManipulation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156936"
} | starcoder | using AlgSimpleJSON;
using UnityEditor;
using UnityEngine;
namespace Alg
{
public class TexturePostProcessor : AssetPostprocessor
{
void OnPreprocessTexture()
{
if (!assetPath.StartsWith("Assets/SP_Textures", System.StringComparison.InvariantCultureIgnoreCase)) return;
TextureImporter importer = assetImp... | 2.385386 | 8fda6967d87906314476eb1109640299 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837717 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "trmcnealy/OilGas.Data",
"max_stars_repo_path": "OilGas.Data.RRC.Texas/RRC.Texas/DataTypes/Wla/GasFormG1Segment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156937"
} | starcoder | #nullable enable
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace OilGas.Data.R... | 1.769915 | c4db2b47ef01e0be13d00a330f7b5952 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CBurbidge/Konnie",
"max_stars_repo_path": "Konnie/Model/FilesHistory/IFilesHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156938"
} | starcoder | <reponame>CBurbidge/Konnie<filename>Konnie/Model/FilesHistory/IFilesHistory.cs<gh_stars>0
using System;
namespace Konnie.Model.FilesHistory
{
/// <summary>
/// IFileHistory objects are task specific, it doesn't make sense for them to know about other tasks.
/// They only care about konnie and input files (x... | 2.616988 | cf93acc8a8a1922d682cd2b3701607db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MateusZ36/virtual-library-back",
"max_stars_repo_path": "CSharpBackEnd/Controllers/AuthorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156939"
} | starcoder | <reponame>MateusZ36/virtual-library-back
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CSharpBackEnd.Domain;
using Microsoft.EntityFrameworkCore;
namespace CSharpBackEnd.Controllers
{
[Route("api/[controller]")]
[ApiController]
pub... | 2.618536 | c945748461d0e20acbca805a649b50ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837720 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jokerlocco/2019-2020_DAM1_EjerciciosClase",
"max_stars_repo_path": "chapter06-classes/266-TitleInitV2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156940"
} | starcoder | // Title Class + Init (V2)
/*
Create a second Init method for the "Title" class, which will assign
default initial values for x, y, text.
*/
using System;
class Title
{
private string text;
private int x;
private int y;
public void Init()
{
x = 40;
y = ... | 4.142869 | 1248106f08fcb846073dde7f9d139f23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kableado/CsvView",
"max_stars_repo_path": "UI/DoubleBufferPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156941"
} | starcoder | using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace CsvView.UI
{
public class DoubleBufferPanel : Panel
{
public DoubleBufferPanel()
{
DoubleBuffered = true;
SetStyle(ControlStyles.... | 2.372536 | c3a92cd0219892d66a6941d8eab7e1d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837722 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "dropsun/RoadFlowMvc",
"max_stars_repo_path": "RoadFlowDotPeek2.7.6/RoadFlow.Data.Interface/IWorkTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156942"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: RoadFlow.Data.Interface.IWorkTime
// Assembly: RoadFlow.Data.Interface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 2109DD37-8E2D-4F7C-8293-6084646C162F
// Assembly location: C:\inetpub\wwwroot\RoadFlowMvc\bin\RoadFlow.Data.Interface.dll
using RoadFl... | 1.634441 | 1db39a88caefa36096280c8fe122554f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cihatsolak/net6-ecommerce-microservice",
"max_stars_repo_path": "services/catalog/CourseSales.Services.Catalog/Entities/BaseEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156943"
} | starcoder | namespace CourseSales.Services.Catalog.Entities
{
public interface IEntity
{
}
public abstract class BaseEntity : IEntity
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
}
}
| 1.980359 | ae7d32c4adbc093e2c376885663af57e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837724 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "calian-pace/QuikRide",
"max_stars_repo_path": "simpleSoln/QuikRide/QuikRide/QuikRide/Interfaces/IDataLoadService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156944"
} | starcoder | <filename>simpleSoln/QuikRide/QuikRide/QuikRide/Interfaces/IDataLoadService.cs
using System.Threading.Tasks;
namespace QuikRide.Interfaces
{
public interface IDataLoadService
{
Task<bool> HeartbeatCheck();
Task<int> LoadLocations();
Task<int> LoadReservationRequests();
}
} | 1.213042 | 0d70eb68f5a002d2a52b270dd5c6ab82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837725 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "kaponata-io/kaponata",
"max_stars_repo_path": "src/Kaponata.Api/WebDriver/WebDriverErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156945"
} | starcoder | // <copyright file="WebDriverErrorCode.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
using System;
using System.Net;
namespace Kaponata.Api.WebDriver
{
/// <summary>
/// Represents a well-known WebDriver error code.
/// </summary>
/// <seealso href="h... | 2.698182 | 30ea173fdc8b9ae3617baf7389cb209a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zavalaan/projector-workshop",
"max_stars_repo_path": "dotnet/csharp/tests/Domain.EventTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156946"
} | starcoder | using Projector.Domain;
using System;
using Xunit;
namespace Domain
{
public class EventTests
{
private static InventoryItem Given(InventoryItem state) => state;
private static InventoryItem When(InventoryItem state, InventoryEvent @event) => InventoryItem.Apply(@event, state);
private ... | 2.617078 | 57ab348891521660007928912c34399e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837727 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/LocalUserKeys.Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156947"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Storage.Models
{
public partial class LocalUserKeys
{
int... | 1.82536 | 5bc017c92ee0cbced5b044dd6e20b8ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Batarian711/MagicalLife",
"max_stars_repo_path": "MagicalLifeGUIWindows/Rendering/RenderUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156948"
} | starcoder | <filename>MagicalLifeGUIWindows/Rendering/RenderUtils.cs
using MagicalLifeGUIWindows.GUI;
using MagicalLifeSettings.Storage;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MagicalLifeGUIWindows.Rendering
{
... | 2.507847 | eb276d74b356d070ef0a67f98fd960ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837729 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "dkozar/edriven-gui",
"max_stars_repo_path": "eDriven.Playground/Unity/Assets/eDriven/Demo/_shared/Code/Tweens/Interpolators/FlyingBeeInterpolator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156949"
} | starcoder | <gh_stars>10-100
using eDriven.Animation.Interpolators;
using eDriven.Core.Geom;
using UnityEngine;
namespace Assets.eDriven.Demo.Tweens.Interpolators
{
/// <summary>
/// The simple example of programming an interpolator
/// Using this layer of abstraction you can animate virtually anything, the way you w... | 2.790089 | 3a8a5471ad718854a4ea438eb67737d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837730 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "0x0ade/FEZMod",
"max_stars_repo_path": "FezEngine.Mod.mm/MonoModRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156950"
} | starcoder | using Mono.Cecil;
using Mono.Cecil.Cil;
using MonoMod.Utils;
using MonoMod.InlineRT;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonoMod {
[MonoModCustomMethodAttribute("PatchInitMMSharedData")]
class PatchInitMMSharedDataAttrib... | 2.091718 | ae4af1ec926bdd1c1afc2b5c33c6a641 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LunarTraveller/IronyModManager",
"max_stars_repo_path": "src/IronyModManager.Shared/MessageBus/IMessageBusConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156951"
} | starcoder | // ***********************************************************************
// Assembly : IronyModManager.Shared.MessageBus
// Author : Mario
// Created : 06-10-2020
//
// Last Modified By : Mario
// Last Modified On : 06-11-2020
// ************************************************************... | 2.081357 | f01742541bc34476fa1413e051264fe7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837732 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "howest-gp-mde/cu-xam-favesites",
"max_stars_repo_path": "XrnCourse.FavoriteSites/XrnCourse.FavoriteSites/SitePage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156952"
} | starcoder | <gh_stars>1-10
using FluentValidation;
using System;
using System.IO;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XrnCourse.FavoriteSites.Domain.Models;
using XrnCourse.FavoriteSites.Domain.Services;
using XrnCourse.FavoriteSites.Domain.Services.FileIO;
namespace XrnCourse.FavoriteS... | 2.534625 | afa0b7e8dc4478d20e27567b95f06407 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apprime/capstan",
"max_stars_repo_path": "Capstan/Events/Event.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156953"
} | starcoder | <reponame>apprime/capstan
using Capstan;
using System.Threading.Tasks;
namespace Capstan.Events
{
public abstract class CapstanEvent<IncomingType, ReturnedType> where IncomingType : Message
{
public abstract void Process();
public abstract Task ProcessAsync();
protected internal Broad... | 1.814338 | 9d5a9748f5452faf9bdb9c16195c340c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837734 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "StbSharp/StbRectPackSharp",
"max_stars_repo_path": "src/StbRectPack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156954"
} | starcoder | <filename>src/StbRectPack.cs
using System;
namespace StbRectPackSharp
{
#if !STBSHARP_INTERNAL
public
#else
internal
#endif
static unsafe partial class StbRectPack
{
public struct stbrp_context: IDisposable
{
public int width;
public int height;
public int align;
public int init_mo... | 2.437719 | 3e5e78c3baf8ae0e39d95c9e0b30ffb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837735 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "stimulsoft/Stimulsoft.Controls.Net",
"max_stars_repo_path": "Stimulsoft.Base/Services/StiServiceBitmapAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156955"
} | starcoder | <reponame>stimulsoft/Stimulsoft.Controls.Net<gh_stars>10-100
#region Copyright (C) 2003-2016 Stimulsoft
/*
{*******************************************************************}
{ }
{ Stimulsoft Reports }
{ }
{ Copyright (C) 2003-2016 Stimulsoft }
{ ALL RIGHTS RESERV... | 2.10938 | 9c79aec4da2fd217b33f7f3d0a05e522 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kameske/CSharpCommons",
"max_stars_repo_path": "DIContainer.Test/ConfigTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156956"
} | starcoder | <reponame>kameske/CSharpCommons
using System;
using Commons;
using NUnit.Framework;
namespace DIContainer.Test
{
[TestFixture]
public class ConfigTest
{
private static Logger logger;
[SetUp]
public static void Setup()
{
LoggerInitializer.Init();
... | 1.98903 | 61ea12e80dc8ead9fe005ecee52dfd9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeonardSpencer/FluentValidation",
"max_stars_repo_path": "src/FluentValidation.Tests/InheritanceValidatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156957"
} | starcoder | namespace FluentValidation.Tests {
using System;
using System.Collections.Generic;
using Xunit;
public class InheritanceValidatorTests {
[Fact]
public void InheritanceValidator_should_pass_if_bike_hasbell_is_true() {
var validator = new TestValidator(v => {
v.RuleFor(x => ... | 2.514636 | 99eb8428d97c029cb4bd9974d37f0739 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScrambledFox/IMAG-e-2017-2018",
"max_stars_repo_path": "DemoDay Prototype/Assets/Scripts/Game/Tutorial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156958"
} | starcoder | <reponame>ScrambledFox/IMAG-e-2017-2018
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
public class Tutorial : MonoBehaviour {
public bool active = true;
private int state = 0;
private int currentState = -1;
public List<GameObject> ... | 2.230204 | bdb3a128dc58377c24a8e6fd5121ff06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837739 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/Base/Core/Internal/PropertyEditing/Selection/CategoryEditorSelectionPathInterpreter.cs",
... | starcoder | <filename>System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/Base/Core/Internal/PropertyEditing/Selection/CategoryEditorSelectionPathInterpreter.cs<gh_stars>100-1000
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. A... | 2.199424 | 958a344c69dc783c9a46be39f800b5cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jaydensipe/IsoArcher",
"max_stars_repo_path": "IsoArcher/Arrows/WoodArrow/WoodArrow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156960"
} | starcoder | using Godot;
using System;
public class WoodArrow : Area
{
// Controls which direction the arrows fly
public override void _Process(float delta)
{
Translate((Vector3.Forward) * GlobalCurrentBowStatsManager.currentBowArrowVelocity * delta);
}
// Determines whether the arrow hit an Area, an... | 2.179615 | 68ab08a144d3745296d243514193f378 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ijekel2/BindingBooks",
"max_stars_repo_path": "BindingBooks/ViewModels/ThumbnailBoxViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156961"
} | starcoder | <reponame>ijekel2/BindingBooks
using System.Collections.Generic;
using BindingBooks.Models;
namespace BindingBooks.ViewModels
{
public class ThumbnailBoxViewModel
{
public IEnumerable<ThumbnailModel> Thumbnails { get; set; }
}
} | 1.297022 | ec7eb9b73b7cce5cb65b19b032d36583 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AYankova/CSharp",
"max_stars_repo_path": "HomeworkOperatorsAndExpressions/11.BitwiseExtract Bit3/ExtractBit3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156962"
} | starcoder | <reponame>AYankova/CSharp
/*Using bitwise operators, write an expression for finding the value of the bit #3 of a given unsigned integer.
The bits are counted from right to left, starting from bit #0.
The result of the expression should be either 1 or 0.*/
using System;
namespace BitwiseExtract_Bit3
{
class Extr... | 3.664356 | e09e352e50356551319acf466a117e3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Extremelyd1/Wireless",
"max_stars_repo_path": "Items/CoordinateConfigurator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156963"
} | starcoder | <filename>Items/CoordinateConfigurator.cs
using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using Terraria.ModLoader.IO;
namespace Wireless.Items
{
public class Co... | 2.103322 | 252e04ad55943adc455667d3629b803e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DmitrijDN/Azimuth",
"max_stars_repo_path": "DataAccess/Repositories/PlaylistRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156964"
} | starcoder | using Azimuth.DataAccess.Entities;
using Azimuth.DataAccess.Infrastructure;
using NHibernate;
namespace Azimuth.DataAccess.Repositories
{
public class PlaylistRepository : BaseRepository<Playlist>, IPlaylistRepository
{
public PlaylistRepository(ISession session) : base(session)
{
}
... | 1.867943 | 9ef468f4eec15d6cb6b020c727d8a39a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SEGES-IT/Dlbr.CommonLogin.IdentityModel",
"max_stars_repo_path": "src/Dlbr.CommonLogin.IdentityModel.Tests/Unit/IdentityModel.Web/SqlServerSessionSecurityTokenStoreTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156965"
} | starcoder | <reponame>SEGES-IT/Dlbr.CommonLogin.IdentityModel
using System;
using System.IdentityModel.Tokens;
using System.Security.Claims;
using System.Xml;
using Dlbr.CommonLogin.IdentityModel.Web;
using FluentAssertions;
using NUnit.Framework;
namespace Dlbr.CommonLogin.IdentityModel.Tests.Unit.IdentityModel.Web
{
[TestF... | 2.135562 | b124e6210497392159ff0ed35ba01134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/Runtime",
"max_stars_repo_path": "Source/Applications.Configuration/CoreConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156966"
} | starcoder | <reponame>joelhoisko/Runtime
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*---------------------------------------------------... | 1.4042 | 936f4cadc9836acc0ebc4bf157152aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837747 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "truthiswill/OctopusClients",
"max_stars_repo_path": "source/Octopus.Client/Model/ProjectedTeamReferenceDataItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156967"
} | starcoder | <filename>source/Octopus.Client/Model/ProjectedTeamReferenceDataItem.cs
namespace Octopus.Client.Model
{
public class ProjectedTeamReferenceDataItem : ReferenceDataItem
{
public bool IsDirectlyAssigned { get; set; }
public string[] ExternalGroupNames { get; set; }
public string SpaceId ... | 2.306235 | 44bf575529b7ae488de396d2a3425071 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837748 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcgov/tno",
"max_stars_repo_path": "services/net/syndication/Xml/Rss/RssTextInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156968"
} | starcoder | using System.ServiceModel.Syndication;
using System.Text.Json.Serialization;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace TNO.Services.Syndication.Xml;
/// <summary>
/// RssTextInput class, provides an object to read and write a RSS textInput.
/// </summary>
[XmlRoot("textInput")... | 2.715014 | de31fb26ccd00c8ce0aded8a696892f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TadeuszNorek/fault-handling-system-test",
"max_stars_repo_path": "Fault-handling-system/Services/ReportParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156969"
} | starcoder | <filename>Fault-handling-system/Services/ReportParser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Fault_handling_system.Models;
namespace Fault_handling_system.Services
{
public ... | 2.635512 | ad5c488e384d7f46288022b2a2957fb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837750 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Brankovanov/SoftUniCourses",
"max_stars_repo_path": "4.OOPBasic/03_Inheritance/Lab_01_Animals/Dog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156970"
} | starcoder | using System;
namespace Lab_01_Animals
{
public class Dog : Animal
{
//Creates a dog object. Derived from animal object.
public void Bark()
{
Console.WriteLine("barking...");
}
}
}
| 2.81687 | bd14e53f01a47cb79f115b309bafff87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837751 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "V-Uzunov/Soft-Uni-Education",
"max_stars_repo_path": "10.C#MVCFrameworks-ASP.NETCore/02.ASP.NETEssentials/CarDealer/CarDealer.App/Views/Sales/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156971"
} | starcoder | @model IEnumerable<SalesDetailModel>
@{
ViewData["Title"] = "More Details About Sale";
}
<h2>@ViewData["Title"]</h2>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>
Car Make
</th>
<th>
Car Model
</th>
<th>
Cus... | 2.893869 | f5bfccf7fde4a5adb0fa9e6916c8a8cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837752 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Cat-Lips/GodotSharp.SourceGenerators",
"max_stars_repo_path": "GodotTests/TestScenes/InheritedScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156972"
} | starcoder | <reponame>Cat-Lips/GodotSharp.SourceGenerators
using System.Linq;
using FluentAssertions;
using Godot;
using GodotSharp.BuildingBlocks.TestRunner;
namespace GodotTests.TestScenes
{
[SceneTree]
internal abstract partial class InheritedScene : RootScene, ITest
{
void ITest.InitTests()
{
... | 1.941637 | 643bc687e29241380cf374fd71b9990e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837753 | {
"extension": "c-sharp",
"max_stars_count": "2344.0",
"max_stars_repo_name": "LavenderDaisy/ImageProcessor",
"max_stars_repo_path": "tests/ImageProcessor.Tests/ImagesSimilarityException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156973"
} | starcoder | using System;
namespace ImageProcessor.Tests
{
public class ImagesSimilarityException : Exception
{
public ImagesSimilarityException(string message)
: base(message)
{
}
}
}
| 1.790166 | 7b6f9bd29fb00889523e0435ae34dec2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OleksaBalancer/wreq",
"max_stars_repo_path": "wreq/wreq/Views/Users/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156974"
} | starcoder | @model IEnumerable<wreq.Models.ViewModels.ApplicationUserViewModel>
@using Microsoft.AspNet.Identity;
@{
ViewBag.Title = Resource.Index;
}
<h2>@Resource.Users</h2>
<table>
@foreach (var item in Model)
{
<tr>
<td>
@Html.ActionLink(item.UserName, "Details", new { id = it... | 2.351812 | b35f9db5857038d3a58c99ff419b5f7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837755 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "oakio/SqlDsl",
"max_stars_repo_path": "src/SqlDsl/Postgres/InsertConflict/IPgConflictTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156975"
} | starcoder | using SqlDsl.Core;
namespace SqlDsl.Postgres.InsertConflict
{
public interface IPgConflictTarget : ISqlFormattable
{
}
} | 1.263879 | 33192754d13e46128a95485c48ba1c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgnayak/arke",
"max_stars_repo_path": "Arke.Steps/DeviceConnectedStep/DeviceConnectedSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156976"
} | starcoder | <reponame>sgnayak/arke
using Arke.DSL.Step;
namespace Arke.Steps.DeviceConnectedStep
{
public class DeviceConnectedSettings : NodeProperties
{
}
}
| 0.584907 | 0f0c64107846570c07384e55820ef44b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837757 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "LunarWorld/Sigma",
"max_stars_repo_path": "Sigma.Core/Training/Hooks/Processors/RunningTimeProcessorHook.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156977"
} | starcoder | /*
MIT License
Copyright (c) 2016-2017 <NAME>, <NAME>
For full license see LICENSE in the root directory of this project.
*/
using Sigma.Core.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sigma.Core.Training.Hooks.Processors
{
/// <summary>
/// A running time processor hoo... | 2.543191 | 42ee4667b6f655abd8538ae0ba86bbf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837758 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tomahg/CodeArt.Episerver.Console",
"max_stars_repo_path": "src/CodeArt.Episerver.Console/Commands/ToCsvCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156978"
} | starcoder | <reponame>tomahg/CodeArt.Episerver.Console<filename>src/CodeArt.Episerver.Console/Commands/ToCsvCommand.cs
using CodeArt.Episerver.DevConsole.Attributes;
using CodeArt.Episerver.DevConsole.Interfaces;
using CodeArt.Episerver.DevConsole.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using Sy... | 2.929176 | a2a68cda53a94ee5243b44645c454b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837759 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Teknikode/Teknik",
"max_stars_repo_path": "Teknik/Areas/User/ViewModels/UploadSettingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156979"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Teknik.Areas.Users.Models;
using Teknik.Utilities;
using Teknik.ViewModels;
namespace Teknik.Areas.Users.ViewModels
{
public class UploadSettingsViewModel : SettingsViewModel
{
public bool Encrypt { get; set; }
... | 2.017108 | 631bbc572733b4701339f30b8fd518ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/SuperGlue",
"max_stars_repo_path": "src/SuperGlue.HttpClient/IHttpResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156980"
} | starcoder | using System.Net;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace SuperGlue.HttpClient
{
public interface IHttpResponse
{
Task<string> ReadRawBody();
Task<T> ReadBodyAs<T>();
HttpResponseHeaders Headers { get; }
HttpStatusCode StatusCode { get; }
b... | 2.355734 | d0af78963fa369960c68357bb8f99a3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837761 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "michael-shattuck/SalesforceMagic",
"max_stars_repo_path": "SalesforceMagic/ORM/ResponseReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156981"
} | starcoder | <reponame>michael-shattuck/SalesforceMagic
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
using FastMember;
using SalesforceMagic.Attributes;
using SalesforceMagic.Entities;
using SalesforceMagic.Extensions;
using SalesforceMagic.Soa... | 2.557412 | b64b9498ab991a041f899ed9c87151b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837762 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "jeremytammik/FireRatingCloud",
"max_stars_repo_path": "FireRating/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156982"
} | starcoder | <filename>FireRating/Util.cs
#region Namespaces
using RestSharp;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Security.Cryptography;
#endregion // Namespaces
namespace FireRating
{
public class Util
{
#region HTTP Acces... | 2.57406 | 24e5a547fb9fb460f1bf1303ebcd36cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837763 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "KarateJB/EzOracle",
"max_stars_repo_path": "JB_EzOracle/JB_EzOracle/SetupForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156983"
} | starcoder | <filename>JB_EzOracle/JB_EzOracle/SetupForm.Designer.cs
namespace JB_EzOracleSQL
{
partial class SetupForm : System.Windows.Forms.Form
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 2.03249 | 4e1351021c06f1e52f82bf8dd3b388cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837764 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NaskoVasilev/Databases-Advanced-EntityFramework-Core",
"max_stars_repo_path": "JSON Processing/DataContractJsonSerializer/DataContractJsonSerializer/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156984"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using System;
using System.Linq;
using System.Xml;
namespace CSharpDataContractJsonSerializer
{
class StartUp
{
static void Main(string[] args)
{
ConvertJsonToStudent();
}
publi... | 3.095952 | 68958552a8ebde63374b68fbee6b854e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorTurFer/Esquio",
"max_stars_repo_path": "src/Esquio.AspNetCore/Toggles/ClaimValueToggle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156985"
} | starcoder | using Esquio.Abstractions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Esquio.AspNetCore.Toggles
{
[DesignType(Description = "Toggle that is active depending on the current claims... | 2.474803 | 17f72d186081b2b3523c45ff6baaf475 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837766 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "KirillAldashkin/C-Compiler",
"max_stars_repo_path": "CompilerTests/CompilerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156986"
} | starcoder | <filename>CompilerTests/CompilerTests.cs
using System;
using System.IO;
using System.Linq;
using CodeGeneration;
using LexicalAnalysis;
using NUnit.Framework;
using Parsing;
namespace CompilerTests {
[TestFixture]
public class CompilerTests {
[Test]
public void TestCompiler() {
Co... | 2.345904 | c6f0ece0aade03d607d1a258b7c75e3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837767 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWars/7kyu/ReverseWords.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156987"
} | starcoder | <filename>CodeWars/7kyu/ReverseWords.cs<gh_stars>10-100
/*
https://www.codewars.com/kata/reverse-words/train/csharp
https://www.codewars.com/kata/5259b20d6021e9e14c0010d4/solutions/csharp
7 kyu
Reverse words
Complete the function that accepts a string parameter,
and reverses each word in the string.
All spaces in ... | 3.807388 | 7c88494596feda591d2f8bd90f53d5fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bytewizer/huxley",
"max_stars_repo_path": "src/Bytewizer.TinyCLR.Boards.Huxley/Extensions/DateTimeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156988"
} | starcoder | using System;
namespace Bytewizer.TinyCLR.Boards.Huxley
{
/// <summary>
/// Contains extension methods for <see cref="DateTime"/>.
/// </summary>
public static class DateTimeExtensions
{
/// <summary>
/// Defines the epoch.
/// </summary>
private static readonly Dat... | 3.07348 | 2479d45e9535a733bc64b683b0449a7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837769 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Awbugl/Andreal",
"max_stars_repo_path": "Andreal/Data/Json/Arcaea/ArcaeaLimited/UserinfoData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156989"
} | starcoder | <reponame>Awbugl/Andreal<filename>Andreal/Data/Json/Arcaea/ArcaeaLimited/UserinfoData.cs
using Newtonsoft.Json;
#pragma warning disable CS8618
namespace Andreal.Data.Json.Arcaea.ArcaeaLimited;
[Serializable]
public class UserinfoData
{
[JsonProperty("data")] public UserinfoDataItem Data { get; set; }
}
| 1.625292 | bb1ae302e85553f36bd0bf03c4918e7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837770 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "skybrud/Skybrud.Essentials",
"max_stars_repo_path": "src/Skybrud.Essentials/Strings/Extensions/RegexExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156990"
} | starcoder | using System.Text.RegularExpressions;
using JetBrains.Annotations;
namespace Skybrud.Essentials.Strings.Extensions {
/// <summary>
/// Class with extension methods for working with regular expressions.
/// </summary>
public static class RegexExtensions {
/// <summary>
/// Indicates w... | 3.073865 | 3dad627c0cc7223ed8024d22613e53e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lmj921/PerformanceExample",
"max_stars_repo_path": "PerformanceExample/Assets/Scripts/ColorCubeMat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156991"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColorCubeMat : MonoBehaviour {
private float _randomTime;
private float _time;
private Material _greenMat;
private Material _redMat;
private Renderer _renderer;
private Color _colorFlag;
// Us... | 2.571401 | 5f4b3df0f57201e04c39d657251cddbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarzanzito/MusicCollectionManager",
"max_stars_repo_path": "TagLibWrapper/TagLibWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156992"
} | starcoder | <reponame>tarzanzito/MusicCollectionManager<filename>TagLibWrapper/TagLibWrapper.cs
namespace WindowsFormsApplication4
{
public class TagLibWrapper
{
private TagLib.File _file = null;
private string _artist;
private string _albumArtist;
private string _album;
private ui... | 2.303922 | 0b9f5faf6d360ad8d90d17612ebf6712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837773 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Envisage-H2020/Virtual-labs-authoring-tool",
"max_stars_repo_path": "StandardAssets/Chemistry/Scripts/MoleculeConstructionScripts/ElementCollision.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156993"
} | starcoder | using UnityEngine;
public class ElementCollision : MonoBehaviour {
private Renderer rend;
public bool placed;
public bool loopCheck = false; // used only for the loop check
private Color elementColor;
private void Start()
{
rend = GetComponent<Renderer>();
placed = false;
... | 2.271574 | 3dd86bb677ed824f231c8d9fffc16564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EngagingGear/SpriteEz",
"max_stars_repo_path": "SpriteEz/SpriteEzGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156994"
} | starcoder | using System.Collections.Generic;
namespace SpriteEz
{
/// <summary>
/// Simple class to generate the sprite and css file.
/// </summary>
public class SpriteEzGenerator
{
private readonly Config _config;
private readonly IImageDataSetBuilder _imageDataSetBuilder;
priva... | 2.990168 | 641a9db9e61738781d269f40d419928f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837775 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sofusskovgaard/TheWebShop",
"max_stars_repo_path": "TheWebShop.Data/Entities/User/UserEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156995"
} | starcoder | <filename>TheWebShop.Data/Entities/User/UserEntity.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Microsoft.AspNetCore.Identity;
using TheWebShop.Data.Entities.Order;
namespace ... | 2.286862 | 9a54c9772365d45a703da4f4eac39b12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MadGriffonGames/BiltyBlop-Farts",
"max_stars_repo_path": "Assets/Scripts/Player/ThrowPrefab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156996"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ThrowPrefab : MonoBehaviour {
public string shopName;
public bool isLocked; // true = THROW locked; false = THROW unlocked;
public int orderNumber;
public Sprite throwSprite;
public int crystalCost;
public int coinCo... | 2.395345 | a18eaa366b936ce0629f8af9b75263b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837777 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dipomaster/protype_portfolio",
"max_stars_repo_path": "New Unity Project/Library/PackageCache/com.unity.shadergraph@6.9.0/Editor/Data/Graphs/Vector3ShaderProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156997"
} | starcoder | <reponame>dipomaster/protype_portfolio
using System;
using UnityEditor.Graphing;
using UnityEngine;
namespace UnityEditor.ShaderGraph
{
[Serializable]
class Vector3ShaderProperty : VectorShaderProperty
{
public Vector3ShaderProperty()
{
displayName = "Vector3";
}
... | 2.179452 | e073aa733cd0290ccabc480f9e5cbf82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837778 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "cjlpowers/TypeScripter",
"max_stars_repo_path": "Src/TypeScripter/Readers/DataContractTypeReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156998"
} | starcoder | <filename>Src/TypeScripter/Readers/DataContractTypeReader.cs
#if (NETCLR || NET45)
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using TypeScripter.TypeScript;
namespace TypeScripter.Rea... | 2.810089 | 87b123d6ba0d7d415e73758c297588a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clintmasden/helpjuice.client",
"max_stars_repo_path": "HelpJuice.Client/Queries/Models/AccountSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156999"
} | starcoder | <filename>HelpJuice.Client/Queries/Models/AccountSettings.cs
using System;
using System.Text.Json.Serialization;
namespace HelpJuice.Client.Queries.Models
{
public class AccountSettings
{
/// <summary>
/// Name of your account.
/// </summary>
[JsonPropertyName("name")]
... | 2.389222 | 92ab5d0bcc35aab2d4a24775bdad5f41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HarrisonSuffka/ITSE-1430",
"max_stars_repo_path": "Class Work Folder/Section 2/Nile/Nile/Product.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157000"
} | starcoder | <reponame>HarrisonSuffka/ITSE-1430
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nile
{
/// <summary>Represents A Product.</summary>
/// <remarks>This will represent a product with other stuff.</remarks>
public class Product
... | 3.182058 | 97a93489f7c09f55f36b0ffcbeb5fe61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837781 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NeikoGrozev/CSharpAdvanced",
"max_stars_repo_path": "Advanced/Exercises/16. Iterators and Comparators - Exercise/03.Stack/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157001"
} | starcoder | namespace Stack
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
static void Main()
{
var custumStack = new CustomStack<int>();
while (true)
{
List<string> input = Console.ReadLine()
... | 3.669057 | 196a2ee5705f335a9c4ec6f58f301995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KristiyanAngelov/FitGym",
"max_stars_repo_path": "Web/FitGym.Web.ViewModels/Forum/IndexCategoryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157002"
} | starcoder | <reponame>KristiyanAngelov/FitGym
namespace FitGym.Web.ViewModels.Forum
{
using FitGym.Data.Models;
using FitGym.Services.Mapping;
public class IndexCategoryViewModel : IMapFrom<Category>
{
public int Id { get; set; }
public string Title { get; set; }
public string Descriptio... | 1.444476 | 2cc82d634c1704fed9ce81c6226f374c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanklann/M3PlusMicrocontrollerSimulator",
"max_stars_repo_path": "ConsoleTestSimulation/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157003"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using M3PlusMicrocontroller;
namespace ConsoleTestSimulation {
class Program {
const int to = 100000000;
static void Main(string[] args) {
//St... | 2.681717 | 3e768e555fb7af9cb329c1f529b885a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "r-koubou/ArticulationUtility",
"max_stars_repo_path": "UseCases/Values/Spreadsheet/Aggregate/Workbook.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157004"
} | starcoder | <reponame>r-koubou/ArticulationUtility<filename>UseCases/Values/Spreadsheet/Aggregate/Workbook.cs
using System;
using System.Collections.Generic;
namespace ArticulationUtility.UseCases.Values.Spreadsheet.Aggregate
{
public class Workbook
{
public string Path { get; }
public readonly List<Worksh... | 2.34582 | 73e64849d9e23013f208ae8e4d5acd8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837785 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "13f/picker",
"max_stars_repo_path": "Consoles/ConsoleDBApp/Biz/CpbzBiz.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157005"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConsoleDBApp.Models;
namespace ConsoleDBApp.Biz {
public class CpbzBiz {
CpbzDataContext db = null;
public CpbzBiz( string conn ) {
db = new CpbzDataContext( conn );
}
p... | 2.344752 | 1377aaad44f27bcc342a2836a3eba8c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MS-Practice/mq",
"max_stars_repo_path": "MQ.Shared/Messages/TextMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157006"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MQ.Shared.Messages
{
public class TextMessage
{
public string Text { get; set; }
}
}
| 1.485121 | 89e124694592359bcf2f00420e5bd9cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alfonsoquartny/Sherlocked",
"max_stars_repo_path": "The Sherlocked/Assets/Malbers Animations/Common/Scripts/ID/StatID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157007"
} | starcoder | namespace MalbersAnimations
{
[System.Serializable]
[UnityEngine.CreateAssetMenu(menuName = "Malbers Animations/ID/Stat", fileName = "New Stat ID", order = -1000)]
public class StatID:IDs{}
}
| 0.999226 | c12aa5b5d58d4f330df6f22764848b1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neurospeech/ui-atoms-wpf-silverlight",
"max_stars_repo_path": "MAIN/WPF/UIAtoms/UIAtoms.WPFSample/LayoutSamples/AccordionSample.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157008"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Wind... | 2.063525 | f5a92ba8f6d485b2843a0a71fdb8be5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837789 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Maugun/NEATUnity",
"max_stars_repo_path": "Assets/NEAT/Demo/SmartCarV2/Scripts/CameraController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157009"
} | starcoder | <reponame>Maugun/NEATUnity
using UnityEngine;
namespace NEAT.Demo.SmartCarV2
{
public class CameraController : MonoBehaviour
{
public float addToZ = 5f;
public void CenterCameraOnMap(int x, int y, float tileSize)
{
float xPos = ((x + 1) / 2) * tileSize;
float z... | 2.368007 | 467f2591ca125c713d9917df80ff8ead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mass1ve-err0r/RepoToolbox",
"max_stars_repo_path": "Structs/GeneralExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157010"
} | starcoder | <filename>Structs/GeneralExtensions.cs<gh_stars>1-10
using System.IO;
namespace RepoToolbox.Structs
{
public static class GeneralExtensions
{
public static bool IsNullOrEmpty<T>(this T[] array) {
return (array == null || array.Length == 0);
}
public static void SkipLines(t... | 2.998474 | ba3f754ac707d836ef67f5eea3c7cb40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roger-borges/ValidationUnits",
"max_stars_repo_path": "InitialCodeProject/ValidationUnits/ValidationUnits/Validator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157011"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidationUnits.BusinessValidationUnits;
namespace ValidationUnits
{
public static class Validator
{
public static ValidationUnitResult Validate<T>(T entity, ValidatorSettings settings, params IBusi... | 2.340258 | 4494629e0c6243d09b042dc478804081 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phuocquach/simple-shop-service",
"max_stars_repo_path": "src/Mine.Commerce.Domain/Common/IAnchor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157012"
} | starcoder | <filename>src/Mine.Commerce.Domain/Common/IAnchor.cs
namespace Mine.Commerce.Domain.Common
{
public interface IAnchor
{
}
} | 1.27906 | e862b7d21bc1a7ef553dd92114ba676e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-roatp-api",
"max_stars_repo_path": "src/SFA.DAS.Roatp.Data/RoatpDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157013"
} | starcoder | using Microsoft.EntityFrameworkCore;
using SFA.DAS.Roatp.Domain.Entities;
namespace SFA.DAS.Roatp.Data
{
public class RoatpDataContext : DbContext
{
public DbSet<Standard> Standards { get; set; }
public DbSet<Provider> Providers { get; set; }
public DbSet<ProviderCourse> ProviderCourse... | 1.877117 | 0e43b0e5ce3d3ec619f0d58a18a94bee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837794 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "cemsagan/ProductContext-EventSourcing",
"max_stars_repo_path": "src/ProductContext.Domain/Products/VariantTypeValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157014"
} | starcoder | <filename>src/ProductContext.Domain/Products/VariantTypeValue.cs<gh_stars>10-100
using System;
using AggregateSource;
using ProductContext.Domain.Contracts;
namespace ProductContext.Domain.Products
{
public class VariantTypeValue : AggregateRootEntity
{
public static readonly Func<VariantTypeValue> ... | 2.439817 | 3d1973a43d2ab002771eeeab96c489cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SMaleck/unity-actor-system",
"max_stars_repo_path": "Runtime/Installation/EnticsFactoryInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157015"
} | starcoder | using Zenject;
namespace EntiCS.Installation
{
public class EnticsFactoryInstaller : Installer<EnticsFactoryInstaller>
{
public override void InstallBindings()
{
Container.BindFactory<
Entity,
Entity.Factory>()
.AsSingle();
... | 1.790489 | 510c7bdbbf05f0ebdfb43d7bceb2aa22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markstiles/SitecoreCognitiveServices.Core",
"max_stars_repo_path": "src/Foundation/BigMLSDK/code/Query/InputAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157016"
} | starcoder | <filename>src/Foundation/BigMLSDK/code/Query/InputAttribute.cs<gh_stars>0
using System;
namespace SitecoreCognitiveServices.Foundation.BigMLSDK
{
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class InputAttribute : Attribute
{
}
} | 1.80448 | 1437d4411245df650d2b43ad3527c4d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdevito3/Craftsman",
"max_stars_repo_path": "Craftsman/Domain/MessageTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157017"
} | starcoder | <reponame>pdevito3/Craftsman<filename>Craftsman/Domain/MessageTemplate.cs<gh_stars>0
namespace Craftsman.Domain;
using System.Collections.Generic;
public class MessageTemplate
{
public List<Message> Messages { get; set; }
}
| 1.680594 | 5925358313261851383d9fc01c446651 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OlehMarchenko95/ort_csharp_js",
"max_stars_repo_path": "AutoTests_JS/POM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157018"
} | starcoder | <reponame>OlehMarchenko95/ort_csharp_js
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoTests_JS
{
public class POM
{
public POM(RemoteWebDriver drive... | 2.372362 | 9bda87999c1b23e4a538f54e5dce209b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837799 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "joaofbantunes/OOPsIDidItAgain",
"max_stars_repo_path": "src/OOPsIDidItAgain.06.MinimizingExceptions.Web/Filters/ExceptionFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157019"
} | starcoder | <filename>src/OOPsIDidItAgain.06.MinimizingExceptions.Web/Filters/ExceptionFilter.cs
using System;
using System.Diagnostics.CodeAnalysis;
using System.Net;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using OOPsIDidItAgain._06.MinimizingExceptions.Web.Domain;
namespa... | 2.588436 | c61e25b11c80c9f68c08d8e12477247a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837800 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Need4Oxygen/battlefinder",
"max_stars_repo_path": "Assets/Scripts/Statics/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157020"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
public class Logger
{
public static List<string> blacklists = new List<string>()
{
"WindowManager",
"TYaml",
"TJson",
};
public static List<string> blacklistsWarn = new List<string>()
{
};
public s... | 2.238198 | 4cd17e1bff137e8eb5300c9e59179a0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837801 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "LittleLittleCloud/dotnet-interactive-extension-lab",
"max_stars_repo_path": "src/TestUtilities/ObservableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157021"
} | starcoder | <gh_stars>1-10
namespace TestUtilities;
public static class ObservableExtensions
{
public static SubscribedList<T> ToSubscribedList<T>(this IObservable<T> source)
{
return new SubscribedList<T>(source);
}
} | 1.868214 | d6454d0ea6808285ed517fc7d329bd8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DreiK-one/NewsAggregator",
"max_stars_repo_path": "NewsAggregator/NewsAggregator.App/Models/DeleteRoleViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157022"
} | starcoder | <reponame>DreiK-one/NewsAggregator
namespace NewsAggregator.App.Models
{
public class DeleteRoleViewModel : BaseModel
{
public string Name { get; set; }
}
}
| 1.307123 | 63afb66f60bc6b01ee5de444e516322d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndriySvyryd/CosmosRepro",
"max_stars_repo_path": "CosmosRepro/CosmosContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157023"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace CosmosRepro
{
public class CosmosContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseCosmos(
"https://localhost:8081",
"<KEY>
... | 2.290029 | b339423b19e9e77ad3175ccf8161a88f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837804 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "zkweb-framework/ZKWeb.Plugins",
"max_stars_repo_path": "src/ZKWeb.Plugins/Shopping.Product/src/Domain/Extensions/ProductExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157024"
} | starcoder | <reponame>zkweb-framework/ZKWeb.Plugins
using System.Collections.Generic;
using System.Linq;
using ZKWeb.Localize;
using ZKWeb.Plugins.Common.Base.src.Components.Mscorlib.Extensions;
using ZKWeb.Plugins.Shopping.Product.src.Components.ProductStates.Interfaces;
using ZKWeb.Plugins.Shopping.Product.src.Components.P... | 2.196658 | 1a028293a15e17f27e559823b451d19a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837805 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Be5NzZ/Bot_DotNet",
"max_stars_repo_path": "Bot.Messenger/Tools/SendApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157025"
} | starcoder | using Bot.Messenger.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Bot.Messenger.Tools
{
public class SendApi : ApiBase
... | 2.235556 | 5a13df4a90dfe0f4039e313ec108c7d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837806 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TihiZmaj/RDVFSharp",
"max_stars_repo_path": "RDVFSharp/Commands/General/Stats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157026"
} | starcoder | using FChatSharpLib.Entities.Plugin.Commands;
using RDVFSharp.Errors;
using System.Collections.Generic;
namespace RDVFSharp.Commands
{
public class Stats : BaseCommand<RendezvousFighting>
{
public override string Description => "Displays your own stats.";
public override void ExecuteCommand(s... | 2.382248 | 2dec86dea05d8f18203a5213c038423f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rootguigui/DDD_Asp.Net5.0",
"max_stars_repo_path": "Manager/Manager.Service/Services/UserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157027"
} | starcoder | <filename>Manager/Manager.Service/Services/UserService.cs
using AutoMapper;
using Manager.Core.Exceptions;
using Manager.Domain.Entities;
using Manager.Infra.Interfaces;
using Manager.Services.DTO;
using Manager.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
... | 2.743795 | 5a1cc902f4601a6e8b593f3ccdc44007 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talerok/EducationPortal",
"max_stars_repo_path": "Education.DAL/Entities/Forum/UserGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157028"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Education.DAL.Entities
{
public enum UserGroupStatus
{
request,
member,
owner
}
public class UserGroup
{
public int GroupId { get; set; }
public virtual Group Group { get; set; }
... | 2.020848 | 6893116b7d1e3550cdc86630723011d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evrenarifoglu69/bbt.loyalty",
"max_stars_repo_path": "src/Bbt.Campaign.Api/Bbt.Campaign.Public/Dtos/Target/VerificationTime/VerificationTimeDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157029"
} | starcoder | <reponame>evrenarifoglu69/bbt.loyalty
namespace Bbt.Campaign.Public.Dtos.Target.VerificationTime
{
public class VerificationTimeDto
{
public int Id { get; set; }
public string Name { get; set; }
}
}
| 1.187115 | 2324be2cb4930b1a6c0cfb8eda836d4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837810 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "felix-b/Hapil",
"max_stars_repo_path": "Source/Hapil.UnitTests/EnumerableShortcutsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157030"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hapil.Operands;
using Hapil.Testing.NUnit;
using NUnit.Framework;
using TT = Hapil.TypeTemplate;
namespace Hapil.UnitTests
{
[TestFixture]
public class EnumerableShortcutsTests : NUnitEmittedTypesTestBase
{
[Test]
publi... | 2.732174 | f97bdf33ff9b12d13b175c1df672ebdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837811 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "MrLuje/Paket.VisualStudio",
"max_stars_repo_path": "src/Paket.VisualStudio/PaketMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157031"
} | starcoder | namespace Paket.VisualStudio
{
public class PaketMetadata
{
public PaketMetadata(string groupName, string packageName, string version)
{
GroupName = groupName;
Id = packageName;
VersionString = version;
}
public string GroupName { get; privat... | 1.942164 | b4d1ecae9b0efb37735d55644b6bf8d1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.