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 | 71633 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Golle/Titan",
"max_stars_repo_path": "src/Titan.Graphics/D3D11/Samplers/ComparisonFunc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71634"
} | starcoder | using static Titan.Windows.D3D11.D3D11_COMPARISON_FUNC;
namespace Titan.Graphics.D3D11.Samplers
{
public enum ComparisonFunc
{
Never = D3D11_COMPARISON_NEVER,
Less = D3D11_COMPARISON_LESS,
Equal = D3D11_COMPARISON_EQUAL,
LessEqual = D3D11_COMPARISON_LESS_EQUAL,
Greater =... | 1.834273 | 8f6f07218306ccf107fbb3e2f4d9d7e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-jli/jean0514jabbrchangbranch",
"max_stars_repo_path": "JabbR/Services/IChatNotificationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71635"
} | starcoder | <reponame>v-jli/jean0514jabbrchangbranch
using System;
using JabbR.Models;
namespace JabbR.Services
{
public interface IChatNotificationService
{
void OnUserNameChanged(ChatUser user, string oldUserName, string newUserName);
}
} | 1.288315 | 7e12aab87500527dbaa2b1c9b712ea68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zaharatot/ImageSplitter",
"max_stars_repo_path": "ImageSplitter/Content/Clases/DataClases/Global/Delegates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71636"
} | starcoder | using ImageSplitter.Content.Clases.DataClases.Duplicates;
using ImageSplitter.Content.Clases.DataClases.Split;
using ImageSplitter.Content.Controls;
using ImageSplitter.Content.Controls.ImageDuplicateScan;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Task... | 2.349266 | 963694704e2e4e5f2beef62abe47528e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jalevin/PST-Parser",
"max_stars_repo_path": "PSTParse/MessageLayer/Attachment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71637"
} | starcoder | <reponame>jalevin/PST-Parser
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using PSTParse.ListsTablesPropertiesLayer;
namespace PSTParse.MessageLayer
{
public enum AttachmentMethod
{
NONE = 0x00,
BY_VALUE =... | 2.391991 | 9cd2229a84981fd1d161e875759c731c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71637 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "budorcas/steeltoe",
"max_stars_repo_path": "src/Common/src/Common/Configuration/ConfigurationValuesHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71638"
} | starcoder | <filename>src/Common/src/Common/Configuration/ConfigurationValuesHelper.cs<gh_stars>10-100
// Copyright 2017 the original author or authors.
//
// 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 ... | 2.436359 | f9b94605b63a98c300797fd5f674b3b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rodavoce/SINF-WebStore",
"max_stars_repo_path": "musicstore/Lib_Primavera/Model/DocVenda.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71639"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FirstREST.Lib_Primavera.Model
{
public class DocVenda
{
public string id
{
get;
set;
}
public string Entidade
{
get;
... | 1.626028 | 8dd73a70bad4b6636331ac9c3fedbd69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolabebic95/PIAProject",
"max_stars_repo_path": "RestApi/RestApi/RestApi/Models/CooperatesWith.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71640"
} | starcoder | <filename>RestApi/RestApi/RestApi/Models/CooperatesWith.cs<gh_stars>0
namespace RestApi.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("CooperatesW... | 2.096359 | 97ace64bd64471a8e27a64c3d2b56c1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icraftsoftware/Be.Stateless.BizTalk.Xml",
"max_stars_repo_path": "src/Be.Stateless.BizTalk.Xml/Xml/Xsl/Extensions/TransformBaseExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71641"
} | starcoder | #region Copyright & License
// Copyright © 2012 - 2020 <NAME>
//
// 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 b... | 1.882154 | 26a88c4318f7a81a11a07e0623766024 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "naka-go78/pettrap",
"max_stars_repo_path": "PetTrap/PetTrap/SnmpTrap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71642"
} | starcoder | <reponame>naka-go78/pettrap
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace PetTrap
{
public enum SnmpTag:byte
{
None = 0x00,
Integer = 0x02,
OctetString = 0x04,
... | 2.68987 | 2e1b3f535b0dd4464780a0af39c69462 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71642 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "llcoollasa/LibraryManagementSystem",
"max_stars_repo_path": "WindowsFormsApplication2/Forms/Book.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71643"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LibraryManagementSystem.Classes;
using System.Data;
using System.Collections;
using LibraryMana... | 2.544141 | 14e4ddabf5da8f7dca2a2cf5c5e9a9bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71643 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArkeyDarz/Starver",
"max_stars_repo_path": "PlayerBoosts/Skills/NStrike.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71644"
} | starcoder | <filename>PlayerBoosts/Skills/NStrike.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
namespace Starvers.PlayerBoosts.Skills
{
public class NStrike : UltimateSkill
{
private con... | 2.042058 | eff9dc7412bb5d775d8ace02fbf5e143 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveknipmeyer/ModelRelief",
"max_stars_repo_path": "ModelRelief/Utility/Query.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71645"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="Query.cs" company="ModelRelief">
// MIT License (https://github.com/steveknipmeyer/ModelRelief/blob/main/MIT-LICENSE.txt)
// </copyright>
// -----------------------------------------------------------------------
namespace M... | 2.2796 | 3ad4a456c85beb42a4ed462947c241d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71645 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DuLovell/Rhythm-Game",
"max_stars_repo_path": "Assets/Plugins/Ludiq/Ludiq.PeekCore/Editor/Plugins/InitializeAfterPluginsAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71646"
} | starcoder | <reponame>DuLovell/Rhythm-Game
using System;
namespace Ludiq.PeekCore
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class InitializeAfterPluginsAttribute : Attribute, ITypeRegistrationAttribute
{
public InitializeAfterPluginsAttribute(Type type)
{
Ensure.That(nameof(type)... | 1.89416 | 40110e370bf6be73b93f7a3846b2b5d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71646 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "etechi/ServiceFramework",
"max_stars_repo_path": "Projects/Server/Biz/SF.Biz.Payments/Managements/RefundRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71647"
} | starcoder | using System;
using SF.Sys.Annotations;
using SF.Sys.Services.Management.Models;
using SF.Sys.Clients;
using SF.Sys.Entities.Models;
using System.ComponentModel.DataAnnotations;
namespace SF.Biz.Payments
{
/// <summary>
/// 退款记录
/// </summary>
[EntityObject]
public class RefundRecord : EventEntity... | 1.807367 | 3377386218eb0bd710aa17b82a7b45f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uxb2bralph/IFS-EIVO03",
"max_stars_repo_path": "Model/Helper/InvoiceItemEncryption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71648"
} | starcoder | <reponame>uxb2bralph/IFS-EIVO03
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Model.DataEntity;
using Utility;
namespace Model.Helper
{
public static class InvoiceItemEncryption
{
public static String Key
{
private set;
... | 2.329228 | 71d2b73d88819e0b3e94b1e3b9eb8927 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RussyCG/PennStateVendingMachine",
"max_stars_repo_path": "PennStateVendingMachine/PennStateVendingMachine/Controllers/RoleController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71649"
} | starcoder | <reponame>RussyCG/PennStateVendingMachine<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Exceptions;
namespace PennStateVendingMachine.Controllers
{
/// <summary>
/// Responsible for getting and maniulate r... | 2.553129 | 06e68faf944c611afa05cd1d075fe8ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DobKostadinov/TelerikAcademy",
"max_stars_repo_path": "Homeworks/05. HQC Part 1/04. Variables, Data, Expressions and Constants/01. Size/Figure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71650"
} | starcoder | namespace _01.Figure
{
using System;
public class Figure
{
private double width;
private double height;
public Figure(double width, double height)
{
this.Width = width;
this.Height = height;
}
public double Width { get; set; }
... | 4.054426 | e8e802503047021aa59a23bbd7eb2afa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jwramz/CEMIE-SISIP",
"max_stars_repo_path": "sievis/Models/BusinessObject/CondicionGabineteControlBO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71651"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace sievis.Models
{
[MetadataTypeAttribute(typeof(CondicionGabineteControlBO))]
public partial class CondicionGabineteControl
{
}
public class CondicionGabineteControlBO
... | 1.937953 | 92ec3b1e6461fdd1999a67cc4e6eecb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/TB/TB/Sim_TB_EVILBRM_Shaman_08.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71652"
} | starcoder | /* _BEGIN_TEMPLATE_
{
"id": "TB_EVILBRM_Shaman_08",
"name": [
"神秘法术",
"Spells"
],
"text": [
null,
null
],
"cardClass": "SHAMAN",
"type": "SPELL",
"cost": 0,
"rarity": null,
"set": "TB",
"collectible": null,
"dbfId": 57674
}
_END_TEMPLATE_ */
namespace HREngine.Bots
{
class S... | 1.320877 | 413e7c1c156fa7ed322d902b285544fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matheus-santos-bonifacio/rest-api-with-asp-net-core",
"max_stars_repo_path": "web/Business/Repositories/IUserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71653"
} | starcoder | using web.Business.Entities;
namespace web.Business.Repositories;
public interface IUserRepository
{
void Add(User user);
void Commit();
User GetUser(string login);
}
| 1.799575 | 5d5a54e281b8ea2fc43f335f02cb529f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trdwll/ResponseV",
"max_stars_repo_path": "src/ResponseVLib/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71654"
} | starcoder | <filename>src/ResponseVLib/Utils.cs
using LSPD_First_Response.Engine.Scripting;
using LSPD_First_Response.Mod.API;
using LSPD_First_Response.Mod.Callouts;
using Rage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Media;
using System.Reflection;
using System.Text;
using System.Threadin... | 2.613503 | 0fa80a233878fd10a2d352c8ab7da9cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koichi210/CS_Wpf",
"max_stars_repo_path": "ImageViewerForWpf_2019/ImageViewerForWpf/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71655"
} | starcoder | using Microsoft.Win32;
using Microsoft.WindowsAPICodePack.Dialogs;
using System;
using System.Windows;
using System.IO;
using System.Linq;
using System.Collections.Generic;
namespace ImageViewerForWpf
{
/// <summary>
/// MainWindow.xaml の相互作用ロジック
/// </summary>
public partial class MainWindow : Window... | 2.587861 | a2009e00a955f0823fe62fe7ea40a3a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hjbwallace/FluentRedditSearch",
"max_stars_repo_path": "src/FluentRedditSearch/SearchApi/Preview.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71656"
} | starcoder | using Newtonsoft.Json;
namespace FluentRedditSearch.SearchApi
{
internal class Preview
{
[JsonProperty("images")]
public Image[] Images { get; set; } = new Image[0];
[JsonProperty("enabled")]
public bool Enabled { get; set; }
}
} | 1.484397 | 0f55236f6a760ae3ec7835c9ba7e1be7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "italabs/ITA.Common",
"max_stars_repo_path": "SOURCE/ITA.Common.ETW/EtwParam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71657"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics.Tracing;
using System.Reflection;
namespace ITA.Common.ETW
{
[Serializable]
[EventData]
public class EtwParam
{
[EventIgnore]
public bool IsByRef { get; set; }
[EventIgnore]
public int Index { get; set; }
[Eve... | 1.696882 | 76601cb1c728862cfcdd235426c06119 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71657 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "amartinn/SoftUni",
"max_stars_repo_path": "C# Advanced September 2019/C# OOP/exercises/Polymorphism - Exercise/01. Vehicles/Core/Vehicle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71658"
} | starcoder | <reponame>amartinn/SoftUni<gh_stars>1-10
namespace Vehicles.Core
{
using Constants;
using System;
public abstract class Vehicle : IVehicle
{
private double fuelQuantity;
protected Vehicle(double fuelQuantity, double litresPerKm,int tankCapacity)
{
this.TankCapacity ... | 3.068574 | b50688abc6e7b2d863166254ffc1e6a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangwshuai/graphic",
"max_stars_repo_path": "GraphX.Logic/GraphXComponents/EdgeRouting/PathFinderER/MatrixItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71659"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace GraphX
{
public class MatrixItem
{
public Point Point;
public bool IsIntersected;
public int PlaceX;
public int PlaceY;
public int Weight ... | 2.267504 | 25a4659617c6650e249c1b7552e893b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71659 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "guytp/burst-sharp",
"max_stars_repo_path": "BurstLib/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71660"
} | starcoder | <reponame>guytp/burst-sharp
using System;
using System.Collections.Generic;
using System.Text;
namespace Guytp.BurstSharp.BurstLib
{
public static class StringExtensions
{
public static byte[] ToByteArray(this string hex)
{
if (string.IsNullOrEmpty(hex))
return null... | 2.779794 | a67ec582661f201c03dcc064c5c97214 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasilivanov93/SOFTUNI",
"max_stars_repo_path": "C#/01. Programing Basic C#/Project/02. Simple Calculations/16. RepairOfTile/RepairOfTile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71661"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _16.RepairOfTile
{
class RepairOfTile
{
static void Main(string[] args)
{
int lengthOnSide = int.Parse(Console.ReadLine());
double widthOfOneTil... | 3.256258 | 4635d26a20bfb525d5aea0e889eacf39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kuuo/Kore",
"max_stars_repo_path": "Scripts/Runtime/Kore.Variables/ValueCheck/BoolValueCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71662"
} | starcoder | <reponame>Kuuo/Kore<gh_stars>0
using UnityEngine;
using Kore.Conditions;
namespace Kore.Variables
{
[CreateAssetMenu(menuName = "Kore/ConditionCheck/ValueCheck/Bool")]
public class BoolValueCheck : ConditionCheck
{
public BoolAsset asset;
public bool needValue;
protected override ... | 1.807936 | 0bbee2192777659dc7ea0e72a339f99a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71662 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dcdc-io/neo",
"max_stars_repo_path": "src/neo/Consensus/ConsensusMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71663"
} | starcoder | using Neo.IO;
using Neo.IO.Caching;
using System;
using System.IO;
namespace Neo.Consensus
{
public abstract class ConsensusMessage : ISerializable
{
public readonly ConsensusMessageType Type;
public byte ViewNumber;
public virtual int Size => sizeof(ConsensusMessageType) + sizeof(byte... | 2.790666 | a60261c65ec92306b73f66c179f1ddc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Shuttle/Shuttle.Abacus",
"max_stars_repo_path": "Shuttle.Abacus/DataAccess/FormulaRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71664"
} | starcoder | using System.Collections.Generic;
using Shuttle.Core.Contract;
using Shuttle.Recall;
namespace Shuttle.Abacus.DataAccess
{
public class FormulaRepository : IFormulaRepository
{
private readonly IEventStore _eventStore;
private readonly IFormulaQuery _query;
public FormulaRepository(IF... | 2.4682 | d14c03ec828b721f8b6a591833f33d8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smarza/rbk-api-modules",
"max_stars_repo_path": "rbkApiModules.Infrastructure.Utilities/Guid/Base32GuidEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71665"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace rbkApiModules.Infrastructure.Utilities
{
public static class Base32GuidEncoder
{
private static readonly string _alphabet = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789".ToLower();
public static string ToString(this Guid guid)
... | 2.780009 | 2a55fee0960f574022fb29f3fe78ab4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71665 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aaronuhmgmailcom/Financel",
"max_stars_repo_path": "PDFView(32bit Office) v2/PDFView(32bit Office) v2/PDFView(32bit Office) v2/Backup/Ribbon1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71666"
} | starcoder | using System.IO;
using Microsoft.Office.Tools.Ribbon;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Windows.Forms;
using ExcelAddIn4.Common;
using System.Data;
using System.Linq;
namespace ExcelAddIn4
{
partial class Ribbon2 : Microsoft.Office.Tools.Ribbon.OfficeRibbon
{
... | 1.558007 | 0176348aa88dc389cd6846c19a82fe96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71666 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "NetOfficeFw/NetOffice-LegacyRepository",
"max_stars_repo_path": "Tests/Main Tests/WordTestsCSharp/Test02.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71667"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Tests.Core;
using NetOffice;
using Office = NetOffice.OfficeApi;
using Word = NetOffice.WordApi;
using NetOffice.WordApi.Enums;
namespace WordTestsCSharp
{
public class Test02 : ITestPackage
{
#region TestPackage Mem... | 2.373113 | d827f2ba088590385a81fde4a7861196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpk6789/SlimJim",
"max_stars_repo_path": "src/SlimJim/Infrastructure/CsProjReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71668"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Reflection;
using log4net;
namespace SlimJim.Infrastructure
{
using Model;
public class CsProjReader
{
private static readonly ILog Log = LogManager.GetLogger(MethodBase.GetCur... | 2.178364 | ac3beb9afc7ef8fa5c96a3b71c438ca9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dorofiykolya/UnityNodesFramework",
"max_stars_repo_path": "Nodes/Assets/Nodes/Editor/Data/GuidData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71669"
} | starcoder | using System;
using UnityEngine;
namespace Nodes.Editor.Data
{
[Serializable]
public class GuidData : ISerializationCallbackReceiver
{
[NonSerialized]
private Guid _guid;
[SerializeField]
private string _guidSerialized;
public GuidData()
{
_guid = Guid.NewGuid();
}
publi... | 2.514103 | b6a716e2ee0966ad30fe666a4256cb8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kostas-vl/burstchat",
"max_stars_repo_path": "src/BurstChat.Signal/Services/PrivateGroupMessagingService/IPrivateGroupMessagingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71670"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using BurstChat.Application.Errors;
using BurstChat.Application.Monads;
using BurstChat.Domain.Schema.Chat;
using BurstChat.Domain.Schema.Users;
using Microsoft.AspNetCore.Http;
namespace BurstChat.Signal.Services.PrivateGroupMessaging
{
/// <summary>... | 2.514688 | 62133e9e6694d12b2bb58edb943457ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71670 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tquocthuan/acat",
"max_stars_repo_path": "src/Libraries/ACATCore/PanelManagement/CommandDispatcher/IRunCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71671"
} | starcoder | ////////////////////////////////////////////////////////////////////////////
// <copyright file="IRunCommandHandler.cs" company="Intel Corporation">
//
// Copyright (c) 2013-2015 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | 2.164691 | 5ba491db2e51dd6626c7286b66f2834f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mixa3607/WgNet",
"max_stars_repo_path": "Wireguard.Mesh/CConverters/WgUciConfigConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71672"
} | starcoder | <filename>Wireguard.Mesh/CConverters/WgUciConfigConverter.cs<gh_stars>0
using System;
using System.IO;
using System.Reflection;
using System.Text;
using ArkProjects.Wireguard.Mesh.Configs;
namespace ArkProjects.Wireguard.Mesh.CConverters
{
public class WgUciConfigConverter : IWgConfigConverter
{
priva... | 2.306197 | 880d3371b3d07f6a8880f77820614fe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Victhor94/loggencsg",
"max_stars_repo_path": "vendors/gapi/Src/google-api-dotnet-client.contrib/Stable/Generated/Source/Google.Apis.SiteVerification.v1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71673"
} | starcoder | <filename>vendors/gapi/Src/google-api-dotnet-client.contrib/Stable/Generated/Source/Google.Apis.SiteVerification.v1.cs<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.5448
//
/... | 1.848821 | 5c37c03f4787ae5a1085d1751c5b94b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moto2002/jiandangjianghu",
"max_stars_repo_path": "src/ICSharpCode.SharpZipLib.Zip/MemoryArchiveStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71674"
} | starcoder | <reponame>moto2002/jiandangjianghu
using ICSharpCode.SharpZipLib.Core;
using System;
using System.IO;
namespace ICSharpCode.SharpZipLib.Zip
{
public class MemoryArchiveStorage : BaseArchiveStorage
{
private MemoryStream temporaryStream_;
private MemoryStream finalStream_;
public MemoryStream FinalStream
{
... | 2.598626 | 95cfe7577dd8dda9558ecb77f456dd79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taxophobia/CustomSettingsProvider",
"max_stars_repo_path": "CustomSettingsProvider/DefaultProviders/MachineSettingsPathProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71675"
} | starcoder | namespace BWC.Utility.CustomSettingsProvider.DefaultProviders
{
using BWC.Utility.CustomSettingsProvider.Interfaces;
public class MachineSettingsPathProvider : ISettingsPathProvider
{
public string SettingsPath
{
get
{
return System.Runtime.InteropSe... | 2.104429 | 3b9e68b6087f0a50fabf562a7ac27a56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71675 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "sagifogel/NJection.LambdaConverter",
"max_stars_repo_path": "NJection.LambdaConverter/DynamicProxies/ILEmitters/NewObjectEmitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71676"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using ICSharpCode.NRefactory.CSharp;
using Mono.Cecil;
using NJection.LambdaConverter.Extensions;
using Cil = Mono.Cecil.Cil;
namespace NJection.LambdaConverter.DynamicProxies.ILEmitters
{
internal cl... | 2.141343 | ed94e53e5d9518493f09e0efbaa2b6c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xenetics/CommunityHub",
"max_stars_repo_path": "Assets/Infinity Code/Online maps/Scripts/Plugins/OnlineMapsJPEGDecoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71677"
} | starcoder | <gh_stars>0
/* INFINITY CODE 2013-2017 */
/* http://www.infinity-code.com */
using System;
using UnityEngine;
/// <summary>
/// Software JPEG decoder.\n
/// Is used when there are problems in iOS.
/// </summary>
public class OnlineMapsJPEGDecoder
{
private struct Code
{
public byte bits;... | 1.731736 | 1ee9d572045d18f37bdec0541cfbb7cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amoweolubusayo/twit",
"max_stars_repo_path": "Twit.Test/UserServiceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71678"
} | starcoder | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Twit.Application.Models;
using Twit.WebAPI.Controllers;
using Microsoft.AspNetCore.Mvc;
using Twit.Core.Entities;
using Twit.Core.Services;
namespace TwitTest... | 2.096068 | 18b117b667ddf600a755c827a7e62d3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71678 | {
"extension": "c-sharp",
"max_stars_count": "441.0",
"max_stars_repo_name": "vinhig/rbfx",
"max_stars_repo_path": "Source/Urho3D/CSharp/Managed/Engine/Application.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71679"
} | starcoder | <gh_stars>100-1000
using System;
using System.Runtime.InteropServices;
namespace Urho3DNet
{
public partial class Application
{
public delegate IntPtr UserApplicationFactory(HandleRef context);
public static Application CreateApplicationFromFactory(Context context, UserApplicationFactory factor... | 1.805919 | de77c5c683b90219f2ac1ce8e3a86600 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71679 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "favedit/MoCross",
"max_stars_repo_path": "Tools/2 - Core/MoDesign2d/Frame/Common/FUiScrollItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71680"
} | starcoder | using MO.Common.Content;
using MO.Design2d.Frame;
namespace MO.Design2d.Frame.Common
{
//============================================================
// <T>控件声明。</T>
//============================================================
public class FUiScrollItem : FUiContainer
{
//======================... | 1.948763 | 662ffc7bb4402ee70121110017a9f64d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkpetrov/Programming-Fundamentals-SoftUni-Jan2017",
"max_stars_repo_path": "Exam Preparation/Roli The Coder/RoliTheCoder .cs",
"provenance": "train-00000-of-00045.jsonl.gz:71681"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Roli_The_Coder
{
class Program
{
static void Main(string[] args)
{
var output = new Dictionary<int, Dictionary<string, SortedSet<string>>>();
... | 3.444091 | 62b419112fbeac9916e920ab81daba10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viper3400/Jaxx.Net.IterationParser",
"max_stars_repo_path": "Jaxx.Net.IterationParser/IIterationRegExSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71682"
} | starcoder | namespace Jaxx.Net.IterationParser
{
public interface IIterationRegExSelector
{
RegExSelector SingleLineSelector { get; set; }
RegExSelector TestIterationCountSelector { get; set; }
RegExSelector TestIterationDateSelector { get; set; }
RegExSelector TestIterationResultSelector {... | 1.442149 | 2bb6cc758778e8cf8cb7fad751ed77bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71682 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "imanushin/NetRunner",
"max_stars_repo_path": "source/NetRunner.Executable/RawData/HtmlTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71683"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
using NetRunner.Executable.Common;
namespace NetRunner.Executable.RawData
{
internal sealed class HtmlTable : BaseReadOnlyObject
{
private readonly HtmlNode tableN... | 2.5296 | 9cff3ac881ab2b8ebf247bbb576ed05d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71683 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "YoloDev/elephanet",
"max_stars_repo_path": "Elephanet.Tests/TableInfoTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71684"
} | starcoder | <filename>Elephanet.Tests/TableInfoTests.cs
using Elephanet.Tests.Entities;
using Xunit;
using Shouldly;
namespace Elephanet.Tests
{
public class ConventionTests
{
[Fact]
public void TableInfo_GivenNoSchema_ShouldReturnSchemaOfPublic()
{
TableInfo tableInfo = new TableInfo(... | 2.245694 | 7336e141f6f3150433fbac30842b613e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71684 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "huangjia2107/RemoteService",
"max_stars_repo_path": "NetworkComms.Net/NetworkCommsDotNet/Tools/XPlatformHelper/SocketAddress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71685"
} | starcoder | <filename>NetworkComms.Net/NetworkCommsDotNet/Tools/XPlatformHelper/SocketAddress.cs
#if NETFX_CORE
using System;
using System.Collections.Generic;
using System.Text;
namespace NetworkCommsDotNet.Tools.XPlatformHelper
{
public class SocketAddress
{
private byte[] data;
public SocketAddress(A... | 3.109123 | b44401f058a6ba563d059eecaba94615 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71685 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hinteadan/H.Necessaire",
"max_stars_repo_path": "Src/H.Necessaire/H.Necessaire/Models/Security/Permission.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71686"
} | starcoder | using System;
namespace H.Necessaire
{
public class Permission : IGuidIdentity
{
public Guid ID { get; set; }
public string IDTag { get; set; }
public string Name { get; set; }
public PermissionLevel Level { get; set; } = PermissionLevel.Locked;
}
}
| 1.98639 | 961687c67fc98e68753e4ef9a3d47d98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Venedchuk/LoggerTest",
"max_stars_repo_path": "Logger/WriterPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71687"
} | starcoder | using Logger.Interface;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Logger
{
public class WriterPool : IBatchWriter
{
public WriterPool(IEnumerable<IWriter> writers)
{
this.writers = writers;
... | 2.814839 | f11cb11daecd036bbe5664d816741b54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71687 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "petar-m/repository",
"max_stars_repo_path": "src/M.Repository/Id.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71688"
} | starcoder | <gh_stars>1-10
using System;
namespace M.Repository
{
/// <summary>
/// A helper class for defining strongly typed entity identifiers.
/// </summary>
public static class Id
{
/// <summary>
/// Creates a string entity identifier representation.
/// </summary>
/// <ty... | 2.981755 | c484463372239c53dbf7f97f632d9d2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71688 | {
"extension": "c-sharp",
"max_stars_count": "907.0",
"max_stars_repo_name": "ekmixon/cset",
"max_stars_repo_path": "CSETWebApi/CSETWeb_Api/CSETWebCore.Model/Crr/CrrResultsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71689"
} | starcoder | <reponame>ekmixon/cset
using CSETWebCore.Business.Reports;
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using System.Linq;
namespace CSETWebCore.Reports.Models
{
public class CrrResultsModel
{
public List<CrrMaturityDomainModel> CrrDomains { get; set; }
/// <summary... | 2.361673 | 038c1a3e6266fd77150b1fe832b01616 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianoaewave/gpm-controle-estoque",
"max_stars_repo_path": "src/ControleEstoque.Domain/Validations/Items/ItemValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71690"
} | starcoder | using ControleEstoque.Domain.Commands.Items;
using FluentValidation;
namespace ControleEstoque.Domain.Validations.Items
{
public class ItemValidation<T> : AbstractValidator<T> where T : ItemCommand
{
protected void ValidateName()
{
RuleFor(c => c.Name)
.NotEmpty().W... | 2.798472 | 08d65a006fa86c31168ce81cfa7833ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71690 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "softframe/solidstack",
"max_stars_repo_path": "src/SolidStack.Testing.Xunit/Internal/FactSkipper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71691"
} | starcoder | using Xunit;
namespace SolidStack.Testing.Xunit.Internal
{
internal static class FactSkipper
{
public static void SkipInRelease(FactAttribute fact) =>
SkipInRelease(fact, "Only running in debug mode.");
public static void SkipInRelease(FactAttribute fact, string message)
{... | 2.030459 | 58d41ec262dae4dfd45682b24ff686d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kristianhald/BuildAProject",
"max_stars_repo_path": "BuildManagement/NuGet/Configurations/INuGetConfigFileReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71692"
} | starcoder | <filename>BuildManagement/NuGet/Configurations/INuGetConfigFileReader.cs
namespace BuildAProject.BuildManagement.NuGet.Configurations
{
public interface INuGetConfigFileReader
{
NuGetConfig Read(string filePath);
}
}
| 1.578195 | a29738300e93406061941f9249bb1c60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71692 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "phuongvobys/DataVault",
"max_stars_repo_path": "src/Repositories/IHubRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71693"
} | starcoder | <gh_stars>1-10
using DataVault.Entities;
using DataVault.Entities.Dv;
using DataVault.Entities.Dv.Hub;
using DataVault.Entities.Dv.Sat;
namespace DataVault.Repositories
{
/// <summary>
/// Generic repository for DataVault Hub Entity.
/// </summary>
/// <typeparam name="TDvHubEntity"></typeparam>
pu... | 2.256376 | fcf620b0585b0009476cd19550ddfbd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71693 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OrchardCMS/Autofac",
"max_stars_repo_path": "Extras/Source/Autofac.Extras.Moq/MoqRegistrationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71694"
} | starcoder | // This software is part of the Autofac IoC container
// Copyright (c) 2007 - 2008 Autofac Contributors
// http://autofac.org
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software witho... | 1.88268 | 5609460118d60dcd23758c99b08feec9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CBurbidge/BristolNightlife",
"max_stars_repo_path": "BristolNightlife.Phone/VisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71695"
} | starcoder | <filename>BristolNightlife.Phone/VisibilityConverter.cs
using System;
using System.Globalization;
using System.Windows;
namespace BristolNightlife.Phone
{
public class VisibilityConverter : System.Windows.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureI... | 2.660625 | aebacad319e745ec7b61c2ce921fd518 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rainers/D_Parser",
"max_stars_repo_path": "DParser2/Dom/Expressions/IExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71696"
} | starcoder | <reponame>rainers/D_Parser
using System;
namespace D_Parser.Dom.Expressions
{
public interface IExpression : ISyntaxRegion, IVisitable<ExpressionVisitor>
{
R Accept<R>(ExpressionVisitor<R> vis);
ulong GetHash();
}
}
| 1.617999 | d670d0aca20de82340717824aca6d435 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cristianoandrad/SwicthCase",
"max_stars_repo_path": "SwicthCase/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71697"
} | starcoder | <gh_stars>0
namespace SwicthCase
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summ... | 2.064423 | ec60fe72a64ec8a14ef765b6cbafb038 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71697 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "michaelsproul/Meadow",
"max_stars_repo_path": "src/Meadow.Core/AccountDerivation/BIP32/ExtendedKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71698"
} | starcoder | using Meadow.Core.Cryptography.Ecdsa;
using Meadow.Core.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
namespace Meadow.Core.AccountDerivation.BIP32
{
/// <summary>
/// Represents a hierar... | 2.569042 | 9cb609bf2b36394856928455589423aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71698 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TortugaResearch/Anchor",
"max_stars_repo_path": "Tortuga.Anchor/Tortuga.Anchor/Metadata/ConstructorMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71699"
} | starcoder | <gh_stars>1-10
using System.Collections.Immutable;
using System.Reflection;
namespace Tortuga.Anchor.Metadata;
/// <summary>
/// Class ConstructorMetadata.
/// </summary>
public sealed class ConstructorMetadata
{
/// <summary>
/// Initializes a new instance of the <see cref="ConstructorMetadata"/> class.
/// </su... | 2.474769 | b9cf9bb935eb7c0b7798a779a2ba463c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71699 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Tristhal/Artemis-Engine",
"max_stars_repo_path": "Artemis.Engine/Forms/Menu/BaseMenuForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71700"
} | starcoder | #region Using Statements
using Artemis.Engine.Input;
using Artemis.Engine.Utilities;
using FarseerPhysics;
using FarseerPhysics.Dynamics;
using System.Linq;
#endregion
namespace Artemis.Engine.Forms.Menu
{
public delegate void OnMouseEnterDelegate();
public delegate void OnMouseLeaveDelegate();
public... | 2.602718 | 0089944b145bfd72f23f3e9989189692 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71700 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Resgrid/GenericEFRepo",
"max_stars_repo_path": "Resgrid.Services/TodoService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71701"
} | starcoder | <filename>Resgrid.Services/TodoService.cs
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Resgrid.Model;
namespace Resgrid.Services
{
public class TodoService : ITodoService
{
private readonly IGenericRepository<TodoList> _todoListRepository;
private readonly IGe... | 2.587629 | 1ae43f740e614a7601eeee08b3c49fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stsertov/EntityFramework-Core-Exam",
"max_stars_repo_path": "Artillery/DataProcessor/ExportDto/XGunExportXmlDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71702"
} | starcoder | using System.Xml.Serialization;
namespace Artillery.DataProcessor.ExportDto
{
[XmlType("Gun")]
public class XGunExportXmlDto
{
[XmlAttribute("Manufacturer")]
public string Manufacturer { get; set; }
[XmlAttribute("GunType")]
public string GunType { get; set; }
[X... | 1.952184 | dee26bff2a5f35a05b2e443f2b7a1ba6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71702 | {
"extension": "c-sharp",
"max_stars_count": "5234.0",
"max_stars_repo_name": "SvanBoxel/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Users/ViewModels/ResetPasswordViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71703"
} | starcoder | <reponame>SvanBoxel/OrchardCore<gh_stars>1000+
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using OrchardCore.Email;
namespace OrchardCore.Users.ViewModels
{
public class ResetPasswordViewMode... | 2.125352 | e1ff4afe0dcdf3dd3824baafe688398f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71703 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "PacktPublishing/ASP.NET-MVC-Core-2.0-Cookbook",
"max_stars_repo_path": "Chapter05/1-UsingTheLifecyclesAvailableInAsp.NetCore/Models/Operation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71704"
} | starcoder | <reponame>PacktPublishing/ASP.NET-MVC-Core-2.0-Cookbook
using System;
public interface IOperation
{
Guid OperationId { get; }
}
public interface IOperationTransient : IOperation
{
}
public interface IOperationScoped : IOperation
{
}
public interface IOperationSingleton : IOperation
{
}
public interface IOperat... | 2.52621 | b7365526ee7763bab41c5008ee9a0fae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wainwrightmark/Myriad",
"max_stars_repo_path": "Myriad/SolveSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71705"
} | starcoder | namespace Myriad;
public record SolveSettings(int? MinWordLength, bool AllowTrueEquations, (int Min, int Max)? MathExpressionsRange)
{
public bool AllowMath => AllowTrueEquations || MathExpressionsRange is not null;
public bool AllowWords => MinWordLength.HasValue;
public int MinimumTermLength => MinWor... | 2.10573 | 79c95ea3f5a4725826e43bbad1798494 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eresia/Harpooneers",
"max_stars_repo_path": "Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/Operators/ScaleAndOffsetNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71706"
} | starcoder | <reponame>Eresia/Harpooneers
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
using System;
namespace AmplifyShaderEditor
{
[Serializable]
[NodeAttributes( "Scale And Offset", "Math Operators", "Scales and offsets an input value\n( ( <b>Value</b> * <b>Scale</b> ... | 2.546619 | 02fc50fea96de2c79aae38e7eb1cf5f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "childofbodom24/Rep",
"max_stars_repo_path": "Make10/Make10/Make10/Models/AlertParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71707"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace Make10.Models
{
public class AlertParameter
{
public string Title { get; set; }
public string Message { get; set; }
public string Accept { get; set; }
public string Cancel { get; s... | 1.757738 | efb3e0654441393f5950fa5f133b4a33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Starcounter/Starcounter.Authorization",
"max_stars_repo_path": "Authorization/Model/SqlEscaping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71708"
} | starcoder | <reponame>Starcounter/Starcounter.Authorization
using System.Text;
namespace Starcounter.Authorization.Model
{
internal static class SqlEscaping
{
private static string EscapeSingleIdentifier(string word)
{
return $"\"{word}\"";
}
/// <summary>
/// Escapes ... | 2.876098 | 80d610bcbe383e22131939491588194a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucashigor/luxclusif.order",
"max_stars_repo_path": "luxclusif.order.domain/SeedWork/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71709"
} | starcoder | namespace luxclusif.order.domain.SeedWork;
public abstract class Entity
{
protected Entity()
{
Id = Guid.NewGuid();
CreatedAt = DateTime.UtcNow;
}
public Guid Id { get; private set; }
public DateTimeOffset CreatedAt { get; private set; }
public DateTimeOffset? LastUpdateAt { ge... | 2.17844 | edb1f69b372375ccde2d647c17d9aaa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MilanHalada/LunchTime",
"max_stars_repo_path": "LunchTime/Interfaces/ILunchProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71710"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using LunchTime.Models;
namespace LunchTime.Interfaces
{
public interface ILunchProvider
{
IEnumerable<string> GetBookmarkedIds(string bookmarkedValue);
IEnumerable<PersonalizedLunchMenu> GetPersonalizedLunchMenus(IQueryable<LunchMenu> menus... | 2.048438 | 01ae5d642461da3074d9cf1e6b56b155 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechNobre/PowerUtils.AspNetCore.Attributes.ResponseTypes",
"max_stars_repo_path": "src/Attributes/Response205Attribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71711"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace PowerUtils.AspNetCore.Attributes
{
/// <summary>
/// Response with status code 205 (ResetContent)
/// </summary>
public class Response205Attribute : ProducesResponseTypeAttribute
{
public Response205At... | 2.172699 | 7f2073b8ef3e029e7f02ddf349cad74b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KelsonBall/Kelson.Common.Parse",
"max_stars_repo_path": "src/Kelson.Common.Parse/Rules/FirstOf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71712"
} | starcoder | using System;
using System.Collections.Generic;
namespace Kelson.Common.Parse.Rules
{
public class First<TToken, TValue> : Rule<TToken, TValue>
{
public readonly Rule<TToken, TValue>[] Rules;
public First(params Rule<TToken, TValue>[] rules) : base()
=> Rules = rules; ... | 2.827163 | 3f3a1d8f2f7c18f9b884bad1d4362cc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71712 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Mobioos/SmartApp-Hive",
"max_stars_repo_path": "backend/Migrations/20210225093439_Hive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71713"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Hive.Backend.Migrations
{
public partial class Hive : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Pictures",
... | 1.976937 | cbb4444ee55d6baeba148728cd6b4020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71713 | {
"extension": "c-sharp",
"max_stars_count": "178.0",
"max_stars_repo_name": "Ignition-Group-Open-Source-Contrib/corewf",
"max_stars_repo_path": "src/Test/TestCases.Activities/Sequence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71714"
} | starcoder | <filename>src/Test/TestCases.Activities/Sequence.cs<gh_stars>100-1000
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System;
using System.Activities;
using System.Collections.Generic;
using System.IO;
using Test.Commo... | 2.569113 | 4294094d2ce05bd666c70ef41deb14c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PoH98/uberstrok",
"max_stars_repo_path": "src/UberStrok.WebServices.AspNetCore/Services/PrivateMessageWebService.Base.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71715"
} | starcoder | <reponame>PoH98/uberstrok
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using UberStrok.Core.Serialization;
using UberStrok.Core.Serialization.Views;
using UberStrok.Core.Views;
using UberStrok.WebServices.Contracts;
namespace UberStrok.WebServices.AspNetCore
... | 1.981752 | 5e3183c0664af53c29350fd10f2f8c5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shtereva/CSharp-DB-Fundamentals---Entity-Framework",
"max_stars_repo_path": "Best Practices and Architecture/BusTicketSystem/BusTicketSystem.Models/Review.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71716"
} | starcoder | using System;
using System.Collections.Generic;
namespace BusTicketSystem.Models
{
public class Review
{
public int Id { get; set; }
public string Content { get; set; }
public double Grade { get; set; }
public int CustomerId { get; set; }
public Customer Customer { g... | 1.894189 | 6e9fc07df5aa44143a5f4c5e9dc0eb25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MountAnFruh/MountAnBot",
"max_stars_repo_path": "MountAnBot/beans/Pfad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71717"
} | starcoder | <filename>MountAnBot/beans/Pfad.cs
using MountAnBot.core;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
namespace MountAnBot.beans
{
public class Pfad
{
public string Start_addresse { get { return start_adresse; } }
public string End_adresse { ... | 2.864136 | c658eded4ad466ef109f90ad8c98a2b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71717 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "aodegov/Samples",
"max_stars_repo_path": "GPRSTracker/GPRSTracker/GPRSTracker.Android/SMS/SMSBroadcastReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71718"
} | starcoder | namespace GPRSTracker.Droid.SMS
{
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Telephony;
using GPRSTracker.Models;
using Java.Lang;
using Xamarin.Forms;
[BroadcastReceiver]
[IntentFilter(new[] { "android.provider.Telephony.SMS_RECEIVED" }, Priorit... | 2.170073 | a61618833753d877d975f008c8f4cbe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bodrick/Topshelf",
"max_stars_repo_path": "src/Topshelf/Caching/Delegates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71719"
} | starcoder | namespace Topshelf.Caching
{
internal delegate void CacheItemCallback<in TKey, in TValue>(TKey key, TValue value);
internal delegate TKey KeySelector<out TKey, in TValue>(TValue value);
internal delegate TValue MissingValueProvider<in TKey, out TValue>(TKey key);
}
| 1.747035 | f51b5c36b024076ddaaec2ce71c2f19c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chesdenis/sharp-glide",
"max_stars_repo_path": "src/SharpGlide/Parts/Generic/GenericBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71720"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using SharpGlide.Parts.Abstractions;
namespace SharpGlide.Parts.Generic
{
// TODO: make buffer implementation
public class GenericBuffer<TBufferData> : VectorPart<TBufferData, TBufferData[]>
{
private readonly L... | 2.18124 | ef7eb17c9b0b18b9e8e3c4ae03334e3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "llijaz/Shoot-em-up",
"max_stars_repo_path": "Assets/Skripts/Item/ItemSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71721"
} | starcoder | <reponame>llijaz/Shoot-em-up
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityStandardAssets.CrossPlatformInput;
public class ItemSelector : MonoBehaviour
{
public float speed = 0.01f;
public Player player;
public ItemBehaviour item;
Ve... | 1.908678 | 37e5625e6890e5a44a2eab8b74b543cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TheWickedKraken/ESS_Project-0",
"max_stars_repo_path": "Project 0/Assets/Scripts/HP System/HpMeter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71722"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
using Vexe.Runtime.Types;
[RequireComponent(typeof(Transform))]
public class HpMeter : BaseBehaviour
{
private GameSettings.GameState currentGameState;
private GameSettings gameSettings;
private Dmg[] dmg;
private DmgOverTime[] DOT;
pub... | 1.887116 | 1cc5a4c93e14a4126d541ef3cc964059 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HugoZink/Ball.com",
"max_stars_repo_path": "src/WarehouseManagementAPI/Models/Package.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71723"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace WarehouseManagementAPI.Models
{
public class Package
{
public string PackageId { get; set; }
public string TypeO... | 2.231386 | 76887298b7621520e3618ad3c4307e7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71723 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "csc414/Dapper.Easies",
"max_stars_repo_path": "Dapper.Easies.Demo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71724"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Dapper.Easies.Demo
{
class Program
{
static async Task... | 2.453571 | daef7c15b12cb16e3705216ce1fab2c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pkyurkchiev/microservices_skeleton_net-core",
"max_stars_repo_path": "src/Services/KnowledgeBase/KnowledgeBase.Infrastructure/KnowledgeBaseSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71725"
} | starcoder | <reponame>pkyurkchiev/microservices_skeleton_net-core<gh_stars>0
namespace KnowledgeBase.Infrastructure
{
public class KnowledgeBaseSettings
{
public string EventBusConnection { get; set; }
public string ConnectionString { get; set; }
}
}
| 0.907245 | 519186c35ccb5dc6c2adf5047cfa8174 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dianasebo/Randoop.NET",
"max_stars_repo_path": "randoop-NET-src/RandoopImpl/TestGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71726"
} | starcoder | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Apache License, Version 2.0.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES ... | 2.172623 | d92f36402f1e52e6c0ec1bbabf44672b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yannisgu/GitVersion",
"max_stars_repo_path": "GitVersionCore.Tests/Fixtures/RemoteRepositoryFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71727"
} | starcoder | using System;
namespace GitVersionCore.Tests.Fixtures
{
using GitVersion;
using LibGit2Sharp;
public class RemoteRepositoryFixture : RepositoryFixtureBase
{
public string LocalRepositoryPath;
public IRepository LocalRepository;
public RemoteRepositoryFixture(Confi... | 2.831975 | 71f78e68e653b9da34dd33272ffdf3e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chancie86/DigitalSignage",
"max_stars_repo_path": "Views/ClocksDisplayView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71728"
} | starcoder | using System.Windows.Controls;
using Display.ViewModels;
using Display.ViewModels.Clocks;
using WpfUtils;
namespace Display.Views
{
/// <summary>
/// Interaction logic for ClocksDisplayView.xaml
/// </summary>
[DataTemplated(typeof(ClocksDisplayViewModel))]
public partial class ClocksDisplayView :... | 1.42971 | ad919bf8503802e7d840641f90679f60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abinkowski94/blockchain-simulator",
"max_stars_repo_path": "src/BlockchainSimulator/BlockchainSimulator.Node.BusinessLogic/Model/Statistics/BlockInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71729"
} | starcoder | using System;
namespace BlockchainSimulator.Node.BusinessLogic.Model.Statistics
{
public class BlockInfo
{
public string Id { get; set; }
public string Nonce { get; set; }
public DateTime TimeStamp { get; set; }
public string UniqueId { get; set; }
public string Pare... | 1.5565 | 0915fdb7701de6a2adab8f55127f0b19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MainDen/SDK-by-MainDen",
"max_stars_repo_path": "Core by MainDen/interfaces/IGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71730"
} | starcoder | // BSD 3-Clause License
//
// Copyright (c) 2020, MainDen
// All rights reserved.
//
// Read more on https://github.com/MainDen/SDK-by-MainDen
using System.Collections.Generic;
namespace MainDen.Collections
{
public interface IGroup
{
List<object> Entries { get; }
List<object> Members { get; ... | 1.848301 | 707a8887029502809c4db4927546b753 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71730 | {
"extension": "c-sharp",
"max_stars_count": "215.0",
"max_stars_repo_name": "ThreeSevenths/Remote.Linq",
"max_stars_repo_path": "samples/27_RemoteQueryable_UsingXmlSerializationOverWebApi/Server/WebApiServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71731"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. See license.txt in the project root for license information.
namespace Server
{
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading;
public se... | 2.251993 | 2fe0f15a0092902ee5388dcf5179283a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71731 | {
"extension": "c-sharp",
"max_stars_count": "242.0",
"max_stars_repo_name": "wxq127/gamebuilder",
"max_stars_repo_path": "Assets/Scripts/InspectorV2/ItemWithTooltipWithEventSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71732"
} | starcoder | /*
* Copyright 2019 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 2.020456 | c27230fc74857bf4505dc0bb60d9e64b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71732 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "darkfoxdeveloper/FoxConquer5517",
"max_stars_repo_path": "ServerCore/Networking/Packets/2207-ArenaRanking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71733"
} | starcoder | // World Conquer Online Project 2.5517 - Phoenix Project Based
// This project has been created by <NAME> and updated by <NAME>
// Source Infrastructure based on Phoenix Source, written by <NAME>
// This source is targeted to Conquer Online, client version 5517
//
// File Created by: <NAME>
// zfserver v2.5517 - S... | 2.113193 | a07329fc97875aa83b9211279e9277c2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.