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 | 92189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lvermeulen/DomainProbes",
"max_stars_repo_path": "src/DomainProbes/IDomainMonitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92190"
} | starcoder | <reponame>lvermeulen/DomainProbes<filename>src/DomainProbes/IDomainMonitor.cs
namespace DomainProbes
{
public interface IDomainMonitor
{
void Handle(IDomainContext context);
}
}
| 1.466552 | 14cc3978d00da4d9a6007beb1686f746 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92190 | {
"extension": "c-sharp",
"max_stars_count": "2197.0",
"max_stars_repo_name": "joseocampo/samples",
"max_stars_repo_path": "framework/wcf/Basic/Contract/Service/Duplex/CS/client/generatedClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92191"
} | starcoder |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
namespace Microsoft.Samples.Duplex
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://Microsoft.Samples.Duplex", ConfigurationName="Micros... | 2.108619 | 8203ba08984aaa96ea96a2c21e9a5980 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alexei-117/SwarmSimulation",
"max_stars_repo_path": "Swarm/TutorialAssets/DamageTutorial/Components/Dead.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92192"
} | starcoder | <reponame>Alexei-117/SwarmSimulation<filename>Swarm/TutorialAssets/DamageTutorial/Components/Dead.cs
using Unity.Entities;
namespace DOTSTutorial.Damaging
{
public struct Dead : IComponentData { }
} | 0.98129 | c4922344a90186379bdd7c48788c8f1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimanov/HelloCSharp",
"max_stars_repo_path": "SquareRootCalculation/SquareRoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92193"
} | starcoder | /*
Problem 8. Square Root
*/
using System;
class SquareRoot
{
static void Main()
{
double firstNumber = 12345;
Console.WriteLine(Math.Sqrt(firstNumber));
}
}
| 2.97344 | b693929ad03d44f6ac13a03d4d56559c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexs0ff/remboard",
"max_stars_repo_path": "Server/Romontinka.Server.WebSite/Api/ProtocolRequestOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92194"
} | starcoder | <reponame>alexs0ff/remboard
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Web;
using Romontinka.Server.ProtocolServices;
using log4net;
namespace Romontinka.Server.WebSite.Api
{
/// <summary>
/// Асинхронная операция... | 2.481913 | 6046adc685b18f540a4bc02126d24b95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92194 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/NParsing",
"max_stars_repo_path": "src/DotNet.Standard.NParsing/ComponentModel/ObIndexAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92195"
} | starcoder | using System;
using DotNet.Standard.NParsing.Factory;
namespace DotNet.Standard.NParsing.ComponentModel
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class ObIndexAttribute : Attribute
{
public string Name { get; set; }
public Sort Sort { get; set; }
pu... | 2.08044 | c8ce50dffb2ed19bbad082b68ff2c3e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92195 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/health/ApplicationHealthState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92196"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Fabric.Health... | 2.313653 | 78578935b7cf80fac0209dbb520896a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AGGP-NHTI/Capstone2020_SliceNDice",
"max_stars_repo_path": "work/SliceNDice/Assets/Scripts/SliceNDice Scripts/Game Mechanics/SlicedDespawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92197"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SlicedDespawner : MonoBehaviour
{
public float lifetime = 5;
public void Update()
{
Destroy(gameObject, lifetime);
}
}
| 2.038985 | a5b888455cc8c882ea5744a585c3d71c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92197 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "chcg/JiraWebApi",
"max_stars_repo_path": "JiraWebApi/Component.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92198"
} | starcoder | <gh_stars>1-10
using JiraWebApi.Internal;
using JiraWebApi.Linq;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiraWebApi
{
/// <summary>
/// Representation of a JIRA component.
/// </summary>
publi... | 2.471019 | 6e045625cab961a326c0d5252108bada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongxin3267/alabo",
"max_stars_repo_path": "src/02.data/01-Alabo.Data.People/Users/Domain/Services/UserAdminService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92199"
} | starcoder | using Alabo.Data.People.Users.Domain.Repositories;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Services;
using Alabo.Users.Entities;
using System;
namespace Alabo.Data.People.Users.Domain.Services
{
/// </summary>
public class UserAdminService : ServiceBase, IUserAdminServ... | 2.246252 | a336889ff9bce4d134e9f236bab71a26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92199 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dmariogatto/adelaidefuel",
"max_stars_repo_path": "src/Api/AdelaideFuel.Functions/Functions/SyncFuelPrices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92200"
} | starcoder | <filename>src/Api/AdelaideFuel.Functions/Functions/SyncFuelPrices.cs
using AdelaideFuel.Api;
using AdelaideFuel.Functions.Services;
using AdelaideFuel.TableStore.Entities;
using AdelaideFuel.TableStore.Repositories;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
usi... | 2.150245 | a9eaca85abfde9a83422185216bdfc20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92200 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PacktPublishing/Building-ERP-Solutions-with-Microsoft-Dynamics-NAV",
"max_stars_repo_path": "Chapter07/NAVUWP/NAVUWP/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml",
"provenance": "train-00000-of-00045.js... | starcoder | <gh_stars>1-10
@using NAVUWP.Areas.HelpPage.ModelDescriptions
@model SimpleTypeModelDescription
@Model.Documentation | 1.235126 | 8099a540037ddec280f049b0574a87ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "li1808464468/XLuaProject",
"max_stars_repo_path": "Assets/TDFramework/Core/UI/Button/ButtonManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92202"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace TDFramework.TDUI
{
public class ButtonManager : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{... | 1.713457 | fff9dce01716db530b0b6240f160b748 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Corniel/ivory-net-soap",
"max_stars_repo_path": "test/Ivory.TestModels/SimpleBody.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92203"
} | starcoder | using System;
namespace Ivory.TestModels
{
[Serializable]
public class SimpleBody
{
public int Value { get; set; }
}
}
| 1.709795 | 937f4bc124273010675a713c4abfea70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trinityimma/TelerikAcademy",
"max_stars_repo_path": "Programming/4.HighQualityCode/19.ExamPreparation/1.FreeContentCatalog/Catalog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92204"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using Wintellect.PowerCollections;
namespace FreeContentCatalog
{
public class Catalog : ICatalog
{
private static readonly bool allowDuplicateValues = true;
private readonly OrderedMultiDictionary<string, IContent> title =
... | 2.857776 | 43eca0962c758284ff0bdb68f33c2a0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shirhatti/Trailers",
"max_stars_repo_path": "Client/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92205"
} | starcoder | using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Client
{
class Program
{
static async Task Main(string[] args)
{
using var client = new HttpClient()
{
BaseAddress = new Uri("https://localhost:5001"),
... | 3.189052 | f21072849f282ac16cbb65a9630447d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevin41307/Hello4",
"max_stars_repo_path": "Hello4/Assets/Editor/CubeEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92206"
} | starcoder | <filename>Hello4/Assets/Editor/CubeEditor.cs
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(Cube))]
public class CubeEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
Cube cube = (Cube) target;
if(GUILayout.Button("generate color"))
{
... | 2.317447 | 503305ab32792c2a79779f8fa8de432d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92206 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "edtyl3r/braintree_dotnet",
"max_stars_repo_path": "src/Braintree/CreditCardVerificationRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92207"
} | starcoder | #pragma warning disable 1591
namespace Braintree
{
public class CreditCardVerificationCreditCardRequest : BaseCreditCardRequest {
public CreditCardAddressRequest BillingAddress { get; set; }
}
public class CreditCardVerificationRequest : Request {
public CreditCardVerificationCreditCardReq... | 2.254966 | 27d6328d400736a584744a38d886040e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92207 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cfranchuk/Xrm.Tools.CRMWebAPI",
"max_stars_repo_path": "dotnet/Xrm.Tools.WebAPI.Test/BasicMetadataTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92208"
} | starcoder | <reponame>cfranchuk/Xrm.Tools.CRMWebAPI<filename>dotnet/Xrm.Tools.WebAPI.Test/BasicMetadataTests.cs<gh_stars>1-10
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xrm.Tools.WebAPI;
using Xrm.Tools.WebAPI.Metadata;
using System.Threading.Tasks;
using System.Linq;
using System.Dynamic;
namespace ... | 1.982331 | 5b0ab2cd4fc516dad8e4880d8291b574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giilbert/frantic-cafe",
"max_stars_repo_path": "Frantic Cafe/Assets/Scripts/ScoreDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92209"
} | starcoder | <filename>Frantic Cafe/Assets/Scripts/ScoreDisplay.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
public class ScoreDisplay : MonoBehaviour
{
void Start()
{
TMP_Text text = GetComponent<TMP_Text>();
text.text = ... | 2.261784 | 5d776159bbdca91f9754bc88681f18c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92209 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/defra.prsd-weee",
"max_stars_repo_path": "src/EA.Weee.Requests/Admin/Aatf/DeleteAatf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92210"
} | starcoder | <gh_stars>1-10
namespace EA.Weee.Requests.Admin.Aatf
{
using Prsd.Core.Mediator;
using System;
public class DeleteAnAatf : IRequest<bool>
{
public Guid AatfId { get; private set; }
public Guid OrganisationId { get; private set; }
public DeleteAnAatf(Guid aatfId, Guid organisat... | 1.513565 | d49daa8fbec3f7fa9132f28317f38cb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92210 | {
"extension": "c-sharp",
"max_stars_count": "3803.0",
"max_stars_repo_name": "Paodange/DotNetty",
"max_stars_repo_path": "src/DotNetty.Handlers/Tls/ServerTlsSniSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92211"
} | starcoder | <reponame>Paodange/DotNetty<gh_stars>1000+
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Handlers.Tls
{
using System;
using System.Diagnostics.Contracts;
using System.Threading.Tasks;... | 1.876222 | cb9e9fb9d36fb31efa47ea3d8640a4a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kichikov28/M2_2022",
"max_stars_repo_path": "TipoveDanni/SpecialNumbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92212"
} | starcoder | using System;
namespace SpecialNumbers
{
class Program
{
static void Main(string[] args)
{
int num = int.Parse(Console.ReadLine());
for (int i = 1; i <= num; i++)
{
int SumOfDigits = 0;
int digits = i;
... | 3.800423 | d4c524ce0452cd510ecc2e87411ca2f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "O-Debegnach/Supervisor-de-Comercio",
"max_stars_repo_path": "Data_Layer/Venta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92213"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Data_Layer
{
[Serializable]
public class Venta
{
private DateTime hora;
private bool efectivo;
private double total;
public DateTime Hora { get => hora; set => hora = value; }
public double... | 2.784748 | 2d261287e666e346fdaf46ba2b8bf263 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kree1/BartKFSentinels",
"max_stars_repo_path": "MyMod/Torrent/CoordinatedFinaleCardController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92214"
} | starcoder | using Handelabra;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BartKFSentinels.Torrent
{
public class CoordinatedFinaleCardController : TorrentUtility... | 2.443925 | 4ae395395c329ab03109771c1f9bc529 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92214 | {
"extension": "c-sharp",
"max_stars_count": "631.0",
"max_stars_repo_name": "BTDevelop/BeatPulse",
"max_stars_repo_path": "src/BeatPulse.Elasticsearch/ElasticsearchLiveness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92215"
} | starcoder | <filename>src/BeatPulse.Elasticsearch/ElasticsearchLiveness.cs<gh_stars>100-1000
using BeatPulse.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Nest;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BeatPulse.Elasticsearch
{
public class Elasticsearch... | 2.32647 | c290e3f75bf2367aa019f11a687bd087 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chriskapffer/Sol2E",
"max_stars_repo_path": "source/Utils/Profiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92216"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Sol2E.Utils
{
/// <summary>
/// Helper to be able to use using blocks. Ensures that profiler.Stop() gehts called.
/// Use it like this:
///
/// using (... | 3.103554 | 76af87774c864d85296ce7a8d8f68ab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92216 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anton-abrm/exact-json",
"max_stars_repo_path": "ExactJson.Tests/Unit/JsonNodeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92217"
} | starcoder | <reponame>anton-abrm/exact-json<filename>ExactJson.Tests/Unit/JsonNodeTests.cs
// Copyright (c) <NAME> <<EMAIL>>
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Globalization;
using System.IO;
using NUnit.Framework;
namespace ExactJson.T... | 2.234864 | 2e3ff8feacaaca6bde8a7781c0fd918d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92217 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rh/poplar",
"max_stars_repo_path": "temp/Parameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92218"
} | starcoder | <gh_stars>1-10
using System;
namespace Poplar
{
public class Parameter : IHasDescription
{
public string Name { get; set; }
public string Description { get; set; }
public Func<string> GetValue { get; set; }
private string _value;
public string Value
{
... | 3.136229 | 2180201601f4039f63dc54e7bb155ac4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92218 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnandVishnu/Lean",
"max_stars_repo_path": "Algorithm.Framework/Selection/OpenInterestFutureUniverseSelectionModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92219"
} | starcoder | <filename>Algorithm.Framework/Selection/OpenInterestFutureUniverseSelectionModel.cs
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | 2.309644 | c95f5fd6967784f6aab0bd1e086af288 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92219 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "NET1211/aspnet-archive-tools",
"max_stars_repo_path": "src/graphql-aspnet/Logging/ExecutionEvents/QueryPlanGeneratedLogEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92220"
} | starcoder | <reponame>NET1211/aspnet-archive-tools<gh_stars>10-100
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// ******************************************************... | 2.360489 | fd20d0ad9d18f88fd0d2df3d88d11171 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92220 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RedstonePlatform/Redstone",
"max_stars_repo_path": "src/NBitcoin/PuzzleValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92221"
} | starcoder | using System;
using NBitcoin.BouncyCastle.Math;
using NBitcoin.DataEncoders;
namespace NBitcoin
{
public class PuzzleValue : IBitcoinSerializable
{
internal BigInteger _Value;
public PuzzleValue()
{
}
public PuzzleValue(byte[] z)
{
if(z == null)
... | 2.779936 | 483b388fd05a83757b94f43ca5a630a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92221 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brjdenis/VarianESAPI-HalcyonGantryAngle",
"max_stars_repo_path": "HalcyonGantryAngle_Standalone/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92222"
} | starcoder | <reponame>brjdenis/VarianESAPI-HalcyonGantryAngle
// This app just reads a standalone dicom file, gets the matrix of values and some other data
// and pipes the data to MainWindow from HalcyonGantryAngle that esapi script is already using.
using EvilDICOM.Core;
using EvilDICOM.Core.Helpers;
using System;
using System.... | 2.524719 | 6414dab7c71307d8ec5bd7b8824820a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davewalker5/DroneFlightLog.Api",
"max_stars_repo_path": "src/DroneFlightLog.Api/Controllers/LocationsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92223"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DroneFlightLog.Data.Entities;
using DroneFlightLog.Data.Exceptions;
using DroneFlightLog.Data.Interfaces;
using DroneFlightLog.Data.Sqlite;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
n... | 2.002548 | 525311e1f1075166f1d121044dce5590 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92223 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edersonlrf/ulbra-ads-ldpci-aulas",
"max_stars_repo_path": "Aula09/Revisao/Aula08_Trab2/Form3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92224"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ederson_Mateus_17_09_2018
{
public partial class Form3 : Form
{
int[,] mat = n... | 2.944396 | 1e355c275286d12bba64654bb64e0877 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dlid/fcop",
"max_stars_repo_path": "Source/Fcop.Core/Entities/FcopDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92225"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using Fcop.Core.Extensions;
namespace Fcop.Core.Entities
{
public class FcopDefinition
{
private string _filename = st... | 2.639702 | 70e6fa21de1a8cb534182118d73f43f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uQr/BenchmarkDotNet",
"max_stars_repo_path": "src/BenchmarkDotNet.Core/Extensions/ReflectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92226"
} | starcoder | <reponame>uQr/BenchmarkDotNet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace BenchmarkDotNet.Extensions
{
internal static class ReflectionExtensions
{
internal static T ResolveAttribute<T>(this Type type) where T : Attribute =>
type?.G... | 2.769037 | d40f73bc8d273b77a401584c7d33cfd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikkoVirenius/ptv-1.7",
"max_stars_repo_path": "test/PTV.Framework.Tests/Attributes/ListWithGuidAttributeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92227"
} | starcoder | /**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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 rig... | 2.12587 | e633c298bc0e8978e8a41e2fe4619a3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92227 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "bentheiii/WhetStone",
"max_stars_repo_path": "WhetStone/Cover.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92228"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using WhetStone.SystemExtensions;
namespace WhetStone.Looping
{
/// <summary>
/// A static container for identity method
/// </summary>
public static class cover
{
/// <overloads>Gets an enumerable... | 3.225804 | 699ddd38618a4c2084fa0dac261f8cb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seattlefella/CaveGenerator",
"max_stars_repo_path": "Assets/Editor/MeshTools/Scripts/CaveData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92229"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace Assets.Editor.MeshTools.Scripts
{
// Data structure used in the persistence scriptableObject store
// Note: Unity requires that this must be in it's own file.
public class CaveData : ScriptableObject
{
// The map heig... | 2.263741 | 27baa0d9a119983e5b6f0ae4e67cd842 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92229 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "bleppie/UnityRuntimeInspector",
"max_stars_repo_path": "Plugins/RuntimeInspector/Scripts/RuntimeHierarchy/HierarchyItemSearchEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92230"
} | starcoder | <filename>Plugins/RuntimeInspector/Scripts/RuntimeHierarchy/HierarchyItemSearchEntry.cs<gh_stars>10-100
using UnityEngine;
namespace RuntimeInspectorNamespace
{
public class HierarchyItemSearchEntry : HierarchyItemTransform
{
protected override int ChildCount { get { return 0; } }
protected override Transform ... | 1.959166 | 44f3221189f40057d28539c147bc0032 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92230 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "loune/browscap-net",
"max_stars_repo_path": "BrowscapNet/IBrowserCapabilitiesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92231"
} | starcoder | using System;
namespace BrowscapNet
{
public interface IBrowserCapabilitiesService
{
BrowserCapabilityInfo Find(string userAgent);
}
}
| 1.64737 | 0b55f344ff111431d604ad665c491965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92231 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Desktop/Help/AboutDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92232"
} | starcoder | #region License
// Copyright (c) 2012, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Windows.Forms;
usin... | 1.91038 | 6e735385435f75252dd502b9c59ec5f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92232 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "RhubarbVR/CefNet",
"max_stars_repo_path": "CefNet/Generated/Native/Types/cef_media_source_t.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92233"
} | starcoder | <filename>CefNet/Generated/Native/Types/cef_media_source_t.cs
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license in... | 1.958035 | 7ea32068bd43edaedb1419f16d9db058 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92233 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "maingi4/ProtoBuf.Services",
"max_stars_repo_path": "ProtoBuf.Wcf/Bindings/ProtoBufDispatchFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92234"
} | starcoder | using System.Collections.Generic;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
using ProtoBuf.Services.Infrastructure;
namespace ProtoBuf.Services.Wcf.Bindings
{
public sealed class ProtoBufDispatchFormatter : ProtoBufMessageFormatterBase, IDispatchMessageFormatter
{
public... | 1.828441 | 42cf50db30b7a4a5a12b10d4b72ab8dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92234 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ObjectivityLtd/Bake",
"max_stars_repo_path": "Bake.Cake.Build/Task/GulpTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92235"
} | starcoder | using Bake.API.Task;
using Cake.Core.IO;
namespace Bake.Cake.Build.Task
{
public class GulpTask : ITask
{
public string Name => "Build " + this.NpmProjectName;
public TaskType Type => TaskType.BuildFrontend;
public DirectoryPath ProjectDir { get; }
public string NpmProjectNa... | 2.248918 | ed9af7e482163e02392cf6fe059217c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92235 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CometaSolutions/Qi4CS",
"max_stars_repo_path": "Source/Qi4CS.Core.API/Model/ServiceAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92236"
} | starcoder | /*
* Copyright (c) 2007, <NAME>.
* Copyright (c) 2007, <NAME>.
* See NOTICE file.
*
* Copyright 2012 <NAME>. All rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of t... | 2.126583 | 2f783dde8b273d9a012c7ea49e3052ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freshncp/Larva.RaftAlgo",
"max_stars_repo_path": "src/Examples/BusinessCodeGenerator/Raft/FromConfigRaftClusterSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92237"
} | starcoder | using System;
using System.Linq;
using Larva.RaftAlgo.Concensus.Cluster;
using Larva.RaftAlgo.Concensus.Node;
using Microsoft.Extensions.Options;
namespace BusinessCodeGenerator.Raft
{
/// <summary>
/// Cluster settings
/// </summary>
public class FromConfigRaftClusterSettings : IClusterSettings
{
... | 2.241316 | 9a80fcad8a11750948d07e552f7c4ae7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92237 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erik9631/Lazor",
"max_stars_repo_path": "ContractGenerator/Latex/Scope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92238"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ContractGenerator.Latex
{
class Scope
{
public Scope()
{
ScopeHeader = new StringBuilder("");
ScopeData = new StringBuilder("");
ScopeEndIndex = 0;
ScopeStartIndex = 0;
... | 2.595047 | 48ba5d575a7903da5032e2ad6349c153 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92238 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "druzil/nggp-base",
"max_stars_repo_path": "nJocLogic/data/VariableFact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92239"
} | starcoder | using System.Collections.Generic;
using nJocLogic.gdl;
using System;
namespace nJocLogic.data
{
public class VariableFact : Fact
{
private readonly ICollection<TermVariable> _variables;
public VariableFact(bool cloneCols, int relName, params Term[] columns)
: base(relName, CreateT... | 2.944265 | c9372c8e31cd8bbb227814d290eb3466 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92239 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Lombiq/Associativy-Core",
"max_stars_repo_path": "Models/Services/MindSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92240"
} | starcoder |
namespace Associativy.Models.Services
{
public class MindSettings : IMindSettings
{
public string Algorithm { get; set; }
public int MaxDistance { get; set; }
private static readonly MindSettings _default = new MindSettings();
public static MindSettings Default { get ... | 2.520404 | ff47134a98916362b6d14f1801447647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92240 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nixigaj/Programmering2",
"max_stars_repo_path": "Spelprojekt/Control/Mouse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92241"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Spelprojekt.Engine;
using System;
namespace Spelprojekt.Control
{
class Mouse
{
static MouseState currentMouseState;
static MouseState previousMouseState;
public static Vector2 mousePos()
{
V... | 2.835949 | 5a3cbf670b65d758a475c683f193be33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Khitiara/OpenRadar",
"max_stars_repo_path": "Radar/OpenRadar.RadarClient/AtcClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92242"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
us... | 1.952424 | 049026fbd6a97ac6e64cf870760407da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92242 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NiziulLuizin/EstudosP",
"max_stars_repo_path": "FundamentosDoC#/ProgrammingLanguageWithC#/MeuAppVariables/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92243"
} | starcoder | using System;
namespace MeuAppVariables
{
class Program
{
static void Main(string[] args)
{
int idade; // Correto inicia com ZERO
//int idade = 25; // Correto inicia com 25
//var idade = 25; // Correto inicia com 25
//var idade; // Errado
... | 2.552411 | b3f9ff613f15dd205b278019fc8fcbb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92243 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "Proxyer/JecsTools",
"max_stars_repo_path": "Source/AllModdingComponents/CompAbilityUser/AbilityUserUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92244"
} | starcoder | <reponame>Proxyer/JecsTools
using System;
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using Verse;
namespace AbilityUser
{
// Registers each class that inherits from CompAbilityUser so their callbacks are called.
// Also provides CompAbilityUser/CompAbilityItem access utility method... | 2.795001 | 54e11bb46df1bb0ea0cc746a602db6e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92244 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "tana/Mondeto",
"max_stars_repo_path": "Assets/Scripts/DeleteBall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92245"
} | starcoder | <reponame>tana/Mondeto
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeleteBall : MonoBehaviour
{
void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.tag != "Player")
{
Destroy(collision.gameObject);
... | 1.752109 | dda2b1a7ed7e151951030b19f1e16c9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "P-RCollaboration/ProvueCLI",
"max_stars_repo_path": "src/ProvueCLI/Processors/Implementations/ComponentFileProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92246"
} | starcoder | <gh_stars>0
using ProvueCLI.Loggers;
using ProvueCLI.Processors.PresentationClasses;
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ProvueCLI.Processors.Implementations {
/// <summary>
/// Process .vue files.
/// </summary>
public c... | 2.480728 | e943a874497a7ebce9ee13f48da411da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iPazooki/CleanArchitecture",
"max_stars_repo_path": "Tests/Ca.IntegrationTests/CustomWebApplicationFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92247"
} | starcoder | using Ca.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
namespace Ca.IntegrationTests
{
public class CustomWebApplicationFactory<TStartup>
: WebApplicationFactory<TSta... | 1.832112 | 8df4c9c2e06a5ee3a211b1671f3efb70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vonmoraes/project_ai",
"max_stars_repo_path": "Assets/GameTemplates/Editor/EditorExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92248"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CanEditMultipleObjects]
public class EditorExample : EditorWindow
{
static float TestValue = 1.0f;
[MenuItem("Window/Execute Test Value...")]
static void Init()
{
EditorWindow.GetWindow<EditorEx... | 2.222037 | 9e7dfe18fffb99ed27973b401f848e21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92248 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "0x00null/covid-pass-verifier",
"max_stars_repo_path": "NHSCovidPassVerifier/Utils/HyperlinkSpan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92249"
} | starcoder | using System;
using NHSCovidPassVerifier.Models.Commands;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace NHSCovidPassVerifier.Utils
{
public class HyperlinkSpan : Span
{
public static readonly BindableProperty UrlProperty = BindableProperty.Create(nameof(Url), typeof(string), typeof(Hyperlin... | 2.41376 | a914677122ca4fd902d0be38d4752025 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deltasig/sphinx",
"max_stars_repo_path": "src/Dsp.Web/Extensions/ApplicationPreload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92250"
} | starcoder | using Hangfire;
using Hangfire.SqlServer;
using System;
using System.Web.Configuration;
using System.Web.Hosting;
namespace Dsp.Web.Extensions
{
public class ApplicationPreload : System.Web.Hosting.IProcessHostPreloadClient
{
public void Preload(string[] parameters)
{
H... | 2.002959 | 9cd211c9303bae53b68031a345ab6405 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92250 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dolittle/Runtime",
"max_stars_repo_path": "Source/Events.Store.MongoDB/Events/IEventCommitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92251"
} | starcoder | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Dolittle.Runtime.Artifacts;
using MongoDB.Driver;
namespace Dolittle.Runtime.Events.Store.Mong... | 2.044612 | d0656cc67a01b81c7be1ed5e56ede3f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gibe/ImageSharp.Web",
"max_stars_repo_path": "tests/ImageSharp.Web.Tests/Processors/BackgroundColorWebProcessorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92252"
} | starcoder | <reponame>Gibe/ImageSharp.Web<filename>tests/ImageSharp.Web.Tests/Processors/BackgroundColorWebProcessorTests.cs<gh_stars>1-10
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System.Globalization;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.PixelFormats;
using S... | 2.011052 | 1b7744c1d6e521e620614cfa7a7af048 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maissae/AnnualWorks",
"max_stars_repo_path": "src/NCU.AnnualWorks/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92253"
} | starcoder | <reponame>Maissae/AnnualWorks<gh_stars>0
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Ex... | 2.170636 | d0e2cd2b5aabf118af6603440f2d493c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shawntoffel/yabe",
"max_stars_repo_path": "src/Yabe.Ui/Managers/IBlobManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92254"
} | starcoder | using System.Threading.Tasks;
using Yabe.Domain;
namespace Yabe.Ui.Managers
{
public interface IBlobManager
{
Task<BlobDirectory> ListBlobs(string directory);
Task Delete(string name);
Task Upload(Models.Upload uploadBlob);
}
}
| 1.407325 | 11e5609e49249184fd84c5de01b204f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92254 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "nasa03/SoftwareTrails",
"max_stars_repo_path": "src/SoftwareTrails/Utilities/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92255"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Xml;
using System.Xml.Serialization;
using Microsoft.Win32;
namespace SoftwareTrails
{
//========================================================... | 2.636226 | 401b8d0357c3cf7451a5ad109fdd2a35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92255 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "cbries/railessentials",
"max_stars_repo_path": "ecoslibNet48/Entities/DataProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92256"
} | starcoder | // Copyright (c) 2021 Dr. <NAME>
// Licensed under the MIT License
// File: DataProvider.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using ecoslib.Statistics;
using ecoslib.Utilities;
using ecoslib.Utilities.Replies;
using Newtonsoft.Json.Linq;
// ReSharper disable ... | 2.226964 | f0d88f6107bca0f41720eeb84091a4ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaximeAndre/csharp-exercise",
"max_stars_repo_path": "CSharpExercise/src/WebUI/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92257"
} | starcoder | <reponame>MaximeAndre/csharp-exercise
using CSharpExercise.src.Application.Common.Interface;
using CSharpExercise.src.Infrastructure.Handlers;
using CSharpExercise.src.Infrastructure.Persistance;
using CSharpExercise.src.Infrastructure.Repositories;
using CSharpExercise.src.Infrastructure.Services;
using Microsoft.Asp... | 2.369156 | c7bb1595514df1331a7ea9e385eb4d4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92257 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Infrastructure.UnitTests/ScheduledJobs/Vacancy/ApprenticeshipSummaryUpdateProcessorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92258"
} | starcoder | namespace SFA.Apprenticeships.Infrastructure.UnitTests.ScheduledJobs.Vacancy
{
using System;
using Apprenticeships.Application.Interfaces.ReferenceData;
using Apprenticeships.Application.Vacancies.Entities;
using Domain.Entities.ReferenceData;
using Domain.Interfaces.Messaging;
using Elastic.Co... | 1.863007 | 4495ed1b6b99b8b679cdd73ece8398c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milosponj/rekreatistika",
"max_stars_repo_path": "Services/IMatchesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92259"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Rekreatistika.Models;
using Rekreatistika.Models.MatchViewModels;
namespace Rekreatistika.Services
{
public interface IMatchesService
{
IList<Match> GetMatchesForLeague(int leagueId);
List<Ma... | 1.66502 | dbf40bd173ac8a0b3290fe51a57a7313 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92259 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ekin1106/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_F190499F.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92260"
} | starcoder | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xF190499F)]
public class STU_F190499F : STU_4321E3AC {
[STUFieldAttribute(0xB5ED131B)]
public teStructuredDataAssetRef<ulong> m_B5ED131B;
[STUFieldAttribute(0xB6... | 0.758636 | d7960b7b192b7fc5499abab32f6a9fae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simonndev/OfficeSpace",
"max_stars_repo_path": "OfficeSpace.DataAccess/OfficeSpaceContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92261"
} | starcoder | using OfficeSpace.DataAccess.Configurations;
using OfficeSpace.DataAccess.Models;
using System.Data.Entity;
namespace OfficeSpace.DataAccess
{
public class OfficeSpaceContext : DbContext
{
public OfficeSpaceContext()
: base("OfficeSpace")
{
this.Configuration.LazyLoadin... | 2.272449 | c132b48a297ca18eb71a7d538b43f554 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92261 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "JoshuaWhatley/OpenAPI.NET.CSharpAnnotations",
"max_stars_repo_path": "test/Microsoft.OpenApi.CSharpAnnotations.DocumentGeneration.Tests/ReferenceRegistryTests/Types/SampleChildType1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9... | starcoder | <reponame>JoshuaWhatley/OpenAPI.NET.CSharpAnnotations
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ---------------------------------------... | 2.170801 | 4f6c8b350caec84bb3d052792062c467 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CIPGenebank/InventoryMobileApp",
"max_stars_repo_path": "InventoryApp/InventoryApp/EventAggregators/AddInventoryToListEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92263"
} | starcoder | using InventoryApp.Models;
using Prism.Events;
using System;
using System.Collections.Generic;
using System.Text;
namespace InventoryApp.EventAggregators
{
public class AddInventoryToListEvent : PubSubEvent<InventoryThumbnail>
{
}
}
| 1.121567 | 2fd3cf1aaa4de1201d2d4b9c4129a1a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielOwO/POO",
"max_stars_repo_path": "CalculadoraVectorial/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92264"
} | starcoder | using System;
namespace proyectoVectorial
{
class Program
{
static void Main(string[] args)
{
int op = 5;
while (op == 5)
{
Console.WriteLine("Elija una opcion" +
"\n1.Producto punto" +
"\n2.Producto ve... | 3.069704 | 7af68ac06620af0c03a7018550108f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92264 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ljani/event-trace-kit",
"max_stars_repo_path": "src/EventTraceKit.EventTracing/Schema/BitMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92265"
} | starcoder | <reponame>ljani/event-trace-kit
namespace EventTraceKit.EventTracing.Schema
{
using EventTraceKit.EventTracing.Support;
public sealed class BitMap : Map
{
public BitMap(LocatedRef<string> name)
: base(name)
{
}
public BitMap(LocatedRef<string> name, LocatedRef<s... | 1.796628 | 1586f89dd892a0f698a75138449a0b23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92265 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "ld-programs/UCR-Plugins",
"max_stars_repo_path": "AxesToAxesRotation/AxesToAxesRotation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92266"
} | starcoder | <gh_stars>10-100
using System;
using System.Reflection;
using System.Windows;
using HidWizards.UCR.Core.Attributes;
using HidWizards.UCR.Core.Models;
using HidWizards.UCR.Core.Models.Binding;
using HidWizards.UCR.Core.Utilities;
using HidWizards.UCR.Core.Utilities.AxisHelpers;
namespace AxesToAxesRotation
{
[Plug... | 2.602982 | 4407694a2652d0eb08d01c360c1745b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaloyanchoSt/Telerik-Academy-Homeworks",
"max_stars_repo_path": "1. Programming C#/3. Object-Oriented-Programming/07. Teamwork/NinjaRacer/NinjaRacer/CrashException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92267"
} | starcoder | <gh_stars>0
namespace NinjaRacer
{
using System;
public class CrashException : ApplicationException
{
private const string ExeptionMessage = "The car crashed! (health = {0})";
private int health;
public CrashException(int health)
: base(string.Format(ExeptionMessage, h... | 2.71118 | d008d9b2edcea28815bfd7fcd037fb6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92267 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "achinn/fluentcassandra",
"max_stars_repo_path": "test/FluentCassandra.Integration.Tests/TypesToDatabase/DecimalTypeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92268"
} | starcoder | using System;
using System.Numerics;
using Xunit;
namespace FluentCassandra.Integration.Tests.TypesToDatabase
{
public class DecimalTypeTest : IUseFixture<CassandraDatabaseSetupFixture>, IDisposable
{
private CassandraContext _db;
public void SetFixture(CassandraDatabaseSetupFixture data)
{
var setup = ... | 2.551566 | 3b1ed57c13a04bdad9cd5264bde9254f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92268 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Hoyiki/CardboardJump",
"max_stars_repo_path": "Assets/Cardboard/Editor/CardboardEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92269"
} | starcoder | // Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 2.008599 | 98ace10c793a78b4aea282d895b0c306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chinatsui/CodeKata2077",
"max_stars_repo_path": "LeetCode/Entity/ListNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92270"
} | starcoder | <filename>LeetCode/Entity/ListNode.cs<gh_stars>0
using System.Text;
namespace CodeKata2077.LeetCode.Entity
{
class ListNode
{
public int Value { get; set; }
public ListNode Next { get; set; }
public static ListNode Deserialize(params int[] nums)
{
if (nums == nul... | 3.534709 | 53329576e20b961e2ea7fd03a9ed41f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KovalenkoILja/Chess-on-Unity2d",
"max_stars_repo_path": "Chess Unity2d/Assets/PostProcessing/Editor/Models/UserLutModelEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92271"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.PostProcessing;
namespace UnityEditor.PostProcessing
{
[PostProcessingModelEditor(typeof(UserLutModel))]
public class UserLutModelEditor : PostProcessingModelEditor
{
private SerializedProperty m_Contribution;
private SerializedProperty m_Tex... | 1.807741 | 0b3a03085543f31f488a5663d63ea5a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krisk0su/Movies",
"max_stars_repo_path": "src/Web/Helpers/PagerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92272"
} | starcoder | <reponame>krisk0su/Movies<filename>src/Web/Helpers/PagerService.cs
namespace MoviesApp.Web.Helpers
{
using Contracts;
public class PagerService:IPagerService
{
public string GetViewName(string actionName)
{
if (actionName == "MoviesByCategory") return "Search";
if (... | 1.957023 | d7c11c118d8488d50242a07519bed9d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobGibbens/mysportsfeeds-dotnet",
"max_stars_repo_path": "MySportsFeeds.NetCore/MySportsFeeds.NetCore/Leagues/MLB/v1_2/CumulativePlayerStats/Response/Stats/InningsPitched.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92273"
} | starcoder | <reponame>RobGibbens/mysportsfeeds-dotnet
namespace MySportsFeeds.NetCore.Leagues.MLB.v1_2.CumulativePlayerStats.Response
{
public class InningsPitched : Stat
{
}
} | 1.292485 | 42c3fe7fe07d83832d327931351f5c39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Orangexx/NovaForStudy",
"max_stars_repo_path": "Assets/Nova/Sources/ThirdParty/ToLua/Source/Generate/Nova_SelectionOccursData_SelectionWrap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92274"
} | starcoder | //this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class Nova_SelectionOccursData_SelectionWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(Nova.SelectionOccursData.Selection), typeof(System.Object));
L.RegFunction("New", _CreateNova_Se... | 1.891043 | dffa989234edcbca632a3f972719e802 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omaraceves/WatchlistMicroserviceV1",
"max_stars_repo_path": "Watchlist.API/Migrations/20190822071829_WatchlistV5.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92275"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Watchlist.API.Migrations
{
public partial class WatchlistV5 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "WatchLists",
... | 1.783848 | 6477f25f47c97242cb0b198ad6f69280 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92275 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GreenhazelStudio/Horseshoe.NET",
"max_stars_repo_path": "TestConsole (net472)/LibTests/CollectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92276"
} | starcoder | <filename>TestConsole (net472)/LibTests/CollectionTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Horseshoe.NET.Collections;
using Horseshoe.NET.ConsoleX;
using Horseshoe.NET.Text.TextGrid;
namespace TestConsole.LibTests
{
class CollectionTests : Routine
... | 2.752169 | 48f162b0a64fe7bb80382c2346f7305b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hailstones/AlgoTrading",
"max_stars_repo_path": "Algo/Algo.VwapExecution.QCAlgorithmAdaptor/Internals/EchoAlphaModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92277"
} | starcoder | using System;
using System.Collections.Generic;
using QuantConnect.Algorithm;
using QuantConnect.Algorithm.Framework.Alphas;
using QuantConnect.Data;
namespace Algo.VwapExecution.QCAlgorithmAdaptor.Internals
{
internal class EchoAlphaModel : AlphaModel
{
private readonly Insight[] _insights;
... | 2.105108 | 31e14dc0075b09a8c303ae486dda2d46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92277 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/ContainerAnalysis/V1Beta1/Inputs/CommandArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92278"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.Goog... | 1.956168 | 6eac897244ade13bc58ed7bc28c708a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sofijailic/RVAprojekat",
"max_stars_repo_path": "RVAprojekat/Client/Command/OtvoriProzorKomande/OtvoriProzorDodajKorisnikaCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92279"
} | starcoder | using Client.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Command.OtvoriProzorKomande
{
public class OtvoriProzorDodajKorisnikaCommand :ClientCommand
{
public override void Execute(object parameter)
{... | 2.044039 | 8c6800164f20e4b583220e1c3e7b854f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92279 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Elesbaan70/AdaptiveNetworks",
"max_stars_repo_path": "AdaptiveRoads/Patches/Node/ConnectGroup/CheckConnectGroupCommons.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92280"
} | starcoder | namespace AdaptiveRoads.Patches.Node.ConnectGroup {
using HarmonyLib;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using ColossalFramework;
using AdaptiveRoads.Manager;
using KianCommons;
using System;
using KianCommons.Patches;
using A... | 2.163102 | 59142c2fe6c824cdadb8d9724db9bea4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "Dicom/DirectoryRecordCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92281"
} | starcoder | <reponame>econmed/ImageServer20<filename>Dicom/DirectoryRecordCollection.cs
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//... | 2.484267 | b77dfa08f2c69914a7651abf65388704 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drmturhan/psg",
"max_stars_repo_path": "Psg.Api/Helpers/KullaniciAktiviteleriniTakipEt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92282"
} | starcoder | using Microsoft.AspNetCore.Mvc.Filters;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Psg.Api.Repos;
using System;
using Psg.Api.Base;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using System.Dynamic;
using System.Reflection;
usi... | 1.940104 | 9f0b72a54299e10eae4a2910c61d19fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "c7dk/unity-sampleproject",
"max_stars_repo_path": "JollyRoger/Assets/DemoGame/Scripts/Runtime/Nakama/Gameplay/Cards/CardInfoSidePanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92283"
} | starcoder | /**
* Copyright 2019 <NAME> and 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 applicable law or ... | 2.473285 | da1bf4140b7f15cb22cb78d2f89a592d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92283 | {
"extension": "c-sharp",
"max_stars_count": "240.0",
"max_stars_repo_name": "LightBDD/LightBDD",
"max_stars_repo_path": "src/LightBDD.Framework/Implementation/IntegratedScenarioBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92284"
} | starcoder | <filename>src/LightBDD.Framework/Implementation/IntegratedScenarioBuilder.cs
using System.Threading.Tasks;
using LightBDD.Core.Execution;
using LightBDD.Core.Extensibility;
using LightBDD.Framework.Scenarios;
namespace LightBDD.Framework.Implementation
{
internal class IntegratedScenarioBuilder<T> : IIntegratedSce... | 2.213498 | 1764868abe940de99dfaf222d5ca6cf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92284 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "niltor/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/OpenMsg/RecordOpenMsgServiceQueryMsg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92285"
} | starcoder | <filename>PddOpenSdk/PddOpenSdk/Models/Request/OpenMsg/RecordOpenMsgServiceQueryMsg.cs
namespace PddOpenSdk.Models.Request.OpenMsg;
public partial class RecordOpenMsgServiceQueryMsg
{
/// <summary>
/// 短信发送流水
/// </summary>
[JsonPropertyName("biz_id")]
public string BizId { get; set; }
/// <su... | 1.708438 | 364d4b67265711cd53a6e1d5d1715cba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RomitMehta/presentations",
"max_stars_repo_path": "DOTNETCORE/ASP.NETCore/WIP/AutoLot/AutoLot.Dal.Models/Entities/Make.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92286"
} | starcoder | <reponame>RomitMehta/presentations
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
using AutoLot.Dal.Models.Entities.Base;
namespace AutoLot.Dal.Models.Entities
{
public class Make : BaseEntity... | 2.060233 | 0acced7a4e0cb8fd59f1fede4ef6cd4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92286 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "equinor/fusion-app-resources",
"max_stars_repo_path": "src/backend/tests/Fusion.Resources.Api.Tests/IntegrationTests/DepartmentRequestsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92287"
} | starcoder | <gh_stars>1-10
using FluentAssertions;
using Fusion.Integration.Profile;
using Fusion.Integration.Profile.ApiClient;
using Fusion.Resources.Api.Tests.Fixture;
using Fusion.Testing;
using Fusion.Testing.Authentication.User;
using Fusion.Testing.Mocks;
using Fusion.Testing.Mocks.LineOrgService;
using Fusion.Testing.Mock... | 1.819501 | 3a398001e0666d9e3b1f3488191ee2fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92287 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ludojmj/react-hooks-netcore-identity",
"max_stars_repo_path": "Server/Repository/DirectoryTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92288"
} | starcoder | <reponame>ludojmj/react-hooks-netcore-identity
using System;
using System.Collections.Generic;
using System.Linq;
using Server.DbModels;
using Server.Models;
namespace Server.Repository
{
public static class DirectoryTranslator
{
public static UserModel ToUserModel(this TUser input)
{
... | 2.368891 | cbbcd4364bb0a1df1143c0421a0394d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-providerportal-coursedirectory",
"max_stars_repo_path": "src/Dfc.ProviderPortal.CourseDirectory.Web/Views/Shared/_CDNonRegulatedSearch.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92289"
} | starcoder | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<main class="cd-fullwidth-">
<a asp-controller="lars" asp-action="nonregsearch" class="govuk-back-link">Back</a>
<div class="grid-row govuk-body" data-sf-element="Row">
... | 2.251303 | ec26b8a709f7ad431bff6edf5979f6ec |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.