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 | 91761 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "isdaniel/DesignPattern",
"max_stars_repo_path": "DesignPattern/FactoryMethodPattern/Plane.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91762"
} | starcoder | <reponame>isdaniel/DesignPattern
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace FactoryMethodPattern
{
public class Plane : IMoveable
{
public void run()
{
Console.WriteLine("飛機飛飛飛~~");
}
}
}
| 1.961311 | 92594ea5543de8e56562a4b2260d043a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jonhengland/Jon_England---URC",
"max_stars_repo_path": "URC/obj/Release/netcoreapp3.1/Razor/Views/Shared/_Layout.cshtml.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91763"
} | starcoder | <gh_stars>0
#pragma checksum "C:\Users\Peter\source\repos\ps-6---student-application-halfpast12\URC\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0b201f830407941934be686f49990c31e390c24a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.Raz... | 1.317955 | 6d6630d7771b25e0d839ec6538726d7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carldebilly/Ooui",
"max_stars_repo_path": "Ooui.Forms/Cells/ImageCellRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91764"
} | starcoder | <gh_stars>0
using Ooui.Forms.Renderers;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace Ooui.Forms.Cells
{
public class ImageCellRenderer : TextCellRenderer
{
public override CellView GetCell(Cell item, CellView reusableView, Lis... | 2.151797 | fe82a4bb5a3f3ec764453212aa34e4af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91764 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Net.Client/EncryptionApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91765"
} | starcoder | // EncryptionApi
using ClubPenguin.Net.Client;
using ClubPenguin.Net.Client.Operations;
public class EncryptionApi
{
private ClubPenguinClient clubPenguinClient;
public EncryptionApi(ClubPenguinClient clubPenguinClient)
{
this.clubPenguinClient = clubPenguinClient;
}
public APICall<GetEncryptionKeyOperation> ... | 2.060589 | 696ea2c00b4b0336423799f851edb5c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lithander/SebLagueChessEngine",
"max_stars_repo_path": "Notation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91766"
} | starcoder | <reponame>lithander/SebLagueChessEngine<filename>Notation.cs
using System;
namespace MinimalChess
{
public static class Notation
{
public static string ToSquareName(byte squareIndex)
{
//This is the reverse of the ToSquareIndex()
int rank = squareIndex / 8;
... | 3.45373 | bbeda8a2c73e91ef17ff3813fea824b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpk2789/aow-new-api",
"max_stars_repo_path": "Aow.Services/VoucherItemVarient/GetVoucherItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91767"
} | starcoder | using Aow.Infrastructure.IRepositories;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Aow.Services.VoucherItemVarient
{
[Service]
public class GetVoucherItem
{
private IRepositoryWrapper _repoWrapper;
public GetVoucherItem(IRepositoryWrapper repoWr... | 2.476784 | 562e5fc057c1c2928094fa5449ce0d2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jeamphy/Practica---Final",
"max_stars_repo_path": "Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91768"
} | 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;
namespace Practica_Final
{
public partial class Form1 : Form
{
public Form... | 3.013573 | f06dc0f05896309a62d86daaf61e83e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91768 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ita-social-projects/EPlas",
"max_stars_repo_path": "EPlast/EPlast.BLL/DTO/Club/ClubReportDataDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91769"
} | starcoder | <reponame>ita-social-projects/EPlas<filename>EPlast/EPlast.BLL/DTO/Club/ClubReportDataDTO.cs<gh_stars>10-100
using System.Collections.Generic;
using EPlast.DataAccess.Entities;
namespace EPlast.BLL.DTO.Club
{
public class ClubReportDataDTO
{
public ClubDTO Club { get; set; }
public ClubReportA... | 1.828568 | 5fb380ac7f940b46b5e381b4ec882f49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91769 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPluginsExperimental/WebService/WebServiceQuickWatchPresentation.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91770"
} | starcoder | using System.Windows.Controls;
namespace WebService
{
/// <summary>
/// Interaktionslogik für WebServiceQuickWatchPresentation.xaml
/// </summary>
public partial class WebServiceQuickWatchPresentation : UserControl
{
public WebServiceQuickWatchPresentation()
{
Initializ... | 1.510412 | 137043a6480a591d740fffe47243ed16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lokalan/Siege",
"max_stars_repo_path": "Siege.ServiceLocator/Siege.ServiceLocator.Native/Maps/AbstractMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91771"
} | starcoder | /* Copyright 2009 - 2010 <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 by applicable law or a... | 2.182847 | 00ca2b3bb066e0990ec8f3e43a8d9e06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotlogix/DotlogixCore",
"max_stars_repo_path": "UI/Controls/SplitViewPrimitives/SplitViewPaneClosingEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91772"
} | starcoder | // ==================================================
// Copyright 2018(C) , DotLogix
// File: SplitViewPaneClosingEventArgs.cs
// Author: <NAME> <<EMAIL>>.
// Created: 17.02.2018
// LastEdited: 01.08.2018
// ==================================================
#region
using System;
#endregion
namespace DotLogix.UI... | 2.095018 | cc38468d277dc3c6d8b22a0cc2729e34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alerdenisov/VoxelBuilder",
"max_stars_repo_path": "Editor/VoxelVolumeEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91773"
} | starcoder | <filename>Editor/VoxelVolumeEditor.cs<gh_stars>0
using UnityEditor;
using UnityEngine;
namespace VoxelBuilder.Editor
{
[CustomEditor(typeof(VoxelVolume))]
public class VoxelVolumeEditor : UnityEditor.Editor
{
private GameObject _selection;
protected GameObject Selection
{
... | 2.338922 | 3f7953581013a6890632dba4faa6ac71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mu-L/graphql-dotnet",
"max_stars_repo_path": "src/GraphQL/Types/Scalars/ScalarGraphType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91774"
} | starcoder | <reponame>Mu-L/graphql-dotnet
using System.Diagnostics.CodeAnalysis;
using System.Numerics;
using GraphQLParser.AST;
namespace GraphQL.Types
{
/// <summary>
/// Scalar types represent the leaves of the query - those fields that don't have any sub-fields.
/// <br/><br/>
/// <see href="https://github.com... | 2.761098 | 5751e88f6ee08e649a6a55f0cc6c270a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diomonogatari/Pong_MasterD_Project_DiogoCarvalho",
"max_stars_repo_path": "Pong/Library/PackageCache/com.unity.quicksearch@1.6.0-preview.6/Editor/SearchService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91775"
} | starcoder | <gh_stars>0
//#define QUICKSEARCH_DEBUG
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
namespace Unity.QuickSearch
{
/// <summary>
/// Attribute used to declare a static method that will create a new search provider at load time.
/// </summary>
public class Search... | 2.608345 | 344059b27e9a441bb8355967dda779a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdsilv17/FS_MidtermProj_Trone",
"max_stars_repo_path": "Codebase/2003 working title/Assets/Scripts/Obstacles/Switches/BaseSwitch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91776"
} | starcoder | <filename>Codebase/2003 working title/Assets/Scripts/Obstacles/Switches/BaseSwitch.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BaseSwitch : MonoBehaviour
{
[SerializeField] GameObject[] objectsToToggle = null;
public virtual void Activate() { retur... | 2.30616 | c90f238c89d728cb614a9e8d63ab26dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91776 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/TCP2_Demo_Cat.Ambience.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91777"
} | starcoder | <gh_stars>1-10
[Serializable]
public class TCP2_Demo_Cat.Ambience // TypeDefIndex: 8985
{
// Fields
public string name; // 0x10
public GameObject[] activate; // 0x18
public Material skybox; // 0x20
// Methods
// RVA: 0x1C6F370 Offset: 0x1C6F471 VA: 0x1C6F370
public void .ctor() { }
}
| 1.311318 | ea8142c362e27ad19ad15dd0ad665ebd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91777 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "etechi/ServiceFramework",
"max_stars_repo_path": "Projects/Server/Common/SF.Common.Conversations/Front/SessionMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91778"
} | starcoder | <filename>Projects/Server/Common/SF.Common.Conversations/Front/SessionMessage.cs
using System;
using SF.Sys.Entities;
using SF.Sys.Annotations;
namespace SF.Common.Conversations.Front
{
/// <summary>
/// 会话消息
/// </summary>
public class SessionMessage : IEntityWithId<long>
{
/// <summary>
/// ID
/// </summ... | 2.298318 | ea73d89a05bac973d451f0d208405c30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "morsiu/Intervals",
"max_stars_repo_path": "Mors.Intervals.Inequations/IClosedRanges.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91779"
} | starcoder | namespace Mors.Intervals.Inequations
{
public interface IClosedIntervals<in T, out TInterval>
{
TInterval NonEmpty(T start, T end);
TInterval Empty();
}
}
| 2.04701 | fae3986ed80a9d2de94371df09423cf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeanGol1/TheTower",
"max_stars_repo_path": "TheTower/obj/Debug/netcoreapp2.1/Razor/Views/Levels/Create.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91780"
} | starcoder | <filename>TheTower/obj/Debug/netcoreapp2.1/Razor/Views/Levels/Create.g.cshtml.cs<gh_stars>0
#pragma checksum "C:\Users\seang\source\repos\The Tower App\TheTower\Views\Levels\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6967da3b58a404cce5fd6aeb64691b3a38a250f0"
// <auto-generated/>
#pragma warning disable 15... | 1.660068 | eb2842b3690ff2f006bff2fa97166070 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sheminusminus/filament",
"max_stars_repo_path": "FilamentFinalProject/NetworkPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91781"
} | starcoder | <reponame>sheminusminus/filament
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace FilamentFinalProject
{
class NetworkPath
{
public String NetName = "";
public String Difficulty =... | 2.86617 | 37000042da442c79e4c4579d54f0254c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrisengelis/keyboard-kata",
"max_stars_repo_path": "KeyboardKata/KataStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91782"
} | starcoder | namespace KeyboardKata;
public class KataStatistics
{
public int InputLettersCount { get; set; }
} | 1.487961 | a7910064c8338030c23998487b875d2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulo673/bagcash",
"max_stars_repo_path": "bagcash/BagcashContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91783"
} | starcoder | using bagcash.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Sec... | 2.163929 | 6ee358ad7fa949a549fcb3b46a43842a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EndreoT/Huffman-Code",
"max_stars_repo_path": "TreeNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91784"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
namespace HuffmanCode
{
public class TreeNode
{
public const int HFCodeStartSize = 0;
public char Character { get; set; }
public int Frequency { get; set; }
public TreeNode? Left { get; set; }... | 3.187211 | 6e54819aa05cd863c7e5fee6e75e1574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91784 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "giacomelli/DG.TwitterClient",
"max_stars_repo_path": "src/Host/StatusUpdateFailedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91785"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DG.TwitterClient.Host
{
public class StatusUpdateFailedEventArgs : EventArgs
{
public StatusUpdateFailedEventArgs(Exception ex)
{
Exception = ex;
}
public ... | 1.738933 | 863b5f42f829f8e9d76a597ad78a9b4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivankaurov/playground",
"max_stars_repo_path": "src/Core/Calc/HttpCalcService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91786"
} | starcoder | <gh_stars>0
namespace Playground.Blazor.Core.Calc
{
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
internal sealed class HttpCalcService : IHttpCalcService
{
private readonly HttpClient httpC... | 2.330251 | afc84e0809f67029e200b935d28e245c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesy53/SoftUni",
"max_stars_repo_path": "C# Advanced/C# OOP/LabAndExercises/08.InterfacesAndAbstractionExercise/p09.01.CollectionHierarchy/Models/AddRemoveCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91787"
} | starcoder | <gh_stars>0
namespace p09._01.CollectionHierarchy.Models
{
using p09._01.CollectionHierarchy.Contracts;
public class AddRemoveCollection : AddCollection, IRemove
{
public override int AddElement(string element)
{
this.collection.Insert(0, element);
return 0;
... | 2.607063 | 3a3ea369f4d98f8fc64c663c20aa90b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91787 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "muhamad-rizki/IdentityServer4.NHibernate",
"max_stars_repo_path": "IdentityServer4.NHibernate.Storage/Mappings/Entities/ClientStoreMappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91788"
} | starcoder | using System.Collections.Generic;
using System.Security.Claims;
using AutoMapper;
using IdentityServer4.Models;
namespace IdentityServer4.NHibernate.Mappings.Entities
{
/// <summary>
/// Entity to model mapping (and vice-versa) for clients.
/// </summary>
internal class ClientStoreMappingProfile : Pro... | 2.29319 | f2cd19f6e2cbe44047a0190ddfa74688 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsmr/WolvenKit-CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/sharedCommandResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91789"
} | starcoder | <reponame>bsmr/WolvenKit-CyberCAT
namespace CyberCAT.Core.DumpedEnums
{
public enum sharedCommandResult
{
Success = 0,
NeedOptions = 1,
Fail = 2,
Abort = 3
}
}
| 0.830246 | b869436ddb1d0f20fd594ae829a0c6ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91789 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Hammer2014/huaweicloud-iot-device-sdk-csharp",
"max_stars_repo_path": "iot-gateway-demo/SubDevInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91790"
} | starcoder | using System.Collections.Generic;
using System.Text;
using IoT.SDK.Device.Gateway.Requests;
using IoT.SDK.Device.Utils;
namespace IoT.Gateway.Demo
{
public class SubDevInfo
{
public long version { get; set; }
public Dictionary<string, DeviceInfo> subdevices { get; set; }
public overr... | 2.167757 | 2379b3d3f4509e22ae55dbc65b3090a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "1-WebApplication/LMSAPI/Controllers/API/Core/ModuleActionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91791"
} | starcoder | <filename>1-WebApplication/LMSAPI/Controllers/API/Core/ModuleActionController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Permissions;
using System.Web;
using System.Web.Http;
using System.Web.UI;
using Adevico.APIconnection.Core;
using Adevico.APIconnection.Core.Busines... | 1.673415 | 5f4ee50f3b575106812985665a9a74b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dethi/troma",
"max_stars_repo_path": "src/Game/GameEngine/IO/InputConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91792"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
namespace GameEngine
{
public class InputConfiguration
{
#region Constants
private static readonly Dictionary<KeyActions, Keys> QWERTY = new Dictionary<KeyAct... | 2.406838 | 82079cbecd70d662684f34fa1d94cc02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hyzac/epi-starter-site",
"max_stars_repo_path": "src/EPiStarterSite/Features/_ViewStart.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91793"
} | starcoder | @{
Layout = "~/Features/Shared/Layouts/_SiteLayout.cshtml";
}
| 1.249053 | 15e25b18511b666783e045376f20d603 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiamondDragon/StoryLine.Rest.Coverage",
"max_stars_repo_path": "StoryLine.Rest.Coverage/ServicesCompoisitionRoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91794"
} | starcoder | <reponame>DiamondDragon/StoryLine.Rest.Coverage
using System;
using System.IO;
using LightInject;
using StoryLine.Rest.Coverage.Services;
using StoryLine.Rest.Coverage.Services.Analyzers;
using StoryLine.Rest.Coverage.Services.Analyzers.Helpers;
using StoryLine.Rest.Coverage.Services.Analyzers.Matchers;
using StoryLin... | 1.802836 | fce5a5b02c488a440424daf9711bbcb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stervets/bomber",
"max_stars_repo_path": "Assets/Game/Camera/CameraStateController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91795"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CameraStateController : StateControllerBehaviour {
protected override void OnAwake(params object[] args) {
SetDefaultState(State.Default);
}
private ControllerBehaviour target;
private Vector3 targetLoo... | 2.014522 | a2ce4d81e7f2e5c71e48f6d2bc99d033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fedorenkosergiy/Grabli",
"max_stars_repo_path": "Runtime/WrappedUnity/DefaultCompas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91796"
} | starcoder | using UnityEngine;
namespace Grabli.WrappedUnity
{
public class DefaultCompas : Compass
{
public float magneticHeading => UnityEngine.Input.compass.magneticHeading;
public float trueHeading => UnityEngine.Input.compass.trueHeading;
public float headingAccuracy => UnityEngine.Input.compass.headingAc... | 2.059378 | a5280eedc842e5677a661f06cb12a10b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91796 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "iDE-NDU/iDEdge",
"max_stars_repo_path": "iDEdge.Wizard/PageSucceed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91797"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace iDEdge.Wizard
{
public partial class PageSucceed ... | 2.26567 | b88fdb36642731fb4404989288f7114b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "halldors17/VerklegtNamskeid2",
"max_stars_repo_path": "BookCave/Views/Author/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91798"
} | starcoder | <filename>BookCave/Views/Author/Details.cshtml
@model BookCave.Models.ViewModels.AuthorDetailsViewModel
<h1>@Model.Name</h1>
<div class="jumbotron">
<p><img src="@Model.AImage" height="300" width="220"/></p>
<p>Um Höfund: @Model.Description</p>
<h3>Bækur eftir höfund:</h3>
<ul class="list-group list-gro... | 2.737399 | 102ace7a27750884324d12d5e1ea9d61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91798 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GAGreatProgrammer/Employees-Management-System-EMS-",
"max_stars_repo_path": "Employees Management System/Forms/DepartmentSalaryChartForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91799"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Employees_Management_System.Forms
{
... | 2.554592 | efed9f7d152f2d67d867a6e202bf66cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Globik/meshcentwebrtc",
"max_stars_repo_path": "WebRTC_C#_Sample/FormExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91800"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenSource.WebRTC;
namespace WebRTC_Sample
{
public static class FormExtensions
{
public static WebRTCCommons.CustomAwaiter<bool> ContextSwitchToMessagePumpAsync(this System.Window... | 2.238674 | e8b76e63dbe2d10decc76799b03f22d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GlebZikunov/TMS-DotNet-Group-4-Zikunov",
"max_stars_repo_path": "src/TMS-DotNet-Group-4-CashManager/Models/Cash.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91801"
} | starcoder | <filename>src/TMS-DotNet-Group-4-CashManager/Models/Cash.cs
using System;
using System.Threading.Tasks;
using TMS_DotNet_Group_4_CashManager.Services;
namespace TMS_DotNet_Group_4_CashManager.Models
{
internal class Cash
{
public decimal Income { get; set; }
public Cash(int number)
{
... | 3.254624 | 6d5b84889133a828925622b40230164b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91801 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "batwad/csharp-driver",
"max_stars_repo_path": "src/Cassandra/Mapping/IgnoreAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91802"
} | starcoder | using System;
namespace Cassandra.Mapping
{
/// <summary>
/// Tells the mapper to ignore mapping this property.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class IgnoreAttribute : Attribute
{
}
} | 2.089288 | ea30ddb95a75964b0d06ead1d04c5887 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sem-onyalo/LRS",
"max_stars_repo_path": "LRS.Domain/Objects/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91803"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LRS.Lib
{
public enum Direction { None, Left, Forward, Right, Reverse }
public enum Orientation { North, East, South, West }
public enum PathMarkerType { Route, Desti... | 1.615012 | 14093e51dfe98b5676ea2aa90fe60336 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91803 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "dyx1001/BigBlueButtonAPI.NET",
"max_stars_repo_path": "Samples/DotNet46Sample/Views/Zoom/Start.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91804"
} | starcoder | @{
ViewData["Title"] = "Start a meeting";
}
@model Sample.Models.StartModel
@if (Model == null)
{
Html.RenderPartial("_APISettingsWarningPartial");
}
else
{
<h3 style="margin-bottom:20px;">Start a meeting</h3>
<style>
input.form-control {
max-width: 100%;
}
.field-v... | 2.429332 | e0abd21f7cc1c30f24752f3aa6aecc91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubilnik4/VeraBoutique",
"max_stars_repo_path": "BoutiqueXamarin/BoutiqueXamarin/ViewModels/Clothes/Choices/ChoiceViewModelItems/ChoiceGenderViewModelItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91805"
} | starcoder | <filename>BoutiqueXamarin/BoutiqueXamarin/ViewModels/Clothes/Choices/ChoiceViewModelItems/ChoiceGenderViewModelItem.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using BoutiqueCommon.Models.Domain.In... | 2.240328 | f81e2df721b4d09f932c3c83b1cbe387 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91805 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Jeern/ServiceStack.Api.Postman",
"max_stars_repo_path": "TestServiceV3/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91806"
} | starcoder | using ServiceStack.WebHost.Endpoints;
using ServiceStack.Api.Postman;
using ServiceStack.ServiceInterface.Cors;
namespace FluentMigrator.ServiceStack.TestV3
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
public class MvcApplicat... | 1.467613 | b28d23b6ae56b1c8ee1af364caf99d01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "elkingtowa/de",
"max_stars_repo_path": "Bitcoin-Tool-master/Bitcoin Tool/Util/BlockFileReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91807"
} | starcoder | <reponame>elkingtowa/de
using System;
using System.IO;
using Bitcoin_Tool.Structs;
namespace Bitcoin_Tool.Util
{
public class BlockFileReader
{
public int blockFileNum { get; private set; }
FileStream fs;
public BlockFileReader()
{
blockFileNum = 0;
fs = new FileStream(@"C:\Users\A... | 2.522661 | ad50f29f242802e0dfe51fcd3600ad4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hebertalvesds/pokehds",
"max_stars_repo_path": "api/Model/CapturedPokemon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91808"
} | starcoder | <reponame>Hebertalvesds/pokehds
using System.ComponentModel.DataAnnotations;
namespace api.Model
{
public class CapturedPokemon : IModel
{
[Key]
public int Id { get; set; }
public int PokemonId { get; set; }
public int TrainerId { get; set; }
public Trainer Trai... | 1.421695 | f8413d797eb210e7d34da7d0c3ab81ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realitycollective/com.xrtk.core",
"max_stars_repo_path": "Runtime/Definitions/NetworkingSystem/MixedRealityNetworkSystemProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91809"
} | starcoder | // Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using RealityToolkit.Definitions.Utilities;
using RealityToolkit.Interfaces.NetworkingSystem;
using UnityEngine;
namespace RealityToolkit.Definitions.NetworkingSystem
{
/// <sum... | 1.453755 | 94f52533320e51c5a0a6aff4d5153490 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91809 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moarpheus/social-care-case-viewer-api",
"max_stars_repo_path": "SocialCareCaseViewerApi.Tests/V1/UseCase/PersonalRelationships/PersonalRelationshipsExecuteDeleteUseCaseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91810"
} | starcoder | <filename>SocialCareCaseViewerApi.Tests/V1/UseCase/PersonalRelationships/PersonalRelationshipsExecuteDeleteUseCaseTests.cs
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SocialCareCaseViewerApi.Tests.V1.Helpers;
using SocialCareCaseViewerApi.V1.Boundary.Requests;
using SocialCareCaseViewerApi.V1.Except... | 2.373019 | a9a69d50b3ba3bc1363ec975db2f09fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JNUMrC/csharp-kcp",
"max_stars_repo_path": "dotNetty-kcp/KcpOutPutImp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91811"
} | starcoder | <filename>dotNetty-kcp/KcpOutPutImp.cs
using System;
using base_kcp;
using DotNetty.Buffers;
using DotNetty.Transport.Channels.Sockets;
using fec;
namespace dotNetty_kcp
{
public class KcpOutPutImp : KcpOutput
{
public void outPut(IByteBuffer data, Kcp kcp)
{
Snmp.snmp.OutPkts++;
... | 1.867305 | 6d020ce2f1ff4aba49c9c053c2d2e84d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "generateui/YouTown",
"max_stars_repo_path": "YouTown/IResourceList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91812"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace YouTown
{
/// <summary>
/// List of resource where resources are grouped by <see cref="ResourceType"/>
/// </summary>
/// When iterating over a resourcelist, it yields <see cref="IResource"... | 3.203534 | f30d4d5b7e38d87a1651dbb71446d019 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91812 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "raulbarca/simplexml",
"max_stars_repo_path": "port/src/main/Xml/Core/TemplateFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91813"
} | starcoder | <filename>port/src/main/Xml/Core/TemplateFilter.cs
#region License
//
// TemplateFilter.cs May 2005
//
// Copyright (C) 2005, <NAME> <<EMAIL>>
//
// 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.556388 | f5a1cde6dd6ef7161cae8703168c89f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Barbossa1800/HomeworkUnity",
"max_stars_repo_path": "MyFirstGame/Assets/Scripts/PlayerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91814"
} | starcoder | <filename>MyFirstGame/Assets/Scripts/PlayerController.cs
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
[RequireComponent(typeof(Rigidbody2D))] //закреплени, для удержания от... | 2.209411 | a572318729dbeda58840068d4a230524 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andszk/3DArakanoidCounter",
"max_stars_repo_path": "Assets/Scripts/Ball.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91815"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour
{
public event EventHandler<BallEventArgs> BallFallen;
void Start()
{
}
void Update()
{
}
void OnTriggerEnter(Collider other)
{
BallFallen?.Invok... | 2.48547 | 83be5f51ccc063a2c41e307e2da5d164 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91815 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "SpikesBE/OfficeDevPnP.PartnerPack.SiteProvisioning",
"max_stars_repo_path": "OfficeDevPnP.PartnerPack.SiteProvisioning/OfficeDevPnP.PartnerPack.Infrastructure/Jobs/SiteProvisioningJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.PartnerPack.Infrastructure.Jobs
{
/// <summary>
/// Base abstract class for the Site Collection and Sub Site Provisioning Jobs
/// </summary>
public abstract class... | 2.229296 | 10079d42980d253e86f7103ae8a770d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JWootts/Project-Marco",
"max_stars_repo_path": "ProjectMarco/Models/Glow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91817"
} | starcoder | <reponame>JWootts/Project-Marco
using ProjectMarco.Helpers;
using ProjectMarco.Interface;
using System;
namespace ProjectMarco.Models
{
public class Glow : IModel
{
public Glow(Player plr, int _offset)
{
int? returnVal = MemHandler.ReturnHandler().ReadInt(Convert.ToString((int)plr.Offset + _offset, 16));
... | 2.291496 | fe0ebe92c0a1ab7b9267f435047045cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91817 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "canndrew/DotNetLightning",
"max_stars_repo_path": "tests/Macaroons.Tests/BasicMacaroonTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91818"
} | starcoder | <filename>tests/Macaroons.Tests/BasicMacaroonTests.cs<gh_stars>10-100
using Xunit;
namespace Macaroons.Tests
{
public class BasicMacaroonTests : TestBase
{
[Fact]
public void CanCopyMacaroon()
{
var m1 = new Macaroon(Location, Secret, Identifier);
m1.AddFirstPart... | 3.03924 | 5fad9883b7f7d3a61f79507e3b807610 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SaberSnail/CrystalEditor",
"max_stars_repo_path": "CrystalEditor/ViewModels/ConditionalTagsTagViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91819"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using CrystalDuelingEngine.Tags;
namespace CrystalEditor.ViewModels
{
public sealed class ConditionalTagsTagViewModel : ConditionTagViewModelBase
{
public static void RegisterFactory()
{
RegisterViewModelFactory(CreateF... | 2.844633 | b242087673f911ed7b3a79c8ccf8d2a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91819 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "VisualAcademy/DotNet",
"max_stars_repo_path": "DotNet/DotNet/03_HelloWorld/WriteLineDemo/WriteLineDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91820"
} | starcoder | <reponame>VisualAcademy/DotNet
using static System.Console;
class WriteLineDemo
{
static void Main()
{
WriteLine("명령 프롬프트에 출력할 내용");
}
}
| 2.036682 | 8c525b04bbe4e9592b3d131485467a27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91820 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TotalJTM/PrimitierModdingFramework",
"max_stars_repo_path": "Dumps/PrimitierDumpV1.0.1/TMPro/TMP_LineInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91821"
} | starcoder | /*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 40: Unity.TextMeshPro.dll - Assembly: Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 6069-6241... | 1.525803 | ad747d93f8047a145092ebaea305e289 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbca-uds/SBCA-Unified-Data-Standard",
"max_stars_repo_path": "SBCA_DataStandard/Component/InstallationHardware/HardwareMaterials/IInstallationHardwareMaterial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91822"
} | starcoder | namespace SBCA.UnifiedDataStandard.Component.InstallationHardware.HardwareMaterials
{
public enum HardwareMaterialType
{
Hanger,
Screw,
Other,
}
public interface IInstallationHardwareMaterial
{
HardwareMaterialType MaterialType { get; }
}
}
| 1.74921 | 7072c4d78b413a6beab4a8d7b4ac5586 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91822 | {
"extension": "c-sharp",
"max_stars_count": "841.0",
"max_stars_repo_name": "NanoFabricFX/FaceRecognitionDotNet",
"max_stars_repo_path": "examples/FaceDetection/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91823"
} | starcoder | <filename>examples/FaceDetection/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using FaceRecognitionDotNet;
using Microsoft.Extensions.CommandLineUtils;
namespace FaceDetection
{
inter... | 3.000431 | 0107cd4fbd821c0f77bd8684240c0018 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "android-pay/instantbuy-sample-csharp",
"max_stars_repo_path": "ib-sample/IBServer/NotifyHandler.ashx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91824"
} | starcoder | /*
* Copyright (c) 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 2.089 | f9ebca3c2f1e0a72ea6ba95aa172890e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91824 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "abowergroup/whalerator",
"max_stars_repo_path": "lib/Whalerator/Model/Permissions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91825"
} | starcoder | <reponame>abowergroup/whalerator<filename>lib/Whalerator/Model/Permissions.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Whalerator.Model
{
public enum Permissions
{
None,
Pull,
Push,
Admin
}
}
| 1.272122 | 04be304ac4c9e47a1d4c747a6c70e718 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamuelColmenares/mis-tweets",
"max_stars_repo_path": "MisTweet/Services/PostSqlService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91826"
} | starcoder |
namespace MisTweet.Services
{
using MisTweet.Data;
using MisTweet.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public class PostSqlService : IPostService
{
private readonly MisTweetsDbContext _misTweetsDbContext;
... | 2.662648 | 672aae0a0b7558d2c441dc41d34020b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RonnyWyss/ZbW.Testing.Dms",
"max_stars_repo_path": "ZbW.Testing.Dms_Aufgabe/ZbW.Testing.Dms.Client/Services/Interface/IFilenameGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91827"
} | starcoder | using System;
namespace ZbW.Testing.Dms.Client.Services.Interface
{
internal interface IFilenameGenerator
{
string GetContentFilename(Guid guid, string extension);
string GetMetadataFilename(Guid guid);
}
} | 1.606187 | 756590b325d58ce5e2abd3fc9312a8ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91827 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cyberbibby/UnrealGDK",
"max_stars_repo_path": "SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/WorkerCoordinator/LifetimeComponentTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91828"
} | starcoder | <reponame>cyberbibby/UnrealGDK
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Improbable.WorkerCoordinator
{
/// <summary>
/// Lifetime component test code.
/// Call `LifetimeComponentTest.Run()` in `Program.Main` to start local... | 2.244787 | 6c6eb2f6d8e82c8980c530efa1f78fef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gyurisc/iex-api-dotnet",
"max_stars_repo_path": "src/tests/KeyStatTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91829"
} | starcoder | <reponame>gyurisc/iex-api-dotnet<filename>src/tests/KeyStatTests.cs<gh_stars>0
using Shouldly;
using System;
using Xunit;
namespace IEXAPI.Tests
{
public class KeyStatTests
{
[Fact]
public void GetSingleCompanyStat()
{
string symbol = "MSFT";
var iex = new IEXCl... | 2.222369 | bb12970207dc790e44d367eda031be6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91829 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "PureWeen/ReactiveUI.XamlForms.Sample",
"max_stars_repo_path": "ReactiveUI.Sample.NetStandard/ApplicationState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91830"
} | starcoder | <gh_stars>1-10
using System;
using ReactiveUI;
using Splat;
#if !NET_45
using Xamarin.Forms;
using ReactiveUI.XamForms;
#endif
using Akavache;
using System.Runtime.Serialization;
using System.Linq;
using ReactiveUI.XamlForms.Sample.ViewModels;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace Reac... | 1.703964 | b75679cee168a206999650b2e50ea413 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91830 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Serviceware/rocketcress",
"max_stars_repo_path": "src/Rocketcress.UIAutomation/Controls/Interfaces/IUITestRadioButtonControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91831"
} | starcoder | <reponame>Serviceware/rocketcress
namespace Rocketcress.UIAutomation.Controls
{
public interface IUITestRadioButtonControl : IUITestControl
{
IUITestControl Group { get; }
bool Selected { get; set; }
}
} | 1.418967 | 06dcc6ddc71e7431e23e1c1c61b43d32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterbeams/SimpleAtomPubSub",
"max_stars_repo_path": "src/SimpleAtomPubSub/Publisher/Persistance/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91832"
} | starcoder | <gh_stars>0
using System;
namespace SimpleAtomPubSub.Publisher.Persistance
{
public class Message
{
public Guid Id { get; set; }
public DateTime CreatedAt { get; set; }
public string Body { get; set; }
public string FeedUri { get; set; }
}
} | 1.379436 | ecf571e69cbbbb3baf734c0729a8b2fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91832 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IuriiAksenov/RestLib",
"max_stars_repo_path": "tests/Core.Tests/RestClientTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91833"
} | starcoder | using Xunit;
namespace Core.Tests
{
/// <summary>
/// To be continued
/// </summary>
public class RestClientTests
{
[Fact]
public void Test1()
{
}
}
} | 1.242424 | 082ce1551f822aa9d454eb94202afd21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeCamps/Camp2015",
"max_stars_repo_path": "Vikings/Vikings/Vikings/Screens/TitleScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91834"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
... | 1.902361 | b609db49bafa9b7abbd0db4dfce83dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91834 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "reknih/informant-ios",
"max_stars_repo_path": "vplan/NewsItemController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91835"
} | starcoder | // This file has been autogenerated from a class added in the UI designer.
using System;
using System.Text;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using UntisExp;
namespace vplan
{
public partial class NewsItemController : UIViewController
{
public News theNews;
public NewsItemController (IntPtr ... | 2.024508 | 487d07ea3800815644461b5b6ef2efa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinhajulAkib/ASP.Net-core_mvc-.NET-5-",
"max_stars_repo_path": "Data/DbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91836"
} | starcoder | <filename>Data/DbContext.cs
namespace akib.Data
{
public class DbContext
{
}
} | 1.337603 | 628a414e8cf62185750d8a23ddd34194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorgeCandeias/Chronoscope",
"max_stars_repo_path": "test/Chronoscope.Tests.Fakes/FakeSinks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91837"
} | starcoder | <gh_stars>0
using Chronoscope.Events;
using System.Collections.Generic;
namespace Chronoscope.Tests.Fakes
{
public class FakeSinks : ITrackingSinks
{
public void Sink(ITrackingEvent trackingEvent)
{
Events.Add(trackingEvent);
}
public IList<ITrackingEvent> Events {... | 1.558219 | b3870fbd81611284c48e838803301d9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jaak27/PlantUP",
"max_stars_repo_path": "PlantUP/Assets/_Scripts/UI/feldInfoUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91838"
} | starcoder | <filename>PlantUP/Assets/_Scripts/UI/feldInfoUI.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class feldInfoUI : MonoBehaviour {
bool onScreen; // legt fest ob sich das UI Element auf dem Bildschirm bewegen soll
// Use this for initialization
voi... | 2.589555 | 80ee46bcb5db2c825dd4e2e66fa4cbaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoolsJoris/NBi",
"max_stars_repo_path": "NBi.genbiL/Action/Case/LoadCaseFromQueryAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91839"
} | starcoder | using System;
using System.Linq;
using NBi.Service;
namespace NBi.GenbiL.Action.Case
{
public class LoadCaseFromQueryAction : ICaseAction
{
public string Query { get; set; }
public string ConnectionString { get; set; }
public LoadCaseFromQueryAction(string query, string con... | 2.337895 | 8ab2d042fdf5ab138fa09921c674d2bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91839 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Fydar/Gadgetry",
"max_stars_repo_path": "src/Gadgetry.Resources/Wrappers/GadgetFunc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91840"
} | starcoder | <reponame>Fydar/Gadgetry<gh_stars>10-100
using Gadgetry.Resources;
namespace Gadgetry.Wrappers;
/// <summary>
/// Wraps a <see cref="Gadget"/> with a hard-typed request resources.
/// </summary>
/// <typeparam name="TOutput">Represents the response model of the <see cref="GadgetFunc{TInput, TOutput}"/>.</typeparam>
... | 2.360895 | ca0aecf4178f1c520858766633d13a21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quangnghiauit/GarageManagement",
"max_stars_repo_path": "DAO/TiepNhanXeSuaDAO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91841"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using MySql.Data.MySqlClient;
using DTO;
using System.Windows.Forms;
namespace DAO
{
public class TiepNhanXeSuaDAO
{
public static DataTable selectAllTiepNhanXeS... | 2.27834 | 28a3471a3d320577af03bd763d013009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kekyo/Favalon.PoC",
"max_stars_repo_path": "Favalon.9/LambdaCalculus.DotNet/ClrEnvironmentExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91842"
} | starcoder | <gh_stars>0
using Favalon.Terms;
using Favalon.Terms.Methods;
using Favalon.Terms.Operators;
using Favalon.Terms.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Favalon
{
public static class ClrEnvironmentExtension
{
public static Environmen... | 2.406501 | 370e72d4c7fecdb3f585def37e78dfe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91842 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "TerraVenil/entityframework",
"max_stars_repo_path": "test/EntityFramework/FunctionalTests.Transitional/TestModels/TemplateModels/CsMonsterModel/ExternalTypes/AuditInfoMm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91843"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Another.Place
{
using System;
using FunctionalTests.ProductivityApi.TemplateModels.CsMonsterModel;
public class AuditInfoMm
{
public AuditInf... | 1.485485 | 77fa1062aecf01a99b06344a2aa29f04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91843 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "FlameHorizon/Memoria",
"max_stars_repo_path": "Assembly-CSharp/FF9/BTL_VFX_REQ.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91844"
} | starcoder | <reponame>FlameHorizon/Memoria
using System;
using Memoria.Data;
namespace FF9
{
public class BTL_VFX_REQ
{
public BTL_VFX_REQ()
{
this.trg = new BTL_DATA[8];
this.monbone = new Byte[2];
this.rtrg = new BTL_DATA[4];
}
public void PlaySFX(SpecialEffect fx_no)
{
SFX.Begin(flgs, arg0, monbone, t... | 1.743399 | 99a03c201ffd7e1e9b3eb9c2f38a6678 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91844 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Emchei/leapmotion-midi",
"max_stars_repo_path": "sample_leap/LeapEventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91845"
} | starcoder | <filename>sample_leap/LeapEventListener.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Leap;
namespace sample_leap
{
public delegate void LeapEventDelegate(string EventName);
public interface ILeapEventDelegate
{
... | 2.435673 | 2bf7f4bafcea80e90280611e8c0aaa20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91845 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "RISStudio-tm/RIS-Libraries",
"max_stars_repo_path": "RIS/Wrappers/ArgsKeyedWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91846"
} | starcoder | <filename>RIS/Wrappers/ArgsKeyedWrapper.cs
// Copyright (c) RISStudio, 2020. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace RIS.Wrappers
{
public cl... | 2.75228 | 2aac43296e2110cfe2bc646a409a5561 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91846 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/S/StoragePlacementSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91847"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public class StoragePlacementSpec : DynamicData
{
protected string _type;
protected VirtualMachineMovePriority? _priority;
protected ManagedObjectReference _vm;
protected StorageDrsPodSelectionSpec _podSelectionSpec;
protected VirtualMachineCloneSpec _cloneSpe... | 1.388041 | 2d26fbecccb7e15fda9d65575d7e42f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatousKratochvil/ArchitecturePatternTesting",
"max_stars_repo_path": "Eshop/ComponentArchitecture/Eshop.Component.Catalog/Domain/Category.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91848"
} | starcoder | <gh_stars>0
using Eshop.Base.Abstraction.Domain;
namespace Eshop.Component.Catalog.Domain
{
internal class Category : IAggregateRoot<int>
{
public int Id { get; set; }
public string Name { get; set; }
}
} | 1.381863 | d5ec7985cdb445754970828fa72df3be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91848 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/FarmMonsterBehaviorController.----c.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91849"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata
[CompilerGeneratedAttribute] // RVA: 0x1591A0 Offset: 0x1592A1 VA: 0x1591A0
[Serializable]
private sealed class FarmMonsterBehaviorController.<>c // TypeDefIndex: 8160
{
// Fields
public static readonly FarmMonsterBehaviorController.<>c <>9; // 0x0
public static Action <>9__... | 1.072227 | d95740b1da8ff4cff15c5c6afc0c7f8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bstoinev/OpenSilver",
"max_stars_repo_path": "src/Runtime/Runtime/System/WORKINPROGRESS/AppDomainExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91850"
} | starcoder | <filename>src/Runtime/Runtime/System/WORKINPROGRESS/AppDomainExtensions.cs
#if WORKINPROGRESS
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
namespace System
{
[OpenSilver.NotImplemented]
public static partial class AppDomainExtensions
... | 1.746887 | 03d7a475666d716ac6601f118fec95ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Z3RYX/OsuSharp",
"max_stars_repo_path": "src/OsuSharp.Oppai/OppaiExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91851"
} | starcoder | using System.Collections.ObjectModel;
using System.Threading.Tasks;
namespace OsuSharp.Oppai
{
public static class OppaiExtensions
{
/// <summary>
/// Gets the pp for that beatmap.
/// </summary>
public static Task<PerformanceData> GetPPAsync(this Beatmap beatmap, int? comb... | 2.786773 | 7a723a770cd251bfac2bc70b536444cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91851 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BROCKHAUS-AG/contentmonkey",
"max_stars_repo_path": "MAIN/Default.WebUI/Views/Admin/_ModalGenericSelector.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91852"
} | starcoder | <filename>MAIN/Default.WebUI/Views/Admin/_ModalGenericSelector.cshtml
@model GenericSelectorWrapperModel
@{
Layout = null;
}
<!-- Modal -->
<div class="modal fade" id="@Model.ModalId" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="mo... | 2.215745 | 2578da7c1219923b63f70d086cca8656 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichaelGustavsson/8440-20486",
"max_stars_repo_path": "Mod10/CourseTrack/Repositories/CourseRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91853"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CourseTrack.Models;
namespace CourseTrack.Repositories
{
public class CourseRepository : ICourseRepository
{
private readonly CourseTrackerContext _context;
public CourseRepository()
{
... | 2.327754 | bf15df193ec40b2546efea25266d527d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91853 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lextm/csharp-language-server-protocol",
"max_stars_repo_path": "src/Protocol/Models/WatchKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91854"
} | starcoder | using System;
using Newtonsoft.Json;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
[Flags]
[JsonConverter(typeof(NumberEnumConverter))]
public enum WatchKind
{
/// <summary>
/// Interested in ... | 2.144382 | 07cf734e1f732c8c6f598e018a6a2b28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91854 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BikeMates/bike-mates",
"max_stars_repo_path": "BikeMates/BikeMates.Service/Models/UserModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91855"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BikeMates.Service.Models
{
public class UserModel
{
public string Id { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
public string... | 1.760732 | 6d8a07ae5be60197576607c3b07b9396 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "parse22/robovania",
"max_stars_repo_path": "Robovania/Assets/Scripts/GameSession/GameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91856"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Assertions;
/* GAMESTATE:
* Current state of the current match, primarily transient
* data used during match to help drive GameManager, and post match
* to populate any player profile persistent data.
* */
public... | 2.112863 | c6eb92a015961d150866a9438d32f49e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MauricioRB06/Sr_Catknight",
"max_stars_repo_path": "Assets/SrCatknight/Scripts/Levels/General/DeathZone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91857"
} | starcoder |
// Copyright (c) 2021 MauricioRB06 <https://github.com/MauricioRB06>
// MIT License < Please Read LICENSE.md >
//
// The Purpose Of This Script Is:
//
// Generate a death zone, when the player falls into it the death event is activated.
//
// Documentation and References:
//
// Unity Awake: https://docs.unity3d.co... | 2.801946 | ccc248b80f4e49250c58ef66fd757409 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjhnim/daily-kata",
"max_stars_repo_path": "balanced-binary-tree-2th/balanced-binary-tree-lecture.tests/Solution.tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91858"
} | starcoder | using System;
using balanced_binary_tree_2th;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace balanced_binary_tree_lecture.tests
{
[TestClass]
public class UnitTest1
{
Solution sol;
[TestInitialize]
public void SetUp()
{
sol = new Solution();
... | 3.053261 | 50f6cacbcf3b7e2dc4889b54a04651a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FloodCitiSense/FloodCitiSense",
"max_stars_repo_path": "aspnet-core/src/IIASA.FloodCitiSense.Core.Shared/MultiTenancy/Payments/ExecutePaymentResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91859"
} | starcoder | <reponame>FloodCitiSense/FloodCitiSense<filename>aspnet-core/src/IIASA.FloodCitiSense.Core.Shared/MultiTenancy/Payments/ExecutePaymentResponse.cs
namespace IIASA.FloodCitiSense.MultiTenancy.Payments
{
public abstract class ExecutePaymentResponse
{
public abstract string GetId();
}
} | 1.447092 | 9b07a21a2ff9672dfd3258ea6d47476b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "919506114/chord",
"max_stars_repo_path": "dp2Capo.Install/dp2LibraryDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91860"
} | starcoder | <gh_stars>0
namespace dp2Capo.Install
{
partial class dp2LibraryDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... | 1.1885 | 29d39b50ac144e3e256d4eb9349e96b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91860 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pottereric/RoslynDOM",
"max_stars_repo_path": "RoslynDomCSharpFactories/FactoriesForStatements/RDomForStatementFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91861"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using RoslynDom.Common;
namespace RoslynDom.CSharp
{
public class RDomForStatementFactory
: RDomBaseLoopStatementFactory<RDomForS... | 2.292665 | 48292dbce0704a2eb0fcb0fec8060ca1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.