added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814618 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "Synnotech-AG/VweXmlSetCollectionsError",
"max_stars_repo_path": "test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue268Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133838"
} | starcoder | using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
using FluentAssertions;
using System.Data;
using Xunit;
namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
public sealed class Issue268Tests
{
[Fact]
void Verify()
{
using (var instance = Create())
{... | 2.560091 | 12a73755dc6491889e997865a362325c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814619 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gcguo/tencentcloud-sdk-dotnet",
"max_stars_repo_path": "TencentCloud/Iai/V20180301/Models/FaceAttributesInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133839"
} | starcoder | <filename>TencentCloud/Iai/V20180301/Models/FaceAttributesInfo.cs<gh_stars>1-10
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 ... | 2.107889 | a7883f0b579269f7778f5acb13739284 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814620 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mtelligent/Handlebars-For-Sitecore",
"max_stars_repo_path": "src/Feature/Handlebars.SXA/code/Models/HandlebarTemplateModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133840"
} | starcoder | <reponame>mtelligent/Handlebars-For-Sitecore
using Sitecore.XA.Foundation.Mvc.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SF.Feature.Handlebars.SXA.Models
{
public class HandlebarTemplateModel : RenderingModelBase
{
public bool HasTemplateCont... | 0.925271 | b3116a5ef95177a1a881b71e84624fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonnypjohnston/Xarial-xcad",
"max_stars_repo_path": "src/Base/Geometry/Surfaces/IXCylindricalSurface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133841"
} | starcoder | //*********************************************************************
//xCAD
//Copyright(C) 2020 Xarial Pty Limited
//Product URL: https://www.xcad.net
//License: https://xcad.xarial.com/license/
//*********************************************************************
using System;
using System.Collections.Generic;
... | 2.024011 | c1c1a6ae2ae54082fda3b43104fd4455 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milleniumbug/ExpressionEvaluator",
"max_stars_repo_path": "Calculator/Tokenization/Token.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133842"
} | starcoder | namespace Calculator.Tokenization;
public abstract class Token
{
} | 1.105222 | fdbb909b1be4520360a55d7bbde34247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814623 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "manio143/StoppingRogue",
"max_stars_repo_path": "StoppingRogue/Turns/TurnScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133843"
} | starcoder | using Stride.Engine;
using System;
namespace StoppingRogue.Turns
{
/// <summary>
/// Updates the <see cref="TurnSystem"/> and manages turns.
/// </summary>
public class TurnScript : SyncScript
{
private TimeSpan lastTurn;
public bool Enabled { get; set; }
public override v... | 2.680444 | ac4af33d226f732b0b5c14fb446f9c8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814624 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "project-scorpio/Scorpio",
"max_stars_repo_path": "src/Core/src/Scorpio.Utilities/Scorpio/Runtime/IRemoteService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133844"
} | starcoder | namespace Scorpio.Runtime
{
/// <summary>
///
/// </summary>
public interface IRemoteService
{
}
}
| 1.293149 | 571d6640986447055c15b2e8394e947a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "odomobo/Dragonfly",
"max_stars_repo_path": "Dragonfly.Engine/TimeStrategies/DefaultTimeStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133845"
} | starcoder | <reponame>odomobo/Dragonfly
using System;
using System.Collections.Generic;
using System.Text;
using Dragonfly.Engine.Interfaces;
namespace Dragonfly.Engine.TimeStrategies
{
public sealed class DefaultTimeStrategy : ITimeStrategy
{
private readonly SynchronizedFlag _stopping = new Synchronize... | 1.818527 | 8f1b43d0c61b7baa6fa4eab87c52007d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FatildaIV/CS010ParametryProgramu",
"max_stars_repo_path": "CS010ParametryProgramu/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133846"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CS010ParametryProgramu
{
class Program
{
static void JmenoVypis()
{
Console.Write("Karel");
}
static void Mezera()
{
... | 3.153621 | 83bc916b04d8a6e338bdb3f161320c64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814627 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JoanStark/D3D_P3_SuperMario",
"max_stars_repo_path": "Assets/Code/Enemy/Goomba/GoombaAttackState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133847"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoombaAttackState : State<GoombaMachine>
{
public static GoombaAttackState Instance { get; private set; }
static GoombaAttackState()
{
Instance = new GoombaAttackState();
}
public ... | 2.240525 | da696919ccdeb8f3d69adfe56cc46870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joedayz/joerp",
"max_stars_repo_path": "Source/Presentation Layer/JOERP.WebSite/Areas/Logistica/Views/Valorizacion/ValorizacionPanel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133848"
} | starcoder | @model JOERP.Business.Entity.DTO.Valorizacion
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="msgModel">
<div class="tips loading">
Por favor espere, procesando solicitud...
</div>
<div class="tips merror">
</div>
<div ... | 2.087364 | 5d7a2e5ec6607092129af383953295a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahosie/roslyn",
"max_stars_repo_path": "src/Tools/BuildValidator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133849"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
usin... | 2.290424 | 050fe7ca47397690457f681caf24af92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fierce-Cat/LunaMultiPlayer",
"max_stars_repo_path": "Common/Message/Server/PlayerColorSrvMsg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133850"
} | starcoder | using System.Collections.Generic;
using Lidgren.Network;
using LunaCommon.Enums;
using LunaCommon.Message.Data.Color;
using LunaCommon.Message.Interface;
using LunaCommon.Message.Server.Base;
using LunaCommon.Message.Types;
namespace LunaCommon.Message.Server
{
public class PlayerColorSrvMsg : SrvMsgBase<PlayerCo... | 1.778178 | 17f2006eca51cd29ab22197ffbe6baed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814631 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ZensYue/MotionFramework",
"max_stars_repo_path": "Assets/MotionFramework/Scripts/Runtime/Module/Module.Pool/GameObjectCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133851"
} | starcoder | <gh_stars>1-10
//--------------------------------------------------
// Motion Framework
// Copyright©2018-2020 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MotionFramework.Re... | 2.224895 | 55a989747e546aabeff3429a6bab77b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuddenVacuity/TCP-Chat",
"max_stars_repo_path": "TestTCPClient/src/client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133852"
} | starcoder | <gh_stars>0
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This software is released under the MIT License
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Copyright (c) 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a... | 2.896887 | 539ff442463f1e2ea20bae9059fc2a6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814633 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "orbitalgames/unity-ui-extensions",
"max_stars_repo_path": "Scripts/HSVPicker/HsvBoxSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133853"
} | starcoder | ///Credit judah4
///Sourced from - http://forum.unity3d.com/threads/color-picker.267043/
using UnityEngine.EventSystems;
namespace UnityEngine.UI.Extensions
{
public class HsvBoxSelector : MonoBehaviour, IDragHandler, IPointerDownHandler
{
public HSVPicker picker;
void PlaceCursor... | 2.315875 | e2cd404439b4bb58913dfa648e0a91c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdissel/lucene.net",
"max_stars_repo_path": "src/Lucene.Net.Core/Index/IndexWriterConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133854"
} | starcoder | using System;
using System.Text;
namespace Lucene.Net.Index
{
using Lucene.Net.Util;
using System.IO;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional inform... | 2.182758 | 4c8b77111bb72a657a5ec661eaa7cc8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814635 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CozyHome/cozyhome-n64platformer",
"max_stars_repo_path": "n64platformer/Assets/Scripts/ActorStates/States/FallState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133855"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using com.cozyhome.Actors;
using com.cozyhome.Vectors;
using UnityEngine;
public class FallState : ActorState
{
protected override void OnStateInitialize() { }
public override void Enter(ActorState prev)
{
Machine.GetAnimator.SetTrigger("... | 2.022776 | cf9de7b2823afa4d0949bb0544691365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814636 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "yuenkik6/360Dialog.NET",
"max_stars_repo_path": "WABA360Dialog.NET/PartnerClient/Payloads/Enums/VerificationMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133856"
} | starcoder | <reponame>yuenkik6/360Dialog.NET
using Newtonsoft.Json;
using WABA360Dialog.PartnerClient.Converters;
namespace WABA360Dialog.PartnerClient.Payloads.Enums
{
[JsonConverter(typeof(VerificationMethodConverter))]
public enum VerificationMethod
{
unknown = 0,
voice = 1,
sms = 2,
}
... | 1.404643 | 1af7877d48ffa77e4cf04c018f280fec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814637 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageViewer/Tools/Standard/View/WinForms/MagnificationComponentView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133857"
} | starcoder | <filename>ImageViewer/Tools/Standard/View/WinForms/MagnificationComponentView.cs
#region License
// Copyright (c) 2011, 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.clearcan... | 2.069592 | d2ca49f958eae9acb7ad46b45857ba3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814638 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Sgw32/BMSCtl",
"max_stars_repo_path": "Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133858"
} | starcoder | <reponame>Sgw32/BMSCtl
namespace BMSCtl
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.883969 | 1ab954cf4f1ef8be2926f977f56f17fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eragonwien/TTWeb",
"max_stars_repo_path": "TTWebMVC/TTWebMVCV2/Views/Account/NotActivated.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133859"
} | starcoder | @{
var model = new EmptyStateViewModel("Account is not yet activated", "New account has to be manually activated by an admin", "To Login Page", Url.Action("login", "account"));
}
<partial name="_EmptyStatePartial" model="model" /> | 1.367808 | acbfc428a2f8b3a7502fdc8cf1f42aac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814640 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "fossabot/stankins",
"max_stars_repo_path": "stankinsV1/StankinsSimpleFactory/SimpleJobFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133860"
} | starcoder | <reponame>fossabot/stankins<filename>stankinsV1/StankinsSimpleFactory/SimpleJobFactory.cs
using Microsoft.DotNet.PlatformAbstractions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyModel;
using ReceiverDB;
using StankinsInterfaces;
using StanskinsImplementation;
using System;
usi... | 2.234434 | 916af1b417138b51dc09d3a6abc28bd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814641 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "Ud0o/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Models/TicketField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133861"
} | starcoder | <filename>src/ZendeskApi.Client/Models/TicketField.cs
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace ZendeskApi.Client.Models
{
[JsonObject("ticket_field")]
public class TicketField
{
[JsonProperty]
public long? Id { get; set; }
[JsonProperty("url... | 1.740448 | 988258ad3a9f0d73a10696750e72ea19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nhs-digital-gp-it-futures/GPITBuyingCatalogue",
"max_stars_repo_path": "tests/NHSD.GPIT.BuyingCatalogue.Services.UnitTests/Session/SessionServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133862"
} | starcoder | using System;
using AutoFixture;
using AutoFixture.AutoMoq;
using AutoFixture.Idioms;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models;
using NHSD.GPIT.BuyingCatalogue.Services.Session;
using NHSD.GPIT.BuyingCatalogue.Test.Framework.Au... | 2.17509 | 97906748a352febc9bc209bc8e76e827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814643 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "h10ne/winforms-datavisualization",
"max_stars_repo_path": "src/shared/ChartTypes/FunnelChart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133863"
} | starcoder | <reponame>h10ne/winforms-datavisualization
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// Purpose: Provides 2D/3D drawing and hit testing functionality... | 2.741151 | c4f76a583b19703ce9f849968bbb2b69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thomas694/TumblThree",
"max_stars_repo_path": "src/TumblThree/TumblThree.Domain/Models/UrlValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133864"
} | starcoder | <reponame>Thomas694/TumblThree
using System.ComponentModel.Composition;
using System.Linq;
using System.Text.RegularExpressions;
namespace TumblThree.Domain.Models
{
[Export(typeof(IUrlValidator))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class UrlValidator : IUrlValidator
{
private ... | 2.532864 | 8dc0b0977ade5b899c790e6b861644e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814645 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "jimtsikos/DesignPatternsCSharp",
"max_stars_repo_path": "DesignPatterns/GangOfFour/Behavioral/Strategy/QuickSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133865"
} | starcoder | namespace DesignPatterns.GangOfFour.Behavioral.Strategy
{
using System;
using System.Collections.Generic;
public class QuickSort<T> : ISortStrategy<T>
{
public void Sort(List<T> items)
{
Console.WriteLine("Sorting list using QuickSort.");
items.Sort();... | 2.959085 | 5a627895b8fca0e22870974f3349759d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "secustor/pulumi-exoscale",
"max_stars_repo_path": "sdk/dotnet/Inputs/SecurityGroupRulesIngressArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133866"
} | starcoder | <filename>sdk/dotnet/Inputs/SecurityGroupRulesIngressArgs.cs
// *** 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;
usi... | 1.683418 | edc47ef784d2df79990f60aa30912ac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814647 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "da1fanshu/1234ewsd",
"max_stars_repo_path": "Assets/Scripts/Game/rbwar/RbwarRankWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133867"
} | starcoder | using System.Linq;
using Assets.Scripts.Common.Windows;
using com.yxixia.utile.Utiles;
using YxFramwork.Common;
namespace Assets.Scripts.Game.rbwar
{
public class RbwarRankWindow : YxNguiWindow
{
public RankItem RankItem;
public UIGrid RankGrid;
private RbwarGameData _gdata
{
... | 1.980026 | 4cd911c62e363d9166ec5d566049e918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nuka-World/Nuka.Alpha",
"max_stars_repo_path": "Nuka.Sample.HttpAggregator/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133868"
} | starcoder | <filename>Nuka.Sample.HttpAggregator/Extensions/ServiceCollectionExtensions.cs<gh_stars>0
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Nuka.Sample.HttpAggregator.Services;
namespace Nuka.Sample.HttpAggregator.Extensions
{
public static class ServiceCollectionExte... | 2.101221 | 5068d008a7fb4db001d3db7d1cc3947c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DatHydroGuy/RayTracer.Net",
"max_stars_repo_path": "RayTracerApp/Chapter09.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133869"
} | starcoder | <gh_stars>0
using System;
using RayTracer;
namespace RayTracerApp
{
public class Chapter09
{
public Chapter09()
{
var floor = new Plane();
floor.Material = new Material();
floor.Material.Colour = new Colour(1, 0.9, 0.9);
floor.Material.Specular = ... | 2.815351 | 2f4e1948d78a886b5092ed30f6eb7d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "syabac/corejob",
"max_stars_repo_path": "CoreJob.CombineStatement/Models/FtpFileLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133870"
} | starcoder | using System;
namespace CoreJob.CombineStatement.Models
{
public class FtpFileLog
{
public int Id { get; set; }
public string Period { get; set; }
public string FileName { get; set; }
public string CheckSum { get; set; }
public DateTime? LogDate { get; set; }
public string DataType { get; set; }
}
}
| 1.456202 | a77b9e168f5f0e76100cf40246f525c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leejuqiang/LGFW",
"max_stars_repo_path": "Unity3D/LGFW/Global/ResourceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133871"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LGFW
{
/// <summary>
/// Resource manager
/// </summary>
public class ResourceManager : MonoBehaviour
{
private static ResourceManager m_instance;
/// <summary>
/// Get... | 2.959737 | 89ed252e6a71a22e1cbd2c47c62bea4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dradoaica/rebalancer-net-mssql",
"max_stars_repo_path": "src/Rebalancer.SqlServer/SqlServerProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133872"
} | starcoder | using Rebalancer.Core;
using Rebalancer.Core.Logging;
using Rebalancer.SqlServer.Clients;
using Rebalancer.SqlServer.Leases;
using Rebalancer.SqlServer.Resources;
using Rebalancer.SqlServer.Roles;
using Rebalancer.SqlServer.Store;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
usi... | 2.005222 | 30cbcd4598e2e3ed3264d7a541b21f45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntonioTomo01/examHospital",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133873"
} | starcoder | <reponame>AntonioTomo01/examHospital<filename>Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hospital
{
class Program
{
static void Main(string[] args)
{
int numDays = int.Parse(Co... | 3.339306 | 16364613e99fbde932daf96c577231d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lqdev/headfirstdesignpatterns",
"max_stars_repo_path": "Observer/HeatIndexDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133874"
} | starcoder | <filename>Observer/HeatIndexDisplay.cs
using System;
namespace Observer
{
public class HeatIndexDisplay : Observer, DisplayElement
{
private float heatIndex;
private WeatherData weatherData;
public HeatIndexDisplay(WeatherData weatherData)
{
this.weatherData = weat... | 3.111331 | 069d87d509d42cf4d1522c182c07e54f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jwaffled/MathExpressionParsing",
"max_stars_repo_path": "MathExpressionParsing/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133875"
} | starcoder | <reponame>Jwaffled/MathExpressionParsing<gh_stars>0
using MathExpressionParsing.Input;
namespace MathExpressionParsing;
public class Program
{
public static void Main(string[] args)
{
UserInput.Start();
}
} | 1.222692 | ed7075cfde1b67b8593a081a6c78ada7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ambratolm/gestionnaire-location-voitures",
"max_stars_repo_path": "versions-alternatives/Car Rental Manager/Solution/Car_Rental_Project/GUI/Gestion/Agences_Collection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133876"
} | starcoder | using System;
using System.Windows.Forms;
namespace Car_Rental_Project.GUI.Gestion
{
public partial class Agences_Collection : DevExpress.XtraEditors.XtraForm
{
private DAI.DataManagement gestionAgences;
private Agences_Detail detailAgence;
public Agences_Collection()
{
... | 1.897661 | e1999b51107373277e6dbe2d8b6a5a00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Melodi17/FileTransfer",
"max_stars_repo_path": "File Transfer 2/TCPConnectionServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133877"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Windows.Forms;
namespace Melodi.Networking
{
public class TCPConnectionServer
{
private int Port;
private TcpListener TcpListener... | 2.998555 | 1d41ade43271df73f8a498c91007339b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814658 | {
"extension": "c-sharp",
"max_stars_count": "1205.0",
"max_stars_repo_name": "Doug-AWS/aws-lambda-dotnet",
"max_stars_repo_path": "Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/TestApplicationLoadBalancerCalls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133878"
} | starcoder | <filename>Libraries/test/Amazon.Lambda.AspNetCoreServer.Test/TestApplicationLoadBalancerCalls.cs
using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Amazon.Lambda.ApplicationLoadBalancerEvents;... | 1.958072 | eb9a757d65a7e3f92e7afa4aade0113b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aleksandra992/TelerikAcademy",
"max_stars_repo_path": "Data Structures and Algorithms/WorkShop2/OnlineStore100/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133879"
} | starcoder | <reponame>aleksandra992/TelerikAcademy
namespace OnlineStore
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// using Wintellect.PowerCollections;
public class Product : IComparable<Product>
{
... | 3.067732 | c7c0c58d41f55bb0a802c8ab2f0c9d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814660 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Egor-kl/Life-Balance",
"max_stars_repo_path": "src/Life-Balance.DAL/Models/Profile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133880"
} | starcoder | <reponame>Egor-kl/Life-Balance<gh_stars>1-10
using System.Collections.Generic;
using Life_Balance.Common.Interfaces;
namespace Life_Balance.DAL.Models
{
public class Profile : IHasDbIdentity
{
/// <summary>
/// Profile Id.
/// </summary>
public int Id { get; set; }
///... | 2.037337 | dcb0795298999e864e15bf9ae7fac0d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814661 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "AccuPS/OpenBrushVR",
"max_stars_repo_path": "Assets/Scripts/enviManger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133881"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class enviManger : MonoBehaviour {
public bool groundVis;
public GameObject ground;
public Text groundbutton;
public Material[] Skyboxes;
public int skyboxint= 6;
public Text enviormentText;
// Use this for initialization
void Start ()... | 2.213526 | 211780b4929c21c6c2d31f2a5e95f167 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814662 | {
"extension": "c-sharp",
"max_stars_count": "193.0",
"max_stars_repo_name": "Panuon/Panuon.UI.Silver",
"max_stars_repo_path": "DotNet/WPF/Src/SharedResources/Panuon.UI.Silver/Enums/CalendarXItemMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133882"
} | starcoder | namespace Panuon.UI.Silver
{
public enum CalendarXItemMode
{
Day,
Month,
Year,
}
}
| 1.338499 | 1509fd2d41b4c6da79c339945e340511 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astrochili/ink",
"max_stars_repo_path": "compiler/CharacterSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133883"
} | starcoder | using System.Collections.Generic;
namespace Ink
{
internal class CharacterSet : HashSet<char>
{
public static CharacterSet FromRange(char start, char end)
{
return new CharacterSet ().AddRange (start, end);
}
public CharacterSet ()
{
}
public CharacterSet(string str)
{
AddCharacte... | 3.433544 | e3bfdb646b2f93c7804cb485b531397d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KeltonKarboviak/SsmlLibraries",
"max_stars_repo_path": "SsmlLib/Enums/BreakStrengthOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133884"
} | starcoder | <reponame>KeltonKarboviak/SsmlLibraries
namespace SsmlLib.Enums
{
/// <summary>
/// Specifies the relative duration of an SSML break element.
/// </summary>
public enum BreakStrengthOptions
{
None,
XWeak,
Weak,
Medium,
Strong,
XStrong
}
}
| 1.811654 | 302a0bf0177c6c43aeb673b8e0b37ccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814665 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "P3D-Legacy/P3D-Legacy-Launcher",
"max_stars_repo_path": "P3D-Legacy Launcher Updater/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133885"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
namespace P3D.Legacy.Launcher.Updater
{
public static class Program
{
private static string MainFolderPath { get; } = AppDomain.CurrentDomain.BaseDirectory;
private const string ... | 2.757828 | f6c2a44d41fe428394741c2aea1d5021 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814666 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MertYumer/Tech-Module-2018",
"max_stars_repo_path": "02. Data Types and Variables - Exercises/P05-PoundsToDollars/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133886"
} | starcoder | namespace P05_PoundsToDollars
{
using System;
public class Program
{
public static void Main()
{
decimal pounds = decimal.Parse(Console.ReadLine());
decimal dollars = pounds * 1.31m;
Console.WriteLine($"{dollars:f3}");
}
}
}
| 3.199245 | 915acb78caf62117f4dcc759a0869d00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814667 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/runtimes/netf/Azos.Platform.NetFramework/Graphics/NetGraphics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133887"
} | starcoder | <filename>src/runtimes/netf/Azos.Platform.NetFramework/Graphics/NetGraphics.cs
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENS... | 2.350508 | 51069a1fd1bc258bf71e500e24cca3de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814668 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "duke009/caasiope-blockchain",
"max_stars_repo_path": "Caasiope.Database.SQL/Entities/ledgerstatechange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133888"
} | starcoder | using System.ComponentModel.DataAnnotations.Schema;
namespace Caasiope.Database.SQL.Entities
{
public class ledgerstatechange
{
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public long ledger_height { get; set; }
public byte[] raw { get; set; }
}
} | 2.030399 | c952efd683139b67a14b258d14b535e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814669 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EEParker/TestImplementation",
"max_stars_repo_path": "Sttp.Publisher/Subscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133889"
} | starcoder | <filename>Sttp.Publisher/Subscriber.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using CTP;
using Sttp.Codec;
using Sttp.Data;
namespace Sttp.Publisher
{
public class Subscriber
... | 2.207204 | 629fdc8a42caf45af542fbc084d48315 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Legogo/fwProtoss",
"max_stars_repo_path": "Sources/brainer/capacities/CapacityMovement2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133890"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace brainer.capacity
{
/// <summary>
/// basic 2D movement
/// must NOT BE specific to platformer OR topdown
/// </summary>
abstract public class CapacityMovement2D : BrainerLogic... | 2.415519 | 2e34c24bf6e356077c528aa967c39215 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814671 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Calabonga/MvcConfig",
"max_stars_repo_path": "Calabonga.Configuration.Core/Calabonga.Configuration.Json.Demo3-1/DependencyContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133891"
} | starcoder | <gh_stars>1-10
using Autofac;
namespace Calabonga.Configuration.Core.Demo2_2
{
public static class DependencyContainer
{
public static IContainer Create()
{
var builder = new ContainerBuilder();
builder.RegisterType<JsonConfigurationSerializer>().As<IConfigurationSerial... | 1.535978 | f375f3c944d6a50f2fa4fa77b263ddfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814672 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Aminator/Vortice.Windows",
"max_stars_repo_path": "src/Vortice.DirectX/DXGI/IDXGIObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133892"
} | starcoder | // Copyright (c) <NAME> and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
using System;
using SharpGen.Runtime;
namespace Vortice.DirectX.DXGI
{
public partial class IDXGIObject
{
public T GetParent<T>() where T : ComObject
{... | 1.838917 | 4fc5a1a62358b86a1dc23468ac2aca4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814673 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "topotam/Group3r",
"max_stars_repo_path": "LibSnaffle/ActiveDirectory/GPO/GPO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133893"
} | starcoder | using System;
using System.Collections.Generic;
namespace LibSnaffle.ActiveDirectory
{
/// <summary>
/// Represents a Group Policy Object.
/// </summary>
public class GPO
{
public GPOAttributes Attributes { get; set; } = new GPOAttributes();
public List<string> GpoFiles { get; set;... | 2.138517 | 3b088e827993673cb0d16a2b030b9e70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ebekker/conjure",
"max_stars_repo_path": "misc/research/MudBlazorUI.Sample1/_efx/advWorksLT/preview/entities/SalesOrderDetailMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133894"
} | starcoder | <gh_stars>0
#pragma warning disable IDE0073 // The file header is missing or not located at the top of the file
/** THIS IS AUTOGENERATED BY CONJURE EFX **/
#pragma warning restore IDE0073 // The file header is missing or not located at the top of the file
using System;
using System.Collections.Generic;
using Microsof... | 2.126595 | e0c2426bb4ea9e5480d603d8a7433c98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danielgolabek/BlendedJint",
"max_stars_repo_path": "Jint/Runtime/Interop/ClrFunctionInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133895"
} | starcoder | using System;
using Jint.Native;
using Jint.Native.Function;
using Jint.Runtime.Descriptors.Specialized;
namespace Jint.Runtime.Interop
{
/// <summary>
/// Wraps a Clr method into a FunctionInstance
/// </summary>
public sealed class ClrFunctionInstance : FunctionInstance
{
private readonl... | 2.537439 | 01a8f4471d3a37c30e7a334c742a5136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814676 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "is06/sixteenbitnuts",
"max_stars_repo_path": "src/Interfaces/IMapElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133896"
} | starcoder | <gh_stars>1-10
using Microsoft.Xna.Framework;
namespace SixteenBitNuts.Interfaces
{
public interface IMapElement
{
Color DebugColor { get; set; }
bool IsVisible { get; set; }
bool IsObstacle { get; set; }
bool IsPlatform { get; set; }
HitBox HitBox { get; set; }
... | 1.803875 | 525e347083ed5516b39d624bc4b43427 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sushantpt/recreationalCenter_system",
"max_stars_repo_path": "RecreationalCenter_system/RegisterEmployeePanel.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133897"
} | starcoder | <gh_stars>0
namespace RecreationalCenter_system
{
partial class RegisterEmployeePanel
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.870341 | c572fe8f24c2a0b4f846129c33d7b528 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814678 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "proudust/X4_ComplexCalculator",
"max_stars_repo_path": "X4_ComplexCalculator/Main/Menu/View/EmpireOverview/EmpireOverviewWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133898"
} | starcoder | <reponame>proudust/X4_ComplexCalculator<filename>X4_ComplexCalculator/Main/Menu/View/EmpireOverview/EmpireOverviewWindow.xaml.cs
using System.Collections.ObjectModel;
using System.Windows;
using X4_ComplexCalculator.Main.WorkArea;
namespace X4_ComplexCalculator.Main.Menu.View.EmpireOverview
{
/// <summary>
//... | 1.931823 | d9d43138792823dedc87801c7876afcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814679 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "rds1983/TroublesOfJord",
"max_stars_repo_path": "src/Jord.Library/Generation/RoomsGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133899"
} | starcoder | using GoRogue;
using GoRogue.MapGeneration;
using GoRogue.MapViews;
using Jord.Core;
namespace Jord.Generation
{
public class RoomsGenerator: BaseGenerator
{
private class MapSetter : ISettableMapView<bool>
{
private readonly RoomsGenerator _generator;
public Map Map { get; }
public bool this[Coord p... | 2.656385 | 72ba9f6c97f4e589f5922516ce08abcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martin-obert/WWI_Trenches",
"max_stars_repo_path": "WWI_Trenches_Prototypes/Assets/JobTests/Geometry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133900"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.JobTests
{
class Geometry
{
}
}
| 0.64653 | 48eb79ecae1801ff0f5e566290e938d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nixelt/E-Shop",
"max_stars_repo_path": "E-Shop/E-Shop.Data/Repositories/OrderRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133901"
} | starcoder | <filename>E-Shop/E-Shop.Data/Repositories/OrderRepository.cs
namespace E_Shop.Data.Repositories
{
using Infrastructure;
using Model;
public interface IOrderRepository : IRepository<Order>
{
}
public class OrderRepository : RepositoryBase<Order>, IOrderRepository
{
public OrderRepo... | 1.90004 | 3e38919d184a985f33f30be663344004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814682 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gamehabitat/moxiejam_storyframework",
"max_stars_repo_path": "Tests/Runtime/RuntimeExampleTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133902"
} | starcoder | namespace Tests.Runtime
{
public class RuntimeExampleTest
{
}
} | 0.404733 | d2c6be5b2961e2254bc52e03e5a485b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814683 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "oscript-library/CoverageBSL",
"max_stars_repo_path": "src/DebugBSL/DebuggerXmlSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133903"
} | starcoder | <reponame>oscript-library/CoverageBSL
using System;
using System.IO;
using System.Xml.Serialization;
namespace com.github.yukon39.DebugBSL
{
public static class DebuggerXmlSerializer
{
public static string Serialize(object o)
{
var namespaces = Namespaces();
var T = o.... | 2.10333 | 7d2c473883c7b9d26163a86826f97ed3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814684 | {
"extension": "c-sharp",
"max_stars_count": "852.0",
"max_stars_repo_name": "areestlc/xamarin",
"max_stars_repo_path": "Libraries/Xamarin.FormsBook.Toolkit/Xamarin.FormsBook.Toolkit/TapBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133904"
} | starcoder | using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.FormsBook.Toolkit
{
public class TapBehavior : Behavior<View>
{
TapGestureRecognizer tapGesture;
static readonly BindablePropertyKey IsTriggeredKey =
BindableProperty.CreateReadOnly("IsTriggered", ty... | 2.810041 | 1fb2661feabef809e0b88ba82f6b12cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814685 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yvog/SuperPlatformer",
"max_stars_repo_path": "Super_Platformer/Code/Core/Physics/CollisionTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133905"
} | starcoder | <filename>Super_Platformer/Code/Core/Physics/CollisionTester.cs<gh_stars>1-10
using System;
using System.Linq;
namespace Super_Platformer.Code.Core.Physics
{
/// <summary>
/// CollisionTester executes collision tests.
/// </summary>
public class CollisionTester
{
/// <summary>
///... | 3.384991 | 2bfdb26baeb923dc1463de6bdaee7a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiguelCosta/ecocardio",
"max_stars_repo_path": "EcoCardio/EcoCardio.Repository/Abstract/IGenericRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133906"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace EcoCardio.Repository.Abstract
{
public interface IGenericRepository<TEntity> where TEntity : class
{
bool Any(Expression<Func<TEntity, bool>> predicate);
int Count(Expression<Func<TEnti... | 2.641397 | 73b1900d922b9b019234b20e0b798a06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814687 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LBHackney-IT/mat-process-api",
"max_stars_repo_path": "mat-process-api/V1/Controllers/ProcessDataController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133907"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using mat_process_api.V1.Boundary;
using mat_process_api.V1.Domain;
using mat_process_api.V1.Exceptions;
using mat_process_api.V1.Gateways;
using mat_process_api.V1.UseCase;
using mat_process_api.V1.Validators;
using Micros... | 2.291341 | 53ee544ca248fa4bf337affba06c2a56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814688 | {
"extension": "c-sharp",
"max_stars_count": "8570.0",
"max_stars_repo_name": "MCCshreyas/aspnetcore",
"max_stars_repo_path": "src/Mvc/Mvc.Razor/src/ViewPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133908"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Mvc.Razor;
internal static class ViewPath
{
public static string NormalizePath(string path)
{
var addLeadingSlash = path[0] != '\\' &... | 2.294879 | df3d4a403fa919be427a1112abbe8b36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shemanaev/RepoZ",
"max_stars_repo_path": "RepoZ.Api.Mac/IO/MacRepositoryActionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133909"
} | starcoder | using System.Diagnostics;
using System.Collections.Generic;
using RepoZ.Api.Git;
using System.Linq;
using System;
using RepoZ.Api.Common;
using RepoZ.Api.Common.Common;
namespace RepoZ.Api.Mac
{
public class MacRepositoryActionProvider : IRepositoryActionProvider
{
private readonly IRepositoryWriter _reposi... | 2.413546 | 23cdd9e6d7e86f4413c8d81ee6965ba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timenov/lekarite.bg",
"max_stars_repo_path": "Lekarite/Lekarite.Data/Seed/RandomSeedGenerator/IRandomGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133910"
} | starcoder | <reponame>timenov/lekarite.bg<filename>Lekarite/Lekarite.Data/Seed/RandomSeedGenerator/IRandomGenerator.cs
namespace Lekarite.Data.Seed.RandomSeedGenerator
{
public interface IRandomGenerator
{
int GetRandomNumber(int min, int max);
string GetRandomString(int length);
string GetRandom... | 2.336601 | 4d5edb612963a18a5461af56918c1f50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ins0mniaque/Omnidoc",
"max_stars_repo_path": "src/Omnidoc.Core/Model/Elements/Glyphs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133911"
} | starcoder | namespace Omnidoc.Model.Elements
{
public class Glyphs : Shape
{
public Glyphs ( string text )
{
Text = text;
}
public Font? Font { get; set; }
public string Text { get; }
}
} | 2.103177 | f9c80e38b5111bed8ca04bfeb409d862 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814692 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "CredentialEngine/Import_From_Registry",
"max_stars_repo_path": "src/workIT.Services/LearningOpportunityServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133912"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using workIT.Models;
using workIT.Models.Common;
using workIT.Models.Search;
using ElasticHelper = workIT.Services.ElasticServices;
using ThisEntity = workIT.Models.ProfileModels.Lear... | 1.758976 | 16f45b9ce7c51cf9a52ab5ad082a971d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quocitspkt/TestvsDuc",
"max_stars_repo_path": "MarketPlace.Data/Interfaces/ISortable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133913"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace MarketPlace.Data.Interfaces
{
public interface ISortable
{
int SortOrder { set; get; }
}
}
| 1.327336 | 900f7cd44b06559ed60ea242bd6d487a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pat-sweeney/Caustic",
"max_stars_repo_path": "Libraries/Rendering/SceneGraph/MCSinglePass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133914"
} | starcoder | //**********************************************************************
// Copyright <NAME> 2021
// Licensed under the MIT license.
// See file LICENSE for details.
// File: MCSinglePass.cs
//**********************************************************************
cbuffer ConstantBuffer : register(b0)
{
int subdivi... | 2.239298 | 8e439ceef53dfb600f2d220fa724e2f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshcomley/EntityFramework-archive",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore/ChangeTracking/Internal/ValueGenerationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133915"
} | starcoder | // 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.Diagnostics;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Metadata;
using... | 2.034903 | d97eb034984ddc47cb08c131734226ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814696 | {
"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.Core/Shared/ObligationType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133916"
} | starcoder | namespace EA.Weee.Core.Shared
{
using System;
using System.ComponentModel.DataAnnotations;
[Serializable]
[Flags]
public enum ObligationType
{
None = 0,
[Display(Name = "B2B")]
B2B = 1,
[Display(Name = "B2C")]
B2C = 2,
[Display(Name = "Bot... | 1.851545 | 7f1de8d9c34be7120e4e9c7c5a13e987 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kola14/CalculatorWinForms",
"max_stars_repo_path": "CalculatorWinForms/FormMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133917"
} | starcoder | <filename>CalculatorWinForms/FormMain.cs
using System;
using System.Windows.Forms;
namespace CalculatorWinForms
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
private void BtnPlusClick(object sender, EventArgs e)
{
... | 3.066585 | de2bb031903fb2948a063c24805d4839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814698 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mclillill/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Platform.iOS/CollectionView/SelectableItemsViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133918"
} | starcoder | <reponame>mclillill/Xamarin.Forms
using System;
using Foundation;
using UIKit;
namespace Xamarin.Forms.Platform.iOS
{
public class SelectableItemsViewController : ItemsViewController
{
protected readonly SelectableItemsView SelectableItemsView;
public SelectableItemsViewController(SelectableItemsView selectabl... | 2.493617 | 3bb2da199329c270bc9b24ad0654a7b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814699 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "boardtobits/character-controller",
"max_stars_repo_path": "Input Scripts/InputManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133919"
} | starcoder | using UnityEngine;
using System.Collections;
public class InputManager : MonoBehaviour {
//SIMPLE SINGLETON PATTERN
public static InputManager ins;
void Awake(){
ins = this;
}
[Range(0,10)]
public int axisCount;
[Range(0,20)]
public int buttonCount;
public Controller controller;
pu... | 2.537397 | 04fde91fbece59068f0fbf04e749649c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrbeverly/xunit-metadata",
"max_stars_repo_path": "src/Xunit.Metadata/Scheduling/WeeklyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133920"
} | starcoder | <filename>src/Xunit.Metadata/Scheduling/WeeklyAttribute.cs
using System;
using Xunit.Metadata.Core;
using Xunit.Sdk;
namespace Xunit.Metadata.Scheduling
{
/// <inheritdoc cref="ITraitAttribute" />
/// <summary>Tests scheduled to run on the weekly build.</summary>
[XunitCategory("Weekly")]
[At... | 1.768115 | 97b300a200cc9239ed0e721618a69a65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frederikja163/OpenTK-Projects",
"max_stars_repo_path": "Snake/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133921"
} | starcoder | <reponame>frederikja163/OpenTK-Projects
using OpenTK;
namespace Snake
{
/// <summary>
/// Contains the config variables for the application
/// </summary>
public static class Config
{
/// <summary>
/// Size of the grid
/// </summary>
public static Vector2 GridSize =>... | 2.031414 | db7a04a67b5c5378dc775286ca764b13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davewalker5/DroneFlightLogDb",
"max_stars_repo_path": "src/DroneFlightLog.Data/Exceptions/LocationExistsException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133922"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
namespace DroneFlightLog.Data.Exceptions
{
[ExcludeFromCodeCoverage]
public class LocationExistsException : Exception
{
public LocationExistsException()
{
}
public LocationExistsException(string message) : base(message)
... | 2.076899 | 39f57ac4819576c8eaa7b65f715a6afb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814703 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kroll-software/SummerGUI",
"max_stars_repo_path": "Drawing/TextRendering/FontConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133923"
} | starcoder | using System;
namespace SummerGUI
{
public enum CommonFontTags
{
Default,
Status,
MessageBox,
Caption,
Menu,
Bold,
Italics,
Condensed,
Small,
Large,
ExtraSmall,
ExtraLarge,
Mono,
Roman,
Serif,
SmallIcons,
MediumIcons,
LargeIcons
}
[Flags]
public enum GlyphFilterFlags
{
A... | 2.556365 | 255be6a4ac8360b221d91367b5f401cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mkhomutov/Catel",
"max_stars_repo_path": "src/Catel.Tests/Data/Extensions/ObservableObjectExtensionsFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133924"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObservableObjectExtensionsFacts.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// --------------... | 2.496146 | 7e5aa8188f1acf9fc63a252ba7b4d2f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814705 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "januaryshen/MagicLeapOneGame",
"max_stars_repo_path": "Library/PackageCache/com.unity.xr.magicleap@3.0.0-preview.12/Runtime/Remote/MagicLeapRemoteAutomation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133925"
} | starcoder | <filename>Library/PackageCache/com.unity.xr.magicleap@3.0.0-preview.12/Runtime/Remote/MagicLeapRemoteAutomation.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using UnityEditor;
namespace UnityEditor.XR.MagicLeap.Remote
{
#if UNITY_EDITOR && PLATFORM_LUMIN
... | 2.198083 | eafb545f3d2716a75a6df6c5083fa04e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814706 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Franklin89/OTA-Library",
"max_stars_repo_path": "src/OTA-Library/OntologyOfferTypeOffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133926"
} | starcoder | namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=... | 1.546564 | 5f0df5604cf36709b6d5264437223cc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814707 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "enolive/learning",
"max_stars_repo_path": "csharp/OutsideInDemo/Test/ClassicTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133927"
} | starcoder | <reponame>enolive/learning
using FluentAssertions;
using Implementation.Classic;
using Xunit;
namespace Test
{
public class ClassicTest
{
private readonly FizzBuzz _fizzBuzz;
public ClassicTest()
{
_fizzBuzz = new FizzBuzz();
}
[Theory]
[InlineData... | 2.821771 | d7d5bca7cedadb04f01e56229ecfe35d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814708 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Narochno/Narochno.Serilog.Slack",
"max_stars_repo_path": "src/Narochno.Serilog.Slack/Formatting/FieldsSlackFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133928"
} | starcoder | <filename>src/Narochno.Serilog.Slack/Formatting/FieldsSlackFormatter.cs<gh_stars>1-10
using Narochno.Slack.Entities;
using System.Collections.Generic;
using Serilog.Events;
using System.Text;
using Serilog.Parsing;
using System.Linq;
using Narochno.Slack.Entities.Requests;
namespace Narochno.Serilog.Slack.For... | 2.732097 | 7b454a152c900d29cfaf56ddbeeecee7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814709 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rafaeldevelopers/ProjetoClientes-v1.0",
"max_stars_repo_path": "ProjetoClientes/Views/Clientes/Detalhes.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133929"
} | starcoder | @model ProjetoClientes.Models.Clientes
@{
ViewData["Title"] = "Detalhes";
}
<h2>Detalhes</h2>
<div class="row">
Nome: @Html.DisplayFor(model => model.Nome)
<br/>
CPF: @Html.DisplayFor(model => model.CPF)
<br />
Endereço: @Html.DisplayFor(model => model.Endereco)
<br />
<a asp-action="Index... | 1.800371 | 0738aaa0c58b1ae9845e420819a345f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814710 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OrchardCMS/Autofac",
"max_stars_repo_path": "Extras/Tests/Autofac.Extras.Tests.Multitenant/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133930"
} | starcoder | <reponame>OrchardCMS/Autofac
using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.Multitenant")]
| 0.834093 | 18df28e9d56e3048dc54ed09b5b9607b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814711 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexmanto/calcula-juros-api",
"max_stars_repo_path": "src/CalculoFinanceiro.Core/Api/Commons/Status.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133931"
} | starcoder | using System;
namespace CalculoFinanceiro.Core.Api.Commons
{
/// <summary>
/// Representa um objeto de sucesso ou falha de uma operação
/// </summary>
public class Status
{
public Status()
{ }
public Status(string errorMessage)
{
ErrorMessage = errorMes... | 3.22931 | fce595217c01715f1950bfb478426f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814712 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "samparkinson/CrowdSpark",
"max_stars_repo_path": "CrowdSpark.Web/Controllers/AttachmentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133932"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using CrowdSpark.Common;
using CrowdSpark.Logic;
using CrowdSpark.Entitites;
using System.Diagn... | 2.196327 | 51dbbdbd68789b0b87a14838c7feb5b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814713 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Eilon/SharpRetro",
"max_stars_repo_path": "LibSharpRetro/GraphicsBackend.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133933"
} | starcoder | <filename>LibSharpRetro/GraphicsBackend.cs
namespace LibSharpRetro;
[Flags]
public enum GraphicsBackend {
Framebuffer = 1,
OpenGL = 2,
GLES = 4,
Vulkan = 8
} | 1.878902 | 2d3f5b0c857b1d1427c01840786d0d6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814714 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "gaybro8777/ApplicationInsights-LocalForwarder",
"max_stars_repo_path": "src/Library/Contracts/AI/code/TelemetryBatchGrpc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133934"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TelemetryBatch.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace Microsoft.LocalForwarder.Library.Inputs.Contracts {
/// <summary>
... | 1.698993 | 8d170d18ac18dc15aae6bbd535bd22e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HolisticWare/HolisticWare.Core.Math.Matrix",
"max_stars_repo_path": "source/HolisticWare.Core.Math.Matrixes.Generic/Aliases.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133935"
} | starcoder |
// nice to have
// using Core.Math.Matrixes.Generics.Experimental = Core.Math.Matrixes.Generics.ImplementationMemory;
// ugly
using CoreMathMatrixesGenericsExperimental = Core.Math.Matrixes.Generics.ImplementationMemory; | 1.330708 | ecf77c1ded8109edf0c825697c515d49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KishorTiwari/OnAirMoneyTrack",
"max_stars_repo_path": "Omac.Data/Models/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133936"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Omack.Data.Models
{
public class Group
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ... | 2.293861 | 1564b7a8fa220b1d8a45501b70c3bed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814717 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndMu/Wikiled.DashButton",
"max_stars_repo_path": "src/Wikiled.DashButton/Monitor/PacketInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133937"
} | starcoder | using System.Net.NetworkInformation;
namespace Wikiled.DashButton.Monitor
{
public class PacketInformation
{
public PacketInformation(VendorInfo vendor, PhysicalAddress mac)
{
Vendor = vendor;
Mac = mac;
}
public VendorInfo Vendor { get; }
publ... | 2.61303 | ff0cfe1311c1fec51f350e4f19b0e7bc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.