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 | 87889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hub-burgan-com-tr/bbt.loyalty",
"max_stars_repo_path": "src/Bbt.Campaign.Api/Bbt.Campaign.Core/DbEntities/CampaignTargetListEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87890"
} | starcoder | <gh_stars>0
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Bbt.Campaign.Core.DbEntities
{
[Table("CampaignTargetListView")]
public class CampaignTargetListEntity
{
[Key]
public int Id { get; set; }
public int CampaignId { ... | 1.364902 | b75dc3e1f184401dd50c7a3758b319f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87890 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "askovsgaard/riak-dotnet-client",
"max_stars_repo_path": "src/RiakClientTests/Models/MapReduce/Inputs/MapReduceSerializationTestsBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87891"
} | starcoder | <gh_stars>10-100
// <copyright file="MapReduceSerializationTestsBase.cs" company="Basho Technologies, Inc.">
// Copyright 2011 - <NAME> & <NAME>
// Copyright 2014 - Basho Technologies, Inc.
//
// This file is provided to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file
// ex... | 1.712976 | 9ae1e1544d3b0ec8ae1988df333d62dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nomrand/TeamReformer",
"max_stars_repo_path": "TeamReform/TeamReform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87892"
} | starcoder | /// Copyright [2019] [https://github.com/nomrand]
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by... | 3.016963 | 9897295f6fcc192c0c42d38fb89f3ba5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sumitc91/coding",
"max_stars_repo_path": "Coding/LeetCode/Easy/String/IsPalindromeSoln.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87893"
} | starcoder | <filename>Coding/LeetCode/Easy/String/IsPalindromeSoln.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace LeetCode.AskGif.Easy.String
{
public class IsPalindromeSoln
{
public bool IsPalindrome(string s)
{
int i = 0;
int j = s.Length - 1;
... | 3.852176 | fc6bb50f3993b51768ef2effef1dd161 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87893 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dbochicchio/BotBuilder-MicrosoftTeams",
"max_stars_repo_path": "CSharp/Tests/Microsoft.Bot.Connector.Teams.Tests.Shared/ConnectorExtensionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87894"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
// Microsoft Teams: https://dev.office.com/microsoft-teams
//
// Bot Builder SDK GitHub:
// https://github.com/Microsoft/BotBuilder
//
// Bot Builder SDK Extensions for Teams
// ht... | 1.952162 | c19cbef48801edf7d834c6ddc36e47a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87894 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.DomainModel.Persistence.Core/DataModel/DatasetCategoryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87895"
} | starcoder | <reponame>ProSuite/ProSuite
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.Commons.Orm.NHibernate;
using ProSuite.DomainModel.Core.DataModel;
using ProSuite.DomainModel.Core.DataModel.Repositories;
namespace ProSuite.DomainModel.Persistence.Core.DataModel
{
[UsedImplicitly]
public class DatasetCat... | 1.732001 | 8ea09bb24fbbc57cf70faaa6fab6bc26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuinntyneBrown/handlebars-rx-ui-example-app",
"max_stars_repo_path": "handlebars-rx-ui-example-app/Dtos/FragmentDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87896"
} | starcoder | using System.Collections.Generic;
namespace Handlebars.Rx.UI.Example.App.Dtos
{
public class FragmentDto
{
public string Name { get; set; }
public Dictionary<string,string> Properties { get; set; }
}
} | 1.601387 | 7c926a703dbe0271bcc7fdf0d9cada9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "changemyminds/DesignPatternWithCSharp",
"max_stars_repo_path": "Strategy/DecodeExcelStarategy/GenStructFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87897"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Strategy
{
public class GenStructFile : IFile
{
public string DecodeExcel()
{
var decodeResultStr = "Decode Excel Gen Struct Content";
Console.WriteLine(decodeResultStr);
return dec... | 2.611439 | 045dacb38e43fb5b3deccac0c0f9cb7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87897 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-servicetaxonomy-editor",
"max_stars_repo_path": "DFC.ServiceTaxonomy.VersionComparison/Services/IContentNameService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87898"
} | starcoder | <filename>DFC.ServiceTaxonomy.VersionComparison/Services/IContentNameService.cs
using System.Threading.Tasks;
namespace DFC.ServiceTaxonomy.VersionComparison.Services
{
public interface IContentNameService
{
Task<string> GetContentNameAsync(string contentItemId);
}
}
| 1.623417 | db5c02b9747937d54b4755a4dbf5931b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jungrok5/BitBox",
"max_stars_repo_path": "BitBox/Log/LoggerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87899"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;
using log4net.Appender;
using log4net.Config;
namespace BitBox.Log
{
public enum LogType
{
Debug, Info, Warning, Error
};
// 기본적으로 log4net을 로그모듈로 사용하려고함
// 콘솔... | 2.736079 | db5ce191d2019ca3d475ac286def2308 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "b3b00/corelisp",
"max_stars_repo_path": "LispModel/core/lisp/model/SymbolLiteral.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87900"
} | starcoder | <filename>LispModel/core/lisp/model/SymbolLiteral.cs
using System.Collections.Generic;
using core.lisp.lexer;
using sly.lexer;
namespace core.lisp.model
{
public class SymbolLiteral : LispLiteral
{
public override double DoubleValue => 0.0;
public override int IntValue => 0;
public ove... | 2.824018 | 5373803e75faf7040eaf3e0fc0af1e30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NeikoGrozev/CSharpBasic",
"max_stars_repo_path": "Exercises/02. Simple Operation And Calculation/8.CelsiusToFarenheit/CelsiusToFarenheit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87901"
} | starcoder | using System;
class CelsiusToFarenheit
{
static void Main()
{
double celsius = double.Parse(Console.ReadLine());
double farenheit = celsius * 1.8 + 32;
Console.WriteLine("{0:F2}", farenheit);
}
}
| 3.174491 | cb19aab51907bcc017ed2599945b95de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zdzdz/Loops-HW",
"max_stars_repo_path": "NumbersFromOneToN/printNumbers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87902"
} | starcoder | <gh_stars>0
//Problem 1. Numbers from 1 to N
// Write a program that enters from the console a positive integer n and
// prints all the numbers from 1 to n, on a single line, separated by a space.
using System;
class printNumbers
{
static void Main()
{
Console.Write("Please insert a number: ... | 4.133047 | 1bf68d7db9fd91a521a2d33d3f104355 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AffinityID/uScheduler",
"max_stars_repo_path": "uScheduler/Models/Schedule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87903"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace uScheduler.Models {
[TableName(SchedulerConstants.Database.ScheduleTable)]
public class Schedule {
[PrimaryKeyColumn(AutoIncrement = true... | 2.161714 | 429388eb8d3dd37d9df3315d38cf1b8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JunYu103022072/WebSample",
"max_stars_repo_path": "WebSample/AccountingNote.DBsourse/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87904"
} | starcoder | <filename>WebSample/AccountingNote.DBsourse/Logger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccountingNote.DBsourse
{
public static class Logger
{
public static void WriteLog(Exception ex)
{
Sys... | 2.286083 | 485e60a9c9f97d64c11327ef2cdd5db7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87904 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.Text.Json/src/System/Text/Json/Writer/Utf8JsonWriter.WriteValues.FormattedNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87905"
} | starcoder | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Buffers;
using System.Diagnostics;
namespace System.Text.Json
{
public sealed partial class Utf8JsonWriter
{
/// <summary>
/// W... | 2.748277 | eedcd9d1f46548e01ed0b48fea5c8aa2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87905 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tk-yoshimura/TensorShader",
"max_stars_repo_path": "TensorShaderUtilTest/ArrayIO/ArrayIOTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87906"
} | starcoder | <filename>TensorShaderUtilTest/ArrayIO/ArrayIOTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using TensorShaderUtil.ArrayIO;
namespace TensorShaderUtilTest {
[TestClass]
public class ArrayIOTest {
[TestMethod]
public void ReadWriteTest() {
string filep... | 2.718207 | 1ee7b1b5f12283c7a72e734addcff4da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Romansko/SyncMeasure",
"max_stars_repo_path": "SyncMeasure/Combiner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87907"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace SyncMeasure
{
public partial class Combiner : Form
{
private readonly Handler _handler;
public Combiner(Handler handler)
{
InitializeComponent();
numericUpDown1.Contr... | 2.489392 | fec11b1b5ed5a7d2f17b7bb66059c625 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87907 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TheJimmyBlaze/JamLib",
"max_stars_repo_path": "JamLib/Client/JamClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87908"
} | starcoder | using JamLib.Database;
using JamLib.Domain;
using JamLib.Domain.Serialization;
using JamLib.Packet;
using JamLib.Packet.Data;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
... | 2.091099 | 95f4eac68af21cecc396540ee2080367 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XCVG/XSMP",
"max_stars_repo_path": "XSMP/MediaDatabase/Models/ArtistSong.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87909"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace XSMP.MediaDatabase.Models
{
public partial class ArtistSong
{
public string SongHash { get; set; }
public string ArtistName { get; set; }
... | 1.942456 | df70245ba9f48d6ccc4568b65ddad654 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87909 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "skyhoshi/Eamon-CS",
"max_stars_repo_path": "Adventures/TheVileGrimoireOfJaldial/Game/States/Player/AfterPlayerMoveState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87910"
} | starcoder |
// AfterPlayerMoveState.cs
// Copyright (c) 2014+ by <NAME>. All rights reserved.
using System.Diagnostics;
using System.Linq;
using Eamon.Game.Attributes;
using Eamon.Game.Extensions;
using EamonRT.Framework.Primitive.Enums;
using EamonRT.Framework.States;
using static TheVileGrimoireOfJaldial.Game.Plu... | 2.020283 | fae9b82b3f85d56f8d0d3c9dfa166b2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Sources/Engine/NeoAxis.Stubs/System.Windows.Forms/System.Windows.Forms/ToolStripManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87911"
} | starcoder | namespace System.Windows.Forms
{
public sealed class ToolStripManager
{
public static ToolStripRenderer Renderer
{
get
{
throw null;
}
set
{
throw null;
}
}
public static ToolStripManagerRenderMode RenderMode
{
get
{
throw null;
}
set
{
throw null;
}
}
... | 1.924726 | fe946545a5b319ae7c1d90b792193e48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87911 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "sotanmochi/UnityMultiplayerToolkit",
"max_stars_repo_path": "SampleProjects/SimpleMultiplayer/Assets/UnityMultiplayerToolkit.Samples/SimpleMultiplayer/Client/Scripts/View/ServerProcessControlView.cs",
"provenance": "train-00000-of-000... | starcoder | using System;
using UnityEngine;
using UnityEngine.UI;
using UniRx;
namespace UnityMultiplayerToolkit.Samples.SimpleMultiplayer.Client
{
public class ServerProcessControlView : MonoBehaviour
{
[SerializeField] Button _Button_ServerProcessDownCommand;
public IObservable<Unit> OnTriggerServerProc... | 1.596018 | 90f25ebfd9216015d2d9c045cb26e8b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lightdawncoders/bit-framework",
"max_stars_repo_path": "src/Server/Bit.IdentityServer/Implementations/DefaultIdentityServerLogProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87913"
} | starcoder | using System;
using Bit.Core.Contracts;
using IdentityServer3.Core.Logging;
namespace Bit.IdentityServer.Implementations
{
public class DefaultIdentityServerLogProvider : ILogProvider, IDisposable
{
public virtual IDependencyManager DependencyManager
{
set
{
... | 2.255872 | dc41cbed38da487b70ed5ef9c1584fbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "phofman/db-migrator",
"max_stars_repo_path": "src/CodeTitans.DbMigrator.Core/Migrator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87914"
} | starcoder | using System;
using System.Collections.Generic;
using CodeTitans.DbMigrator.Core.Migrations.TSql;
namespace CodeTitans.DbMigrator.Core
{
/// <summary>
/// Factory class to instantiate migration workers.
/// </summary>
public static class Migrator
{
/// <summary>
/// Cre... | 2.505229 | 05324b83fedeb143a0b2bbcba07958de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87914 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NaskoVasilev/CSharp-OOP-Advanced",
"max_stars_repo_path": "Dependancy Injection/DependancyInjection/CustomDependencyInjectionReaderAndWriter/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87915"
} | starcoder | using CustomDependancyInjectionFramework.Contracts;
using CustomDependancyInjectionFramework.Injectors;
using CustomDependencyInjectionReaderAndWriter.Core;
using CustomDependencyInjectionReaderAndWriter.Core.Contracts;
using CustomDependencyInjectionReaderAndWriter.Modules;
namespace CustomDependencyInjectionReaderA... | 1.847537 | ae5de4667a7e7dc6dcd9ccf25f730ab3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87915 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "jpaulm/csharpfbp",
"max_stars_repo_path": "UnitTests/ReadTextTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87916"
} | starcoder | <filename>UnitTests/ReadTextTests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FBPLib;
using System.Linq;
using Components;
using System.Threading.Tasks;
namespace UnitTests
{
[TestClass]
public class CanReadText : Network
{
/* *
* Copyright 2007, 2008,... | 2.597478 | f809b1e8d36a8559660e27db4c5e755f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "admiraldolphin/govhack2016",
"max_stars_repo_path": "Beat The Press/Assets/PlayerActions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87917"
} | starcoder | <reponame>admiraldolphin/govhack2016
using System;
using InControl;
public class PlayerActions : PlayerActionSet
{
public PlayerAction Join;
public PlayerAction Left;
public PlayerAction Right;
public PlayerAction Up;
public PlayerAction Down;
public PlayerAction Grab;
public PlayerActio... | 2.039267 | c56c0d37dbec84a4da0184f0ef9dfcb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87917 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mrkmg/PathFinder",
"max_stars_repo_path": "Extras/PathFinder.Gui/PathFinder.Gui/Widgets/LayeredBitmapWidget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87918"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Eto.Drawing;
using Eto.Forms;
namespace PathFinder.Gui.Widgets
{
public class LayeredBitmapWidget : Drawable
{
public int BitmapWidth => Width / _scale;
public int BitmapHeight => Height / _scale;
public int Layers... | 2.73627 | 2ddd9d4fd22a140740bd798dcf666ce1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87918 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ancailliau/KAOSTools",
"max_stars_repo_path": "Parsing/Builders/Declarations/PredicateDeclareBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87919"
} | starcoder | using System;
using UCLouvain.KAOSTools.Core;
using UCLouvain.KAOSTools.Parsing.Parsers;
namespace UCLouvain.KAOSTools.Parsing.Builders.Declarations
{
public class PredicateDeclareBuilder : DeclareBuilder
{
public PredicateDeclareBuilder()
{
}
public override void BuildDeclare(ParsedDec... | 2.456153 | aef23936fe070f71154fc6d9a377cd19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87919 | {
"extension": "c-sharp",
"max_stars_count": "708.0",
"max_stars_repo_name": "gaojunhuang/Alipay.AopSdk.Core",
"max_stars_repo_path": "Alipay.AopSdk.Core/Domain/Paragraph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87920"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// Paragraph Data Structure.
/// </summary>
[Serializable]
public class Paragraph : AopObject
{
/// <summary>
/// 图片列表
/// </summary>
[JsonProperty("pictures")]
public ... | 2.05294 | ed78a85004e869360e76ae87c53a662d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87920 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "piti6/UniSkin",
"max_stars_repo_path": "Scripts/InternalBridge/Extensions/GUIStyleExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87921"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using UnityEngine;
namespace UniSkin
{
internal static class GUIStyleExtensions
{
public static IEnumerable<(StyleStateType StyleStateType, GUIStyleState StyleState)> AsStyleStateEnumerable(this GUIStyle style)
{
yield return (Style... | 2.456377 | 796444c68b0a75e9031cb5abf9d4888b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87921 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "penghuidong/gdnet",
"max_stars_repo_path": "GameDesigner/Network/core/Share/IDebugHandle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87922"
} | starcoder | namespace Net.Share
{
/// <summary>
/// 网络调式日志信息处理接口
/// </summary>
public interface IDebugHandle
{
/// <summary>
/// 当输出信息
/// </summary>
/// <param name="msg"></param>
void Log(string msg);
/// <summary>
/// 当远程过程调用函数
/// </summary>
... | 2.246953 | 76a80650ded47c000201ff2c49553889 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/part/src/files/kinds/models/FileModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87923"
} | starcoder | <filename>src/part/src/files/kinds/models/FileModule.cs
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using Syst... | 2.214487 | 1920d2b484497318db921d30eb0cf229 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RootGame/Odin-Inspector-Chinese-Tutorial",
"max_stars_repo_path": "Assets/Scripts/1.QuickStart/3.Meta Attributes/MetaAttributes1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87924"
} | starcoder | <filename>Assets/Scripts/1.QuickStart/3.Meta Attributes/MetaAttributes1.cs
#region
using Sirenix.OdinInspector;
using UnityEngine;
#endregion
namespace D_Game.Demo
{
public class MetaAttributes1 : MonoBehaviour
{
[Required]
public GameObject RequiredReference;
[InfoBox("此消息仅在MyInt字段... | 2.314592 | c61427eb03c65cb1e5905dbefa29e455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87924 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vencislav-viktorov/VS-Console-App",
"max_stars_repo_path": "Programming Basics/5.Complex Conditional Statements/07. Fruit Shop/Fruit_Shop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87925"
} | starcoder | using System;
namespace _07.Fruit_Shop
{
class Fruit_Shop
{
static void Main()
{
var product = Console.ReadLine().ToLower();
var day = Console.ReadLine().ToLower();
var quantity = double.Parse(Console.ReadLine());
if (day == "monda... | 3.727785 | 7fc5619dc3b12b2f6d0af33588ddc2ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rposener/DDCore",
"max_stars_repo_path": "demosrc/ShopData/Configuration/ProductSummaryConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87926"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ShopDomain.Catalog;
namespace ShopData.Configuration
{
public class ProductSummaryConfiguration : IEntityTypeConfiguration<ProductSummaryResult>
{
public void Configure(EntityTypeBuilder<ProductSummaryRes... | 2.095368 | 62944ea574e5d9fa72df5f1662a42b4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitHubdoDiego/DIO_App_Bank",
"max_stars_repo_path": "DIOBank/Formularios/F_Gerenciador.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87927"
} | starcoder |
namespace DIOBank
{
partial class F_Gerenciador
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... | 1.917229 | 2eb8ec8a87479b94006a2921e0dfd0d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasilecampeanu/scannercam",
"max_stars_repo_path": "async-img-transfer/Server/Server/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87928"
} | starcoder | <gh_stars>0
namespace Server
{
class MainClass
{
public static void Main(string[] args)
{
AsynchronousServer client = new AsynchronousServer();
}
}
} | 1.343203 | afa0c77044c94eafad886af6e1c89474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aishang2015/Snippet",
"max_stars_repo_path": "api/Snippet/Core/Method/DistributeCacheExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87929"
} | starcoder | using Microsoft.Extensions.Caching.Distributed;
namespace Snippet.Core.Method
{
public static class DistributeCacheExtension
{
#region 异步方法
#region int
/// <summary>
/// 设置数值
/// </summary>
public static async Task SetIntAsync(this IDistributedCache cache, str... | 2.783575 | 55173a1ec8fb2d615a70c6f65e96122e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87929 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "czp3009/LagGridBroadcaster",
"max_stars_repo_path": "LagGridBroadcaster/LagGridBroadcasterConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87930"
} | starcoder | using Torch;
namespace LagGridBroadcaster
{
public class LagGridBroadcasterConfig : ViewModel
{
public const string ResultFileDefaultName = "LagGridBroadcasterMeasureResult.xml";
private ulong _factionMemberDistance = 1000;
private uint _factionTop = 1;
private uint _minUs = 50... | 2.205703 | a6421cdbeb6be7b6c9192b37ab0a556e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AxeDotNet/Axe.Cli",
"max_stars_repo_path": "src/Axe.Cli.Parser/ICommandDefinitionMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87931"
} | starcoder | using System.Collections.Generic;
namespace Axe.Cli.Parser
{
/// <summary>
/// Represents the metadata of a command definition.
/// </summary>
public interface ICommandDefinitionMetadata
{
/// <summary>
/// Get the name of the command.
/// </summary>
string Symbol {... | 2.718218 | 3b17289d2b3c81ec444ce570e8e8af5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87931 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Rusev12/Software-University-SoftUni",
"max_stars_repo_path": "Programming Basics/Loops/Equal Pairs/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87932"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Equal_Pairs
{
class Program
{
static void Main(string[] args)
{
int pairs = int.Parse(Console.ReadLine());
int sum1 = 0, sum2 = 0, dif = 0;
... | 3.614672 | c083d755aa93d705a88e15e94a55432f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "d-kvachev/RocketNotifyBot",
"max_stars_repo_path": "Source/RocketNotify.ChatClient/ApiClient/RestApiClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87933"
} | starcoder | <gh_stars>1-10
namespace RocketNotify.ChatClient.ApiClient
{
using System;
using System.Linq;
using System.Net.Http;
using System.Security.Authentication;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using RocketNotif... | 2.450892 | 4bf45ac2e36d660a4d91a01f16909377 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87933 | {
"extension": "c-sharp",
"max_stars_count": "192.0",
"max_stars_repo_name": "joshvote/socket-io",
"max_stars_repo_path": "ibm.socketio.tests/SocketMediator.tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87934"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using IBM.Webclient;
using IBM.SocketIO.Tests.... | 2.177668 | 21ee2ee170df218b3cd982f71cc13949 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guimafelipe/ponghell",
"max_stars_repo_path": "Assets/Scripts/KeyBindController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87935"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using System;
public class KeyBindController : MonoBehaviour {
InputManager inputmanager;
public GameObject keyItemPrefab;
string buttonToRebind = null;
protected char playerquesou;
Dictionary<str... | 2.332967 | 3e5f09d972f547838b62ffc9b43070cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riglog/riglog-api",
"max_stars_repo_path": "Riglog.Api.Services/Mappings/MappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87936"
} | starcoder | <reponame>riglog/riglog-api
using AutoMapper;
using Riglog.Api.Data.Sql.Entities;
using Riglog.Api.Services.Models;
namespace Riglog.Api.Services.Mappings;
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<UserModel, User>();
CreateMap<User, UserModel>();
}
} | 1.222374 | c9737ce1b483d8665fc964208abc5f5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87936 | {
"extension": "c-sharp",
"max_stars_count": "142.0",
"max_stars_repo_name": "Master109/open-brush",
"max_stars_repo_path": "Assets/New Assets/New Standard Assets/CSharpCompiler/UnityErrorTextWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87937"
} | starcoder | using UnityEngine;
using System.IO;
namespace CSharpCompiler
{
class UnityErrorTextWriter : TextWriter
{
public override System.Text.Encoding Encoding
{
get { return System.Text.Encoding.ASCII; }
}
public override void Write(string value)
{
Debug... | 2.211435 | 8b3bb5d3fc5a2f4aa9cce3bde1793655 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87937 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Portable/Syntax/ArgumentSyntax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87938"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel;
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
public sealed partial class Argu... | 2.369497 | 1be264781c669f7a9dea0f0aba736974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87938 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/DataLoss/Inputs/PreventionDeidentifyTemplateDeidentifyConfigArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87939"
} | starcoder | <gh_stars>100-1000
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Se... | 1.404753 | 06fd9199f4dd6d83c11ec3dd9e8b48bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87939 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "fossabot/RTCV",
"max_stars_repo_path": "Source/Libraries/NetCore/NetCoreObjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87940"
} | starcoder | <filename>Source/Libraries/NetCore/NetCoreObjects.cs
namespace RTCV.NetCore
{
using System;
using System.ComponentModel;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;
using Ceras;
public enum NetworkSide
{
NONE,
CLIENT,
SERVER
}... | 2.446155 | 86aa245eb89b9399ff331b01a5a8a34a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mruhul/Bolt.CircuitBreaker",
"max_stars_repo_path": "Bolt.CircuitBreaker.Abstracts/CircuitStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87941"
} | starcoder | namespace Bolt.CircuitBreaker.Abstracts
{
public enum CircuitStatus
{
Unknown,
Succeed,
Failed,
Broken,
Timeout
}
}
| 1.661522 | 92d80dd3075f57abe4742cb4c7284587 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ENikS/CTrieSet",
"max_stars_repo_path": "tests/CTrie/CTrieTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87942"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CTrie.Tests
{
[TestClass]
public partial class CTrieTests
{
[TestMethod]
public void Int()
{
var trie = new CTrieSet<uint>();
var instance = typeof(CTrieTests);
var hash = (uint)insta... | 3.025563 | 87ed69555f86e0c117ca50daeedd660f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "murat1347/DotNet-Core-Blog",
"max_stars_repo_path": "BusinessLayer/ValidationRules/WriterValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87943"
} | starcoder | <filename>BusinessLayer/ValidationRules/WriterValidator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using EntityLayer.Concrete;
using FluentValidation;
namespace BusinessLayer.ValidationRules
{
public ... | 2.97279 | 740635c08e5fca7c6b519222e8cef7a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87943 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "michaelsproul/Meadow",
"max_stars_repo_path": "src/Meadow.EVM/EVM/Execution/EVMExecutionState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87944"
} | starcoder | <gh_stars>100-1000
using Meadow.EVM.EVM.Definitions;
using Meadow.EVM.EVM.Memory;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace Meadow.EVM.EVM.Execution
{
public class EVMExecutionState
{
#region Properties
/// <summary>
/// Represe... | 2.543141 | 819590c9c8741439a4f682434f77a46e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87944 | {
"extension": "c-sharp",
"max_stars_count": "882.0",
"max_stars_repo_name": "ryandle/azure-activedirectory-identitymodel-extensions-for-dotnet",
"max_stars_repo_path": "src/Microsoft.IdentityModel.KeyVaultExtensions/KeyVaultSecurityKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87945"
} | starcoder | <gh_stars>100-1000
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwar... | 2.22385 | 81498c2e8aa46dc80362747399320c2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87945 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "mbaranowski-neurosys/wopi-host-poc",
"max_stars_repo_path": "com.microsoft.dx.officewopi/Controllers/filesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87946"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using com.microsoft.dx.officewopi.Utils;
using System.Threading.Tasks;
using com.microsoft.dx.officewopi.Security;
namespace com.microsoft.dx.officewopi... | 1.816389 | a4c275c4405a4e66162c1449c493831c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87946 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Adconsulting/BaseSolution",
"max_stars_repo_path": "BaselineSolution.WebApp/Areas/Security/Views/User/ResetPassword.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:87947"
} | starcoder | <reponame>Adconsulting/BaseSolution
@using BaselineSolution.WebApp.Components.HtmlHelpers.Forms
@model BaselineSolution.WebApp.Areas.Security.ViewModels.User.ResetPasswordViewModel
<div class="row">
<div class="col-sm-12">
<h1>
@WebApp.ResetPassword
</h1>
</div>
</div>
<div class... | 1.88527 | 7b7a9653be61143b14251643d19b9131 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "portilha/Checkmarx.API.AST",
"max_stars_repo_path": "Checkmarx.API.AST/Services/SASTMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87692"
} | starcoder | <gh_stars>0
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v13.15.10.0 (NJsonSchema v10.6.10.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)
// </auto-generated>
//----------------------
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited m... | 2.176751 | 7f98e8ab6744ec6b9146c3561f6eeef3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87692 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "raid-toolkit/raid-toolkit-sdk",
"max_stars_repo_path": "src/Shared/DataModel/Messages/CallMethodMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87693"
} | starcoder | <filename>src/Shared/DataModel/Messages/CallMethodMessage.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Raid.Toolkit.DataModel
{
public class CallMethodMessage : AsyncMessage
{
[JsonProperty("methodName")]
public string MethodName;
[JsonProperty("args")]
publi... | 1.82632 | c09b0060677bb7093a83e6448220f8d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87693 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "strangerattractor/Soundvision",
"max_stars_repo_path": "SOUNDVISION_PUBLIC/Assets/Editor/FrequencyBandGeneratorEditMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87694"
} | starcoder | <filename>SOUNDVISION_PUBLIC/Assets/Editor/FrequencyBandGeneratorEditMode.cs
using UnityEngine;
namespace cylvester
{
public class FrequencyBandGeneratorEditMode : FrequencyBandGenerator, IFrequencyBandGenerator
{
private Color32[] resetColorArray;
public FrequencyBandGeneratorEditMode(int te... | 2.40458 | eb81997e63e3aea83523b84babe87d49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vgdEfor/.NetCore",
"max_stars_repo_path": "PryBase/es.efor.PryBase.Employees.Busisnes/Services/Projects/ProjectService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87695"
} | starcoder |
using es.efor.PryBase.Data.Context;
using es.efor.PryBase.Infraestructure.Database;
using es.efor.PryBase.Data.ServiceContext;
//using es.efor.PryBase.Employees.Businesss.Services.Projects;
using es.efor.Utilities.General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys... | 2.486064 | cd129fe064cb7d5f4015c4a4db8cf86f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87695 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nikoladragas/public-transport",
"max_stars_repo_path": "RouteAPI/Data/Utility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87696"
} | starcoder | <reponame>nikoladragas/public-transport
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace RouteAPI.Data
{
public static class Utility
{
public static void... | 2.517611 | eb53644e5f2fcd3d7773caa56a616f3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjgaliana/Win10AppDeploy",
"max_stars_repo_path": "src/WinAppDeploy.GUI/Extensions/ConsoleOutputExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87697"
} | starcoder | <reponame>cjgaliana/Win10AppDeploy
using System;
using System.Text.RegularExpressions;
using WinAppDeploy.GUI.Utils;
namespace WinAppDeploy.GUI.Extensions
{
public static class ConsoleOutputExtensions
{
#region General
public static string CleanHeader(this string input)
{
... | 2.378825 | cb71ea80868d06a08721b1cc3d4e8f31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87697 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "frenchvandal/alibabacloud-oss-sdk",
"max_stars_repo_path": "csharp/core/Models/PutBucketRequestPaymentRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87698"
} | starcoder | <reponame>frenchvandal/alibabacloud-oss-sdk
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.OSS.Models
{
public class PutBucketRequestPaymentRequest : TeaModel {
/// <summary>
/// BucketName
... | 1.351686 | 013017f1069a8b45981b8a5cc4eae65c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87698 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "felipebaltazar/Xamarin.Forms.EmbeddedAssets",
"max_stars_repo_path": "src/Xamarin.Forms.EmbeddedAssets/EmbeddedAssetExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87699"
} | starcoder | using System;
using Xamarin.Forms.Xaml;
namespace Xamarin.Forms.EmbeddedAssets
{
[ContentProperty(nameof(Source))]
public class EmbeddedAssetExtension : IMarkupExtension
{
public string Source
{
get; set;
}
public object ProvideValue(IServiceProvider servicePro... | 2.359171 | 8292415c2fa1b12673188fd457330259 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecrin-github/DataAggregator",
"max_stars_repo_path": "TopLevelClasses/Aggregator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87700"
} | starcoder | <filename>TopLevelClasses/Aggregator.cs
using System.Collections.Generic;
using System.Linq;
using Serilog;
using System;
namespace DataAggregator
{
public class Aggregator : IAggregator
{
ILogger _logger;
ILoggerHelper _logger_helper;
IMonitorDataLayer _mon_repo;
ITestingDataL... | 2.658315 | 55e124bf744857c7ceb5d5d303234356 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jezzsantos/queryany",
"max_stars_repo_path": "samples/ri/CarsApplication/ReadModels/Unavailability.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87701"
} | starcoder | using System;
using Application.Storage.Interfaces.ReadModels;
using CarsDomain;
using QueryAny;
namespace CarsApplication.ReadModels
{
[EntityName("Unavailability")]
public class Unavailability : ReadModelEntity
{
public string CarId { get; set; }
public DateTime From { get; set; }
... | 1.694867 | 2c17e783ec641a0b0bbe14872627066a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87701 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/editor/Xenko.Assets.Presentation/AssetEditors/EntityHierarchyEditor/ViewModels/AddAssetPolicies/AddVideoAssetPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87702"
} | starcoder | <reponame>nesrak1/xenko
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using Xen... | 1.383036 | 238ded6d99a90a3f502d24171eec6c7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87702 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mstr2/Avalonia",
"max_stars_repo_path": "src/Avalonia.Base/Data/Core/CommonPropertyNames.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87703"
} | starcoder | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Data.Core
{
public static class CommonPropertyNames
{
public const string IndexerName = "Item";
}
}
| 1.167313 | e17a3100a3ea3e782705f5581d472473 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luispenya/UnityCourseSamples",
"max_stars_repo_path": "ScriptingExample/Assets/Scripts/Moverse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87704"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
public class Moverse : MonoBehaviour {
public int timeToMove;
void Update()
{
if (Input.GetAxis("Horizontal") != 0)
{
transform.Translate(new Vector3(1f * Time.deltaTime * Input.GetAxis("Horizontal"), 0f, 0f));
... | 2.432939 | fcc4722232c54447bf19c0bc59f86559 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paspy/CQPSharpService",
"max_stars_repo_path": "CQPSharpService/CQPSharpService/Utility/StringHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87705"
} | starcoder | <reponame>paspy/CQPSharpService
using System.Text.RegularExpressions;
namespace CQPSharpService.Utility {
/// <summary>文本操作类。</summary>
public static class StringHelper {
/// <summary>通过正则表达式获取源字符串中所有匹配的起始和结束字符串之间的内容。</summary>
/// <param name="sourceString">源字符串。</param>
/// <param na... | 3.024282 | c68e303218891cc776c96b45dea2658e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pilgylis/bellight",
"max_stars_repo_path": "demo/UtilitiesTests/Models/Country.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87706"
} | starcoder | <reponame>pilgylis/bellight<filename>demo/UtilitiesTests/Models/Country.cs
using System.Collections.Generic;
namespace UtilitiesTests.Models
{
public class CountryCurrency
{
public string Code { get; set; }
public string Name { get; set; }
public string Symbol { get; set; }
}
... | 1.967779 | 8ffc6495936edfbd1ccf0958b8f3dbdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87706 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "seangwright/EditorConfigLanguage",
"max_stars_repo_path": "src/Formatting/FormatterCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87707"
} | starcoder | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Operations;
using System;
namespace EditorConfig
{
internal sealed class FormatterCommand : BaseCommand
{
private ITex... | 1.882067 | d3003105f08c9b42cde919951c07f443 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wilbit/AppUpdate",
"max_stars_repo_path": "src/AppUpdate/Feed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87708"
} | starcoder | <filename>src/AppUpdate/Feed.cs<gh_stars>0
using System;
using System.IO;
using System.Net;
using Wilbit.AppUpdate.Exceptions;
namespace Wilbit.AppUpdate
{
public sealed class Feed
{
public Feed(Uri uri)
{
if (uri == null) throw new ArgumentNullException(nameof(uri));
... | 2.744963 | d080078cc9222f0a086a9eda614b5409 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vain0x/playground",
"max_stars_repo_path": "2017-09-27-csharp-sandbox-cli-effort6/VainZero.Sandbox.Cli/MyDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87709"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VainZero.Sandbox
{
public sealed class MyDbContext
: DbContext
{
public MyDbContext(DbConnection connect... | 1.257903 | 9ad20408c7c033b86e2c22bd1e6df2db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niklaskarl/BinaryMesh.OpenXml",
"max_stars_repo_path": "src/BinaryMesh.OpenXml/Presentations/Internal/OpenXmlSlideMaster.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87710"
} | starcoder | using System;
using System.Collections.Generic;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Presentation;
using BinaryMesh.OpenXml.Helpers;
namespace BinaryMesh.OpenXml.Presentations.Internal
{
internal sealed class OpenXmlSlideMaster : IOpenXmlSlideMaster, ISlideMaster
{
priv... | 2.173209 | fa04cac7e02776095956572f7aace416 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZachSanders21/project0",
"max_stars_repo_path": "PizzaWorld.domain/Models/Size.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87711"
} | starcoder | using System.Collections.Generic;
using PizzaWorld.Domain.Abstracts;
namespace PizzaWorld.Domain.Models
{
public class Size : AEntity
{
public string Name { get; set; }
public List<APizzaModel> Pizzas { get; set; }
public double Price { get; set; }
public Size()
{
... | 3.129049 | 21aba6f59d2edfb2196e9c878512c2f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nateswartz/net-core-experiment",
"max_stars_repo_path": "NETCoreExperimentalWebApp/Data/EfBookDataProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87712"
} | starcoder | <reponame>nateswartz/net-core-experiment
using Microsoft.EntityFrameworkCore;
using NETCoreExperimentalWebApp.Models;
using System.Collections.Generic;
using System.Linq;
namespace NETCoreExperimentalWebApp.Data
{
public class EfBookDataProvider : IBookDataProvider
{
private readonly WebAppDbContext _... | 2.843278 | 1ac648f6d210b4a530edcb6266a28a18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Evaliz/GW2-Elite-Insights-Parser",
"max_stars_repo_path": "GW2EIParser/Controllers/GW2API/GW2APITraitedFact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87713"
} | starcoder | <reponame>Evaliz/GW2-Elite-Insights-Parser
using Newtonsoft.Json;
namespace GW2EIParser.Controllers.GW2API
{
public class GW2APITraitedFact : GW2APIFact
{
[JsonProperty(PropertyName = "requires_trait")]
public int RequiresTrait { get; set; }
public int Overrides { get; set; }
}
}
| 1.300526 | fcd999fefa7903fdf9c8b18e4960712c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87713 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/GMac",
"max_stars_repo_path": "GraphicsComposerLib/GraphicsComposerLib/POVRay/SDL/Modifiers/SdlSimpleModifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87714"
} | starcoder | <filename>GraphicsComposerLib/GraphicsComposerLib/POVRay/SDL/Modifiers/SdlSimpleModifier.cs
namespace GraphicsComposerLib.POVRay.SDL.Modifiers
{
public enum SdlSimpleModifierKind
{
NoShadow = 0,
NoImage = 1,
NoRadiosity = 2,
NoReflection = 3,
Inverse = 4,
Hierarc... | 2.961439 | ad3bf2f1e31a0619a44c807a8bcbcdf4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Virenbar/AdventOfCode",
"max_stars_repo_path": "AdventOfCode2021/AdventOfCode2021/Days/Day15.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87715"
} | starcoder | <gh_stars>0
using AdventOfCode2021.Types;
using System;
using System.Collections.Generic;
namespace AdventOfCode2021.Days
{
public class Day15 : BaseDay
{
#region Overrides
public Day15() : base(15) { }
protected override string SolvePartOne()
{
var C = new Cave(Lines);
C.FindPath();
var R = C.Mi... | 2.499192 | 2bce1297db6138cb3ffbfcc1848b2f41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87715 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MACE4GITHUB/PowerScheme",
"max_stars_repo_path": "PowerScheme/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87716"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... | 2.144567 | 635521a95edda79d6703e76559162f3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leeroya/DevOps-Presentation",
"max_stars_repo_path": "workshop/kubernetes-101/docker-compose/api/Demo.Api/DemoContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87717"
} | starcoder | <reponame>leeroya/DevOps-Presentation
using Demo.Api.Controllers;
using Microsoft.EntityFrameworkCore;
namespace Demo.Api
{
public class DemoContext: DbContext
{
public DemoContext (DbContextOptions<DemoContext> options)
: base(options)
{
}
public DbSet<Wea... | 1.786954 | f667520b32a88aebf4934369df240887 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87717 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/Bindings/SignalRInputBindings/SecurityTokenValidationInputBinding/SecurityTokenValidationInputBinding.cs",
"prove... | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJobs.Host.Protocols;
namespace Microsoft.Azure.WebJobs.Extensions.SignalRS... | 1.742859 | a35f4d19769eda0acf553e8eda2a1f67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Slippy2k/Playnite",
"max_stars_repo_path": "source/Playnite/Providers/GenericGameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87719"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Playnite.SDK.Models;
namespace Playnite.Providers
{
public class GenericGameController : GameController
{
public GenericGameController(Game game) : base(game)
{
}
... | 1.833644 | 63ca7703a1dcbbe10debd31ae9d25811 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87719 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fiatsasia/Financial.Extensions",
"max_stars_repo_path": "Financier.Trading/Financier.Trading.Core/Enums/EnumResources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87720"
} | starcoder | <filename>Financier.Trading/Financier.Trading.Core/Enums/EnumResources.cs
//==============================================================================
// Copyright (c) 2012-2022 Fiats Inc. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the solution folder for
// full license information... | 2.250008 | 0daab57fc69f7abbb6e3af74977971ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reinms/RoR2Modding",
"max_stars_repo_path": "Sniper/Modules/UICreationModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87721"
} | starcoder | namespace Rein.Sniper.Modules
{
using System;
using ReinCore;
using RoR2;
using RoR2.UI;
using Rein.Sniper.Components;
using UnityEngine;
using UnityEngine.UI;
internal static class UICreationModule
{
internal static GameObject CreateStandardCrosshair()
{
... | 1.984247 | 3c9d04fd79255ef7d3b78f63e3a6d10a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87721 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cowtrix/dodo",
"max_stars_repo_path": "test/IntegrationTests/Selenium/ReactTests/Handlers/SeleniumPageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87722"
} | starcoder | using OpenQA.Selenium;
namespace Dodo.SeleniumTests
{
public abstract class SeleniumPageHandler
{
public IWebDriver Driver { get; private set; }
public SeleniumPageHandler(IWebDriver driver) { Driver = driver; }
}
}
| 1.795561 | fecadfc4e25755dacec22998f3b84af8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87722 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Birdthulu/Legacy-Costume-Manager",
"max_stars_repo_path": "brawltools/BrawlLib/SSBB/ResourceNodes/Graphics/REFTNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87723"
} | starcoder | using System;
using BrawlLib.SSBBTypes;
using System.ComponentModel;
using BrawlLib.Wii.Textures;
using BrawlLib.Imaging;
using System.Drawing;
using BrawlLib.IO;
using System.Drawing.Imaging;
using System.IO;
namespace BrawlLib.SSBB.ResourceNodes
{
public unsafe class REFTNode : NW4RArcEntryNode
{
in... | 1.96538 | 6390a80dd13dcceaedcb575c2fd1c9aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaveHynek/legendary-online",
"max_stars_repo_path": "LegendaryOnline/Data/Heroes/HeroTeam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87724"
} | starcoder | namespace LegendaryOnline.Data.Heroes
{
public enum HeroTeam
{
SHIELD = 1,
Avengers = 2,
Xmen = 4,
SpiderFriends = 8
}
}
| 1.517584 | 288283abfaa97f72b1582a13b03953ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87724 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "danpdc/ThoughtFul",
"max_stars_repo_path": "Thoughtful.Domain/Model/Category.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87725"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Thoughtful.Domain.Model
{
public class Category
{
public Category()
{
Articles = new List<Article>();
}
public int Id { get; set; }
... | 2.180984 | 953bf210df3a39ef95efee1443051890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87725 | {
"extension": "c-sharp",
"max_stars_count": "551.0",
"max_stars_repo_name": "PalmSens/fixie",
"max_stars_repo_path": "src/Fixie/DefaultExecution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87726"
} | starcoder | <reponame>PalmSens/fixie
namespace Fixie
{
using System.Threading.Tasks;
public sealed class DefaultExecution : IExecution
{
public async Task Run(TestSuite testSuite)
{
foreach (var test in testSuite.Tests)
await test.Run();
}
}
} | 1.657681 | 32c1ffbad5f87ff3261e84e8a02ddfd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87726 | {
"extension": "c-sharp",
"max_stars_count": "708.0",
"max_stars_repo_name": "CyberFlameGO/MineCase",
"max_stars_repo_path": "src/MineCase.Algorithm/Game/Entity/Ai/Action/CreatureAiActionFollow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87727"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
using MineCase.Server.Game.Entities;
using MineCase.Server.World;
using MineCase.Server.World.EntitySpawner;
using MineCase.Server.World.EntitySpawner.Ai.Action;
using Orleans;
namespace MineCase.Algorithm.Game.Entity.Ai.Action
{
... | 1.926252 | 09404cbd638c3f6399c9d4ee5f09750b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbsen/TimeTrack",
"max_stars_repo_path": "TimeManagement/Domain/Services/BaseService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87728"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TimeManagement.Models;
namespace TimeManagement.Domain.Services
{
public class BaseService
{
#region Variables
public PortalDBContext db { get; set; }
#endregion
public BaseService()
... | 1.87143 | d276b7c8831391d9e4866c6237b4e74b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87728 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "trigger-death/ZeldaOracle",
"max_stars_repo_path": "ZeldaOracle/Game/Game/GameStates/GameStateStack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87729"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZeldaOracle.Common.Graphics;
namespace ZeldaOracle.Game.GameStates {
public class GameStateStack : GameState {
private List<GameState> states;
//---------------------------------------... | 2.938344 | 490a9a15f5bf3173a539d8a2544ce6d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87729 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "diggles/Kuromoji.NET",
"max_stars_repo_path": "Kuromoji.NET/Compile/CharacterDefinitionsCompiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87730"
} | starcoder | using Kuromoji.NET.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Kuromoji.NET.Extentions;
using Kuromoji.NET.IO;
namespace Kuromoji.NET.Compile
{
public class CharacterDefinitionsCompiler : ICompiler, ID... | 2.555312 | e4289c303edd49dd1cdd8c4fe11773f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87730 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jeuxjeux20/UrbanDictionnet",
"max_stars_repo_path": "UrbanDictionnet/Entities/WordNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87731"
} | starcoder | <reponame>jeuxjeux20/UrbanDictionnet
namespace UrbanDictionnet
{
/// <summary>
/// An exception thrown when a word isn't found
/// </summary>
[System.Serializable]
public class WordNotFoundException : System.Exception
{
// public WordNotFoundException() { }
public WordNotFoundEx... | 2.469748 | dd742f9a9dec7006a6bcf3370fa9ec71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattiasliljenzin/console-wars",
"max_stars_repo_path": "aw-console-wars/src/aw-console-wars/GameArena.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87732"
} | starcoder | <reponame>mattiasliljenzin/console-wars
using System;
using System.Linq;
using System.Threading;
using aw;
using aw_console_wars.Warriors;
namespace aw_console_wars
{
public class GameArena
{
private Warrior[] _participants = new Warrior[0];
private Warrior[] _stillStanding = new Warrior[0];
... | 3.068053 | ba274008166ccb67ae1d9daac0ae0fc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jswigart/ReGoap",
"max_stars_repo_path": "Unity/FSMExample/OtherScripts/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87733"
} | starcoder | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
public static class Utilities
{
public static T GetNearest<T>(Vector3 thisPosition, Dictionary<T, Vector3> otherPositions, float stopOnDistance = 1f) where T : class
{
T bes... | 2.818406 | 03cd5af00ddd3e2add7e8ebd9137516d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.