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 | 74333 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.Application.Abstractions/Commands/Transactions/MakeNotifyUserOfTransactionBroadcastCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74334"
} | starcoder | using MediatR;
using Opdex.Platform.Common.Models;
using System;
namespace Opdex.Platform.Application.Abstractions.Commands.Transactions;
/// <summary>Attempts to notify a user of a transaction which has been broadcast.</summary>
public class MakeNotifyUserOfTransactionBroadcastCommand : IRequest
{
public MakeNot... | 2.2496 | e56a69407c5dd5e936b11a9a81952f39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74334 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "armadillo-systems/inquire",
"max_stars_repo_path": "iNQUIRE.v2/Models/IUserNoteRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74335"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace iNQUIRE.Models
{
public interface IUserNoteRepository<T, V>
{
T NoteAdd(Guid application_id, string lang_id, string user_id, V item_id, string text, bool public_note);
T NoteUpdate(Guid note_id, stri... | 2.001447 | e4c6dedbb2c0c35d8b52c737e074ef14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74335 | {
"extension": "c-sharp",
"max_stars_count": "375.0",
"max_stars_repo_name": "sunitasahuu/AutomateThePlanet-Learning-Series.",
"max_stars_repo_path": "dotnet/AutomationTools-Series/WebDriverGoogleLighthouse/Lighthouse/Nodes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74336"
} | starcoder | using Newtonsoft.Json;
namespace WebDriverGoogleLighthouse
{
public class Nodes
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("resourceBytes")]
public double ResourceBytes { get; set; }
[JsonProperty("unusedBytes")]
public double? Unuse... | 1.724686 | ef1764359c800cf33899d9006e4fafb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74336 | {
"extension": "c-sharp",
"max_stars_count": "336.0",
"max_stars_repo_name": "marcin-brzozowski/serilog-sinks-elasticsearch",
"max_stars_repo_path": "src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/Durable/APayloadReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74337"
} | starcoder | // Serilog.Sinks.Seq Copyright 2017 Serilog Contributors
//
// 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 appli... | 2.485857 | 1e70a10d4c4a2b88e2572cca1eaca0d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74337 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "vavilichev/UnityGameArchitecturePreset",
"max_stars_repo_path": "Assets/VavilichevGD/Architecture/GameSettings/Scripts/ISettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74338"
} | starcoder | namespace VavilichevGD.Architecture.Settings {
public interface ISettings {
void Save();
}
} | 1.61593 | b193193c88497fde2b3489e198af5ea7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janmarques/OpenWeatherMap-API-CSharp",
"max_stars_repo_path": "OpenWeatherAPI/Sys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74339"
} | starcoder | <reponame>janmarques/OpenWeatherMap-API-CSharp
using Newtonsoft.Json.Linq;
using System;
using System.Globalization;
namespace OpenWeatherAPI
{
public class Sys
{
private readonly DateTime sunset;
public int Type { get; }
public int ID { get; }
public double Message { get; }
public string Country { ge... | 2.966238 | 5acb06babc6f201a67d2010b791f6979 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74339 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "daviddays/ChromeDevTools",
"max_stars_repo_path": "source/ChromeDevTools/Protocol/iOS/IndexedDB/RequestDatabaseNamesCommandResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74340"
} | starcoder | using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.IndexedDB
{
/// <summary>
/// Requests database names for given security origin.
/// </summary>
[CommandResponse(ProtocolName.IndexedDB.RequestDatabaseNames)]
[S... | 2.081887 | 6ce5a9b9f93bfdd9fcb0197af90a6877 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74340 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "FreeXMelody/RapidController",
"max_stars_repo_path": "rapid2Controler/customMessageBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74341"
} | starcoder | using ABB.Robotics.Controllers.RapidDomain;
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 rapid2Controler
{
public partial class customM... | 2.13074 | 19e4e993d44609ded22e60cd66af0283 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74341 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "negri/wotclans",
"max_stars_repo_path": "WoTStat/PutDataRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74342"
} | starcoder | using Newtonsoft.Json;
namespace Negri.Wot
{
/// <summary>
/// A request to put data on the remote server
/// </summary>
public class PutDataRequest
{
/// <summary>
/// The API Key
/// </summary>
public string ApiKey { get; set; }
/// <summary>
/// T... | 3.036359 | 4e7e0931d8c07212ac596dfd953210ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EiLucas/CeuEscuro",
"max_stars_repo_path": "Sistema/CeuEscuro/CeuEscuro.BLL/UsuarioBLL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74343"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CeuEscuro.DAL;//Inserido manualmente
using CeuEscuro.DTO;//Inserido manualmente
namespace CeuEscuro.BLL
{
public class UsuarioBLL
{
//Instanciando objeto
UsuarioDAL objBLL ... | 2.724612 | 8b82cc01881fdb9472b6bac013efc46e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74343 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SuiMachine/Steam-Overlay-Hooking-Helper",
"max_stars_repo_path": "Steam-Overlay-Hooking-Tool/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74344"
} | starcoder | <reponame>SuiMachine/Steam-Overlay-Hooking-Helper
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using ... | 2.018025 | 3417bbbf332002287ff42790824346e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74344 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jrierapeiro/CodeAnalyzer",
"max_stars_repo_path": "Tests/CodeAnalyzer.Tests.Helpers/DiagnosticTestHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74345"
} | starcoder | <filename>Tests/CodeAnalyzer.Tests.Helpers/DiagnosticTestHelpers.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microso... | 2.47452 | 79ef2c07684ab1e2221e27feda9d7332 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PavelTorgashov/nfx",
"max_stars_repo_path": "Source/NFX/Log/Destinations/CSVFileDestination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74346"
} | starcoder | <reponame>PavelTorgashov/nfx<filename>Source/NFX/Log/Destinations/CSVFileDestination.cs
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2014 IT Adapter Inc / 2015 Aum Code LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... | 2.164051 | d4cad55de6e6cab6326c33d87848816a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74346 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niki-funky/Telerik_Academy",
"max_stars_repo_path": "Programming/01.Csharp/02. Primitive Data types/04.ValueOf254InHex/04.ValueOf254InHex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74347"
} | starcoder | <filename>Programming/01.Csharp/02. Primitive Data types/04.ValueOf254InHex/04.ValueOf254InHex.cs
using System;
namespace PrimitiveDataTypes
{
class ValueOf254InHex
{
//Declare an integer variable and assign it with the value 254
//in hexadecimal format. Use Windows Calculator to find its hexa... | 3.794403 | 405eee3c926088d2bfaaccba9655502a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74347 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "arduano/Kiva",
"max_stars_repo_path": "Kiva-MIDI/MIDI/TimedMerger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74348"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kiva.MIDI
{
class TimedMerger<T> : IEnumerable<T>
where T : struct
{
class Iterator : IEnumerator<T>
{
pu... | 2.997152 | ac73e4cff851288df6db10800e97cb46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeselinovStf/Building-Enterprise-Mobile-Application",
"max_stars_repo_path": "src/Mobile/src/BethanyPieShop/BethanyPieShop.Android/SplashActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74349"
} | starcoder | <gh_stars>0
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using BethanyPieShop.Droid;
namespace BethanysPieShop.Mobile.Droid
{
[Activity(Label = "Bethanys Pie Shop",
Icon = "@drawable/ic_pies",
Theme = "@style/SplashTheme",
MainLauncher = true,
... | 1.765845 | 9ed516d62b3b1b572ddb8f46c7c06585 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wieschoo/Unity3D-Disassembler",
"max_stars_repo_path": "Source/Unity/CompressedFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74350"
} | starcoder | <reponame>wieschoo/Unity3D-Disassembler<gh_stars>1-10
using System;
using System.IO;
using Unity3DDisassembler.IO;
namespace Unity3DDisassembler.Unity
{
public class CompressedFile
{
/// <summary>
/// Parses the header and thats it
/// </summary>
/// <param name="file">Compress... | 2.744682 | 6aff5fb6715ba38c098991d74bec45ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "humra/MultiplayerFPS",
"max_stars_repo_path": "MultiplayerPewPew/Assets/Scripts/PlayerShoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74351"
} | starcoder | <reponame>humra/MultiplayerFPS<filename>MultiplayerPewPew/Assets/Scripts/PlayerShoot.cs<gh_stars>0
using UnityEngine;
using UnityEngine.Networking;
[RequireComponent(typeof(WeaponManager))]
public class PlayerShoot : NetworkBehaviour {
private Weapons currentWeapon;
[SerializeField]
private Camera mainC... | 2.267072 | d6685622cd7de647c61a5d3f99669b56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "revaturelabs/fakebook-profile",
"max_stars_repo_path": "Fakebook.Profile/Fakebook.Profile.DataAccess/EntityModel/EntityProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74352"
} | starcoder | <reponame>revaturelabs/fakebook-profile
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fakebook.Profile.DataAccess.EntityModel
{
/// <summary>
/// Database model of a profile.
/// </summary>
public class EntityProfile
{
... | 2.803751 | 6776e8132b874f25396418d81194630d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74352 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Rusev12/Software-University-SoftUni",
"max_stars_repo_path": "C# Advanced/Stacks and Queues/6. Truck Tour vs2/TruckTourVs2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74353"
} | starcoder | namespace _6.Truck_Tour_vs2
{
using System;
using System.Collections.Generic;
using System.Linq;
public class TruckTourVs2
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
Queue<int[]> pumps = new Queue<int[]>();
for (int i =... | 3.628749 | a9f8b593d45471f28e65ee2bfa68d165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74353 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MikhailMasny/awesome-pizza-app",
"max_stars_repo_path": "src/Masny.Food.Logic/Models/ProductsAndNameDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74354"
} | starcoder | <filename>src/Masny.Food.Logic/Models/ProductsAndNameDto.cs
using System.Collections.Generic;
namespace Masny.Food.Logic.Models
{
/// <summary>
/// Product list with name data transfer obejct.
/// </summary>
public class ProductsAndNameDto
{
/// <summary>
/// Product name.
... | 2.606531 | 78fc1b836ac573f9f1bf9cd566221fa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74354 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "henriktao/pulumi-azure",
"max_stars_repo_path": "sdk/dotnet/Media/Inputs/ServiceAccountStorageAccountGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74355"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.781536 | 92cad971f7d06d778235fa281ae2eef7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74355 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs0146-6.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74356"
} | starcoder | // CS0146: Circular base class dependency involving `B<T>' and `A<float>'
// Line: 8
class A<T> : B<int>
{
}
class B<T> : A<float>
{ }
class X
{
static void Main ()
{ }
}
| 2.10651 | 08818a27f09be43530ed5f78940b1afa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74356 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jlbarreda/Paravaly",
"max_stars_repo_path": "src/Paravaly/ParameterExtensions.Guid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74357"
} | starcoder | <reponame>jlbarreda/Paravaly
using System;
using Paravaly.Extensibility;
using Paravaly.Resources;
namespace Paravaly
{
/// <content>
/// Guid extensions.
/// </content>
public static partial class ParameterExtensions
{
#region IsNotEmpty
/// <summary>
/// Validates whether the parameter value is empty.
... | 2.437761 | e6fa83698f4555ad690747781a4c3876 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavBarov/Programming-Fundamentals",
"max_stars_repo_path": "Exercise/09. Lambda and LINQ - Exercise/09. Lambda and LINQ - More Exercise/02.OrderedBankingSystem/OrderedBankingSystem.cs",
"provenance": "train-00000-of-00045.jsonl.g... | starcoder | <reponame>BorislavBarov/Programming-Fundamentals<filename>Exercise/09. Lambda and LINQ - Exercise/09. Lambda and LINQ - More Exercise/02.OrderedBankingSystem/OrderedBankingSystem.cs
namespace OrderedBankingSystem
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Ordered... | 3.59991 | 0bb51e060b1f70eb5bba8787a96e3f38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74358 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "TdMxm/DependenciesTracker",
"max_stars_repo_path": "DependenciesTracker/DependencyTracker/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74359"
} | starcoder | <filename>DependenciesTracker/DependencyTracker/Properties/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyDescription("Brings infrastructure for observing property paths changes and automatically updating properties that depend on that paths.")]
[assembly: Assembly... | 2.070138 | ab4caa33dda2884c2832c019fccd26f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Johannes-Schneider/RiotSharp",
"max_stars_repo_path": "RiotSharp/Endpoints/ClientEndpoint/GameEvents/BaseKilledWithAssistsGameEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74360"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace RiotSharp.Endpoints.ClientEndpoint.GameEvents
{
/// <summary>
/// Represents a generic <see cref="BaseKilledGameEvent" /> where other summoners (besides the actual killer) contributed.
/// </summary>
public abstract class BaseKille... | 2.439558 | df515a6a7b17437ee7aa0b3153d7e5b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Canvastudio/Prometheus",
"max_stars_repo_path": "Design/EfficiencyShow/Assets/Scripts/SuperUI/SuperLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74361"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Scripts.SuperUI
{
/// <summary>
/// 根据自己的子物体数量,按照指定方向自动扩展宽高,注意它会改变容器的尺寸与锚点(povit)
/// 实现ISuperLayoutSort接口以排序
/// </summary>
public class SuperLayout : MonoBehaviour
{
/// <summary>
/// 往哪个方向扩展... | 2.462208 | 108a0ce09c83bca6f093873d97bbc481 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "G-Shep/EmberForge",
"max_stars_repo_path": "Assets/CharacterAspectsManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74362"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CharacterAspectsManager : MonoBehaviour {
public Dropdown Race;
public Dropdown Class;
public InputField Level;
public Dropdown Background;
public InputField PlayerName;
public In... | 2.477479 | 346ee17751adf3454f3d6affab6f4533 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74362 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "Mephistofeles/forge",
"max_stars_repo_path": "Forge.Entities/API/DataReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74363"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2013 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated documentation files (the "Software"), to deal in the Software without restriction,
// including without limitation the rights to use, copy, modi... | 2.314563 | 0d06830ccd6ec22a5b5bc1090b1a11ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wmtorode/ModTek",
"max_stars_repo_path": "ModTek/Patches/VersionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74364"
} | starcoder | using System.Reflection;
using Harmony;
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
namespace ModTek.Patches
{
/// <summary>
/// Patch the GetReleaseVersion method to tack on the ModTek version to the game version in the main menu
/// </summary>
[HarmonyPatch(typeo... | 2.481953 | f0a76216b940c1fb8810dd12ab803155 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pc2x/PaginacionWCF",
"max_stars_repo_path": "pc2x.Paginacion.Solution/pc2x.Paginacion.WCF.Core/Dtos/ConceptoDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74365"
} | starcoder | <filename>pc2x.Paginacion.Solution/pc2x.Paginacion.WCF.Core/Dtos/ConceptoDto.cs
namespace pc2x.Paginacion.WCF.Core.Dtos
{
public class ConceptoDto
{
public int Id { get; set; }
public string Descripcion { get; set; }
public decimal Importe { get; set; }
public int Cantidad { ge... | 1.706322 | de0255758d785dfc17697d7ccda267b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thelad43/CSharp-MVC-Frameworks-ASP.NET-Core-SoftUni",
"max_stars_repo_path": "03. Eventures Inc/Eventures.Web/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74366"
} | starcoder | @using Eventures.Web.Areas.Identity.Pages.Account.Manage | 1.318478 | e8b5417f17564afa9a343976707896cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AntonioVT/azure-sdk-for-net",
"max_stars_repo_path": "sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CapacityReservationUtilization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74367"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> R... | 1.687204 | f2c236ddc2f9e79187798026f764ad37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DouglasUrner/GDP-Tetris",
"max_stars_repo_path": "Tetris/Assets/Scripts/Tetromino.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74368"
} | starcoder | <gh_stars>0
using UnityEngine;
public class Tetromino : MonoBehaviour {
float _lastFall = 0;
// Use this for initialization
private void Start () {
if (!IsValidGridPosition()) {
Debug.Log("Game over.");
Destroy(gameObject);
}
}
// Update is called once per frame
private void Update () {
// User w... | 2.278714 | ca612125acd086849930a71c8eb8e3d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mhejle/geh-market-roles",
"max_stars_repo_path": "source/business-workflow/source/Energinet.DataHub.MarketData.EntryPoint/InternalCommandExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74369"
} | starcoder | // Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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... | 1.658357 | 1cf8b8a04da364d5043dce430e350ee4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusiness/MAVN.Job.BlockchainLoadTesting",
"max_stars_repo_path": "src/MAVN.Job.BlockchainLoadTesting/Settings/JobSettings/BlockchainLoadTestingJobSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74370"
} | starcoder | <gh_stars>0
namespace MAVN.Job.BlockchainLoadTesting.Settings.JobSettings
{
public class BlockchainLoadTestingJobSettings
{
public DbSettings Db { get; set; }
public RabbitMqSettings RabbitMq { get; set; }
}
}
| 0.52206 | 206723b1452961b1d405e1ca4e4eb5f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giacomelli/DevAchievements",
"max_stars_repo_path": "src/DevAchievements.Infrastructure.Web/UI/FluentUI/Table/TableFluentUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74371"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.Mvc;
using HelperSharp;
using Skahal.Infrastructure.Framework.Text;
using System.Collections;
using System.Collections.Generic;
namespace DevAchievements.Infrastructure.Web.UI.FluentUI
{
public class TableFluentUI<TRow>... | 2.582915 | d5c02fbecaf70faa060aa1fede2bc83c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StormDevelopmentSoftware/DisCatSharp",
"max_stars_repo_path": "DisCatSharp.Interactivity/EventHandling/EventWaiter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74372"
} | starcoder | // This file is part of the DisCatSharp project.
//
// Copyright (c) 2021 AITSYS
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the ri... | 2.414345 | 3d55a34eaf5b8c6d22924cb0138d4486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74372 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "dignati/cscore",
"max_stars_repo_path": "CsCore/CsCoreUnity/Plugins/CsCoreUnity/com/csutil/logging/LogConsoleEntryUi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74373"
} | starcoder | using ReuseScroller;
using UnityEngine.UI;
namespace com.csutil.logging.ui {
public class LogConsoleEntryUi : BaseCell<LogEntry> {
public Text logText;
public Image background;
public Text icon;
public override void UpdateContent(LogEntry item) {
logText.text = item.... | 2.132007 | ea7db59effc3a16f2a143ca4930c8f3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avan06/AsmJit",
"max_stars_repo_path": "AsmJit/CompilerContext/Intrinisics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74374"
} | starcoder | using AsmJit.Common;
using AsmJit.Common.Operands;
namespace AsmJit.CompilerContext
{
public partial class CodeContext
{
public class Intrinisics
{
private CodeContext c;
public XmmVariable _mm_add_ss(XmmVariable a, XmmVariable b)
{
c.Emit(I... | 2.158394 | f86e765bc777a11e6ec0148f13e4d32a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74374 | {
"extension": "c-sharp",
"max_stars_count": "223.0",
"max_stars_repo_name": "ohio813/WindowsRpcClients",
"max_stars_repo_path": "Win10_20H1/windows.internal.devices.bluetooth.dll/5dea026d-f999-40b1-a234-2164fd086783_1.0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74375"
} | starcoder | <filename>Win10_20H1/windows.internal.devices.bluetooth.dll/5dea026d-f999-40b1-a234-2164fd086783_1.0.cs<gh_stars>100-1000
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Change... | 1.86507 | 3eeb2af14e5ec88b52f14c1bed72fc65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ogycode/CSharpLinq",
"max_stars_repo_path": "src/CSharpLinq/Examples/Example1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74376"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharpLinq.Examples
{
public static class Example1
{
/// <summary>
/// В этом примере выбираем все города, которые начинаются на букву М и сортируем их по возрастанию
/// </summary>
public static void ... | 3.882986 | cbab2a65cc8e6c08d6bf69d0de20d860 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74376 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gradientspace/ARKitProjectArchive",
"max_stars_repo_path": "MineScannerDemo/Assets/ARKitTool/ARKitSim/ARKitStreamPlayback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74377"
} | starcoder | using System;
using System.Collections;
using System.IO;
using g3;
namespace gs
{
public class ARKitStreamPlayback
{
ARKitStream source;
VideoStream video_source;
int N = 0;
int cur_frame = 0;
int cur_video_frame = 0;
float sourceTimeShift = 0;
float liveTimeShift = 0;
// add handlers to play resul... | 2.365291 | 95915506e4729ed6750fb1ca5d77c67e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74377 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "eznew-net/EZNEW.Develop",
"max_stars_repo_path": "EZNEW/Logging/LogManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74378"
} | starcoder | using System;
using Microsoft.Extensions.Logging;
using EZNEW.DependencyInjection;
using EZNEW.Queue;
namespace EZNEW.Logging
{
/// <summary>
/// Log manager
/// </summary>
public static class LogManager
{
#region Fields
/// <summary>
/// Gets or sets the default logger ca... | 2.760219 | d4fdc86deabf2270487b97de1f0427b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74378 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "powerumc/AspNet-Blog",
"max_stars_repo_path": "Web/Common/Trackback.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74379"
} | starcoder | <filename>Web/Common/Trackback.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Sy... | 1.828231 | e51c60badd993ef67e720014276fdef6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beppemarazzi/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.SharpDX.Shared/Model/Scene/DynamicReflectionNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74380"
} | starcoder | /*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
using SharpDX;
using System.Collections.Generic;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model.Scene
#else
namespace HelixToolkit.Wpf.SharpDX.Model.Scene
#endif
{
using Core;
using Render;
public class DynamicReflectionNode : Gr... | 2.145468 | b6b8029c66df0188d951c67a9d58a6a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74380 | {
"extension": "c-sharp",
"max_stars_count": "1794.0",
"max_stars_repo_name": "richamo/wcf",
"max_stars_repo_path": "src/dotnet-svcutil/lib/src/FrameworkFork/System.ServiceModel/System/ServiceModel/Channels/HttpResponseMessageHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74381"
} | 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.Diagnostics.Contracts;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Runtime;
... | 1.970219 | 5b600684fc757b7855f2ae57b7e4fb65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "12142020-dotnet-uta/DanielGeiserRepo1",
"max_stars_repo_path": "Project_1/BusinessLayer/StoreLevelPrograms.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74382"
} | starcoder | <reponame>12142020-dotnet-uta/DanielGeiserRepo1
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using ModelLayer;
using ModelLayer.ViewModels;
using RepositoryLayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
... | 2.172283 | 0728d40db2f6aa5a72a830f1ac6e5f9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panxin1213/NetCommonLibrary",
"max_stars_repo_path": "Common.Libray/System/DateTimeDiff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74383"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Common.Library.Extensions
{
/*
/// <summary>
/// 计算日期的间隔(静态类)
/// </summary>
public static class DateTimeDiff
{
/// <summary>
/// 计算日期间隔
/// </summary>
/// <param nam... | 3.224894 | 3cb4b80431dc51bece01b37718fbcc64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sawas/iSabaya.OneSignal",
"max_stars_repo_path": "iSabaya.OneSignal/Devices/DeviceTypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74384"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iSabaya.OneSignal.Devices
{
/// <summary>
/// Device types enum.
/// </summary>
public enum DeviceTypeEnum
{
/// <summary>
/// Apple operating system compat... | 2.200088 | 4e735b009f25545089145f80872866d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74384 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "raphaelmun/Xen",
"max_stars_repo_path": "StarterKits/TwinStickShooter/Textures.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74385"
} | starcoder | using Microsoft.Xna.Framework.Graphics;
using Xen2D;
namespace TwinStickShooter
{
enum TexId : int
{
[ContentIdentifier( "textures\\cockpit_red" )]
Cockpit_Red,
[ContentIdentifier( "textures\\engine_pod_left" )]
Engine_Pod_Left,
[ContentIdentifier( "textures\\... | 2.605781 | c734e71e6cc118396fd6be3cf17371f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74385 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "atst1996/Gouter",
"max_stars_repo_path": "Gouter/ViewModels/AlbumTrackViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74386"
} | starcoder | using System.ComponentModel;
using System.Windows.Data;
using Gouter.Components.Mvvm;
namespace Gouter.ViewModels
{
/// <summary>
/// アルバムのトラック情報リスト
/// </summary>
internal class AlbumTrackViewModel : NotificationObject
{
/// <summary>
/// アルバム情報
/// </summary>
publ... | 2.423495 | 7a90ce02ec94b43c20cfd7dfcc1eb101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharwell/vs-mef",
"max_stars_repo_path": "src/Microsoft.VisualStudio.Composition/ComposedPart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74387"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.VisualStudio.Composition
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Ref... | 1.944798 | d1c9ece5ce7ffd47cf17fe9e9d0e7ab6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moccbc/Deserted",
"max_stars_repo_path": "Assets/Scripts/PerlinNoiseTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74388"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PerlinNoiseTest : MonoBehaviour
{
public GameObject CurrBlockType;
public float amplitude = 2.5f;
public float frequency = 5f;
public const float COLUMNS = 20f;
public const float ROWS = ... | 2.37472 | 7a6da7d8547625089a3e356e43e3edd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MobiCommunity/Lapka.Pets",
"max_stars_repo_path": "Lapka.Pets.Application/Services/IValueRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74389"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using Lapka.Pets.Application.Dto;
using Lapka.Pets.Core.Entities;
namespace Lapka.Pets.Application.Services
{
public interface IValueRepository
{
Task AddValue(Value value);
Task<ValueDto> GetById(Guid id);
}
} | 1.407421 | 0c774a56f56840845ea35dad9c0c23a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74389 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "qmgindi/Au",
"max_stars_repo_path": "Au.Controls/KPanels/dock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74390"
} | starcoder | <reponame>qmgindi/Au
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Controls.Primitives;
namespace Au.Controls
{
public partial class KPanels
{
partial class _Node
{
[Flags]
enum _DockState { Hide = 1, Float = 2, }
void _Caption... | 1.539128 | b541adcddcc56046a6845d6f25dfbff0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74390 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danwale/msgtool",
"max_stars_repo_path": "src/azmsg/powerbi/PowerBICommandController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74391"
} | starcoder | <filename>src/azmsg/powerbi/PowerBICommandController.cs
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace azmsg.powerbi
{
class PowerBICommandController : ICommandController
... | 2.647919 | 31835687aa10ec522ae20bea30b75fee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74391 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PeterPann23/FireWall",
"max_stars_repo_path": "Samples/NopeCommerce/Presentation/Nop.Web/Controllers/FireWallController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74392"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Walter;
using Walter.BOM.ErrorCodes;
using Walter.Web.FireWall;
using Walter.Web.FireWall.Annotations;
usi... | 1.864504 | 0d060f9445ceb82e266a75983fb67b24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CharlesEmrich/band-tracker",
"max_stars_repo_path": "Objects/Venue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74393"
} | starcoder | <filename>Objects/Venue.cs
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Globalization;
using System;
namespace MusicianTracker.Objects
{
public class Venue
{
public int Id { get; set; }
public string Name { get; set; }
public Venue(string name, int id = 0)
{
s... | 3.204925 | 52bec50988c4b7f8fd708971e6f6ab38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarcArmbruster/ExtensionSuite",
"max_stars_repo_path": "ExtensionsSuite.Standard/System.Threading.Tasks/TaskExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74394"
} | starcoder | using ExtensionsSuite.Standard.Suite;
namespace System.Threading.Tasks
{
/// <summary>
/// Contains extension methods for the <see cref="Task"/> class.
/// </summary>
public static class TaskExtension
{
/// <summary>
/// Checks whether a given task is "running", that is,
//... | 3.055626 | 7059888563536490cb1ea7ebcaae3a3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertBeekman/FluentAvalonia",
"max_stars_repo_path": "FluentAvaloniaSamples/Pages/ListViewPage.axaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74395"
} | starcoder | <gh_stars>0
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using FluentAvalonia.UI.Controls;
using FluentAvaloniaSamples.ViewModels;
namespace FluentAvaloniaSamples.Pages
{
public partial class ListViewPage : UserControl
{
public ListViewPage()
{
InitializeComponent();
DataContext = ... | 1.86488 | 4bedf992ea2d640a210fd21018c75aad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FNicon/Project-Caterative",
"max_stars_repo_path": "Assets/_Scripts/Player/PlayerControllerAndroid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74396"
} | starcoder | <reponame>FNicon/Project-Caterative
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerControllerAndroid : MonoBehaviour
{
private bool isDragging;
private float distance;
private Vector3 offset;
private Transform player;
public bool IsInputFire()
{
... | 2.097014 | 959132e61cb8c72cb4fc317b05916a5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kphillpotts/OpenChore",
"max_stars_repo_path": "src/OpenChore/OpenChore/Pages/RewardsPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74397"
} | starcoder | using System;
using System.Collections.Generic;
using OpenChore.Models;
using OpenChore.ViewModels;
using Xamarin.Forms;
namespace OpenChore.Pages
{
public partial class RewardsPage : ContentPage
{
RewardsViewModel vm;
public RewardsPage()
{
InitializeComponent();
... | 1.752885 | 0c9d9a5852b852c8e39c8b443c6e4180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74397 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "Noise.UI/ViewModels/AlbumViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74398"
} | starcoder | <filename>Noise.UI/ViewModels/AlbumViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Caliburn.Micro;
using Noise.Infrastructure;
using Noise.Infrastructure.Dto;
using Noise.Infrastructure.Interfaces;
using Noise.UI.Behaviours;
using Noise.UI.Dto;
using Noise.... | 1.79222 | 1e519a26140726a615c8f6ec6b9691d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74398 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vic-alexiev/TelerikAcademy",
"max_stars_repo_path": "Web Services/Exams/BloggingSystem/BloggingSystem.ConsoleClient/ConsoleClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74399"
} | starcoder | using BloggingSystem.Data;
using System;
using System.Data.Entity;
using System.Linq;
namespace BloggingSystem.ConsoleClient
{
internal class ConsoleClient
{
private static void Main()
{
// Run the console client first in order to create the database
Database.SetInitia... | 2.4359 | 21f91b97116afb2b9763554e18ad5437 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74399 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mdamyanova/C-Sharp-Web-Development",
"max_stars_repo_path": "07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/Exam-Preparation/MassDefect.Model/Planet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74400"
} | starcoder | <filename>07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/Exam-Preparation/MassDefect.Model/Planet.cs<gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MassDefect.Model
{
public class Planet
{
public Planet()
{
... | 2.630121 | f5c783d5030fa3917be8fac144531dbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74400 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "NetOfficeFw/NetOffice-LegacyRepository",
"max_stars_repo_path": "Source/Excel/DispatchInterfaces/Validation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74401"
} | starcoder | <gh_stars>10-100
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.ExcelApi
{
///<summary>
/// DispatchInter... | 1.441517 | b8839753dd3b9d5f1218f834ebccc916 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlxxlA/OOPWorkshops",
"max_stars_repo_path": "OOP-Principles-Part-2/Dealership-Skeleton/Dealership/Models/Vehicle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74402"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Dealership.Common.Enums;
using Dealership.Contracts;
namespace Dealership.Models
{
public abstract class Vehicle : IVehicle
{
private string make;
private string model;
private decimal price;
... | 3.250175 | 7332ac92689cac8e151dca1257d0c105 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlaviusHouk/AvalonStudio",
"max_stars_repo_path": "AvalonStudio/AvalonStudio.Extensibility/Projects/UnresolvedReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74403"
} | starcoder | <filename>AvalonStudio/AvalonStudio.Extensibility/Projects/UnresolvedReference.cs
namespace AvalonStudio.Projects
{
using AvalonStudio.Debugging;
using AvalonStudio.Platforms;
using AvalonStudio.TestFrameworks;
using AvalonStudio.Toolchains;
using System;
using System.Collections.Generic;
u... | 2.093193 | 9a2d0fed330876156eb3f80cb3e716f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "heat-project/heat-webapi",
"max_stars_repo_path": "Heat.Application/Reviews/ReviewDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74404"
} | starcoder | <filename>Heat.Application/Reviews/ReviewDTO.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Heat.Application
{
public class ReviewDTO
{
public int ID { get; set; }
public int VehicleID { get; set; }
public string Text { get; set; }
public string... | 1.995182 | 20c01a4d67dc707523e414870057ffe7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lulacoco/eClinic",
"max_stars_repo_path": "ASP .NET Core Client/eClinic/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74405"
} | starcoder | @using eClinic
@using eClinic.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.63829 | 922c2e9a04618386b20625341e90feba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74405 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "veler/BaZic",
"max_stars_repo_path": "Sources/BaZic.Runtime/BaZic/Code/Parser/VariableStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74406"
} | starcoder | using BaZic.Core.ComponentModel;
using BaZic.Runtime.BaZic.Code.AbstractSyntaxTree;
namespace BaZic.Runtime.BaZic.Code.Parser
{
/// <summary>
/// Provides statistics about a variable declaration in a BaZic program for the parser.
/// </summary>
internal sealed class VariableStatistics
{
#r... | 3.008006 | 4dd0a4d7707a216293c3b71b33116e5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74406 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "baibing0004/GCL",
"max_stars_repo_path": "VESH/E/Entity/Power/Permission/AS/ASPermissionAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74407"
} | starcoder | <filename>VESH/E/Entity/Power/Permission/AS/ASPermissionAction.cs
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using GCL.Project.VESH.V.Control;
using System.Text;
using System.Data;
using GCL.Db.Ni;
using GCL.Project.VESH.E.Entity.... | 2.052741 | 222abf5f3985677261c0b7387682cc49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74407 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EdneySilva/NetHacksPack",
"max_stars_repo_path": "src/NetHacksPack.Database.Events/Tracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74408"
} | starcoder | using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.Metadata;
using System.Collections.Generic;
namespace NetHacksPack.Database.Events
{
public struct Tracker
{
public Tracker(IEntityType entityType, EntityEntry entry, Dictionary<string, string> propertyValues) : th... | 2.148117 | 9272074c664fd56b4ea74800062afa58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74408 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "bodewig/xmlunit.net",
"max_stars_repo_path": "src/main/net-core/Util/Linqy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74409"
} | starcoder | /*
This file is licensed to You 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 writing, software
di... | 2.750006 | 0ce5e98ae31a9505009be5e362025f69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luisdvalle/WebAppDip",
"max_stars_repo_path": "PracticeTestTafe/Models/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74410"
} | starcoder | <reponame>luisdvalle/WebAppDip
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PracticeTestTafe.Models
{
public class Product
{
public int ProductId { get; set; }
public string Name { get; set; }
public string Details { get; se... | 1.968413 | 391e171bf1e051d4dda2095c16e101eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pectracef/DigiturkArticleProject",
"max_stars_repo_path": "DigiturkArticleProject.Data.Model/Entities/SystemAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74411"
} | starcoder | using DigiturkArticleProject.Core.Database;
namespace DigiturkArticleProject.Data.Model.Entities
{
public class SystemAction : Table
{
public string controllerName { get; set; }
public string actionName { get; set; }
}
}
| 1.675125 | 64ff50b68c1dc8d644731de05f277526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74411 | {
"extension": "c-sharp",
"max_stars_count": "2113.0",
"max_stars_repo_name": "vbillet/Torque3D",
"max_stars_repo_path": "Templates/Modules/FPSGameplay/scripts/server/teleporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74412"
} | starcoder | <reponame>vbillet/Torque3D
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in... | 1.945097 | 2ee7d473e93b4f9d47c34dc5ffb7302f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74412 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hotchaipro/XForms",
"max_stars_repo_path": "src/Android/Renderers/PageRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74413"
} | starcoder | using System;
using XForms.Android;
using XForms.Layouts;
using Android.Graphics.Drawables;
using AndroidFrameLayout = global::Android.Widget.FrameLayout;
namespace XForms.Android.Renderers
{
public class PageRenderer : ViewRenderer<AndroidFrameLayout>, IPageRenderer
{
private AndroidFrameLayout _nati... | 2.145932 | 45ce5816e03b07d8f4058396b14c2815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zubeyir-bodur/personnel-tracking",
"max_stars_repo_path": "personnel-tracking-dto/AreaDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74414"
} | starcoder | using System;
using System.Collections.Generic;
#nullable disable
namespace personnel_tracking_dto
{
public partial class AreaDTO
{
public int areaId { get; set; }
public int companyId { get; set; }
public string companyName { get; set; }
public string areaName { get; set; }
... | 1.625815 | ec86a7309d571b2a0e6ba56eb7a11b84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "visaodeempresa/git-tfs",
"max_stars_repo_path": "GitTfs/Commands/Clone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74415"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NDesk.Options;
using Sep.Git.Tfs.Core;
using StructureMap;
using Sep.Git.Tfs.Util;
using Sep.Git.Tfs.Core.TfsInterop;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("clone")]
[Description("clone [options... | 2.255692 | ad6b51a6f4b0f66dfe75c4845b5db51b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shg166/WriteTheSigns",
"max_stars_repo_path": "Xml/BoardDescriptor/BoardInstanceOnNetXml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74416"
} | starcoder | using Klyte.Commons.Interfaces;
using Klyte.WriteTheSigns.Data;
using Klyte.WriteTheSigns.Rendering;
using System.Xml;
using System.Xml.Serialization;
namespace Klyte.WriteTheSigns.Xml
{
[XmlRoot("onNetDescriptor")]
public class BoardInstanceOnNetXml : BoardInstanceXml, ILibable
{
public const in... | 1.743218 | 7693a594952f764d8c0dd62a67ed098c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "airbreather/RandomFireplace",
"max_stars_repo_path": "External/Rx/Rx.NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/RefCount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74417"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#if !NO_PERF
using System;
using System.Reactive.Disposables;
using System.Reactive.Subjects;
namespace System.Reactive.Linq.ObservableImpl
{
class RefCount<TSource> : Producer<TSo... | 2.294827 | d791adfd77604568f1c451f67dd4c891 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74417 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fossabot/planetpowershell",
"max_stars_repo_path": "src/Firehose.Web/Infrastructure/GravatarHashingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74418"
} | starcoder | <gh_stars>1-10
using System.Configuration;
using System.Web;
namespace Firehose.Web.Infrastructure
{
public static class GravatarHashingExtensions
{
public static string GravatarImage(this IAmACommunityMember member)
{
const int size = 200;
var hash = member.GravatarHas... | 2.260049 | bc92409cea5f3e837cd1bc8e0211d724 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74418 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "edcasillas/unity-common-utils",
"max_stars_repo_path": "Runtime/Scripts/ExtendedGizmos.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74419"
} | starcoder | using UnityEngine;
namespace CommonUtils {
public static class ExtendedGizmos {
public static void DrawWireCapsule(Vector3 _pos, Quaternion _rot, float _radius, float _height, Color _color = default) {
#if UNITY_EDITOR
if (_color != default)
UnityEditor.Handles.color = _color;
var angleMatrix = Matri... | 2.212826 | 97a218adde7b5367ad433e95650a3caa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74419 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "davidikin45/AspNetCore.Mvc.Extensions",
"max_stars_repo_path": "src/AspNetCore.Mvc.Extensions/Controllers/Api/Cqrs/ApiControllerCqrsAuthorizeBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74420"
} | starcoder | using AspNetCore.Cqrs;
using AspNetCore.Mvc.Extensions.Authentication;
using AspNetCore.Mvc.Extensions.Authorization;
using AspNetCore.Mvc.Extensions.Context;
using AspNetCore.Mvc.Extensions.Cqrs;
using AspNetCore.Mvc.Extensions.Helpers;
using AspNetCore.Mvc.Extensions.UI;
using AspNetCore.Mvc.Extensions.Validation;
u... | 1.800487 | ca3b082280acf24ba275a1bcb1b7e37d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74420 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vip32/Naos.Core",
"max_stars_repo_path": "src/Configuration.Application/NaosExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74421"
} | starcoder | <filename>src/Configuration.Application/NaosExtensions.cs
namespace Microsoft.Extensions.DependencyInjection
{
using System;
using System.Diagnostics.CodeAnalysis;
using EnsureThat;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;... | 2.119478 | 4f3f92fd48976f9e004fdd1a5c0e018e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Akeraiotitasoft/Command",
"max_stars_repo_path": "src/Akeraiotitasoft.Command/CommandInvoker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74422"
} | starcoder | <filename>src/Akeraiotitasoft.Command/CommandInvoker.cs<gh_stars>0
using Akeraiotitasoft.Command.Abstractions;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
#nullable enable
namespace Akeraiotitasoft.Command
{
public class CommandInvoker<TReceiver, TComman... | 2.774004 | c764b4fef0544315ed02fe2f6f95d266 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/3-Modules/lm.Comol.Core.BaseModules/Tags/Presentation/Presenter/TagsSelectorForCommunityPresenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.DomainModel;
using lm.Comol.Core.Business;
using lm.Comol.Core.Tag.Domain;
using lm.Comol.Core.BaseModules.Tags.Business;
namespace lm.Comol.Core.BaseModules.Tags.Presentation
{
public class TagsSelectorForC... | 1.709582 | 298f191612ba60b388563371d4fdbbda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matjazbravc/PlayersWallet.OpenAPI.Demo",
"max_stars_repo_path": "src/PlayersWallet.OpenApi/Installers/RegisterSwagger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74424"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using Microsoft.OpenApi.Models;
using PlayersWallet.OpenApi.Contracts;
using System.IO;
using System.Linq;
using System;
using Microsoft.AspNetCore.Mvc.Abstractions;
using System.R... | 2.018311 | f4ab5b0f845d143dcace591ade8661e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74424 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "lucasantarelli/rebus",
"max_stars_repo_path": "Rebus.AzureServiceBus.Tests/Factories/BasicAzureServiceBusBusFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74425"
} | starcoder | using Rebus.AzureServiceBus.Config;
namespace Rebus.AzureServiceBus.Tests.Factories
{
public class BasicAzureServiceBusBusFactory : AzureServiceBusBusFactory
{
public BasicAzureServiceBusBusFactory()
: base(AzureServiceBusMode.Basic)
{
}
}
} | 1.505278 | 2faa3029da8df778152d9be836e46df0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moriyahiroaki/Disqord",
"max_stars_repo_path": "src/Disqord.Core/Enums/Api/MessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74426"
} | starcoder | namespace Disqord.Api
{
/// <summary>
/// Represents the message types.
/// This enumeration defines only the non-system types. The remaining types are defined in the publicly exposed <see cref="SystemMessageType"/>.
/// </summary>
public enum MessageType
{
Default = 0,
... | 2.137212 | 82206920f9d196ab289829b429485ab6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74426 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fusiondevkr/fusiondevstudy",
"max_stars_repo_path": "src/Fdk.Logistics.FunctionApp/Models/DeliveryQueueResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74427"
} | starcoder | <reponame>fusiondevkr/fusiondevstudy
namespace Fdk.Logistics.FunctionApp.Models
{
/// <summary>
/// This represents the model entity for request to replace placeholder values.
/// </summary>
public class DeliveryQueueResponse
{
/// <summary>
/// Gets or sets the HTTP status code indi... | 1.846885 | b1254edb9e1256554b7a04fe71b7374a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Menkachev/Software-University",
"max_stars_repo_path": "Programming Fundamentals - January 2017/03. Arrays/02. Arrays - Exercises, January 26, 2017/09. Index of Letters/IndexOfLetters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:... | starcoder | namespace _09.Index_of_Letters
{
using System;
public class IndexOfLetters
{
// Write a program that creates an array containing all letters from the alphabet(a-z).
// Read a lowercase word from the console and print the index of each of its letters in the letters array.
public sta... | 4.285553 | c8dc1db714831e8cd90ab82255b0a166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ezmaxinc/eZmax-SDK-csharp-netcore",
"max_stars_repo_path": "src/eZmaxApi/Api/ObjectEzsigndocumentApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74429"
} | starcoder | <reponame>ezmaxinc/eZmax-SDK-csharp-netcore
/*
* eZmax API Definition (Full)
*
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.7
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Syst... | 1.668512 | b0ba1b117ed0cca87fc5e99aecd05096 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74429 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IOwnMyWiiULEGIT/game-off-2019",
"max_stars_repo_path": "GameOff2019/Assets/Scripts/gameEvents/unityEvents/UnityGameObjectEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74430"
} | starcoder | <reponame>IOwnMyWiiULEGIT/game-off-2019
using UnityEngine;
using UnityEngine.Events;
[System.Serializable] public class UnityGameObjectEvent : UnityEvent<GameObject>
{
}
| 1.098377 | 9c9975fe5e07dd8870615651370b4e3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74430 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nhs-digital-gp-it-futures/BuyingCatalogueService",
"max_stars_repo_path": "src/NHSD.BuyingCatalogue.Solutions.Persistence/Models/SolutionSupplierResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74431"
} | starcoder | <filename>src/NHSD.BuyingCatalogue.Solutions.Persistence/Models/SolutionSupplierResult.cs
using NHSD.BuyingCatalogue.Solutions.Contracts.Persistence;
namespace NHSD.BuyingCatalogue.Solutions.Persistence.Models
{
internal sealed class SolutionSupplierResult : ISolutionSupplierResult
{
public string Sol... | 1.722237 | 97d9b924b7a308f075d68f50216d9872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74431 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "nullean/proc",
"max_stars_repo_path": "tests/Proc.Tests/SkipOnNonWindowsFact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74432"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Xunit;
namespace ProcNet.Tests
{
public sealed class SkipOnNonWindowsFact : FactAttribute
{
public SkipOnNonWindowsFact()
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) return;
Skip = "Skipped, this test can only run on windows";
}
}
... | 2.161895 | 44142731a3520ca3090fcd60b3a6dd3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74432 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "OpenRakis/Spice86",
"max_stars_repo_path": "src/Spice86/Emulator/Sound/NativeMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74433"
} | starcoder | <reponame>OpenRakis/Spice86
namespace Spice86.Emulator.Sound;
using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
[SupportedOSPlatform("windows")]
internal static class NativeMethods {
[DllImport("winmm.dll", CallingConvention = CallingConvention.Winapi, SetLastError = fa... | 1.391782 | 18170b09692b9f692a0cb147b5c1392b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.