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 | 3537 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "pawelpabich/azure-storage-net-data-movement",
"max_stars_repo_path": "lib/Extensions/StorageCopyState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3538"
} | starcoder | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <copyright file="StorageCopyState.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
//------------------------------------------------------------------------------
namespace Microso... | 2.206784 | 454fc9d96f6fdb218538aee4416faedd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3538 | {
"extension": "c-sharp",
"max_stars_count": "300.0",
"max_stars_repo_name": "zxyacb/wpftoolkit",
"max_stars_repo_path": "ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/XamlFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3539"
} | starcoder | //Author: <NAME> [MSFT]
//Source: http://blogs.msdn.com/b/nickkramer/archive/2006/09/22/766934.aspx
using System.Collections.Generic;
using System.Diagnostics;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Core.CodeFormatting
{
// XML tokenizer, tokens are designed to match Visual Studio syntax highlighting
... | 2.757904 | a158337455302c0eb63ecdb7658942f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3539 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wslxbaby/AsynchronousProgramming",
"max_stars_repo_path": "AsynchronousProgramming/Asynchronous.Web.UI/Index.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3540"
} | starcoder | <reponame>wslxbaby/AsynchronousProgramming<filename>AsynchronousProgramming/Asynchronous.Web.UI/Index.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Asynchronous.Service;
using System.Threading.Tasks;
namespace A... | 2.277055 | 57651f444b9203365faa1b4060243c90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "genadi60/Panda2",
"max_stars_repo_path": "Web/Views/Shared/_LoginPartial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3541"
} | starcoder | <gh_stars>0
@using Microsoft.AspNetCore.Identity
@using Panda2.Data.Models
@inject SignInManager<PandaUser> SignInManager
<ul class="navbar-nav">
<li class="nav-item">
<a asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li>
@if (SignInManager.IsSignedIn(User))
... | 1.935078 | ea7cd626edd41e5724eb2f8fe3b01349 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3541 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ansel86castro/cybtans-sdk",
"max_stars_repo_path": "CybtansSDK/Tests/Cybtans.Messaging.RabbitMQ.Test/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3542"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Linq;
using System.Threading;
namespace Cybtans.Messaging.RabbitMQ.Test
{
class Program
{
static void Main(string[] args)
{
var publisher = new Publisher();
var processor =... | 2.630761 | e4bb034a34208415f02bd1a421b77d54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vladsavchuk/osafw-asp.net-core",
"max_stars_repo_path": "osafw-app/App_Code/controllers/AdminSpages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3543"
} | starcoder | <filename>osafw-app/App_Code/controllers/AdminSpages.cs
// Static Pages Admin controller
//
// Part of ASP.NET osa framework www.osalabs.com/osafw/asp.net
// (c) 2009-2021 <NAME> www.osalabs.com
using System;
using System.Collections;
using System.Text.RegularExpressions;
namespace osafw
{
public class AdminSp... | 1.783909 | 2c6fb3c61d35cf889ad7d3e651476cc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamlesh-microsoft/clear-hl7-net",
"max_stars_repo_path": "src/ClearHl7.Codes/V282/CodeInsuranceCompanyContactReason.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3544"
} | starcoder | <filename>src/ClearHl7.Codes/V282/CodeInsuranceCompanyContactReason.cs
namespace ClearHl7.Codes.V282
{
/// <summary>
/// HL7 Version 2 Table 0232 - Insurance Company Contact Reason.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0232</remarks>
public enum CodeInsuranceCompanyContactReason
... | 2.159048 | 235afd4dcfbf9d6adc0784df9b33b90d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3544 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Tshisuaka/api-snippets",
"max_stars_repo_path": "twiml/voice/siprec/siprec-1/siprec-1.5.x.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3545"
} | starcoder | using System;
using Twilio.TwiML;
using Twilio.TwiML.Voice;
class Example
{
static void Main()
{
var response = new VoiceResponse();
var start = new Start();
start.Siprec(name: "My SIPREC Stream", connectorName: "Gridspace_1");
response.Append(start);
Console.WriteLine... | 2.189416 | 4136b407a545ea7f17bda94e0338f1e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3545 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "yangchongyuan/NewLife.Cube",
"max_stars_repo_path": "NewLife.Cube/Web/OAuthHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3546"
} | starcoder | <gh_stars>100-1000
using System;
using System.Web;
#if __CORE__
using Microsoft.AspNetCore.Http.Extensions;
using NewLife.Web;
#endif
namespace NewLife.Cube.Web
{
/// <summary>开放验证助手</summary>
public static class OAuthHelper
{
/// <summary>获取登录地址</summary>
/// <param name="name"></param>
... | 2.324585 | 624d6d45c8b5e53be26a8e613a43624f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3546 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kaid7pro/old-Windows-universal-samples",
"max_stars_repo_path": "DeviceEnumeration/cs/DeviceEnumerationCs/DisplayHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3547"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Windows.Devices.Enumeration;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media.Imaging;
// NOTE: The following using statements are only needed in order to... | 2.161011 | 5403793b83b7af09a52999fa5b93dccd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3547 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ricklove/cad-extract",
"max_stars_repo_path": "CadExtract/CadExtract.Library/TablePatterns/TablePattern.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3548"
} | starcoder | <filename>CadExtract/CadExtract.Library/TablePatterns/TablePattern.cs
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace CadExtract.Library.TablePatterns
{
public class TablePattern
{
public string PatternDocument { get; internal set; }
public ... | 2.853406 | 320c59283ce396cb10c1e569ae2c89c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crisbratz/Template-WebAPI-DDD-DotNet-Postgres",
"max_stars_repo_path": "Source/Presentation/Middlewares/UnitOfWorkMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3549"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using Infrastructure.Postgres.Common;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
namespace Presentation.Middlewares;
public class UnitOfWorkMiddleware
{
private readonly RequestDelegate _next;
public UnitOfWorkMiddleware(Reque... | 1.897877 | cd3942f74173866d5d5ab000d536b11e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjosborne/aggregator-cli",
"max_stars_repo_path": "src/aggregator-ruleng/IRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3550"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
namespace aggregator.Engine
{
public interface IRule
{
/// <summary>
/// RuleName
/// </summary>
string Name { get; }
/// <summary>
/// The history will show the changes made by person who triggered the eve... | 2.462496 | 124c84d113c36d96c3de42a64baaf28e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeneRainier/salmon-run-working",
"max_stars_repo_path": "SalmonRunWorking/Assets/Scripts/NodePathfinding/Destination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3551"
} | starcoder | <reponame>GeneRainier/salmon-run-working
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Script that defines a destination node for a moving object (fish) to move towards
*/
public class Destination : MonoBehaviour
{
public Vector3 destinationPosition; //< The position of... | 2.018714 | 9879a530eedf9154a0e5a9b5cb20b401 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DonSchenck/MusicStoreOpenShift",
"max_stars_repo_path": "Controllers/ShoppingCartController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3552"
} | starcoder | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MusicStore.Models;
using MusicStore.ViewModels;
namespace MusicStore.Controllers
{
public class ShoppingCartController : Controller
{
public ShoppingCartCo... | 2.651249 | a7399fd6cfd514955cb5665a0baa3f6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KsWare/master",
"max_stars_repo_path": "src/KsWare.Presentation.Labs/Core/ComponentState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3553"
} | starcoder | <filename>src/KsWare.Presentation.Labs/Core/ComponentState.cs<gh_stars>0
namespace KsWare.Presentation
{
/// <summary> ComponentState
/// </summary>
public enum ComponentState
{
/// <summary> None </summary>
None,
/// <summary> The component is initializing </summary>
Initializing,
/// <summary> The comp... | 2.306419 | ba362961ca5da71e5b26a59dc3f606fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3553 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "citizenmatt/gallio",
"max_stars_repo_path": "src/Gallio/Gallio.Tests/Common/Reflection/Impl/ComDebugSymbolResolverTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3554"
} | starcoder | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <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/lic... | 1.824787 | c131101db374d738fecbdda1f08ae6d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeertBellekens/XmlDiff",
"max_stars_repo_path": "CompareResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3555"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisualXmlDiff
{
public class CompareResult
{
public string originalFile { get; set; }
public string comparedFile { get; set; }
public CompareResultType resultTy... | 2.59503 | 1a8a59a302e8f28d65abcb97ce40a114 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3555 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jaredwri/influxdb-client-csharp",
"max_stars_repo_path": "Client.Test/GzipHandlerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3556"
} | starcoder | using System.Linq;
using InfluxDB.Client.Api.Domain;
using InfluxDB.Client.Core.Test;
using NUnit.Framework;
using WireMock.RequestBuilders;
using Task = System.Threading.Tasks.Task;
namespace InfluxDB.Client.Test
{
[TestFixture]
public class GzipHandlerTest : AbstractMockServerTest
{
private Influ... | 1.873832 | 54631fb0de8a2c706a52eefe769618ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3556 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "kroodl21/MRTK-Blank-Starter",
"max_stars_repo_path": "Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@75ed63f10701-1623629446205/Core/Definitions/Utilities/AutoStartBehavior.cs",
"provenance": "train-00000-of-00045... | starcoder | <filename>Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@75ed63f10701-1623629446205/Core/Definitions/Utilities/AutoStartBehavior.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// This e... | 2.482799 | 9ed66be23b60a5cd4d681f98677ce60b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3557 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "MrCylops/CoreCheat-CSGO-Version-0_5b",
"max_stars_repo_path": "CoreCheat CSGO Ver0_5/ver0_5Main.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3558"
} | starcoder | namespace CoreCheat_CSGO_Ver0_5
{
partial class ver0_5Main
{
/// <summary>
///Gerekli tasarımcı değişkeni.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///Kullanılan tüm kaynakları temizleyin.
/// </summary>
... | 2.223175 | 4283be8a54ce81a874ad2ce80e25d19f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3558 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Drawing/System.Drawing.Drawing2D/Matrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3559"
} | starcoder | <reponame>lefb766/mono
//
// System.Drawing.Drawing2D.Matrix.cs
//
// Authors:
// <NAME> <<EMAIL>>
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// Ravindra (<EMAIL>)
//
// (C) Ximian, Inc. http://www.ximian.com
// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free ... | 1.975171 | 420296e4d3ccd0aefb53bfb46a77f51d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3559 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "byspeece/ArchOSU",
"max_stars_repo_path": "osu.Game/IO/WrappedStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3560"
} | starcoder | <reponame>byspeece/ArchOSU<gh_stars>10-100
// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.IO;
using osu.Framework.Platform;
namespace osu.Game.IO
{
... | 2.205775 | 4a0dbdd47853571ea06ae1f706fa3363 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/SteamDatabaseBackend",
"max_stars_repo_path": "Steam/FreeLicense.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3561"
} | starcoder | /*
* Copyright (c) 2013-present, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;... | 2.223585 | 7697355001bf2a90b955db7427ad8afd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3561 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "penghuidong/gdnet",
"max_stars_repo_path": "GameDesigner/Network/web/Server/WebPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3562"
} | starcoder | <filename>GameDesigner/Network/web/Server/WebPlayer.cs
using Fleck;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Net.Server
{
/// <summary>
/// web客户端对象
/// </summary>
public class WebPlayer : NetPlayer
{
/// ... | 2.161072 | 38d181248e31d4db3171a0a0212e1a1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3562 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "nullpainter/mamesaver",
"max_stars_repo_path": "Mamesaver/Models/Extensions/XmlExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3563"
} | starcoder | using System.Xml.Linq;
namespace Mamesaver.Models.Extensions
{
public static class XmlExtensions
{
/// <summary>
/// Converts a MAME yes/no attribute to a boolean, or <c>null</c> if the attribute isn't found.
/// </summary>
public static bool? ToBoolean(this XElement elemen... | 3.311686 | 14e249cdbc019368cd6a2f3d5d70a6db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3563 | {
"extension": "c-sharp",
"max_stars_count": "558.0",
"max_stars_repo_name": "dsbert/monitor-table-change-with-sqltabledependency",
"max_stars_repo_path": "TableDependency.SqlClient.Test/Issue177Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3564"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TableDependency.SqlClient.Base.Enums;
using TableDependency.SqlClient.Base.EventArgs;
using TableDependency.SqlClient.Base.Excep... | 2.106726 | 1bb34b5f1548bd1d2aa1cc505648587a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mijiturka/nem2-sdk-csharp",
"max_stars_repo_path": "src/nem2-sdk/src/Core/Crypto/Chaso.NaCl/Internal/Ed25519ref10/fe_neg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3565"
} | starcoder | namespace io.nem2.sdk.Core.Crypto.Chaso.NaCl.Internal.Ed25519ref10
{
internal static partial class FieldOperations
{
/*
h = -f
Preconditions:
|f| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc.
Postconditions:
|h| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc.
*/
internal static void... | 2.061332 | eaed80eeec90186e5a11b50ad33d8fa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Erikole21/Xamarin-Forms-APP",
"max_stars_repo_path": "ClientePeatonXamarin/ClientePeatonXamarin/Modelos/ExploradorEnvios/AdRastreoGuiaDC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3566"
} | starcoder | <reponame>Erikole21/Xamarin-Forms-APP
using System;
using System.Collections.Generic;
using System.Text;
namespace ClientePeatonXamarin.Modelos
{
public class ADRastreoGuiaDC
{
/// <summary>
/// Fecha y Ultimo estado de la guia
/// </summary>
public ADTrazaGuia TrazaGuia { get... | 1.494496 | 71e89d645dae7090fafce9ba196c6845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zigaosolin/SharpMedia",
"max_stars_repo_path": "SharpMedia/Math/Integration/ODE/ODEBasef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3567"
} | starcoder | // This file was generated by TemplateEngine from template source 'ODEBase'
// using template 'ODEBasef. Do not modify this file directly, modify it from template source.
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpMedia.Math.Integration.ODE
{
/// <summary>
/// An ODE ou... | 2.501942 | 29942469376c21593ad4380f44cc5fb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3567 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andlekbra/dat250-gruppe5-VoteApp2",
"max_stars_repo_path": "src/Application/Features/Polls/Queries/GetPollsByQuestionId/GetPollsByQuestionIdResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3568"
} | starcoder | using System;
namespace VoteApp.Application.Features.Polls.Queries.GetAllPollsByQuestionId
{
public class GetPollsByQuestionIdResponse
{
public int Id { get; set; }
public string JoinCode { get; set; }
public int GreenVotes { get; set; }
public int RedVotes { get; set; }
... | 1.627919 | f8f5633c5a84bec0fa1f4f7e1fba2a10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gladstonemrm/Schema.NET",
"max_stars_repo_path": "Source/Schema.NET/ValuesJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3569"
} | starcoder | <reponame>gladstonemrm/Schema.NET<filename>Source/Schema.NET/ValuesJsonConverter.cs
namespace Schema.NET
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
usi... | 2.490795 | 2fc49a4e0b02becff309f5681dca1b2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3569 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Madmanmayson/BattleInfoPlugin",
"max_stars_repo_path": "BattleInfoPlugin/Models/Localization/CellTypeLocalization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3570"
} | starcoder | using BattleInfoPlugin.Properties;
namespace BattleInfoPlugin.Models.Localization
{
class CellTypeLocalization
{
public static string GetResource(CellType airSupremacyResult)
{
switch (airSupremacyResult)
{
case CellType.None:
return ... | 2.268085 | 6ec337f375db1f760ff611bee03cb048 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefenChen/AutomatedWebTestingProject",
"max_stars_repo_path": "Source/AutomatedTestingProject/WebLibrary/BrowserControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3571"
} | starcoder | using BasicLIbrary;
using System;
namespace WebLibrary
{
public class BrowserControl : Chrome
{
public BrowserControl(CommonBase basicTool, Category type) : base(basicTool, type)
{
}
public bool OpenNewWeb(string _url, int timeOut)
{
try
{
singletonWebDriver.Manage().Timeouts().PageLoad = TimeS... | 2.402468 | 1622e41395aebdba6730a9ae1186548f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Protosaider/GraduateWork",
"max_stars_repo_path": "Assets/Scripts/Utils/Distances.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3572"
} | starcoder | <filename>Assets/Scripts/Utils/Distances.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityUtilities
{
public static class Distances
{
//! Manhattan distance
public static float GetManhattanDistance(Vector2 a, Vector2 b)
{
... | 2.794983 | b69da9fa5c54e25007a179cb12bfb0ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3572 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VirtoCommerce-archieve/vc-integrations",
"max_stars_repo_path": "PLATFORM/VirtoCommerce.Platform.Data/Security/Converters/RoleAssignmentConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3573"
} | starcoder | <reponame>VirtoCommerce-archieve/vc-integrations<filename>PLATFORM/VirtoCommerce.Platform.Data/Security/Converters/RoleAssignmentConverter.cs
using System;
using System.Linq;
using Omu.ValueInjecter;
using VirtoCommerce.Platform.Core.Common;
using VirtoCommerce.Platform.Core.Security;
using VirtoCommerce.Platform.Data... | 1.867828 | 4e9d4a489757502c877ff2a60e96d0a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XelaNimed/metadata-extractor-dotnet",
"max_stars_repo_path": "MetadataExtractor/Formats/Exif/makernotes/CanonMakernoteDirectory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3574"
} | starcoder | <reponame>XelaNimed/metadata-extractor-dotnet
#region License
//
// Copyright 2002-2019 <NAME>
// Ported from Java to C# by <NAME> for Imazen LLC in 2014
//
// 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... | 1.871093 | 0b3f0ef42a708ae0a0116a24e6c377f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3574 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "andymac4182/tcalc",
"max_stars_repo_path": "src/tcalc/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3575"
} | starcoder | using System;
using Superpower.Model;
using tcalc.Evaluation;
using tcalc.Parsing;
namespace tcalc
{
class Program
{
const string Prompt = "tcalc> ";
static void Main()
{
Console.Write(Prompt);
var line = Console.ReadLine();
while (line != null)
... | 2.815704 | 63a122c40310c5616594477121f63617 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3575 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "skyformat99/Chloe",
"max_stars_repo_path": "src/DotNetCore/Chloe.SQLite/SqlGenerator_Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3576"
} | starcoder | using Chloe.Core;
using Chloe.DbExpressions;
using Chloe.InternalExtensions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Chloe.SQLite
{
partial class SqlGenerator : DbExpres... | 2.350698 | aeb4c6761da3269d031aa9587b4b0646 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3576 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ClaineLe/SnakeFramework",
"max_stars_repo_path": "Runtime/Container/Internal/ContainerSingleInstanceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3577"
} | starcoder | using System;
namespace com.snake.framework
{
namespace runtime
{
public class ContainerSingleInstanceFactory : IContainerFactory
{
private object target;
public ContainerSingleInstanceFactory(object target)
{
this.target = ... | 2.487293 | c3401c87beee2555735f7a7632a81c92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RadoslawKubas/Prism.Plugin.Popups",
"max_stars_repo_path": "tests/Prism.Plugin.Popups.Tests.Shared/Mocks/AppMock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3578"
} | starcoder | <reponame>RadoslawKubas/Prism.Plugin.Popups
using Prism.Ioc;
using Prism.Plugin.Popups.Tests.Mocks.Views;
using Prism.Navigation;
#if AUTOFAC
using Prism.Autofac;
#elif DRYIOC
using Prism.DryIoc;
#elif UNITY
using Prism.Unity;
#endif
namespace Prism.Plugin.Popups.Tests.Mocks
{
public class AppMock : PrismApplicat... | 1.540266 | 7374479e483e04621bb0ab02088fda4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carko/Krypton-Toolkit-Suite-NET-Core",
"max_stars_repo_path": "Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Controls Toolkit/KryptonNumericUpDown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3579"
} | starcoder | // *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 2.219107 | a4ddb2b7c3a1d9a334fe43ced06aee9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3579 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "navhaxs/vlcsharpavalonia",
"max_stars_repo_path": "src/LibVLCSharp.Avalonia/VideoView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3580"
} | starcoder | <gh_stars>10-100
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Threading;
using LibVLCSharp.Shared;
using System;
using System.Reactive.Linq;
using System.Runtime.InteropServices;
namespace LibVLCSharp.Avalonia
{
public class VideoView : ContentControl, IVideoView
... | 1.763997 | 5115892e5b4ec25e860e505f6a513122 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3580 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "LibVega/VVK",
"max_stars_repo_path": "Generator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3581"
} | starcoder | /*
* MIT License - Copyright (c) 2020 <NAME>
* This file is subject to the terms and conditions of the MIT License, the text of which can be found in the 'LICENSE'
* file at the root of this repository, or online at <https://opensource.org/licenses/MIT>.
*/
using System;
using System.IO;
namespace Gen
... | 2.742171 | c6144e2a114750586df4b6c169eb71bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stdstring/SyntaxSemanticExperiments",
"max_stars_repo_path": "SourceCodeAnalysis/SourceCheckUtilTests/SourceCheckUtilIntegrationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3582"
} | starcoder | using System;
using System.IO;
using NUnit.Framework;
using SourceCheckUtil.Output;
using SourceCheckUtilTests.Utils;
namespace SourceCheckUtilTests
{
[TestFixture]
public class SourceCheckUtilIntegrationTests
{
[TearDown]
public void TearDown()
{
EnvironmentHelper.Remo... | 2.043115 | b96c9166c4f92884517bb2c07a337de8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clean-code-craft-tcq-1/start-stats-csharp-venkateshnichenametla",
"max_stars_repo_path": "Statistics/LEDAlert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3583"
} | starcoder | namespace Statistics
{
public class LEDAlert : IAlerter
{
public bool LedGlows { get; set; }
public LEDAlert()
{
LedGlows = false;
}
public void RaiseAlert()
{
LedGlows = true;
}
}
}
| 2.620058 | cb0f0c70021eb5cf1e2544a8cb0e883f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiPetrovGH/TelerikAcademy",
"max_stars_repo_path": "17.ASP.Net-MVC/Final Project/Source/Services/MvcTemplate.Services.Data/IImagesServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3584"
} | starcoder | namespace MvcTemplate.Services.Data
{
using System.Linq;
using MvcTemplate.Data.Models;
public interface IImagesServices
{
Image CreateImage(Image image);
Image GetImageById(int id);
IQueryable<Image> GetImagesByPlaceId(int placeId);
IQueryable<Image> GetAll();
... | 2.070785 | 22093a7ce1daebf7df6019bd40eadf5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3584 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "alipay/antchain-openapi-prod-sdk",
"max_stars_repo_path": "cas/csharp/core/Models/VPCParam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3585"
} | starcoder | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.CAS.Models
{
// VpcParam
public class VPCParam : TeaModel {
// cidr_block
[NameInMap("cidr_block")]
[Validation(Required=false)]
... | 1.350496 | ac4e67b6659e62dd995f148174d929fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nth-commit/OpenAPI.NET",
"max_stars_repo_path": "src/Microsoft.OpenApi.Readers/V2/OpenApiPathItemDeserializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3586"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using Microsoft.OpenApi.Extensions;
using Microsoft.OpenApi.Models;
using Microsoft.OpenApi.Readers.ParseNodes;
namespace Microsoft.OpenApi.Readers.V2
{
/// <summary>
/// Class containing logic to deserialize Ope... | 1.941801 | 4a493ccb0d9dbdd22aa0a212cacde31a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edatencio/2D-Platformer-Prototype",
"max_stars_repo_path": "Assets/Scripts/old/old_Main_Menu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3587"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
public class old_Main_Menu : MonoBehaviour
{
/*************************************************************************************************
*** Variables
******************************************************************************... | 1.905122 | 609e897e64fc015cfc693b61eaee042f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3587 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "luigypro21/Inventory",
"max_stars_repo_path": "DataAccess/Migrations/20200514043731_AddData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3588"
} | starcoder | <filename>DataAccess/Migrations/20200514043731_AddData.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccess.Migrations
{
public partial class AddData : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData... | 2.372658 | d4a73c2ad55ee1a3808a3a6a6f19c1b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aaronbieber/pomodoro",
"max_stars_repo_path": "MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3589"
} | starcoder | <reponame>aaronbieber/pomodoro<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.... | 2.378367 | 462882ced4efeccfb6ee99b3bf68d373 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3589 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "ebptwllc/eXpand",
"max_stars_repo_path": "Xpand/Xpand.Persistent/Xpand.Persistent.Base/ModelAdapter/Logic/IModelAdaptorRuleController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3590"
} | starcoder | using System;
namespace Xpand.Persistent.Base.ModelAdapter.Logic {
public interface IModelAdaptorRuleController {
void ExecuteLogic(Type modelAdaptorRuleType, Type modelModelAdaptorRuleType, Action<IModelAdaptorRule> action);
}
} | 1.220377 | 55b8159b3f3b16b3846d43ca70e8369d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tammon23/Anime-Desktop-App",
"max_stars_repo_path": "MyAnimeList/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3591"
} | starcoder | using MyAnimeList.ResponseObjects.Anime;
using MyAnimeList.ResponseObjects.General;
using MyAnimeList.ResponseObjects.Manga;
using MyAnimeList.ResponseObjects.User.MyAnimeList.ResponseObjects.User;
namespace MyAnimeList
{
public class Util
{
public static string AnimeRankingTypeToString(AnimeRankingT... | 2.286613 | 57375c4b8a379a351c9788548e3eb946 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3591 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "isogeo/Isogeo.Build",
"max_stars_repo_path": "Tasks/SetEnvironmentFromBatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3592"
} | starcoder | // $Id: SetEnvironmentFromBatch.cs 6042 2010-11-25 16:31:49Z mcartoixa $
using System;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using Microsoft.Build.Utilities;
using Microsoft.Build... | 2.224697 | a3ba5aa7f14f470ffa74ec1dc999d2fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abstrakt8/osu",
"max_stars_repo_path": "osu.Game/Rulesets/Difficulty/DifficultyCalculator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3593"
} | starcoder | // Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.... | 2.228664 | 41acea2c3c88a54af3f33f017fafeae9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3593 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "ironmansoftware/findopenfiles",
"max_stars_repo_path": "WalkmanLib.RestartManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3594"
} | starcoder | <filename>WalkmanLib.RestartManager.cs
// RestartManager method
//https://stackoverflow.com/a/3504251/2999220
//https://stackoverflow.com/a/20623311/2999220
//https://stackoverflow.com/a/20623302/2999220
//https://gist.github.com/mlaily/9423f1855bb176d52a327f5874915a97
//https://docs.microsoft.com/en-us/archive/msdn-m... | 2.05776 | ab0a9836e2451fe236b0fa1d3b0fbac4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3594 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "src/Nest/XPack/Transform/TransformSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3595"
} | starcoder | using System;
using System.Runtime.Serialization;
using Elasticsearch.Net.Utf8Json;
namespace Nest
{
/// <summary>
/// The source of the data for the transform.
/// </summary>
[InterfaceDataContract]
[ReadAs(typeof(TransformSource))]
public interface ITransformSource
{
/// <summary>
/// The source indices f... | 2.346728 | 83d5ea7361b9834c33dab27df01805e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bhh32/SurvivalShooter_Demo2",
"max_stars_repo_path": "Assets/CustScripts/Menus/Difficulty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3596"
} | starcoder | using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
using UnityEngine.SceneManagement;
[System.Serializable]
public struct DifficultySettings
{
public bool isEasy;
public bool isNormal;
public bool isHard;
}
public class Difficulty : MonoBehaviour
{
Difficulty cu... | 2.537922 | 5d3650f5e1540c05bf287256c85178d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3596 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xenoken/AGS.NET",
"max_stars_repo_path": "AGS.NET.Sample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3597"
} | starcoder | <filename>AGS.NET.Sample/Program.cs
/* Copyright (c) 2021 <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... | 2.306187 | 13872da21871726c03a4e6fc1b1281fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtrmstep/Requiem.CrawlerService",
"max_stars_repo_path": "CrawlerService/Types/Dataflow/ParsedContentData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3598"
} | starcoder | using System;
using CrawlerService.Data.Models;
namespace CrawlerService.Types.Dataflow
{
public class ParsedContentData : Tuple<JobItem, DataBlockType, string>
{
public ParsedContentData(JobItem job, DataBlockType blockType, string data)
: base(job, blockType, data)
{
}
... | 2.565628 | 73bcce874b14ab17f1d24bb22d6416b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3598 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "OndrejNepozitek/Roguelike-Entitas",
"max_stars_repo_path": "Assets/Sources/Features/AI/TwoFace/Components/TwoFaceComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3599"
} | starcoder | <filename>Assets/Sources/Features/AI/TwoFace/Components/TwoFaceComponent.cs
namespace Assets.Sources.Features.AI.TwoFace.Components
{
using Entitas;
public class TwoFaceComponent : IComponent
{
}
}
| 1.384706 | 938e4e610bd700ea33af654721ecf56f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3599 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "Microsoft/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/DistributedTest/DeploymentIngesterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3600"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if NETCOREAPP
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using System.Web... | 1.380555 | 0447f3aca383bfc1ef152dc41723f5a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3600 | {
"extension": "c-sharp",
"max_stars_count": "598.0",
"max_stars_repo_name": "tarocco/Ryujinx",
"max_stars_repo_path": "ARMeilleure/Instructions/InstEmitSimdCrypto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3601"
} | starcoder | <reponame>tarocco/Ryujinx
using ARMeilleure.Decoders;
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.Translation;
using static ARMeilleure.Instructions.InstEmitHelper;
namespace ARMeilleure.Instructions
{
static partial class InstEmit
{
public static void Aesd_V(ArmEmitterContext cont... | 1.560639 | e60e2f5c161d9a3fb917c971b7ce7ead |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fernandovictorTI/venda-ingressos",
"max_stars_repo_path": "TemplateRegraNota25.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3602"
} | starcoder | <filename>TemplateRegraNota25.cs<gh_stars>0
using System.Collections.Generic;
namespace venda_ingressos
{
public class TemplateRegraNota25 : TemplateRegraNota, ITemplateRegra
{
public ITemplateRegra Proximo { get; set; }
public override void AplicarRegrasNota()
{
}
pu... | 2.397976 | 175293c32791c88373af9da35d13d68e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3602 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yong7743/arcgis-pro-sdk-community-samples",
"max_stars_repo_path": "Editing/DivideLines/DivideLines.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3603"
} | starcoder | <gh_stars>1-10
// Copyright 2017 Esri
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ... | 1.796582 | 47c584a2056a84e807b012088b7d671a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3603 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "romshiri/WP8.1-MVVM-EXAMPLE",
"max_stars_repo_path": "ViewModel/Converters/StringsListToStringConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3604"
} | starcoder | <reponame>romshiri/WP8.1-MVVM-EXAMPLE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace Romfix.ViewModel.Converters
{
public class StringsListToStringConverter : IValueConverter
{
public object Conv... | 2.696903 | 49801e4212d2e9c47442b7f766b0f67c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cbaldini/idr.net",
"max_stars_repo_path": "InfraestructuraDeRedes/DispositivoWireless.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3605"
} | starcoder | using System;
namespace InfraestructuraDeRedes
{
public class DispositivoWireless : Dispositivo, IEquatable<DispositivoWireless>, ITipoRecurso
{
private string _strBanda;
private string _strTipoAntena;
private int _intDbi;
private int _intPotencia;
public bool Equals(DispositivoWireless otrowireless) {
... | 2.6409 | 285e6ddcea8db873dcd9659c1d6e6790 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3605 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "naivetang/2019MiniGame22",
"max_stars_repo_path": "Server/ThirdParty/MongoDBDriver/MongoDB.Driver/Linq/Processors/Pipeline/MethodCallBinders/ThenByBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3606"
} | starcoder | /* Copyright 2015-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 2.000012 | 7bef517f0f5ba33fd3da8e4e12c68bc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3606 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jlyonsmith/Vacuum",
"max_stars_repo_path": "VacuumLibrary/Formats/ContentFileException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3607"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ToolBelt;
using TsonLibrary;
namespace Vacuum
{
public class ContentFileException : Exception
{
public TextLocation ErrorLocation { get; private set; }
public ContentFileException(string message)
... | 2.236644 | 38f731fa646272777ef5f72b7c238e3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3607 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Blockchain/Inputs/BlockchainPlatformComponentDetailsOsnGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3608"
} | 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.450086 | 045988c34c06388f3df50df3870124e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "augustoproiete-forks/NuGet--NuGetGallery",
"max_stars_repo_path": "src/NuGetGallery.Services/Authentication/ApiKeyV4.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3609"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Security.Cryptography;
using System.Text;
namespace NuGetGallery.Infrastructure.Authentication
{
public cla... | 2.377666 | 304cce9ce38fd3b3fd951500ca03ee97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3609 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/Server/Documents/Queries/Dynamic/MapReduce/MatchingAutoMapReduceIndexesForDynamicQueries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3610"
} | starcoder | <gh_stars>1-10
using FastTests;
using Raven.Client.Documents.Indexes;
using Raven.Client.Util;
using Raven.Server.Documents;
using Raven.Server.Documents.Indexes;
using Raven.Server.Documents.Indexes.Auto;
using Raven.Server.Documents.Indexes.MapReduce.Auto;
using Raven.Server.Documents.Queries;
using Raven.Se... | 2.063743 | 578109a83e4801d9ad887211c61038c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3610 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nongnoobjung/Legendary-Garena",
"max_stars_repo_path": "PVPNetConnect/RiotObjects/Platform/Statistics/RecentGames.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3611"
} | starcoder | using System;
using System.Collections.Generic;
namespace PVPNetConnect.RiotObjects.Platform.Statistics
{
public class RecentGames : RiotGamesObject
{
public override string TypeName
{
get { return this.type; }
}
private string type = "com.riotgames.platform.statist... | 2.202902 | 3ba2ee2ac5fcbad26f15260a82900840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baka-gourd/Sleet",
"max_stars_repo_path": "src/backend/Migrations/20210704102724_Init.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3612"
} | starcoder | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Sleet.Data;
namespace Sleet.Serv... | 2.151586 | 1e927657eb51938650b382816a5e3edd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3612 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "telerik/JustMockLite",
"max_stars_repo_path": "Telerik.JustMock/Core/DynamicProxyMockFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3613"
} | starcoder | <filename>Telerik.JustMock/Core/DynamicProxyMockFactory.cs
/*
JustMock Lite
Copyright © 2010-2015,2018 Progress Software 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 the License at
h... | 2.00233 | 760e85a34df740a54a3f54793b7347b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milkcorp/wiener",
"max_stars_repo_path": "Assets/uConstruct/Scripts/Core/Saving/SaveDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3614"
} | starcoder | using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
using System.Collections.Generic;
using uConstruct.Core.PrefabDatabase;
namespace uConstruct.Core.Saving
{
[ExecuteInEditMode]
public class SaveDrawer : MonoBehaviour
{
[SerializeField]
L... | 2.162759 | 63f5e0209ebddd7ffbf1643dab7cb702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3614 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/SSM/Document/AttachmentsSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3615"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.SSM.Document
{
/// <summary>
/// AWS::SSM::Document AttachmentsSource
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-d... | 2.244016 | 8f55fa9981471c35164821cc724535b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "armezaleyva/thenonames",
"max_stars_repo_path": "Assets/Scripts/Character/Character.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3616"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : MonoBehaviour
{
[SerializeField]
public int health = 5;
[SerializeField]
public int maxHealth = 10;
public int level = 3;
public void SavePlayer(){
SaveSystem.SavePlayer(... | 2.054597 | 36ca5c2bd883c4377e26ef4143bbdf66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3616 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "PacktPublishing/Xamarin.Forms-4-Projects",
"max_stars_repo_path": "Chapter02/DoToo/DoToo/ViewModels/MainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3617"
} | starcoder | <filename>Chapter02/DoToo/DoToo/ViewModels/MainViewModel.cs<gh_stars>1-10
using DoToo.Repositories;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using DoToo.Views;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using System.Lin... | 2.794405 | 16adc9ca91c98555d4ccb87ff77d713f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankhaugen/dotnet-chat-app",
"max_stars_repo_path": "ChatApp/Entities/ChatMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3618"
} | starcoder | using System;
using LinqToDB.Mapping;
namespace ChatApp.Entities
{
[Table(Name = "Messages")]
public class ChatMessage
{
[PrimaryKey, Identity]
public int Id { get; set; }
[Column] public DateTime Time { get; set; }
[Column] public string From { get; set; }
[Column]... | 2.143342 | 3758ceeefbb64fb8dc6d06933e203b16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmenarini/MetaSense",
"max_stars_repo_path": "MetaSenseApps/Receiver.Form/ViewModels/PollutantHelpPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3619"
} | starcoder | <filename>MetaSenseApps/Receiver.Form/ViewModels/PollutantHelpPageViewModel.cs
using NodeLibrary;
using Prism.Commands;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace Receiver.ViewModels
{
public class PollutantHelpPage... | 2.08826 | b8ea172efa3217e52a9a4d45a606deae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kirrcho/Project",
"max_stars_repo_path": "MyAnimeWorld.App/Areas/Identity/Pages/Account/Profile.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3620"
} | starcoder | <reponame>kirrcho/Project
@page "/account/profile/{username?}"
@model ProfileModel
@{
}
<div class="container-fluid">
<div>
<div class="row">
@if (this.User.FindFirst(ClaimTypes.NameIdentifier).Value == this.Model.UserId)
{
<div>
<a class="btn bt... | 1.86345 | e6cd7849d40b16ae2c9e295bde020b12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3620 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TastSong/Warrior",
"max_stars_repo_path": "Warrior/Assets/Scripts/Agent/ComponetAI/GOAP/GOAPPlan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3621"
} | starcoder | /***************************************************************
* Class Name : GOAPPlan
* Function : Represents a GOAP plan
*
* Created by : <NAME>
*
**************************************************************/
using System;
using System.Collections.Generic;
using UnityEngine;
public class GOAPPlan ... | 2.773184 | 295faa4a9403b3c573452cc47cd9f1c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GetoXs/Bitfinex.Net",
"max_stars_repo_path": "Bitfinex.Net/Interfaces/Clients/SpotApi/IBitfinexClientSpotApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3622"
} | starcoder | using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Interfaces.CommonClients;
using System;
namespace Bitfinex.Net.Interfaces.Clients.SpotApi
{
/// <summary>
/// Spot API endpoints
/// </summary>
public interface IBitfinexClientSpotApi : IDisposable
{
/// <summary>
/// En... | 2.185456 | 22304f9dfc79ccef81c258039d88232c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3622 | {
"extension": "c-sharp",
"max_stars_count": "2636.0",
"max_stars_repo_name": "bitcrystal/temp",
"max_stars_repo_path": "src/functions_hook/polyhook_lib/Capstone/suite/MC/ARM/mode-switch.s.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3623"
} | starcoder | # CS_ARCH_ARM, CS_MODE_THUMB, None
0x00,0xeb,0x01,0x00 = add.w r0, r0, r1
0x01,0x00,0x80,0xe0 = add r0, r0, r1
0x40,0x18 = adds r0, r0, r1
0x01,0x00,0x80,0xe0 = add r0, r0, r1
0x00,0xeb,0x01,0x00 = add.w r0, r0, r1
0x40,0x18 = adds r0, r0, r1
| 1.069418 | 4d151d2a6cfc9434e06d8ecc9fd7233f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dove6/time-reporting-system",
"max_stars_repo_path": "lab1/Views/Project/Show.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3624"
} | starcoder | <filename>lab1/Views/Project/Show.cshtml
@using TRS.Extensions
@model TRS.Models.ViewModels.ProjectWithUserSummaryModel
@{
ViewData["Title"] = "Przegląd projektu";
}
<main class="bd-main order-1 gap-3">
<h1 class="display-6">Przegląd projektu @Model.Name</h1>
<div class="text-center">
<table class... | 2.589421 | c7c13b8422e31441f9286f4101e82dab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3624 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "thomasdarimont/kc-dnc-demo",
"max_stars_repo_path": "WebApp/Keycloak/KeycloakDefaults.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3625"
} | starcoder | namespace WebApp.Keycloak
{
public class KeycloakDefaults
{
/// <summary>
/// The default value used for KeycloakOptions.AuthenticationScheme.
/// </summary>
public const string AuthenticationScheme = "Keycloak";
public const string CallbackPath = "/oauth/callback";
... | 1.710386 | 9426906fd1075d6a7a0294c133727b2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3625 | {
"extension": "c-sharp",
"max_stars_count": "300.0",
"max_stars_repo_name": "zxyacb/wpftoolkit",
"max_stars_repo_path": "ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/Markup/ClearHeadersFooters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3626"
} | starcoder | <gh_stars>100-1000
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.code... | 1.737476 | 39704e9dc6cf132d6777abf7c92389a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3626 | {
"extension": "c-sharp",
"max_stars_count": "1616.0",
"max_stars_repo_name": "dotnetkits/WebApiClient",
"max_stars_repo_path": "WebApiClientCore/Implementations/Tasks/TaskBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3627"
} | starcoder | <reponame>dotnetkits/WebApiClient
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace WebApiClientCore.Implementations.Tasks
{
/// <summary>
/// 表示Task抽象类
/// </summary>
/// <typeparam name="TResult"></typeparam>
abstract class TaskBase<TResult> : ITask<TResult>
{
... | 2.749414 | c916bbd833e55a933f6272cb291827f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3627 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sandermvanvliet/RoadCaptain",
"max_stars_repo_path": "src/RoadCaptain.Host.Console/MonitoringEventsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3628"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2022 <NAME>
// Licensed under Artistic License 2.0
// See LICENSE or https://choosealicense.com/licenses/artistic-2.0/
using System.Reflection;
namespace RoadCaptain.Host.Console
{
public static class MonitoringEventsExtensions
{
public static void ApplicationStarted(th... | 2.329414 | 171f41cce4c029c6fa778f7ffd50902f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3628 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "eeevans/dodo",
"max_stars_repo_path": "lib/caliburn.micro/src/Caliburn.Micro.Silverlight/ConductorBaseWithActiveItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3629"
} | starcoder | <filename>lib/caliburn.micro/src/Caliburn.Micro.Silverlight/ConductorBaseWithActiveItem.cs
namespace Caliburn.Micro {
/// <summary>
/// A base class for various implementations of <see cref="IConductor"/> that maintain an active item.
/// </summary>
/// <typeparam name="T">The type that is being co... | 3.022444 | 22fcd506dc465aef9b4602214ab2d9b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "telepat-io/telepat-windows-sdk",
"max_stars_repo_path": "TelepatProject/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3630"
} | starcoder | <reponame>telepat-io/telepat-windows-sdk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.... | 1.847982 | c6daeceea62a3a58b8920fa725a46212 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thisis2838/SourceSpl",
"max_stars_repo_path": "GameSpecific/HL2Mods/HL2Mods_Ptsd1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3631"
} | starcoder | <reponame>thisis2838/SourceSpl<gh_stars>0
using System;
using System.Diagnostics;
namespace LiveSplit.SourceSplit.GameSpecific
{
class HL2Mods_Ptsd1 : GameSupport
{
// how to match with demos:
// start: after player view entity changes
// ending: when breen's banana hat (yes really) is... | 2.000945 | d41af4496bb7445339845df98307f8f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "steakpinball/WWWNetworking",
"max_stars_repo_path": "WWWNetworking/ProgressRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3632"
} | starcoder | using System;
using System.Collections;
using UnityEngine;
namespace WWWNetworking
{
/// <summary>
/// Reports download progress.
/// </summary>
public class ProgressRequest : RequestWithError
{
/// <summary>
/// Progress callback. Called each frame when progress updates.
/// </summary>
/// <value>Progre... | 2.883578 | b83ac0373304453df21e33962beff84c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3632 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ZhangGaoxing/weather-station-rp",
"max_stars_repo_path": "src/old/WeatherStation.Device/Iot.Device/Gp2y1010au0f.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3633"
} | starcoder | <reponame>ZhangGaoxing/weather-station-rp<filename>src/old/WeatherStation.Device/Iot.Device/Gp2y1010au0f.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Iot.Device.Gp2y1010au0f
{
public class Gp2y1010au0f : IDisposable
{
public void Dispose()
{
... | 1.364654 | 352b59ccd62dfa7f3b77849559cfc61d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TNDStudios/Blogs",
"max_stars_repo_path": "TNDStudios.Web.Blogs/Helpers/BlogLoginManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3634"
} | starcoder | <reponame>TNDStudios/Blogs
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TNDStudios.Web.Blogs.Core.Providers;
namespace TNDStudios.Web.Blogs.Core.Helpers
{
/// <summary>
/// Handle logins and permissions for the blog
/// </summ... | 2.592764 | ef61ea860ff2d7c05000fcea1051f4ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Demo/FinanceManagement/Entities/Tag.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3635"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// 本文件代码自动生成。用于实现强类型接口,方便应用层使用。
// 版本号:1.6.0
//
// 请勿修改,否则在重新生成时,所有修改会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using Sys... | 2.473215 | d45126c4fc452c443298cdcd6ea10f8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3635 | {
"extension": "c-sharp",
"max_stars_count": "2291.0",
"max_stars_repo_name": "X10sions/linq2db",
"max_stars_repo_path": "Tests/Linq/UserTests/Issue1313Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3636"
} | starcoder | <reponame>X10sions/linq2db
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Extensions;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1313Tests : TestBase
{
/// <summary>
/// Base class for testing, defines fields that will be replaced ... | 2.724947 | f45d652dea8886c9d57f18d9a3036fef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngeloDotNet/RegistroServizi",
"max_stars_repo_path": "Migrations/RegistroServiziDbContextModelSnapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3637"
} | starcoder | // <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using RegistroServizi.Models.Services.Infrastructure;
namespace RegistroServizi.Migrations
{
[DbContext(typeof(RegistroServiziDbContext))]
... | 1.815895 | 5d64fc30f4aea78edcbc2cae8a60dc1e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.