added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812418 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/DistributionVectorParameterBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131638"
} | starcoder | <reponame>UE4DotNet/Plugin<filename>DotNet/DotNet/UE4/Generated/Engine/DistributionVectorParameterBase.cs
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreU... | 1.690017 | 03214e60d6bd38890e8f4831567524fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViktorAleksandrov/SoftUni--CSharp-Fundamentals",
"max_stars_repo_path": "1. CSharp Advanced/2.2. Multidimensional Arrays - Exercise/P03.SquaresInMatrix/SquaresInMatrix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131639"
} | starcoder | namespace P03.SquaresInMatrix
{
using System;
public class SquaresInMatrix
{
public static void Main()
{
var matrixParams = Console.ReadLine().Split();
var rowsCount = int.Parse(matrixParams[0]);
var columnsCount = int.Parse(matrixParams[1]);
... | 3.690999 | 605d02ae41dd6715ae9061106db1fe3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812420 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "ItemDataManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131640"
} | starcoder | <reponame>moto2002/mobahero_src
using System;
public class ItemDataManager : DataManager
{
public ItemDataManager()
{
}
public ItemDataManager(Units self) : base(self)
{
}
public override void OnInit()
{
this.SetConfigData();
}
public override void OnStart()
{
}
public override ... | 1.673258 | f515bff2c00829afc3cd418738660360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812421 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lydonchandra/fo-dicom",
"max_stars_repo_path": "DICOM/IO/Buffer/IByteBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131641"
} | starcoder | // Copyright (c) 2012-2020 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
namespace Dicom.IO.Buffer
{
/// <summary>
/// Common interface for byte buffers.
/// </summary>
public interface IByteBuffer
{
/// <summary>
/// Gets whether data is buffered i... | 2.693734 | 98aee98b79f0219e1ab755bf7b5656f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UncleDanny/Zoo",
"max_stars_repo_path": "Zoo/Services/IAnimalService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131642"
} | starcoder | <reponame>UncleDanny/Zoo<gh_stars>0
using System;
using System.Collections.Generic;
using Zoo.Animals;
namespace Zoo.Services
{
public interface IAnimalService
{
public List<Animal> GetAnimals();
public List<string> GetAnimalTypeNames();
public void AddAnimal<T>(T animal) where T : A... | 2.22767 | 12d03dbfea6b0ace58defe0eea3a4bff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VasilyBulgakov/Unity-ARkit1.5",
"max_stars_repo_path": "Assets/GenerateObjectOnImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131643"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.iOS;
public class GenerateObjectOnImage : MonoBehaviour {
[SerializeField]
private ARReferenceImage referenceImage;
[SerializeField]
private GameObject prefabToGenerate;
private GameObject imageAnchorGO;
// ... | 2.031094 | 9bccb41c5c13d5d02b034299a9cb87ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "etcdotx/MalingRun",
"max_stars_repo_path": "Assets/Script/SpawnObjectManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131644"
} | starcoder | <reponame>etcdotx/MalingRun<filename>Assets/Script/SpawnObjectManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnObjectManager : MonoBehaviour {
public int maxPlatforms = 30;
public GameObject Platform;
public float horizontalMin = 6.5f;
public float horiz... | 1.963689 | 93788cd262a1ef707953eba6697fa53c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EmilioHawrylak/Yera5NaUleonikej2Nbe0CnTjdziex5Teho32HAHAHA",
"max_stars_repo_path": "gierka/STRAGANIKTHEGAME/Assets/Scripts/DayNight.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131645"
} | starcoder | <filename>gierka/STRAGANIKTHEGAME/Assets/Scripts/DayNight.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DayNight : MonoBehaviour
{
public float speed = 1;
float mn;
void Update()
{
mn = speed * Time.deltaTime;
transform.Rotate(Vect... | 1.857872 | 236243c11ab45d5ea2d378c0a464f5fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bojidaryovchev/CSharp-OOP-Exam-Preparation",
"max_stars_repo_path": "RestaurantManager-Skeleton/Engine/RestaurantManagerEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131646"
} | starcoder | <reponame>bojidaryovchev/CSharp-OOP-Exam-Preparation
namespace RestaurantManager.Engine
{
using System;
using System.Collections.Generic;
using RestaurantManager.Engine.Factories;
using RestaurantManager.Interfaces;
using RestaurantManager.Interfaces.Engine;
public sealed class Restaur... | 2.133789 | 6328637a41e8c67ec6921e42ac0f5047 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "segios/PoyntSDK.NET",
"max_stars_repo_path": "Poynt.NET.Model/CaptureAllRangeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131647"
} | starcoder | <reponame>segios/PoyntSDK.NET
using System.Collections.Generic;
namespace Poynt.NET.Model
{
public enum CaptureAllRangeType
{
TIME,
TRANSACTION
}
}
| 1.206442 | 2a6ea5f68f20a7a42085c7eac56e67c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812428 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EasyAbp/EzGet",
"max_stars_repo_path": "src/EasyAbp.EzGet.EntityFrameworkCore/EasyAbp/EzGet/Feeds/EfCoreFeedRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131648"
} | starcoder | <filename>src/EasyAbp.EzGet.EntityFrameworkCore/EasyAbp/EzGet/Feeds/EfCoreFeedRepository.cs<gh_stars>1-10
using EasyAbp.EzGet.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Ta... | 2.384313 | 0a5853625061dce8d5c45a751fb30a25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mk-prg-net/mk-prg-net.lib",
"max_stars_repo_path": "mko.Asp.Mvc/Session/WFStateFilterSortSelectPageSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131649"
} | starcoder | //<unit_header>
//----------------------------------------------------------------
//
// <NAME>: IT Beratung/Softwareentwicklung
// Stuttgart, den 20.5.2014
//
// Projekt.......: mko.Asp.Mvc
// Name..........: WFStateFilterSortSelectPageSize.cs
// Aufgabe/Fkt...: Basisklasse für Seitenzustände, die Filter, Sortierb... | 2.34885 | fc44afcc2dc8a856aa4dc3f817c8c853 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Monthly_distribution_percentage/Monthly_distribution_percentageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131650"
} | starcoder | using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Monthly_distribution_percentage
{
public class Monthly_distribution_percentageService : SubServiceBase<ER... | 1.769581 | 3ddd7b69d6b036604745004b2c495aa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812431 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cocosip/CAP-Extensions",
"max_stars_repo_path": "test/DotNetCore.CAP.Sqlite.Tests/DatabaseTestHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131651"
} | starcoder | <gh_stars>1-10
using DotNetCore.CAP.Persistence;
using System.Threading;
namespace DotNetCore.CAP.Sqlite.Tests
{
public abstract class DatabaseTestHost : TestHost
{
private static bool _sqlObjectInstalled;
public static object _lock = new object();
protected override void PostBuildSer... | 1.961292 | 978cd8e954f12d49428f2fc0a30db6f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Janvdtuin1/HebberigeBruiden",
"max_stars_repo_path": "navbar.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131652"
} | starcoder | <gh_stars>0
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projectio... | 1.850491 | d05f8cc73f785585acbd2b6b972ed063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HongJunRen/POPForums",
"max_stars_repo_path": "PopForums/Services/ITopicService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131653"
} | starcoder | using System;
using System.Collections.Generic;
using PopForums.Models;
namespace PopForums.Services
{
public interface ITopicService
{
List<Topic> GetTopics(Forum forum, bool includeDeleted, int pageIndex, out PagerContext pagerContext);
Post PostReply(Topic topic, User user, int parentPostID, string ip, bool i... | 1.827233 | 1a7dd1c22ee396a6fdbf0339d34d11ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812434 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dennis-kuypers-gcx/Alexa.NET.Management",
"max_stars_repo_path": "Alexa.NET.Management/SkillDevelopment/SkillUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131654"
} | starcoder | namespace Alexa.NET.Management.SkillDevelopment
{
public class SkillUpdate : SkillDevelopmentEvent<SkillUpdatePayload>
{
}
} | 1.000553 | 7e019d5c8f7eee93cb6fbb7a6993a811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812435 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "AonaSuzutsuki/SavannahManager",
"max_stars_repo_path": "SavannahManager/Models/IpAddressGetterModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131655"
} | starcoder | using CommonStyleLib.Models;
using CommonExtensionLib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace _7dtd_svmanager_fix_mvvm.Models
{
public class IpAddressGetterModel : ModelBase
{
#regio... | 2.455861 | 8073637c91fa0b834d969476a4d2b3a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812436 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnjm/sharp-chat",
"max_stars_repo_path": "SharpChat.Common/Commands/DeleteChannelCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131656"
} | starcoder | using SharpChat.Channels;
using SharpChat.Packets;
using SharpChat.Users;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SharpChat.Commands {
public class DeleteChannelCommand : ICommand {
private ChannelManager Channels { get; }
private IUser Sender { get; }
... | 2.718542 | a6069f90ffa9b89bf8788aba6174cf49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812437 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "kuveytturk-finevr/SanalBanka",
"max_stars_repo_path": "Assets/MixedRealityToolkit/Services/BaseCoreSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131657"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.MixedReality.Toolkit
{
public abstract class BaseCoreSystem : BaseEventSystem
{
public BaseCoreSystem(
IMixedReality... | 2.150303 | ddabc04ed8b617efaf4cffca55d9176e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812438 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "crobibero/Jellyfin.Channels.LazyMan",
"max_stars_repo_path": "Jellyfin.Channels.LazyMan/GameApi/StatsApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131658"
} | starcoder | <reponame>crobibero/Jellyfin.Channels.LazyMan
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading.Tasks;
using Jellyfin.Channels.LazyMan.GameApi.Containers;
using MediaBrowser.Common.Json;
using Med... | 2.226613 | fe1ba9dbddd82d9b6fb3a07e761fc3f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karamem0/sp-client-core",
"max_stars_repo_path": "source/Karamem0.SPClientCore/Services/V1/TermSetService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131659"
} | starcoder | <gh_stars>0
//
// Copyright (c) 2022 karamem0
//
// This software is released under the MIT License.
//
// https://github.com/karamem0/sp-client-core/blob/main/LICENSE
//
using Karamem0.SharePoint.PowerShell.Models.V1;
using Karamem0.SharePoint.PowerShell.Runtime.Models;
using Karamem0.SharePoint.PowerShell.... | 1.689394 | d9e662ae208c8f70e6067508b44348f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimmyLinderswaggen/DatabasprojektVT2015",
"max_stars_repo_path": "Webshop/Webshop/Controllers/ProductController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131660"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebMatrix.WebData;
using Webshop.DBM;
using Webshop.Models;
namespace Webshop.Controllers
{
public class ProductController : Controller
{
//
// GET: /Product/
public Action... | 2.103037 | 741110d0bce37c76cd837f0e8cd0e389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812441 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "YusufDev101/winformspokedex",
"max_stars_repo_path": "WinformsPokedex/Views/FormCustomMessageBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131661"
} | starcoder | <filename>WinformsPokedex/Views/FormCustomMessageBox.cs
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using WinformsPokedex.Properties;
namespace WinformsPokedex.Views
{
public partial class FormCustomMessageBox : Form
{
public FormCustomMessageB... | 2.369309 | df32572f3ef4eedef6d2ef27bfcb3575 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812442 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dzhanetGerdzhikova/OOP",
"max_stars_repo_path": "Exam 4 - CounterSrike/CounterStrike/Models/Guns/Contracts/IGun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131662"
} | starcoder | namespace CounterStrike.Models.Guns.Contracts
{
public interface IGun
{
string Name { get; }
int BulletsCount { get; }
int Fire();
}
}
| 2.231384 | f2b06ea929b375091527f4955054fc97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812443 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Ref12/Codex",
"max_stars_repo_path": "src/Codex.ElasticSearch/Store/Directory/DirectoryCodexStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131663"
} | starcoder | <filename>src/Codex.ElasticSearch/Store/Directory/DirectoryCodexStore.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Codex.ObjectModel;
using System.Collections.Concurrent;
using Codex.Sdk.Utilities;
using System.IO;
using Codex.Uti... | 1.983909 | 0545aa3609a047c148affd84a7c4b8f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hahmed/libgit2sharp",
"max_stars_repo_path": "LibGit2Sharp/GlobalSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131664"
} | starcoder | <gh_stars>0
using System;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Global settings for libgit2 and LibGit2Sharp.
/// </summary>
public static class GlobalSettings
{
private static readonly Lazy<Version> version = new Lazy<Version>(Version.Build);
private... | 2.078586 | f984571196d07444674944c8f539700e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812445 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "lvv88/jenetics.net",
"max_stars_repo_path": "src/core/Jenetics.Tests/Internal/Math/DoubleAdderTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131665"
} | starcoder | // Java Genetic Algorithm Library.
// Copyright (c) 2017 <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 require... | 2.650399 | 0ec2fef0b9d80c6dee5cf7cc0a43a7da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "szlatkow/itext7-dotnet",
"max_stars_repo_path": "itext/itext.commons/itext/commons/utils/SortUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131666"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: <NAME>, <NAME>, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the additio... | 2.129083 | 39d76bf6612f0a55cf79c58c9e1fb96b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "untitled-no1/ufo",
"max_stars_repo_path": "ufo/UFO.Server/UFO.Server.Dal.Common/ADbCommProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131667"
} | starcoder | #region copyright
// (C) Copyright 2015 <NAME> (http://dinu.at) and others.
//
// 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
//
// Unl... | 2.428572 | cfcbff816f31831c5236530e3a3ddfb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812448 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "michha/Clippit",
"max_stars_repo_path": "OpenXmlPowerTools/Comparer/WmlComparer.Public.NestedTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131668"
} | starcoder | <filename>OpenXmlPowerTools/Comparer/WmlComparer.Public.NestedTypes.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml.Linq;
namespace Clippit
{
public static partial class WmlCom... | 1.540365 | 0d65328de3ca8e2c2d3d4b900a219e36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raphaelr/PulseAudioMixer-dotnet",
"max_stars_repo_path": "PulseAudio.Mixer/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131669"
} | starcoder | <filename>PulseAudio.Mixer/MainForm.cs
using System;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using PulseAudio.Client;
namespace PulseAudio.Mixer
{
public partial class MainForm : Form
{
private IContext _context;
private readonl... | 2.535252 | 0ddc269bc96c2e8220588f3890009816 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812450 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "waterbuddy16/NitoriWare",
"max_stars_repo_path": "Assets/Microgames/KyoukoEcho/Scripts/KyoukoEchoNoise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131670"
} | starcoder | <reponame>waterbuddy16/NitoriWare
using System;
using System.Collections;
using UnityEngine;
[Serializable]
public struct KyoukoEchoNoisePair
{
[SerializeField]
public Sprite front;
[SerializeField]
public Sprite back;
}
public class KyoukoEchoNoise : MonoBehaviour
{
[SerializeField]
flo... | 2.195583 | 8013c347f1a413f0ca0f9ad3329600c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "odyarge/cihazkapinda.com",
"max_stars_repo_path": "aspnet-core/src/ODY.Cihazkapinda.Web/Pages/Admin/SiteSettings/EditModal.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131671"
} | starcoder | <filename>aspnet-core/src/ODY.Cihazkapinda.Web/Pages/Admin/SiteSettings/EditModal.cshtml.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Micro... | 1.835071 | a2b48747da8255c4e80b4ca3da480ef2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caoyongxu/ironpython3",
"max_stars_repo_path": "Src/IronPython/Runtime/Types/PythonType.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131672"
} | starcoder | <reponame>caoyongxu/ironpython3
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Linq.Expressions;
using System;
using System.Collections.Gener... | 2.066655 | 3fd2a50a212d7e83ae88629c6348db22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wholething/wholething-fallback-text-property",
"max_stars_repo_path": "Wholething.FallbackTextProperty.Test/FallbackTextReferenceParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131673"
} | starcoder | using Wholething.FallbackTextProperty.Services;
using Wholething.FallbackTextProperty.Services.Impl;
using Xunit;
namespace Wholething.FallbackTextProperty.Test
{
public class FallbackTextReferenceParserTests
{
private readonly IFallbackTextReferenceParser _referenceParser;
public FallbackText... | 2.57614 | 089213e233a5b37c8b4430e5762a7103 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanyta78/GoldenOracule",
"max_stars_repo_path": "GoldenOracule1994/Engine/Quest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131674"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Engine
{
public class Quest
{
public int ID { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int RewardExperiancePoints { get; set; }
public int RewardGold { get; set; }... | 2.19679 | 2386251d4317d4dd8fc37d3439f01807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Engin-Boot/alert-to-care-s21b3",
"max_stars_repo_path": "Alert-To-Care/SQLRepository/SQLIcuDataRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131675"
} | starcoder | <filename>Alert-To-Care/SQLRepository/SQLIcuDataRepository.cs
using Alert_To_Care.Models;
using Alert_To_Care.Repository;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Alert_To_Care.SQLRepository
{
[ExcludeFromCodeCoverage]
public class SqlIcuDataRepository:IIcuDataReposit... | 2.857665 | c683b40f87f3b21ab8dcafefa2c45a37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812456 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ketiko/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/Security/AntiForgery/AntiForgeryData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131676"
} | starcoder | <filename>src/FubuMVC.Core/Security/AntiForgery/AntiForgeryData.cs
using System;
using System.Security.Principal;
namespace FubuMVC.Core.Security.AntiForgery
{
public class AntiForgeryData
{
private DateTime _creationDate = DateTime.UtcNow;
private string _salt;
private string ... | 2.787928 | 8fd5ed23dab526e7ce5c360a18e4433c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rallets/ReactiveUI.Samples",
"max_stars_repo_path": "winforms/demo2/WinForms.Reactive.Client/Helpers/CustomObservableExceptionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131677"
} | starcoder | <reponame>rallets/ReactiveUI.Samples
using System.Diagnostics;
using System.Reactive.Concurrency;
using ReactiveUI;
namespace WinForms.Reactive.Client.Helpers;
public class CustomObservableExceptionHandler : IObserver<Exception>
{
public void OnNext(Exception value)
{
if (Debugger.IsAttached)
{
Debugger.Bre... | 2.190758 | 2e921dc94a31878ac3e73563df00c81c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812458 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "debuggeryang/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Themes/Services/DarkModeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131678"
} | starcoder | using System;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using OrchardCore.Admin.Models;
using OrchardCore.Entities;
using OrchardCore.Settings;
namespace OrchardCore.Themes.Services
{
public class DarkModeService
{
private readonly IHttpContextAccessor _http... | 2.318808 | f96dda3d58487af33d1e44cc7a965b57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812459 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ngie-cooper/scratch",
"max_stars_repo_path": "programming/windows/c_sharp/msmq/MSMQSend.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131679"
} | starcoder | <reponame>ngie-cooper/scratch
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Text.RegularExpressions;
using System.Messaging;
using Messaging = System.Messaging;
namespace MSMQSend
{
class MSMQSend
{
static void Main(s... | 2.522856 | 295aa94f43917f3a496e080879189ae8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812460 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "mklement0/runtime",
"max_stars_repo_path": "src/libraries/System.Net.Sockets/tests/FunctionalTests/DisconnectTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131680"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Net.Test.Common;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace System.Net.Sockets.Tests
{
public class Disc... | 1.896553 | 19496344a707b1f7d03b45a746940734 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jbolda/Elements",
"max_stars_repo_path": "test/Elements.Tests/ModelCurveTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131681"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using Elements.Geometry;
using Xunit;
namespace Elements.Tests
{
public class ModelCurveTests : ModelTest
{
public ModelCurveTests()
{
this.GenerateIfc = false;
}
[Fact, Trait("Category","Examples")]
public vo... | 2.457969 | 32cd381207be67f6917eed0c83bf548d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812462 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "keremvaris/NewGenFramework",
"max_stars_repo_path": "FwGen/bin/Debug/Business/Abstract/ICategoryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131682"
} | starcoder | <reponame>keremvaris/NewGenFramework
using System.Collections.Generic;
using NewGenFramework.Entities.ComplexTypes;
using NewGenFramework.Entities.Concrete;
namespace NewGenFramework.Business.Abstract
{
public interface ICategoryService
{
List<Category> GetAll();
Category GetById(int categoryId);
Lis... | 1.395206 | 6cdaed9f724930498d2ffabcd09fe4ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812463 | {
"extension": "c-sharp",
"max_stars_count": "304.0",
"max_stars_repo_name": "brezza92/Typography",
"max_stars_repo_path": "PixelFarm/BackEnd.BurningMineCurve/CurveUtils/VectorHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131683"
} | starcoder | //ZLIB, 2015,burningmime
// Copyright (c) 2015 burningmime
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purp... | 2.483706 | 221050df789727985c6f872657bad4ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812464 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "Vanlightly/Taskling.NET",
"max_stars_repo_path": "src/Taskling/InfrastructureContracts/Blocks/ObjectBlocks/ObjectBlockCreateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131684"
} | starcoder | <reponame>Vanlightly/Taskling.NET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Taskling.Blocks.Common;
namespace Taskling.InfrastructureContracts.Blocks.ObjectBlocks
{
public class ObjectBlockCreateRequest<T> : BlockRequestBase
{
public ObjectBlockCreateR... | 1.923601 | 5c829c292289fa14c0d7ba4f03c6bee8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "THISISAGOODNAME/chloride",
"max_stars_repo_path": "src/AnotherWheel/AnotherWheel.Viewer/Components/Camera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131685"
} | starcoder | using JetBrains.Annotations;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace AnotherWheel.Viewer.Components {
/// <summary>
/// A simple FPS-like perspective camera.
/// </summary>
public sealed class Camera : GameComponent {
/// <summary>
/// Creates ... | 2.931171 | 968f56a74bf00f7c9ef606d3c55ee5f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enricotj/SurgeBlaster",
"max_stars_repo_path": "SurgeBlaster/Assets/Scripts/PlayerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131686"
} | starcoder | <filename>SurgeBlaster/Assets/Scripts/PlayerController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
// prefabs
public GameObject bulletPrefab;
// shooting
public float fireRate = 0.1f;
public float chargeWindow ... | 2.139703 | 3d12efd4917bd78e30cc25aa238ce86a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vahid1966/VSTSAuto",
"max_stars_repo_path": "PowerShellTools/Classification/PowerShellOutliningTaggerProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131687"
} | starcoder | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
using Microsoft.VisualStudio.Utilities;
namespace PowerShellTools.Classification
{
[TagType(typeof(IOutliningRegionTag)), ContentType("PowerShell"), Export(typeof(ITaggerProvide... | 1.914891 | 77885b122cc8d1a9477649f216da0316 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812468 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DimchoLakov/Architecture-Of-ASP-NET-Core-Microservices-Apps",
"max_stars_repo_path": "MyOnlineShop/MyOnlineShop.WebMVC.Admin/Views/Products/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131688"
} | starcoder | @model ProductPaginationViewModel
@{
ViewData["Title"] = "Manage Products";
}
<h2 class="text-danger">Admin</h2>
@if (!string.IsNullOrWhiteSpace(ViewBag.CatalogInoperativeMsg))
{
<p class="text-white bg-danger">@ViewBag.CatalogInoperativeMsg</p>
}
<div class="row mt-3 mb-3">
<div class="col-md-7">
... | 2.405782 | 4e0e4d57fed4786fb1b52bb64e524f6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SREEHARIR/Interact",
"max_stars_repo_path": "KinectWindowsUI/KinectWindowsUI/KinectWindowsUI/gesture/segments/MenuSegments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131689"
} | starcoder | <filename>KinectWindowsUI/KinectWindowsUI/KinectWindowsUI/gesture/segments/MenuSegments.cs<gh_stars>0
using Microsoft.Kinect;
namespace KinectWindowsUI
{
/// <summary>
/// The first part of a <see cref="GestureType.Menu"/> gesture.
/// </summary>
public class MenuSegment1 : IGestureSegment
{
... | 2.714436 | 15fe0d3352b99c80f5eecb3180ee87f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VIKESH1990/vikesh_qa",
"max_stars_repo_path": "AuthorizeNET/AuthorizeNET/Utilities/Crypto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131690"
} | starcoder | <gh_stars>0
using System;
using System.Security.Cryptography;
namespace AuthorizeNET.Utilities
{
public class Crypto
{
/// <summary>
/// Generates the HMAC-encrypted hash to send along with the SIM form
/// </summary>
/// <param name="transactionKey">The merchant's transaction ... | 3.011737 | 148248228e780b1878437f781bb91ecc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812471 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "toaster12/Unity-Gmod-Csharp",
"max_stars_repo_path": "Assets/Scripts/LoadBsp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131691"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
public class LoadBsp : MonoBehaviour
{
[Header("Helpers")]
public string MapDirectory;
public BspToUnityOptions Options;
private void Start()
{
if (!string.IsNullOrEmpty(MapD... | 2.000325 | 1b58ffd4a43a96add3837516cae74421 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812472 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "raffaeler/VideoStreamPlayer",
"max_stars_repo_path": "VideoStreamPlayer/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131692"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Media.Core;
using Windows.Network... | 1.980781 | bc7491d60499de6fb4f597b4a365f586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Totkata/TRKPortfolioApp",
"max_stars_repo_path": "Data/TRKPortfolio.Data.Models/Testimonial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131693"
} | starcoder | namespace TRKPortfolio.Data.Models
{
using System.ComponentModel.DataAnnotations;
using TRKPortfolio.Data.Common.Models;
public class Testimonial : BaseDeletableModel<int>
{
[Required]
[DataType(DataType.MultilineText)]
[StringLength(325, MinimumLength = 100, ErrorMessage = "T... | 2.268699 | 0b85c185b6e64b346b9883ace3b19a56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812474 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ycfnzz/Netch",
"max_stars_repo_path": "Netch/Forms/MainForm.Misc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131694"
} | starcoder | <filename>Netch/Forms/MainForm.Misc.cs
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using Netch.Controllers;
using Netch.Utils;
namespace Netch.Forms
{
/// <summary lang="en">
/// this class is used to disable Designer <para />
/// </sum... | 2.421875 | d1ef73097dbd521e5b9dc38d44449c12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812475 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JelleKerkstra/EasyNetQ",
"max_stars_repo_path": "Source/EasyNetQ.Tests.Tasks/Tasks/TestScheduledMessages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131695"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading;
using System.Threading.Tasks;
using EasyNetQ.Scheduling;
using Net.CommandLine;
using Serilog;
namespace EasyNetQ.Tests.Tasks
{
public class TestScheduledMessages : ICommandLineTask<int>, IDisposable
{
private readonly ILogger logger;
private... | 2.519917 | 3e6b9a65cc5f83eedeea40a438fa1c39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xels-io/SideChain-SmartContract",
"max_stars_repo_path": "src/Xels.SmartContracts.CLR/IInternalExecutorFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131696"
} | starcoder | <filename>src/Xels.SmartContracts.CLR/IInternalExecutorFactory.cs
namespace Xels.SmartContracts.CLR
{
public interface IInternalExecutorFactory
{
IInternalTransactionExecutor Create(RuntimeObserver.IGasMeter gasMeter, IState state);
}
} | 1.35205 | a9fd8a775e6106d595979306e5bd2046 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812477 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "trigger-death/TerrariaItemModifier",
"max_stars_repo_path": "TerrariaItemModifier/Util/TerrariaLocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131697"
} | starcoder | <reponame>trigger-death/TerrariaItemModifier
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.Win32;
namespace TerrariaItemModifier.Util {
/**<summary>Finds the Terraria Content folder.</summary>*/
... | 2.485072 | b0a7253222be62a572cd242c6298bc4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zachdimitrov/Learning_2017",
"max_stars_repo_path": "Databases/PostgreSQLTest/CodeFirstTest/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131698"
} | starcoder | using CodeFirstTest.Migrations;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFirstTest
{
class Program
{
static void Main(string[] args)
{
// Database.SetInitializer(new M... | 1.539158 | d259e2d9903a74d4b53a3199c6e9758e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812479 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "QualiSystems/FluentTc",
"max_stars_repo_path": "FluentTc/ConnectedTc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131699"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using FluentTc.Domain;
using FluentTc.Engine;
using FluentTc.Exceptions;
using FluentTc.Locators;
namespace FluentTc
{
public interface IConnectedTc
{
/// <summary>
/// Retrieves builds matching the criteria
/// </summar... | 2.131521 | b2e12bae7d869938e14b994250a96150 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812480 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sihotang/Serenity",
"max_stars_repo_path": "Serenity.Data.Entity/FieldTypes/Int16Field.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131700"
} | starcoder | <filename>Serenity.Data.Entity/FieldTypes/Int16Field.cs
using System;
using System.Data;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Globalization;
namespace Serenity.Data
{
public sealed class Int16Field : GenericValueField<Int16>, IIdField
{
public Int16Field(ICol... | 2.788294 | cf7d111e12978eaaa292643d62cf3b5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812481 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Lc3586/Microservice",
"max_stars_repo_path": "src/Applications/SimpleApi/Api/Configures/SwaggerWithApiVersionConfigura.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131701"
} | starcoder | <reponame>Lc3586/Microservice<filename>src/Applications/SimpleApi/Api/Configures/SwaggerWithApiVersionConfigura.cs
using Microservice.Library.ConsoleTool;
using Microservice.Library.Extension;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using... | 2.086228 | e51c75e76824ab1554447de025349fe3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812482 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "jasoncouture/dd-trace-dotnet",
"max_stars_repo_path": "tracer/src/Datadog.Trace/AppSec/Waf/ReturnCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131702"
} | starcoder | // <copyright file="ReturnCode.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
using System.... | 1.721392 | 98d2a717aec5e7221019053a2c8f5d12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinError/MAP",
"max_stars_repo_path": "BackEnd/KFC.SIT.DataAccessLayer/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131703"
} | starcoder | <filename>BackEnd/KFC.SIT.DataAccessLayer/Models/User.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to ... | 2.368845 | 941207181abdac15693c0c96566f3219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812484 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tomhaigh/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/CloudSearchDomain/Generated/Model/Internal/MarshallTransformations/SearchRequestMarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131704"
} | starcoder | <reponame>tomhaigh/aws-sdk-net
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.co... | 1.408682 | 7fdddfa9c099513b5343ea8daa36eefb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ondfisk/SkoleIntraKalender",
"max_stars_repo_path": "SkoleIntraKalender.Tests/GlobalUsings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131705"
} | starcoder | global using Microsoft.AspNetCore.Mvc;
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.Options;
global using Moq;
global using SkoleIntraKalender.Controllers;
global using SkoleIntraKalender.Models;
global using System.Text.Json;
global using Xunit;
| 1.012835 | 3bd1052001051df849858c06c42a3ffc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812486 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jxnkwlp/Passingwind.Blog",
"max_stars_repo_path": "Passingwind.Blog.Web/Models/Blog/CommentViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131706"
} | starcoder | <gh_stars>1-10
using Passingwind.Blog.Data.Domains;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Passingwind.Blog.Web.Models
{
public class CommentViewModel
{
public bool CommentNestingEnabled { get; set; }
public int Id { get; set; }
... | 2.470921 | 26ac03a3d708acd5890840865007f851 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812487 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nadvolod/Design-Patterns-for-High-Quality-Automated-Tests-CSharp-Edition",
"max_stars_repo_path": "Chapter 9- Benchmarking/BenchmarkingDemos/Facades/PurchaseFacade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131707"
} | starcoder | namespace BenchmarkingDemos.Facades.Second
{
public abstract class PurchaseFacade
{
public void PurchaseItem(string rocketName, string couponName, int quantity, string expectedPrice, PurchaseInfo purchaseInfo)
{
AddItemToShoppingCart(rocketName);
ApplyCoupon(couponName);... | 2.675986 | f30b1010db253bbe3be53ae982c2b03d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "object/akka.net",
"max_stars_repo_path": "src/core/Akka/Configuration/Hocon/HoconConfigurationElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131708"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="HoconConfigurationElement.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </c... | 2.219 | 6e43654515372ad9a9c051b4ef3b8205 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gdemu13/CreatorSpace",
"max_stars_repo_path": "src/CreatorSpace/Application/Comments/Commands/UpdateComment/UpdateCommentCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131709"
} | starcoder | namespace CreatorSpace.Application.Comments.Commands.UpdateComment
{
using CreatorSpace.Application.Common.Security;
using MediatR;
using System.Text.Json.Serialization;
[Authorize]
public class UpdateCommentCommand : IRequest
{
[JsonIgnore]
public long Id { get; set; }
... | 1.774706 | 2e60379fe3bfe8e2c612586b3338a67f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ucdavis/Commencement",
"max_stars_repo_path": "Commencement.Core/Domain/ExtraTicketPetition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131710"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using Commencement.Core.Helpers;
using DataAnnotationsExtensions;
using FluentNHibernate.Mapping;
using UCDArch.Core.DomainModel;
namespace Commencement.Core.Domain
{
public class ExtraTicketPetition : DomainObject
{
#region Constru... | 2.599421 | 019fe1e086255211b3fdc62ddc1c3469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812491 | {
"extension": "c-sharp",
"max_stars_count": "22028.0",
"max_stars_repo_name": "shipan3452/algo",
"max_stars_repo_path": "csharp/08-stack/algo08_stack/ArrayStack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131711"
} | starcoder | using System;
namespace algo08_stack
{
public class ArrayStack<T>
{
private readonly int _capacity;
private readonly T[] _data;
private int _top = -1; // 指向栈顶元素,当为-1时表示栈为空
public ArrayStack(int capacity)
{
_capacity = capacity;
_data = new T[... | 3.790981 | cb71443ae305dac79bcd1aa9a3abafaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avjabalpur/ccd-generator",
"max_stars_repo_path": "MARC.Everest.Formatters.XML.Datatypes.R2/Formatters/UVPFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131712"
} | starcoder | <reponame>avjabalpur/ccd-generator
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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.o... | 1.599087 | 6b8b4ab7ccf48271273b4f57167b640b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xier2012/Bumblebee",
"max_stars_repo_path": "Bumblebee/Plugins/IHeaderWritingHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131713"
} | starcoder | using Bumblebee.Events;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bumblebee.Plugins
{
public interface IHeaderWritingHandler : IPlugin
{
void Execute(EventHeaderWritingArgs e);
}
}
| 1.28182 | 6803969fa9acfdefe919ed76d5e9d136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812494 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alexfariakof/HoneyTV",
"max_stars_repo_path": "Honey.Business/Generic/IBusiness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131714"
} | starcoder | <reponame>alexfariakof/HoneyTV<gh_stars>1-10
using Honey.BackEnd.Model.Base;
using System.Collections.Generic;
namespace Honey.Business.Generic
{
public interface IBusiness<T> where T : BaseEntity
{
T Create(T obj);
T FindById(int id);
List<T> FindAll();
T Update(T obj);
... | 1.715083 | 6b278e788cce49585ad37f9769361992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kusa-mochi/account-book-simulator",
"max_stars_repo_path": "AccountBookSimu/PayPattern.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131715"
} | starcoder | namespace AccountBookSimu
{
using StructIncreaseOptionPayPattern = StructRequiredPayPattern;
public struct PayPattern
{
public StructRequiredPayPattern RequiredPayPattern;
public StructTermOptionPayPattern TermOption;
public StructIncreaseOptionPayPattern IncreaseOption;
p... | 2.095076 | 52c4d334a96e54a2a8dadd4c8de7bb10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrototyperJG/GraphicStudy",
"max_stars_repo_path": "Assets/3rdParty/AmplifyShaderEditor/Plugins/Editor/Templates/TemplateMenuItems.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131716"
} | starcoder | // Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
using UnityEditor;
namespace AmplifyShaderEditor
{
public class TemplateMenuItems
{
[MenuItem( "Assets/Create/Amplify Shader/Legacy/Unlit", false, 85 )]
public static void ApplyTemplateLegacyUnlit()
{
Amp... | 1.919648 | 5fde296c52822e1fcad74545a911b607 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812497 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "HiraokaHyperTools/PDFsharp",
"max_stars_repo_path": "PDFsharp/code/PdfSharp/PdfSharp.Pdf.Advanced/PdfFormXObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131717"
} | starcoder | <reponame>HiraokaHyperTools/PDFsharp
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// <NAME> (mailto:<EMAIL>)
//
// Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free o... | 1.879848 | ff8fe8d9796de1861899bf6ec150014b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812498 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Tyzemol/space-station-14",
"max_stars_repo_path": "Content.Server/MachineLinking/Components/SignalSwitchComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131718"
} | starcoder | using Robust.Shared.GameObjects;
namespace Content.Server.MachineLinking.Components
{
[RegisterComponent]
public sealed class SignalSwitchComponent : Component
{
public bool State;
}
}
| 1.272037 | 7f119977c6e94f8794f834506a941669 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hfrances/qckdev",
"max_stars_repo_path": "qckdev/Linq/Expressions/ExpressionNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131719"
} | starcoder | <reponame>hfrances/qckdev
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Xml.Serialization;
using qckdev.Reflection;
namespace qckdev.Linq.Expressions
{
/// <summary>
/// Represents a part of a <see cref="Stri... | 2.53146 | 8ebf0a8737ef89868c45af146abf9a92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812500 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "cristy-the-one/agg-sharp",
"max_stars_repo_path": "examples/gouraud_mesh/gouraud_mesh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131720"
} | starcoder | <filename>examples/gouraud_mesh/gouraud_mesh.cs
using MatterHackers.Agg.Image;
using MatterHackers.Agg.RasterizerScanline;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.VertexSource;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using MatterHackers.Agg.UI.Examples;
namespace MatterHac... | 2.503677 | 76bf09488886a74b130aa0f836f37056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redeyens/aoc",
"max_stars_repo_path": "2021/day17/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131721"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace day17
{
class Program
{
static void Main(string[] args)
{
var inputParts = PuzzleInput.First().Split(new char[] {' ', ',', '='}, StringSplitOptions.RemoveEmptyEntries);
... | 3.125553 | 0b7645e7a08df297e9613cf30c20e058 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaab/eShopOnWeb",
"max_stars_repo_path": "src/Web/Pages/Shared/ResultViews/_tableView.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131722"
} | starcoder | @model IEnumerable<CatalogItemViewModel>
<table>
<thead>
<th>Name</th>
<th>Price</th>
<th></th>
</thead>
<tbody>
@foreach (var catalogItem in Model)
{
<tr>
<td>@catalogItem.Name</td>
<td>
<span>@catalogItem.Price</span>
... | 2.275509 | 445afc2cf680860c4b0a62b22150486e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812503 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "cssho/Slack.NetStandard",
"max_stars_repo_path": "Slack.NetStandard/EventsApi/CallbackEvents/ChannelArchive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131723"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Slack.NetStandard.EventsApi.CallbackEvents
{
public class ChannelArchive:CallbackEvent
{
public const string EventType = "channel_archive";
[JsonProperty("channel",NullValueHandling = NullValue... | 1.783519 | 7c7a0be17266c29613902c1bcca17f8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khooversoft/Spin",
"max_stars_repo_path": "Src/Cmd/PropertyDatabaseCmd/Application/GetCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131724"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using PropertyDatabaseCmd.Activities;
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Threading;
namespace PropertyDatabaseCmd.Application
{
internal class GetCommand : Command
{
public GetCommand(IServiceProvide... | 2.402429 | 500bf27268db6be62fa33d910177a479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812505 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "adrianwright109/razor-tooling",
"max_stars_repo_path": "src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/ExcerptResultInternal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131725"
} | starcoder | <gh_stars>100-1000
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
#nullable disable
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.CodeAnalysis.ExternalAccess.Razo... | 1.742635 | 769c7e5f11a61fe46acccc298a139ec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RotenInformatik/DomainServicesDotNet",
"max_stars_repo_path": "sources/RI.DomainServices.Common/Node/Inbox/IInboxManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131726"
} | starcoder | <gh_stars>1-10
namespace RI.DomainServices.Node.Inbox
{
/// <summary>
/// Manages the integration and domain event inbox.
/// </summary>
public interface IInboxManager
{
}
}
| 1.267669 | 48339519b9f4abf156ebcd8e0dc56665 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niltor/LearnCsharp",
"max_stars_repo_path": "QuickStart/database/Migrations/20180106062049_editFieldLength.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131727"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace database.Migrations
{
public partial class editFieldLength : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColum... | 1.751537 | 464173faa6d1a0a36c4fcc7b828a9db2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-assessor-service",
"max_stars_repo_path": "src/SFA.DAS.AssessorService.Data/IlrRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131728"
} | starcoder | <filename>src/SFA.DAS.AssessorService.Data/IlrRepository.cs
using Dapper;
using Microsoft.EntityFrameworkCore;
using SFA.DAS.AssessorService.Application.Interfaces;
using SFA.DAS.AssessorService.Data.DapperTypeHandlers;
using SFA.DAS.AssessorService.Domain.Consts;
using SFA.DAS.AssessorService.Domain.Entities;
using S... | 2.282544 | b7b72818b382f5e6957ada9902e5dead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ssuganth/jag-traffic-courts-online",
"max_stars_repo_path": "src/ticket-search/ticket-search/Services/RsiServices/RsiTicketsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131729"
} | starcoder | using Gov.TicketSearch.Services.RsiServices.Models;
using Microsoft.Extensions.Logging;
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace Gov.TicketSearch.Services.RsiServices
{
public class RsiTicketsService : TicketsService
{
private readonly IRsiR... | 2.374946 | ffec68f900f14928ecc8f5e3d71b0378 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812510 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "jhliptak/VisioAutomation",
"max_stars_repo_path": "VisioAutomation_2010/VisioAutomation/Extensions/LayersMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131730"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using IVisio = Microsoft.Office.Interop.Visio;
namespace VisioAutomation.Extensions
{
public static class LayersMethods
{
public static IEnumerable<IVisio.Layer> ToEnumerable(this IVisio.Layers layers)
{
return VisioAutoma... | 2.262459 | 7df1116d2fdf40c35929b661df258d4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterthomet/BioPuur",
"max_stars_repo_path": "nopCommerce 4.4/src/Tests/Nop.Tests/Nop.Core.Tests/Infrastructure/SingletonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131731"
} | starcoder | <reponame>peterthomet/BioPuur
using System;
using FluentAssertions;
using Nop.Core.Infrastructure;
using NUnit.Framework;
namespace Nop.Tests.Nop.Core.Tests.Infrastructure
{
[TestFixture]
public class SingletonTests
{
[Test]
public void SingletonIsNullByDefault()
{
var ... | 2.223365 | 927d1e1467a274c69f41f39efa47c246 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hyberdk/DnsServerApi",
"max_stars_repo_path": "src/Dns.MockDnsServer.Demo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131732"
} | starcoder | <filename>src/Dns.MockDnsServer.Demo/Program.cs
using System;
namespace Dns.MockDnsServer.Demo
{
using static System.Console;
class Program
{
static void Main(string[] args)
{
// connect to DNS server
using (var server = new MockDnsServer())
{
... | 2.62609 | e56388bc1106dd0f1e15c3b4d7de47ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812513 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "mmitche/issue-labeler",
"max_stars_repo_path": "src/CreateMikLabelModel/ML/MulticlassExperimentSettingsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131733"
} | starcoder | <gh_stars>10-100
// 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 Microsoft.ML;
using Microsoft.ML.AutoML;
using System.IO;
namespace CreateMikLabelModel.ML
... | 2.401266 | 00a5bdf5daba43f7c1f3789bedb7be0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShabbyGames/Blackmagic-Supersword",
"max_stars_repo_path": "BlackmagicSuperSword/Assets/Plugins/SpriteParticleEmitter/Core/Code/SpriteToParticles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131734"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions.Comparers;
using UnityEngine.Serialization;
using UnityEngine.UI;
namespace SpriteToParticlesAsset
{
[ExecuteInEditMode]
public class SpriteToParticles : MonoBehaviour
{
#region Definitions
[Tooltip("Weather the system is being ... | 2.302463 | 6b5567bd782012cdf338cfd55ec1952c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "holydk/Farming",
"max_stars_repo_path": "Farming/Farming.WpfClient/Models/IUpdatable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131735"
} | starcoder | <filename>Farming/Farming.WpfClient/Models/IUpdatable.cs
using System.Threading.Tasks;
namespace Farming.WpfClient.Models
{
public interface IUpdatable
{
Task UpdateAsync();
}
}
| 1.726898 | cc41d54fe8a577656c07ff9aa53fe332 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812516 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Server/ShredHost/LegacyShredConfigSectionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131736"
} | starcoder | <filename>Server/ShredHost/LegacyShredConfigSectionAttribute.cs
#region License
// Copyright (c) 2012, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
... | 2.558641 | 7a5c03b8882810aad70bcb3d92139ce4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aspektxxx/ExtendedXmlSerializer",
"max_stars_repo_path": "samples/ExtendedXmlSerializer.Samples/Simple/Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131737"
} | starcoder | <reponame>aspektxxx/ExtendedXmlSerializer
using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Core;
using ExtendedXmlSerializer.ExtensionModel.Xml;
using System;
using System.IO;
using System.Text;
using System.Xml;
namespace ExtendedXmlSerializer.Samples.Simple
{
sealed class Serialization : ICom... | 2.772531 | 1ac86cabd392532f152c945aff1201e0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.