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 | 3337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terrajobst/roslyn",
"max_stars_repo_path": "src/Compilers/Core/Portable/MetadataReader/PEModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3338"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immut... | 1.951767 | 23d40e8fa2f1c4a5833fbc4d007f007c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3338 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "timloh-gtoken/neo-vm",
"max_stars_repo_path": "src/neo-vm/Debugger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3339"
} | starcoder | // Copyright (C) 2016-2021 The Neo Project.
//
// The neo-vm is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and... | 2.756607 | 6f5d6ffb2df60095cfaabded6106fbc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3339 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "idpsdashboard/idpsdashboard",
"max_stars_repo_path": "IDPSDashboard/IDPSDashboard.Business/usergroupBus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3340"
} | starcoder | <filename>IDPSDashboard/IDPSDashboard.Business/usergroupBus.cs<gh_stars>1-10
using System;
using System.Data;
using System.Web;
using IDPSDahboard.SqlServerImpl;
using IDPSDahboard.Model;
using System.Collections.Generic;
namespace IDPSDahboard.Business
{
public class usergroupBus
{
#region Business
public int... | 2.283992 | 060c15882e0c28e0a2d51dbb5ec88a82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3340 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rodriada000/SessionModManagerCore",
"max_stars_repo_path": "SessionModManagerCore/Classes/Interfaces/IMapSwitcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3341"
} | starcoder | using System.Collections.Generic;
namespace SessionMapSwitcherCore.Classes.Interfaces
{
/// <summary>
/// Interface to represent a map switcher for EzPz and Unpacked versions of the game
/// </summary>
interface IMapSwitcher
{
List<MapListItem> GetDefaultSessionMaps();
MapListItem... | 2.078357 | bca389eff60dd011269e862abb603716 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3341 | {
"extension": "c-sharp",
"max_stars_count": "356.0",
"max_stars_repo_name": "ProfTHC/accord-net-extensions",
"max_stars_repo_path": "Source/ImageProcessing/FastTemplateMatching/FeatureExtraction/Template/XMLTemplateSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3342"
} | starcoder | #region Licence and Terms
// Accord.NET Extensions Framework
// https://github.com/dajuric/accord-net-extensions
//
// Copyright © <NAME>, 2014-2015
// <EMAIL>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as publis... | 2.610611 | b8eaea9e82ec78523513357c267a3a9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3342 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "c3333/SharpRTSP",
"max_stars_repo_path": "RTSP/Messages/RTSPRequestTeardown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3343"
} | starcoder | <filename>RTSP/Messages/RTSPRequestTeardown.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rtsp.Messages
{
public class RtspRequestTeardown : RtspRequest
{
// Constructor
public RtspRequestTeardown()
{
Command = "TEARDOWN... | 1.814732 | 1361297c43ec6fde93b9eda6ab0fefac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3343 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Rightpoint/conference-room",
"max_stars_repo_path": "Infrastructure/Services/ExchangeRest/Models/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3344"
} | starcoder | namespace RightpointLabs.ConferenceRoom.Infrastructure.Services.ExchangeRest.Models
{
public class Item
{
public string DisplayName { get; set; }
}
} | 1.465796 | 1bb90b2e6816759a78841fc274bf4f94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MapleWithoutWords/NoRainForum-MicroService",
"max_stars_repo_path": "NoRainForum/NoRainForum.Computer.AdminWeb/Models/AddAdminUserAndRoleModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3345"
} | starcoder | <reponame>MapleWithoutWords/NoRainForum-MicroService<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace NoRainForum.Computer.AdminWeb.Models
{
public class AddAdminUserAndRoleModel
{
[Requir... | 2.243331 | cb974b58e4ffc73d03213006375fc19f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muhammad-abdullah-personal/WPF-Game-Guess--he-Nationality",
"max_stars_repo_path": "src/GuessTheNationality.Service/Helper/PointsInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3346"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace GuessTheNationality.Service
{/// <summary>
/// This class is used to maintain the for cordinates of boxes
/// </summary>
public clas... | 2.411474 | 537f99d20bdd1a22714a76859aca0b4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caseymarquis/csick",
"max_stars_repo_path": "App/Actors/ProcessRunnerNS/Helpers/ProcHandle_Internal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3347"
} | starcoder | <reponame>caseymarquis/csick
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CSick.Actors.ProcessRunnerNS.Helpers {
/// <summary>
/// This class is shared across threads.
/// you... | 2.48297 | 01cd14f32f7b084142a79f7184ab90f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3347 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mesta1/DynamicDataDisplay-example",
"max_stars_repo_path": "DynamicDataDisplaySample/DynamicDataDisplay/Charts/Isolines/CellInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3348"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Microsoft.Research.DynamicDataDisplay.Common.Auxiliary;
using System.Windows;
namespace Microsoft.Research.DynamicDataDisplay.Charts.Isolines
{
/// <summary>
/// Isoline's grid cell
/// </summary>
... | 2.866016 | bcc3301923328893154e712b689274d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xoofx/system-terminal",
"max_stars_repo_path": "src/core/Unix/UnixPInvoke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3349"
} | starcoder | <reponame>xoofx/system-terminal<filename>src/core/Unix/UnixPInvoke.cs
namespace System.Unix;
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300")]
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1310")]
static unsafe class UnixPInvoke
{
// fd
public const int STDIN_FILENO = 0;
public const int ST... | 1.780291 | db60d8b4982e51b1ac24e214769d6048 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlShandor/ASP.NET-Core-Project-Building-Drainage-Consultant",
"max_stars_repo_path": "BuildingDrainageConsultant/Views/Articles/All.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3350"
} | starcoder | <filename>BuildingDrainageConsultant/Views/Articles/All.cshtml<gh_stars>0
@model IEnumerable<ArticleServiceModel>
@{
ViewBag.Title = "All Articles";
}
<div class="row">
@if (!Model.Any())
{
<div class="offset-3 col-6">
<h2 class="text-center">No Articles found!</h2>
</div>
... | 2.548099 | 709f784bfe8103b0af9e80fa126ad639 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "natepisarski/eclectic",
"max_stars_repo_path": "eclectic/HumDrum/Structures/Tree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3351"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using HumDrum.Recursion;
namespace HumDrum.Structures
{
public class Tree<T>
{
/// <summary>
/// This current node
/// </summary>
public T CurrentNode { get; set; }
/// <summary>
/// The left branch
/// </summary>
/// <value>The left bran... | 2.986732 | 85510944cf382acb1ed4f59c1e27e0ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3351 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nicocrm/IntacctClient",
"max_stars_repo_path": "Operations/IntacctOperationResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3352"
} | starcoder | <filename>Operations/IntacctOperationResult.cs
using System.Collections.Generic;
namespace Intacct.Operations
{
public abstract class IntacctOperationResult
{
public bool AuthSuccess { get; protected set; }
public bool OperationSuccess { get; protected set; }
public IEnumerable<IntacctError> Errors { get; pro... | 2.55819 | 868f40eef01099d8ce37499fd7c6b85b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Geshe/Genesis-Examples",
"max_stars_repo_path": "Basics/Steps/Extensions/StepExtension/ProtocolAlgorithmExt1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3353"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Genesis.Protocol;
using Genesis;
namespace StepExtensionDLL
{
/* 本注释说明算法的接口和算法参数接口和参数类,用于扩展自定义算法。
* 需要引用Plugins\Genesis\bin\Genesis.dll和Plugins\Genesis.Core\bin\Genesis.Core.dll
/// <summary>
/// 算法接口
/// </summary>
publ... | 2.911164 | 4e89eacc7b54602ed82f29a2f5b05286 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3353 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Data-Capture",
"max_stars_repo_path": "Epi.Web.CheckCodeEngine/Rules/Rule_Subroutine_Statement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3354"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using com.calitha.goldparser;
namespace Epi.Core.EnterInterpreter.Rules
{
public class Rule_Subroutine_Statement : EnterRule
{
private EnterRule Statements = null;
private string Identifier = null;
private ... | 2.496408 | f145c7ca24e8d51b8ee99181ceb8c61d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rynowak/Samples",
"max_stars_repo_path": "MusicStore/src/MusicStoreUI/Services/OrderProcessingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3355"
} | starcoder | <reponame>rynowak/Samples<gh_stars>0
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MusicStoreUI.Models;
using System.Net.Http;
using Steeltoe.Common.Discovery;
namespace MusicStoreUI.Services
{
public class OrderProcessin... | 2.367383 | 9fd026c818b35c3d284716ea7a05187e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "euronay/Scryfall-API-Client",
"max_stars_repo_path": "samples/ScryfallApi.WebSample/Pages/Search.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3356"
} | starcoder | @page
@model SearchModel
@{
}
<h2>Search</h2>
<div class="row">
<div class="col-md-12">
<p>
Search Query:
</p>
<div asp-validation-summary="All"></div>
<form method="POST">
<div>Name: <input asp-for="Query" />
<input type="submit" value="Search" />
</div>
</form>
... | 2.668089 | f4c20f3d1095a0cb78a33d623a5e1637 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AoiKoshi/Coding-Examples",
"max_stars_repo_path": "Unity Demos Project/Assets/Demos/Multiplayer (Netcode)/Scripts/Gameplay/Player/Locomotion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3357"
} | starcoder | <reponame>AoiKoshi/Coding-Examples
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using Unity.Netcode;
using System;
namespace Threadwork.Gameplay.Player
{
[RequireComponent(typeof(PlayerController))]
public class Locomotion : NetworkBehaviour
... | 2.072755 | cfaed056ba8b4ce5306f189e48034ad9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Therzok/ThunderKit",
"max_stars_repo_path": "Editor/Core/UIElements/TemplateHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3358"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using ThunderKit.Common;
using UnityEditor;
using UnityEngine;
#if UNITY_2019_1_OR_NEWER
using UnityEngine.UIElements;
using UnityEditor.UIElements;
#else
usin... | 1.916505 | 62076c369aa275cb06a7563a3dcfb616 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3358 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "huanlin/easy-braille-edit",
"max_stars_repo_path": "Source/BrailleToolkit/EnglishBrailleRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3359"
} | starcoder | using System;
using BrailleToolkit.Data;
using Huanlin.Common.Helpers;
namespace BrailleToolkit
{
internal class EnglishBrailleRule
{
private EnglishBrailleRule() { }
/// <summary>
/// 根據英文點字的大寫規則調整一行點字。
/// </summary>
/// <param name="brLine">點字串列。</param>
pub... | 3.230883 | 7448d2975d3a125639e3eaa55d6a001b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3359 | {
"extension": "c-sharp",
"max_stars_count": "242.0",
"max_stars_repo_name": "wxq127/gamebuilder",
"max_stars_repo_path": "Assets/Scripts/GraphicsConsoleCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3360"
} | starcoder | <filename>Assets/Scripts/GraphicsConsoleCommands.cs
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
... | 2.130762 | 0d0c7cb480d0f03ae9fcafc5cc2c5fb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rusev12/Software-University-SoftUni",
"max_stars_repo_path": "C# OOP Advanced/09-ExamPreparation-RecyclingStation/RecyclingStation/BusinessLayer/Attributes/BurnableStrategyAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:33... | starcoder | using RecyclingStation.WasteDisposal.Attributes;
using System;
namespace RecyclingStation.BusinessLayer.Attributes
{
public class BurnableStrategyAttribute : DisposableAttribute
{
public BurnableStrategyAttribute(Type correspondingStrategyType)
: base(correspondingStrategyType)
{
... | 2.003542 | 09c658038cfbb8175335667b9a29dce5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3361 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "EddyAlleman/xcad",
"max_stars_repo_path": "src/Base/UI/Commands/Attributes/CommandGroupParentAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3362"
} | starcoder | <gh_stars>10-100
//*********************************************************************
//xCAD
//Copyright(C) 2021 Xarial Pty Limited
//Product URL: https://www.xcad.net
//License: https://xcad.xarial.com/license/
//*********************************************************************
using System;
using System.Coll... | 2.420636 | 2a3d9fb6b8260471cea27b84daf79171 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PathogenPlayground/InfectedImGui",
"max_stars_repo_path": "InfectedImGui/#Generated/ImColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3363"
} | starcoder | // <auto-generated>
// This file was automatically generated by Biohazrd and should not be modified by hand!
// </auto-generated>
#nullable enable
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Explicit, Size = 16)]
public unsafe partial struct ImColor
{
[FieldOffset(0)] public ImVec4 Value;
}
| 1.724777 | 94d4cb86bf89e7efd7fe6076ad57699c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3363 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "ecole/testcentric-gui",
"max_stars_repo_path": "src/TestCentric/testcentric.gui/Elements/ToolStripMenuElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3364"
} | starcoder | <gh_stars>10-100
// ***********************************************************************
// Copyright (c) <NAME> and TestCentric GUI contributors.
// Licensed under the MIT License. See LICENSE file in root directory.
// ***********************************************************************
using System;
using Sys... | 2.547667 | 90d8a1aa6ec5d03bf1d1b484f2594fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ephaltes/Tourplaner",
"max_stars_repo_path": "Tourplaner/TourService/Entities/LogEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3365"
} | starcoder | <gh_stars>0
using System;
namespace TourService.Entities
{
public enum MovementMode
{
Running,
Walk,
Bicycle,
Drive
}
public enum Mood
{
Good,
Neutral,
Bad
}
public class LogEntity
{
public int Id { get; set; }
p... | 1.81457 | 1fe64c6ae5dae688f01b9ce40907050e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ElleTojaroon/azure-sdk-for-net",
"max_stars_repo_path": "sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedActionData.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3366"
} | starcoder | <reponame>ElleTojaroon/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.Sql.Models;
namespace ... | 1.700614 | 38cc49cc4592e2137b152231c8188b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zlxy/Genesis-3D",
"max_stars_repo_path": "Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Data/System.Data.ProviderBase.jvm/DbConvert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3367"
} | starcoder | <filename>Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Data/System.Data.ProviderBase.jvm/DbConvert.cs
//
// System.Data.Common.DbConvert
//
// Author:
// <NAME> (<EMAIL>)
//
using System;
using System.Data.Common;
using java.io;
using java.sql;
namespace System.Data.ProviderBase
{
public abstract class DbCo... | 2.152444 | 381aea3862b13e6dc05b7f97c19535e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paul-cheung/Microsoft-Teams-Samples",
"max_stars_repo_path": "samples/bot-request-approval/csharp/BotRequestApproval/Models/RequestDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3368"
} | starcoder | <reponame>paul-cheung/Microsoft-Teams-Samples
// <copyright file="RequestDetails.cs" company="Microsoft">
// Copyright (c) Microsoft. All Rights Reserved.
// </copyright>
using System;
namespace BotRequestApproval.Models
{
public class RequestDetails
{
public Guid TaskId { get; set; }
public... | 1.683324 | 208ed4255f25bcd6783ff2940def678d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3368 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/Enums/Enum_665B1EEE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3369"
} | starcoder | // Enum generated by TankLibHelper.EnumBuilder
// ReSharper disable All
namespace TankLib.STU.Types.Enums {
[STUEnumAttribute(0x665B1EEE)]
public enum Enum_665B1EEE : uint {
[STUFieldAttribute(0x28743C37)]
x28743C37 = 0x0,
[STUFieldAttribute(0xD09D09D3)]
xD09D09D3 = 0x1,
... | 1.167569 | 6c4a4a068deff3ac819c8142ae633ed8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EGKangaroo/Ecosystem-Simulator-Game",
"max_stars_repo_path": "Assets/Scripts/Generation/TerrainGen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3370"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TerrainGen : MonoBehaviour
{
public WorldModel data;
[Min(1)]
public int tilesPerRow;
private void Start()
{
if (Application.isPlaying)
{
Generate();
}
}
public... | 2.471545 | 5615056e2fc1e44524d35e1e0e909293 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3370 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "fundprocess/Etl.Net",
"max_stars_repo_path": "src/Paillave.Etl/Core/IFileValueProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3371"
} | starcoder | <filename>src/Paillave.Etl/Core/IFileValueProcessor.cs
using System;
using System.Threading;
namespace Paillave.Etl.Core
{
public interface IFileValueProcessor
{
string Code { get; }
ProcessImpact PerformanceImpact { get; }
ProcessImpact MemoryFootPrint { get; }
void Process(IFi... | 1.764893 | 37673e9acb812fb945934a58f3565ed9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3371 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AbiduDaGeek/AR-Pet",
"max_stars_repo_path": "Assets/CatAssets/Scripts/DataControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3372"
} | starcoder | <filename>Assets/CatAssets/Scripts/DataControl.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class DataControl : MonoBehaviour {
public GameObject Model;
public Transform trModel;
public CharData[] charData;
public Transform[] charModel... | 2.061321 | d74fb40dfe45835c859bee479b7ca3f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sahilhirani/Project_3_4",
"max_stars_repo_path": "Project3/Assets/Scripts/MainMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3373"
} | starcoder | <reponame>sahilhirani/Project_3_4
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour {
/* @brief Loads the menu for the player to select difficulty
** @pre A valid game scene exists.
** @post The player chooses th... | 2.17151 | 67c88a74b61587db08a65528f0e35eef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "godzff/NewAge.Redis",
"max_stars_repo_path": "src/Interfaces/IRedisOperationLock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3374"
} | starcoder | <reponame>godzff/NewAge.Redis
using NewAge.Redis.Enums;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace NewAge.Redis.Interfaces
{
/// <summary>
/// redis的连接配置
/// </summary>
public partial interface IRedisOperation :... | 1.78462 | 589b4d171360109d0f9feda79100707d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3374 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "treydwilson/MarkovChainSentenceGenerator",
"max_stars_repo_path": "TextMarkovChains/MultiDeepMarkovChain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3375"
} | starcoder | <reponame>treydwilson/MarkovChainSentenceGenerator<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace TextMarkovChains
{
public class MultiDeepMarkovChain
{
private Dictionary<string, Chain> chains;
private Chain he... | 3.341037 | 99f05b3d544fbaf8d535b24d41f942b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cosmic-Chimps/timon-activity-pub",
"max_stars_repo_path": "Kroeg.EntityStore/DatabaseManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3376"
} | starcoder | <reponame>Cosmic-Chimps/timon-activity-pub<filename>Kroeg.EntityStore/DatabaseManager.cs
using System.Data.Common;
using System.Linq;
using Dapper;
namespace Kroeg.EntityStore
{
public class DatabaseManager
{
private readonly DbConnection _connection;
public DatabaseManager(DbConnection connec... | 2.086272 | 04a43b827142020c42a83f4524531bba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stuxles/Stenden-C-1",
"max_stars_repo_path": "Scenario1/Scenario4-3/default.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3377"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Scenario4_3
{
public partial class _default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... | 1.767181 | 911f997c4e301229f4c6b8e84fff7a0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iltodbul/SoftUni",
"max_stars_repo_path": "C# Fundamentals/Mid Exam Retake - 16 April 2019/2. Easter Gifts/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3378"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _2._Easter_Gifts
{
class Program
{
static void Main(string[] args)
{
var giftList = Console.ReadLine().Split().ToList();
var commands = Console.ReadLine().Split().ToList();
while (... | 3.358311 | b7e178a2d8fb7a9deebba72bae50bc6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3378 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "solbarda/DSAnimStudio-1",
"max_stars_repo_path": "DSAnimStudio/ImguiOSD/Dialog.TextInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3379"
} | starcoder | using ImGuiNET;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSAnimStudio.ImguiOSD
{
public abstract partial class Dialog
{
public class TextInput : Dialog
{
public string Question;
public ... | 2.570294 | 53417490fac87809d367ab4324c4e7ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3379 | {
"extension": "c-sharp",
"max_stars_count": "223.0",
"max_stars_repo_name": "ohio813/WindowsRpcClients",
"max_stars_repo_path": "Win10_20H1/moshost.dll/58b2a725-c4e2-43f0-956f-d9c3b6fa0c8b_0.0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3380"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | 1.839445 | 49d55b0655aba0e95ea4fdb9c5a88e51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3380 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Yend0r/gloomhaven-api-csharp",
"max_stars_repo_path": "src/GloomChars.GameData/Models/IgnoreItemEffects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3381"
} | starcoder | using System;
using GloomChars.GameData.Interfaces;
namespace GloomChars.GameData.Models
{
public class IgnoreItemEffects : IPerkAction
{
public PerkActionName ActionName { get => PerkActionName.IgnoreItemEffects; }
}
}
| 1.78278 | 3d4e356c66b3f64c1b9b1835703413ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atc-net/atc-common",
"max_stars_repo_path": "src/Atc.DotNet/VisualStudioSolutionFileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3382"
} | starcoder | // ReSharper disable InvertIf
namespace Atc.DotNet;
public static class VisualStudioSolutionFileHelper
{
public static Collection<FileInfo> FindAllInPath(
DirectoryInfo directoryInfo,
SearchOption searchOption = SearchOption.AllDirectories)
{
if (directoryInfo is null)
{
... | 2.555597 | a92ddcbb0860d6ccf4177aeb743506e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "a44281071/MineCase",
"max_stars_repo_path": "src/MineCase.Protocol/Protocol/Protocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3383"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MineCase.Protocol
{
public static class Protocol
{
public const uint Version = 578;
public static void ValidatePacketLength(int length)
{
if (length > 16 * 1024)
throw new Argument... | 2.22735 | 9113c57e1c0146827e244d9ad7b20051 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3383 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Platonenkov/MathCore",
"max_stars_repo_path": "MathCore/Reflection/ConstructorExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3384"
} | starcoder | <gh_stars>1-10
using MathCore.Annotations;
// ReSharper disable UnusedType.Global
// ReSharper disable once CheckNamespace
namespace System.Reflection
{
/// <summary>Класс методов-расширений для взаимодействия с конструкторами классов по средствам рефлексии</summary>
public static class ConstructorExtensions
... | 2.894616 | 315166608643b4883d8f30c0aa8df619 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eibx/Rebronx",
"max_stars_repo_path": "server/Systems/Movement/Senders/MovementSender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3385"
} | starcoder | using System.Collections.Generic;
using Rebronx.Server.Enums;
using Rebronx.Server.Repositories;
using Rebronx.Server.Services;
using NotImplementedException = System.NotImplementedException;
namespace Rebronx.Server.Systems.Movement.Senders
{
public class MovementSender : IMovementSender
{
private rea... | 2.568691 | 316a4ca35130f9d47718d172369c92fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KacperKenjiLesniak/crowded-dinosaur",
"max_stars_repo_path": "Assets/Scripts/CrowdInput/AbstractInputBroker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3386"
} | starcoder | <filename>Assets/Scripts/CrowdInput/AbstractInputBroker.cs
using DefaultNamespace.Evaluator;
using DefaultNamespace.Events;
using Reliability;
using UnityEngine;
namespace DefaultNamespace
{
public abstract class AbstractInputBroker : MonoBehaviour
{
protected ICrowdInputReliability crowdInputReliabil... | 1.994717 | 0f99c64fdc8a01ce9288e5ec369659c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iurifarenzena/Farenzena.Lib",
"max_stars_repo_path": "Farenzena.Lib.Database/Connection/IDatabaseConnectionConfigurationStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3387"
} | starcoder | <filename>Farenzena.Lib.Database/Connection/IDatabaseConnectionConfigurationStorage.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Farenzena.Lib.Database.Connection
{
public interface IDatabaseConnectionConfigurationStorage
{
void SaveConfigurations(IDictionary<string,... | 1.684312 | e9ceae4ccd79f87b5d80db1d08f0dc23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaeldolfe/MasterServerChess",
"max_stars_repo_path": "Assets/Sisus/Power Inspector/Code/Editor/Drawers/UnityObject/Component/Editorless/MissingScriptDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3388"
} | starcoder | //#define DEBUG_ON_PARENT_ASSIGNED
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.SceneManagement;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Sisus
{
/// <summary>
/// Drawer for missing components. Components can be missing due to
/// ... | 2.068308 | eb3e7c2937ddbbd8778dbac68297bedc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d605-upjv/veille-concurrentielle",
"max_stars_repo_path": "Aggregator/VeilleConcurrentielle.Aggregator.WebApp/Models/GetAllUnseenRecommendationAlertCountModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3389"
} | starcoder | namespace VeilleConcurrentielle.Aggregator.WebApp.Models
{
public class GetAllUnseenRecommendationAlertCountModels
{
public class GetAllUnseenRecommendationAlertCountResponse
{
public int Count { get; set; }
}
}
}
| 1.481742 | 18c73334a477f47a750eed83432a7180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3389 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mattwhitfield/Unitverse",
"max_stars_repo_path": "src/Unitverse.Core.Tests/Options/Editing/GenerationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3390"
} | starcoder | namespace Unitverse.Core.Tests.Options.Editing
{
using System.ComponentModel;
using Unitverse.Core.Options;
using Unitverse.Core.Options.Editing;
public class GenerationOptions : IGenerationOptions
{
[Category("Frameworks")]
[DisplayName("Auto-detect frameworks")]
[Descript... | 2.252975 | c96809466d7730630c0582aebb572e93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3390 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SaDiablo/GenshinCompanion",
"max_stars_repo_path": "src/Modules/GenshinCompanion.Modules.BannersModule/ViewModels/TimersViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3391"
} | starcoder | using GenshinCompanion.Core.Mvvm;
using GenshinCompanion.Modules.BannersModule.Models;
using GenshinCompanion.Services.Interfaces;
using Microsoft.AppCenter.Analytics;
using Prism.Commands;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Windows.Input;
namespace GenshinCompanion.Modul... | 2.090625 | b5789bdc4d67b757328ecf24858ddd44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CodingJinxx/polypoly",
"max_stars_repo_path": "Assets/NoesisGUI/Plugins/API/Proxies/ContentPresenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3392"
} | starcoder | <reponame>CodingJinxx/polypoly
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.10
//
// Do not make changes to this file unless you know what you are doing--modify
// t... | 1.504668 | 257e7a316d1bc792692fa16e031edbd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phucnt1992/az-101",
"max_stars_repo_path": "Az101.Gallery/Infrastructure/Persistence/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3393"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Az101.Gallery.Infrastructure.Persistence.Configurations;
using Az101.Gallery.Models;
using System.Diagnostics.CodeAnalysis;
namespace Az101.Gallery.Infrastructure.Persistence
{
public class ApplicationDbContext : DbContext
{
public DbSet<Photo> Photos { get; ... | 2.005444 | d9b1dc1663547457bca383384ed8ad99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3393 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Milambeer/unity-entitas-infinite-runner",
"max_stars_repo_path": "Assets/Sources/Generated/Input/Components/InputJumpComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3394"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-genera... | 1.616528 | 976052c40c2890fd8cf874f690a3466a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deanebarker/Wyam",
"max_stars_repo_path": "src/core/Wyam.Configuration/NuGet/PackageInstaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3395"
} | starcoder | <reponame>deanebarker/Wyam<filename>src/core/Wyam.Configuration/NuGet/PackageInstaller.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using NuGet.Configuration... | 2.150009 | eeb68c70723871552c37d76894e5a01f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/mmeapi/MIXER.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3396"
} | starcoder | <filename>sources/Interop/Windows/Windows/um/mmeapi/MIXER.cs<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/mmeapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsof... | 1.462941 | 227401e5c60965eb5b64212cf771c76e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tamarakatic/RareDiseases",
"max_stars_repo_path": "RareDiseases.Web/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3397"
} | starcoder | using RareDiseases.Common.Extensions;
using System.Web.Mvc;
namespace RareDiseases.Web.Extensions
{
public static class StringExtensions
{
/// <summary>
/// Returns name of the controller class after stripping "controller" suffix from it.
/// </summary>
/// <param name="controllerName">The name of the contr... | 2.777283 | 673df6fb7ecbee6476eec9c1ebf04312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3397 | {
"extension": "c-sharp",
"max_stars_count": "4343.0",
"max_stars_repo_name": "sidiesen/msbuild",
"max_stars_repo_path": "src/Deprecated/Engine.UnitTests/EngineProxy_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3398"
} | starcoder | // 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.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Xml;
using NUnit.Framework;
using Microsoft.... | 1.849076 | b5c342be0ea957825c32ad789ade2129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hottoy/BCVP.OA",
"max_stars_repo_path": "BCVP.Common/Helper/UrlHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3399"
} | starcoder | namespace BCVP.Common.Helper
{
public class UrlHelper
{
/// <summary>
/// UrlEncode编码
/// </summary>
/// <param name="url">url</param>
/// <returns></returns>
public static string UrlEncode(string url) {
return System.Web.HttpUtility.UrlEncode(url, S... | 2.637875 | fbc94f99106ca3cfc0576ee3a13423fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Watts-Energy/AzureFunctions.Extensions",
"max_stars_repo_path": "samples/Aliencube.AzureFunctions.FunctionApp.Functions/GetSamplesFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3400"
} | starcoder | #if NET461
using System;
using System.Net;
using System.Net.Http;
#endif
using System.Threading.Tasks;
using Aliencube.AzureFunctions.Extensions.DependencyInjection.Abstractions;
using Aliencube.AzureFunctions.FunctionApp.Services;
#if !NET461
using Microsoft.AspNetCore.Mvc;
#endif
using Microsoft.Extensions.Loggi... | 2.165895 | d9b06a3a027e3627cc1d75f9fd038151 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3400 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "itn3000/fluentmigrator",
"max_stars_repo_path": "src/FluentMigrator.Tests/Unit/Generators/SQLite/SQLiteColumnTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3401"
} | starcoder | using FluentMigrator.Runner.Generators.SQLite;
using NUnit.Framework;
using NUnit.Should;
namespace FluentMigrator.Tests.Unit.Generators.SQLite
{
[TestFixture]
public class SQLiteColumnTests : BaseColumnTests
{
protected SQLiteGenerator Generator;
[SetUp]
public void Setup()
... | 2.120854 | acb9d4cd83e0d5bfdfc4cec48c28efcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PRODUKTIVKELLER/Simple-Coroutines",
"max_stars_repo_path": "Runtime/Coroutines.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3402"
} | starcoder | using System;
using System.Collections;
using UnityEngine;
namespace Produktivkeller.SimpleCoroutines
{
public class Coroutines
{
private const float DEFAULT_ANIMATION_DURATION_IN_SECONDS = 1.0f;
private static IEnumerator AsynchronousLerpValue<T>(Action<T> updateAction, T startValu... | 2.80928 | c62da99e926ee61337dc9ebc57fc5e09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wtct/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/IDataTypeDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3403"
} | starcoder | <filename>src/Umbraco.Core/Models/IDataTypeDefinition.cs<gh_stars>0
using System;
using Umbraco.Core.Models.EntityBase;
namespace Umbraco.Core.Models
{
public interface IDataTypeDefinition : IUmbracoEntity
{
/// <summary>
/// Id of the DataType control
/// </summary>
G... | 2.111794 | bdf7510ebc7aa66a58d80435559118e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3403 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "dxball/mma",
"max_stars_repo_path": "RtspServer/MediaTypes/RFC6185Media.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3404"
} | starcoder | /*
This file came from Managed Media Aggregation, You can always find the latest version @ https://net7mma.codeplex.com/
<EMAIL> / (SR. Software Engineer ASTI Transportation Inc. http://www.asti-trans.com)
Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software and ... | 1.915304 | 2bc28b14800c6c217e09f2f771d655e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrankPfattheicher/Stonehenge4",
"max_stars_repo_path": "IctBaden.Stonehenge4.Test/Session/TestVm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3405"
} | starcoder | namespace IctBaden.Stonehenge.Test.Session;
// ReSharper disable once ClassNeverInstantiated.Global
public class TestVm
{
} | 1.048174 | 7b1a81480930148bed2ec8580a6f3496 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3405 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "KonH/GameSystem",
"max_stars_repo_path": "Core.Service/UseCase/GetConfig/GetSingleConfigStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3406"
} | starcoder | using System;
using System.Threading.Tasks;
using Core.Common.Config;
using Core.Service.Extension;
using Core.Service.Model;
using Core.Service.Repository.Config;
namespace Core.Service.UseCase.GetConfig {
public sealed class GetSingleConfigStrategy<TConfig> : IGetConfigStrategy<TConfig> where TConfig : IConfig {
... | 2.227086 | 7ca529db6bf31881645c40174a61d4cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3406 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "NewLifeX/BBX",
"max_stars_repo_path": "BBX.Forum/ScheduledEvents/TagsEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3407"
} | starcoder | <filename>BBX.Forum/ScheduledEvents/TagsEvent.cs
using BBX.Plugin.Mall;
namespace BBX.Forum.ScheduledEvents
{
public class TagsEvent : IEvent
{
public void Execute(object state)
{
//SpacePluginBase instance = SpacePluginProvider.GetInstance();
//AlbumPluginBase instance2... | 1.895002 | cb89db31a1719f4bb0ced7f9610d8d0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3407 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "CopperPenguin96/Redstone",
"max_stars_repo_path": "ProtocolSharp/Entities/EntityManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3408"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json.Serialization;
using ProtocolSharp.Entities.Entities;
using ProtocolSharp.Utils;
using Redstone.Reflection;
namespace ProtocolSharp.Entities
{
/// <summary>
/// Managing Class for all Entities
/// </summary>
pu... | 2.413956 | ec4f2217b32a0428b1dcaedbec7630d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3408 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hutao0527/MnNiuVideo",
"max_stars_repo_path": "src/MnNiuVideoApp/Models/CameraInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3409"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MnNiuVideoApp.Models
{
public class CameraInfo
{
public string FriendlyName { get; internal set; }
public int Index { get; internal set; }
public VideoCapabilities[] VideoCapabilities { get; internal set; }
... | 1.630401 | 59647b316a33f3e9f3dc2a3b7097f0cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3409 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "YaLTeR/SpriteFontPlus",
"max_stars_repo_path": "src/SpriteFontPlus/Cyotek.Drawing.Bitmap/Character.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3410"
} | starcoder | <reponame>YaLTeR/SpriteFontPlus
/* AngelCode bitmap font parsing using C#
* http://www.cyotek.com/blog/angelcode-bitmap-font-parsing-using-csharp
*
* Copyright © 2012-2015 Cyotek Ltd.
*
* Licensed under the MIT License. See license.txt for the full text.
*/
using Microsoft.Xna.Framework;
namespace Cyotek.Drawi... | 2.744157 | 956c557abe45fd2fca01874a3fc8f75c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3410 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TwentyFourMinutes/BackgroundTaskQueue",
"max_stars_repo_path": "src/BackgroundTaskQueue/BackgroundQueue/IBackgroundTaskQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3411"
} | starcoder | using BackgroundQueue.Models;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BackgroundQueue
{
public interface IBackgroundTaskQueue : IDisposable
{
/// <summary>
/// Adds a new <see cref="Task"/> to the Queue, which will get processed in a background thread. This method will retu... | 3.126574 | 727677b293f6117984dd20ebd874653a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3411 | {
"extension": "c-sharp",
"max_stars_count": "989.0",
"max_stars_repo_name": "kazet723/ProjectPSX",
"max_stars_repo_path": "ProjectPSX.WinForms/Interop/Gdi32.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3412"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Security;
namespace ProjectPSX.Interop.Gdi32
{
internal enum BitmapCompression : uint
{
BI_RGB = 0,
BI_RLE8 = 1,
BI_RLE4 = 2,
BI_BITFIELDS = 3,
BI_JPEG = 4,
BI_PNG = 5,
}
[StructLayout(Lay... | 2.088204 | 90ea0c76353b7c4dc57e91c0776caf0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "notnyt/ShokoServer",
"max_stars_repo_path": "Shoko.Server/Utilities/LeanWork/IO/FileSystem/BufferingFileSystemWatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3413"
} | starcoder | <filename>Shoko.Server/Utilities/LeanWork/IO/FileSystem/BufferingFileSystemWatcher.cs
using LeanWork.IO.FileSystem.Watcher.LeanWork.IO.FileSystem;
using System;
using System.IO;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
usi... | 2.330956 | 6849d0c240075bbba4d30c18981dad0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3413 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "JohanLarsson/Gu.Geometry",
"max_stars_repo_path": "Gu.Wpf.Geometry/Internals/Binding/CornerRadiusTopRightConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3414"
} | starcoder | namespace Gu.Wpf.Geometry
{
using System.Windows;
[System.Windows.Data.ValueConversion(typeof(CornerRadius), typeof(double))]
internal sealed class CornerRadiusTopRightConverter : CornerRadiusConverter
{
internal static readonly CornerRadiusTopRightConverter Default = new();
private Co... | 2.16463 | 69d6396eeb2e5bdeddd9b62875de3306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3414 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "tainicom/Aether",
"max_stars_repo_path": "Source/Engine/AetherEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3415"
} | starcoder | #region License
// Copyright 2015 <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 applica... | 2.239631 | b51e9341341856348144b8b87248c84a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cladisch/npgsql",
"max_stars_repo_path": "src/Npgsql/Schema/NpgsqlDbColumn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3416"
} | starcoder | using System;
using JetBrains.Annotations;
using Npgsql.PostgresTypes;
using NpgsqlTypes;
#if !NET461
using System.Data.Common;
#endif
#pragma warning disable 1591
namespace Npgsql.Schema
{
/// <summary>
/// Provides schema information about a column.
/// </summary>
/// <remarks>
/// Note that t... | 2.260396 | 2364b10a9a043a71f5cb9482d1bf8a05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ca0v/SQLSpatialTools",
"max_stars_repo_path": "KMLProcessor/Import/Polygon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3417"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Types;
namespace Microsoft.SqlServer.SpatialToolbox.KMLProcessor
{
/// <summary>
/// This class contains the information about a polygon extracted from the KML file
/// </summary>
public class Polygon : Geography
{
#re... | 2.895636 | 0546e2fe7601c6f327314bda4dc007fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "szymanskilukasz/Lean",
"max_stars_repo_path": "Tests/Common/Statistics/StatisticsBuilderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3418"
} | starcoder | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | 2.096069 | ded6c12878f05f00223951a33e9a273b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3418 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "johnfelipe/Virtual-Universe",
"max_stars_repo_path": "Universe/Framework/Services/ClassHelpers/Profile/IUserProfileInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3419"
} | starcoder | <gh_stars>1-10
/*
* Copyright (c) Contributors, http://virtual-planets.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
* For an explanation of the license of each contributor and the content it
* covers please see the Licenses directory.
*
* Redistribution and use in source and binary for... | 1.914698 | 34f6355bcda062208ba6fe81e66661bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m4cx/stream-community",
"max_stars_repo_path": "src/StreamCommunity.Application/ViewerGames/Enlistments/EventHandler/PlayerWithdrawEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3420"
} | starcoder | <reponame>m4cx/stream-community
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using MediatR;
using StreamCommunity.Application.ChatMessages;
using StreamCommunity.Application.Common;
using StreamCommunity.Application.Persistence;
using StreamCommun... | 1.812574 | 4505b7c63f442a523f5ccb53c6abe6d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mariano-nick/PortScanner",
"max_stars_repo_path": "PortScanner/PortScanner/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3421"
} | starcoder | using System;
using System.Net.Sockets;
using System.Net;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Threading;
namespace PortScanner
{
/// <summary>
/// Port Scanner - Enter an IP address and a port range where the program will then attem... | 3.248528 | 073b9e7e710e368696019ec89f6d514e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tareqimbasher/vs-session-manager",
"max_stars_repo_path": "src/SessionManagerExtension.Core/Settings/SolutionSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3422"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace SessionManagerExtension.Settings
{
/// <summary>
/// Represents the configuration of a solution.
/// </summary>
public class SolutionSettings
{
public Solut... | 2.594165 | 3c1f6e0fdfc3579e589f333f828d2097 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3422 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "cx20/glTF-Asset-Generator",
"max_stars_repo_path": "Source/Runtime/Scene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3423"
} | starcoder | <filename>Source/Runtime/Scene.cs
using System.Collections.Generic;
namespace AssetGenerator.Runtime
{
internal class Scene
{
public string Name { get; set; }
public IEnumerable<Node> Nodes { get; set; }
}
}
| 1.946051 | 5fe48f9c58ca73ca16b626d873085542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Silvenga/Katalye",
"max_stars_repo_path": "src/Katalye.Host/SignalR/PostgreSqlOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3424"
} | starcoder | namespace Katalye.Host.SignalR
{
public class PostgreSqlOptions
{
public string Prefix { get; set; }
}
} | 1.114939 | b26cd233957213cd634ff19cbe30f480 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3424 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Refinitiv-API-Samples/Example.WebSocketAPI.CSharp.MRNWebSocketViewer",
"max_stars_repo_path": "MRNManager/Events/MrnErrorEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3425"
} | starcoder | <filename>MRNManager/Events/MrnErrorEventArgs.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace MarketDataWebSocket.Events
{
public class MrnErrorEventArgs
{
public DateTime TimeStamp { get; set; }
public string ErrorMessage { get; set; }
}
}
| 1.680366 | 08f3de49ecd4bb42a850bb1d223ca046 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3425 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NISystemsEngineering/rf-adv-reference-design-libraries-csharp",
"max_stars_repo_path": "Examples/WLAN_AMPM_DEVM_SEM/WLAN_AMPM_DEVM_SEM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3426"
} | starcoder | <filename>Examples/WLAN_AMPM_DEVM_SEM/WLAN_AMPM_DEVM_SEM.cs
using NationalInstruments.ModularInstruments.NIRfsg;
using NationalInstruments.RFmx.InstrMX;
using NationalInstruments.RFmx.WlanMX;
using NationalInstruments.RFmx.SpecAnMX;
using System;
using static NationalInstruments.ReferenceDesignLibraries.SG;
namespace... | 1.845422 | 0717d4efca8d29a93d7cc8b6670e3b99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovichikhinAlexey/Lykke.Service.PayInternal",
"max_stars_repo_path": "src/Lykke.Service.PayInternal.Core/PaymentDirection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3427"
} | starcoder | <filename>src/Lykke.Service.PayInternal.Core/PaymentDirection.cs<gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Lykke.Service.PayInternal.Core
{
[JsonConverter(typeof(StringEnumConverter))]
public enum PaymentDirection
{
Incoming = 0,
Outgoing
}
}
| 1.591426 | be38e5a5aa19d14b4d7f564e41561bba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pjcollins/sdk",
"max_stars_repo_path": "src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProjectWithTransitiveDeps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3428"
} | starcoder | <reponame>pjcollins/sdk
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using FluentAssertions;
using Microsoft.NET.TestFramework;
using Microsoft.NET.TestFramew... | 1.813382 | 4c6f71ec037493081fad0eb688a7a500 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "val-scribestar/CombatRadar",
"max_stars_repo_path": "src/MainActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3429"
} | starcoder | namespace CombatRadar
{
using System.Linq;
using Android.Locations;
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Views;
[Activity(Label = "Combat Radar", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity, ILocationListener
... | 2.259569 | 28bdf7ce8ae71f32fab9a9c4e3dfda26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3429 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "sky-uk/NDomain",
"max_stars_repo_path": "source/NDomain.Tests/EventSourcing/EventStoreSerializerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3430"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NDomain.Tests.EventSourcing
{
public class EventStoreSerializerTests
{
}
}
| 0.862336 | 5c83dc1a073b2af17a775122ec44690b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3430 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OliverBathurst/OSPM",
"max_stars_repo_path": "Domain/DomainObjectKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3431"
} | starcoder | using System;
public abstract class DomainObjectKey {
private Guid InternalIdentifier;
public DomainObjectKey() => InternalIdentifier = Guid.NewGuid();
public Guid Key { get => InternalIdentifier; }
public override string ToString() => $"{GetType()} #{InternalIdentifier}";
} | 2.579571 | cd4f0bc52b6106ef942542712018a389 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3431 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "yuanrui/CodeGenerator",
"max_stars_repo_path": "Banana.AutoCode/Core/CustomHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3432"
} | starcoder | using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Banana.AutoCode.DbSchema;
using Microsoft.VisualStudio.TextTemplating;
using Mono.TextTemplating;
namespace Banana.AutoCode.Core
{
[Serializable]
... | 2.414721 | fc45b2c4c90e730a72f41dfd4605ef50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3432 | {
"extension": "c-sharp",
"max_stars_count": "334.0",
"max_stars_repo_name": "nhatphuongb1/Restaurant-App",
"max_stars_repo_path": "src/Client/Restaurant.Client/Restaurant.Abstractions/Facades/INavigationFacade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3433"
} | starcoder | using System.Threading.Tasks;
using ReactiveUI;
namespace Restaurant.Abstractions.Facades
{
public interface INavigationFacade
{
Task PushAsync(IViewFor page);
Task PushModalAsync(IViewFor page);
Task PopModalAsync(bool animated);
Task NavigateToMainPage(IViewFor page);
... | 1.52702 | 3ac8f76d635f1bfaf355e629439f7125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielEverland/project-tuba-public",
"max_stars_repo_path": "Assets/Scripts/Components/DamageOnTouch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3434"
} | starcoder | <reponame>DanielEverland/project-tuba-public
using UnityEngine;
public class DamageOnTouch : MonoBehaviour, IAbilityObject, IAbilityObjectSpawner
{
[SerializeField]
private Entity owner = null;
[SerializeField]
private AbilityAction action = null;
[SerializeField]
private LayerMask ig... | 2.11718 | de33e21025eceb3a8dea56fa588dbce3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3434 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zuhuizou/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Invoice/UploadInvoiceDetailRequestModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3435"
} | starcoder | using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Invoice
{
public partial class UploadInvoiceDetailRequestModel : PddRequestModel
{
/// <summary>
/// 发票抬头
/// </summary>
[JsonProperty("payer_name")]
public string PayerName { get; set; }
/// <summary>
... | 1.923267 | 9d62800273889beb4ed14dd100dd117c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgianastasov/Shop-Storage-System",
"max_stars_repo_path": "Shop-Store-System/Shop-Store-System/BusinessLogic/DealerCustomer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3436"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Shop_Store_System.BusinessLogic
{
class DealerCustomer
{
private string name;
private string email;
private string contact... | 2.67822 | b784f7975a637410cdefd52f5866c12e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3436 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KostadinovK/Algorithms",
"max_stars_repo_path": "01-Recursion-Sorting-And-Searching-Algos/Recursion-Homework/01-Reverse-Array/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3437"
} | starcoder | using System;
using System.Linq;
public class Program
{
public static void Main()
{
int[] arr = Console.ReadLine().Split().Select(int.Parse).ToArray();
arr = ReverseArray(arr,0, arr.Length - 1);
Console.WriteLine(string.Join(" ", arr));
}
private static int[] ReverseArray(in... | 3.61188 | c1b13164ba42db664cb3ab6c1b7c9cea |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.