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 | 8835812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tralivali1234/msgpack-cli",
"max_stars_repo_path": "src/MsgPack/Serialization/SerializationExceptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155032"
} | starcoder | <gh_stars>0
#region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2015 FUJIWARA, Yusuke
//
// 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... | 1.877562 | a8b7ca132b382e61ed30c4fcd8d6933d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835813 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "monoman/cnatural-language",
"max_stars_repo_path": "tests/resources/ObjectModelTest/sources/ConstantMethodOverload2.stab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155033"
} | starcoder | public class ConstantMethodOverload2 {
public int method(int i) {
return 2;
}
public int method(byte b) {
return 1;
}
public int call() {
return method((byte)1);
}
public static int test() {
var obj = new ConstantMethodOverload2();
return obj.call();
}
} | 2.678144 | 778d14f258002abb7f1905c2e00ed6b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corpsekicker/EFTutorials",
"max_stars_repo_path": "src/EFTutorials/SchoolContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155034"
} | starcoder | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using EFTutorials.Models;
namespace EFTutorials
{
public class SchoolContext : DbContext
{
public SchoolContext() : base("SchoolDBEntities")
{
}
public DbSet<Student> Stude... | 2.497996 | 337479931195a129297c0cbc5b2d0530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nathanmentley/RestClient.NET",
"max_stars_repo_path": "RestClient.NET/Exceptions/RestClientDotNetException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155035"
} | starcoder | <reponame>nathanmentley/RestClient.NET<filename>RestClient.NET/Exceptions/RestClientDotNetException.cs
using System;
namespace SkaCahToa.Rest.Exceptions
{
public class RestClientDotNetException : Exception
{
public RestClientDotNetException(string message) : base(message)
{
}
}
} | 1.834672 | 37505f3d732ceaed65778509fb8c6ce2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835816 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ixje/neo-express",
"max_stars_repo_path": "src/neoxp/EventWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155036"
} | starcoder | <filename>src/neoxp/EventWrapper.cs
using Akka.Actor;
using System;
namespace NeoExpress
{
// EventWrapper class taken from neo-gui project: https://github.com/neo-project/neo-node/blob/master/neo-gui/IO/Actors/EventWrapper.cs
class EventWrapper<T> : UntypedActor
{
readonly Action<T> callback;
... | 2.5473 | fa25ae8576f7c1d8a0430147f829a313 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mslavescu/simulator",
"max_stars_repo_path": "Assets/Scripts/Sensors/BridgeMessageDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155037"
} | starcoder | namespace Simulator.Sensors
{
using System.Threading;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bridge;
using Bridge.Data;
using Network.Core.Threading;
using UnityEngine;
public class Br... | 2.567025 | 4a10277c3fdc977ec42283d0c4941b81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MuhammedEl-Sayed/till-you-die-source",
"max_stars_repo_path": "Till You Die/Assets/Scripts/tutorialManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155038"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class tutorialManager : MonoBehaviour
{
public GameObject TO1;
public GameObject TO2;
public GameObject TXTDISPLAY;
private void Start()
{
StartCoroutine("TutorialRutine");
}
IEnumerator Tutorial... | 1.776315 | f6c54c44ea43f7e35252da57a8e044cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joel-nlok/miningcore",
"max_stars_repo_path": "src/Miningcore/Api/Responses/SubtractBalanceResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155039"
} | starcoder | <gh_stars>0
using Miningcore.Persistence.Model;
namespace Miningcore.Api.Responses
{
public class SubtractBalanceResponse
{
public Balance OldBalance { get; set; }
public Balance NewBalance { get; set; }
}
}
| 1.04379 | c3841bb12d3232585230ca93ccac8dc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835820 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "synacktic/MBBSEmu",
"max_stars_repo_path": "MBBSEmu.Tests/Integration/BtrievePrint_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155040"
} | starcoder | <filename>MBBSEmu.Tests/Integration/BtrievePrint_Tests.cs
using FluentAssertions;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace MBBSEmu.Tests.Integration
{
[Collection("Non-Parallel")]
public class BtrievePrint_Tests : MBBSEmuIntegrationTestBase
{
[Fact]
public... | 2.395837 | 9480e75e9b9efb50f3b3cd3c2598aa0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835821 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/NetcodeUnitTest/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155041"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... | 1.856681 | 0467ed70d47df6f32e02b92abf99efc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835822 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "shadbin4012/KuduLite",
"max_stars_repo_path": "Kudu.Services/Util/RequestHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155042"
} | starcoder | using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kudu.Services.Util
{
public static class RequestHelper
{
public static bool MediaTypeContains(this HttpRequest request, string lookupValue)
{
... | 2.588002 | ae748fd627a8494c829fdc97abd9a611 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logicRCA/Muppet",
"max_stars_repo_path": "Assets/Plugins/RootMotion/Editor/PuppetMaster/WeightDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155043"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEditor;
namespace RootMotion.Dynamics {
[CustomPropertyDrawer (typeof (Weight))]
public class WeightDrawer : PropertyDrawer {
const int valueWidth = 30;
const int gap = 20;
const float min = 0;
const float max = 1;
public override void OnGUI (Rect pos, Serializ... | 2.074155 | 4dcbbc8782c290b7b70d69babd86569a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835824 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PaulEpitomy/OrchardCore",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.Data.Abstractions/IDataMigration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155044"
} | starcoder | using YesSql.Sql;
namespace OrchardCore.Data.Migration
{
/// <summary>
/// Represents a contract for a database migration.
/// </summary>
public interface IDataMigration
{
/// <summary>
/// Gets or sets the database schema builder.
/// </summary>
ISchemaBuilder Schem... | 1.803575 | 778f4932a3caa541895acc9fc854f169 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835825 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fabien-chevalley/jorat26",
"max_stars_repo_path": "MMALSharp/src/MMALSharp/Native/MMALEncodings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155045"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MMALSharp.Native
{
public static class MMALEncodingHelpers
{
public static List<MMALEncoding> EncodingList => new List<MMALEncoding>
{
MMALEn... | 1.33432 | fd1d9d0358a585a779c4e446039d4d7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChristopherSchubert/com.appalachia.unity3d.appa.collections",
"max_stars_repo_path": "src/Implementations/Sets/AppaSet_string.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155046"
} | starcoder | #region
using System;
using collections.src.Implementations.List;
#endregion
namespace collections.src.Implementations.Sets
{
[Serializable]
public sealed class AppaSet_string : AppaSet<string, AppaList_string>
{
}
}
| 1.285877 | 7db6d9bfd722aa6de9b6e422b2c8e0da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835827 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Magmonix/RAWR_WotLK_3.3.5a",
"max_stars_repo_path": "Rawr.DPSDK/FrostCycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155047"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Rawr.DPSDK
{
class FrostCycle
{
int currentTime;
int GCDTime;
int spellGCD;
int meleeGCD;
int MHFrequency;
double KMChance;
double RimeChance;
Rotation oc... | 1.963545 | 9192051213a49b38fb116e99c1d4ea95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835828 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abhishekns/UBTA",
"max_stars_repo_path": "ubta.Reflection.Editable.ClassGenerator/IElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155048"
} | starcoder | <gh_stars>1-10
using System;
using ubta.Common;
namespace ubta.Reflection.Editable.ClassGenerator
{
public interface IElement
{
IElement Parent { get; set; }
Type ObjectType { get; set; }
IListEx<IElement> Children { get; set; }
bool AddElement(IElement e);
bool IsChildO... | 1.705763 | 5fbef018fb2b84197553a04aa12a92d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheUnforg1ven/twitter-dealer",
"max_stars_repo_path": "TwitterDealer/TwitterDealer/Helpers/SelectMediaHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155049"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using TweetSharp;
using TwitterDealer.Models.BaseModels;
using TwitterDealer.Models.Enums;
using TwitterDealer.Models.TwitterUserModels;
namespace TwitterDealer.Helpers
{
public class SelectMediaHelper
{
public IEnumerable<UserMedia> SelectMedia(IEnumerable<Twi... | 2.527961 | 517c839cf6ac6eb4e49f2619cb8089c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/RentLog",
"max_stars_repo_path": "RentLog.ImportBYF/Converters/OtherColxnConverters/OtherColxnConverter2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155050"
} | starcoder | <reponame>peterson1/RentLog<gh_stars>0
using CommonTools.Lib11.DynamicTools;
using CommonTools.Lib11.StringTools;
using RentLog.DomainLib11.CollectionRepos;
using RentLog.DomainLib11.DTOs;
using RentLog.DomainLib11.Models;
using RentLog.ImportBYF.ByfQueries;
using RentLog.ImportBYF.ByfServerAccess;
using RentLog.Impor... | 1.505632 | edaa747f2bd5672f84c421c70ce3c3dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835831 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yasoonOfficial/cefglue",
"max_stars_repo_path": "CefGlue/JSBinding/JSBindingOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155051"
} | starcoder | namespace CefGlue.JSBinding
{
using System;
[Flags]
public enum JSBindingOptions
{
None = 0,
/// <summary>
/// Register object using v8 extension.
/// </summary>
/// <remarks>
/// Objects registered as extension will be bound to any browser or frame, an... | 2.46127 | b6a322d76881b1dda40a69ccb8ce1020 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835832 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "StefH/ExcelFormulaParser",
"max_stars_repo_path": "src/ExcelFormulaParser/ExcelFormula.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155052"
} | starcoder | using JetBrains.Annotations;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
namespace ExcelFormulaParser
{
public class ExcelFormula : IList<ExcelFormulaToken>
{
const char QuoteDouble = '"';
const char... | 2.829218 | 1f0c9266da48d413e98c56d47fb18a20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835833 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "notator/Moritz",
"max_stars_repo_path": "Moritz.Krystals/StrandsBrowser/StrandsBrowser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155053"
} | starcoder | using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Krystals4ObjectLibrary;
namespace Moritz.Krystals
{
public partial class StrandsBrowser : Form
{
public StrandsBrowser(Krystal krystal, Point location)
{
InitializeComponent();
this.Text = krystal.Name;
... | 2.62545 | fc69c3b570034c03b8241730ac572957 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igambin/Experiments",
"max_stars_repo_path": "WinFormsToolbox/Interfaces/IWinFormsToolData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155054"
} | starcoder | using Toolbox.Core;
namespace WinFormsToolbox.Interfaces
{
public interface IWinFormsToolData
{
string ToolName { get; }
Categories ToolCategory { get; }
}
}
| 1.415808 | 7f8dcaac0ff6772c836d08d0b44d2340 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrWooJ/WJStore",
"max_stars_repo_path": "WJStore/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155055"
} | starcoder | <filename>WJStore/Global.asax.cs<gh_stars>0
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.Practices.ServiceLocation;
using WJStore.AutoMapper;
using WJStore.Data.Context;
using WJStore.Data.Context.Interfaces;
namespace WJStore
{
// Note: For inst... | 1.823141 | bfd799dc768b1e24769d206481e0a25e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835836 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "martinkearn/mkme",
"max_stars_repo_path": "MartinKMe/Models/FeedItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155056"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MartinKMe.Models
{
public class FeedItem
{
public string Link { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public DateTime Pu... | 2.026199 | 0ca8b80557728e34d3166d69b9a28eae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asraful009/dxball-clone",
"max_stars_repo_path": "DX-BALL-009/Assets/scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155057"
} | starcoder | <filename>DX-BALL-009/Assets/scripts/GameManager.cs<gh_stars>0
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public GameObject BallPrefab;
public GameObject PlayerPrefab;
public GameObject[] levels;
public GameObject panelMenu;
public... | 2.416668 | 7d1bdf71d62c4af18d843ecb7010706d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "o2platform/FluentSharp.WinForms",
"max_stars_repo_path": "O2_DotNetWrappers/O2Findings/OzasmtStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155058"
} | starcoder | <reponame>o2platform/FluentSharp.WinForms
// This file is part of the OWASP O2 Platform (http://www.owasp.org/index.php/OWASP_O2_Platform) and is released under the Apache 2.0 License (http://www.apache.org/licenses/LICENSE-2.0)
using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using FluentS... | 2.074103 | 60e9f160af7e1b4e2d7f511be95c066d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835839 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mansoor-omrani/Locust.NET",
"max_stars_repo_path": "Library/Locust.Test.Mvc/Areas/Test/Views/ServerVars/Index.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155059"
} | starcoder | <filename>Library/Locust.Test.Mvc/Areas/Test/Views/ServerVars/Index.generated.cs
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this f... | 1.422281 | c44263ab3bda901ab908e15e1fe119ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PDanowski/TestCreator_React",
"max_stars_repo_path": "TestCreator/TestCreator.WebApp/Converters/ViewModel/Interfaces/ITestViewModelConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155060"
} | starcoder | using System.Collections.Generic;
using TestCreator.Data.Models.DTO;
using TestCreator.WebApp.ViewModels;
namespace TestCreator.WebApp.Converters.ViewModel.Interfaces
{
public interface ITestViewModelConverter
{
TestViewModel Convert(Test test);
IEnumerable<TestViewModel> Convert(IEnumerable<T... | 1.69484 | e4344eb1c69dff0742067136638f6949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835841 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Mobile-Connect/.net_server_side_sdk",
"max_stars_repo_path": "mobile-connect-sdk/GSMA.MobileConnect.Test/Authentication/LoginHintTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155061"
} | starcoder | using GSMA.MobileConnect.Authentication;
using GSMA.MobileConnect.Constants;
using GSMA.MobileConnect.Discovery;
using NUnit.Framework;
using System.Collections.Generic;
namespace GSMA.MobileConnect.Test.Authentication
{
[TestFixture]
public class LoginHintTests
{
[Test]
public void IsSupp... | 1.999741 | 7d0ccbdfc5779038141c44da87e291af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bssgroupgenova/Extensions",
"max_stars_repo_path": "common/Boilerplate.Common/Authorization/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155062"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Boilerplate.Common.Types.Const;
using Extensions;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
nam... | 2.201831 | 7d870d8d84bc40e02404562206fbd197 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835843 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "caikelun/PermissionBase",
"max_stars_repo_path": "src/Web/App_Code/WebConfigCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155063"
} | starcoder | <reponame>caikelun/PermissionBase
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// web.config文件中一部分配置项... | 1.759467 | a9a529b83c1c45bfb9c5ad0e2e4270df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpocza/AbevWebForm",
"max_stars_repo_path": "src/WebForm/WebForm.Generator/Html/CalcGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155064"
} | starcoder | <reponame>kpocza/AbevWebForm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebForm.Generator.Model;
using System.IO;
namespace WebForm.Generator.Html
{
internal class CalcGenerator : BaseGenerator
{
internal CalcGenerator(FormContent formContent, string ou... | 2.113109 | a45c6150e5939b82f13c182460b1cbef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SylarLi/ShadowFlash",
"max_stars_repo_path": "ShadowFlash/Assets/Runtime/Controller/Scene/Role/Script/SceneRoleBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155065"
} | starcoder | using Core;
using System;
using UnityEngine;
public class SceneRoleBehaviour<T> : MonoBehaviour where T : ISceneRole
{
protected T sceneRole;
protected PhysicsProxy physicsProxy;
protected int gravity;
public virtual void Listen(T value)
{
sceneRole = value;
sceneRole.A... | 1.918424 | 62977f7a427fbd07596355359c511b03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LucasTMP/Microservices-Bank",
"max_stars_repo_path": "Modalmais/src/Modalmais.Business/Interfaces/Repository/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155066"
} | starcoder | using Modalmais.Business.Models;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Modalmais.Business.Interfaces.Repository
{
public interface IRepository<TEntity> : IDisposable where TEntity : Entidade
{
Task Adicionar(TEntity obj);
... | 2.272702 | fcb8a329a7bc14d49949c3c0d00849f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835847 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Misc/TextTemplating/Test/Src/TextTemplatingFileGeneratorCustomToolTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155067"
} | starcoder | <reponame>dongdapeng110/SharpDevelopTest
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.SharpDevelop.Project;
using NUnit.Framework;
using Te... | 1.832108 | 7cb1de476a40573f9f6bcc4aa6836fbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Superzer0/abstrakcyjne2015",
"max_stars_repo_path": "Abstrakcyjne1/Tests/Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155068"
} | starcoder | <reponame>Superzer0/abstrakcyjne2015<filename>Abstrakcyjne1/Tests/Tests.cs
using System;
using Abstrakcyjne1.Exporters;
using Abstrakcyjne1.Factory;
using Abstrakcyjne1.Importers;
using Abstrakcyjne1.Store;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class Tests
... | 2.193996 | 0c3162aec26847ce9ae78f56427e9f83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835849 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lap888/aspnetcore_baodian",
"max_stars_repo_path": "TB.AspNetCore.Domain/Enums/TaskJobStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155069"
} | starcoder | <gh_stars>1-10
using System.ComponentModel;
namespace TB.AspNetCore.Domain.Enums
{
public enum TaskJobStatus
{
[Description("初始值")]
UnKnow=0,
[Description("执行任务中")]
DoJob = 1,
[Description("暂停任务中")]
PauseJob = 2,
[Description("开启任务失败")]
JobFail =... | 1.78665 | 4acbc952a5833d23f5dd3f53346bba1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835850 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kiskovi97/CrowdSimulation",
"max_stars_repo_path": "Assets/CrowdSimulation/Scripts/ECSScripts/JobChunks/HurtingJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155070"
} | starcoder | using Unity.Entities;
using Unity.Burst;
using Unity.Collections;
using Unity.Mathematics;
using Unity.Transforms;
using Assets.CrowdSimulation.Scripts.ECSScripts.ComponentDatas;
using Assets.CrowdSimulation.Scripts.ECSScripts.Systems;
namespace Assets.CrowdSimulation.Scripts.ECSScripts.JobChunks
{
[BurstCompile]... | 1.924784 | eb3333853dbdaf58552b22bc30f6a477 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d605-upjv/veille-concurrentielle",
"max_stars_repo_path": "ProductService/VeilleConcurrentielle.ProductService.Lib/Clients/ServiceClients/IProductServiceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155071"
} | starcoder | using VeilleConcurrentielle.ProductService.Lib.Clients.Models;
namespace VeilleConcurrentielle.ProductService.Lib.Clients.ServiceClients
{
public interface IProductServiceClient
{
Task<GetProductsToScrapClientResponse> GetProductsToScrapAsync();
}
} | 1.400681 | edb7f95ca4e467aa80f5cec3b36e76cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RawFramework/ConUnivRaw",
"max_stars_repo_path": "ConUniv.BusinessLayer/ViewModels/CourseViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155072"
} | starcoder | using ConUniv.Models;
using DataAccess.Scaffold.Attributes;
using DataAccess.Scaffold.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ConUniv.BusinessLayer.ViewModels
{
[NeedletailViewModel]
public class CourseViewModel : ViewMo... | 1.764216 | 0bc01526f88efbce6045d33415b5889c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hdimon/SmartHomeApi",
"max_stars_repo_path": "UnitTests/SmartHomeApi.Core.UnitTests/Stubs/StandardItemsLocator1Plugin/StandardItemsLocator1Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155073"
} | starcoder | <reponame>hdimon/SmartHomeApi<filename>UnitTests/SmartHomeApi.Core.UnitTests/Stubs/StandardItemsLocator1Plugin/StandardItemsLocator1Item.cs
using SmartHomeApi.Core.Interfaces;
using SmartHomeApi.ItemUtils;
namespace SmartHomeApi.Core.UnitTests.Stubs.StandardItemsLocator1Plugin
{
class StandardItemsLocator1Item : ... | 1.075324 | fedb4b321e054064e350da11bf94e38e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835854 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "georgmarth/Project-Bunga-Bunga",
"max_stars_repo_path": "Assets/Scripts/FillSlider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155074"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FillSlider : MonoBehaviour
{
public TaskLocation TaskLocation;
private Image _image;
private void Awake()
{
_image = GetComponent<Image>();
}
private void UpdatePercenta... | 1.940669 | f1729065d076b9f9917b11e4d00d50bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835855 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "mzakrzewski/Steeltoe",
"max_stars_repo_path": "src/Messaging/src/RabbitMQ/Listener/IRabbitListenerEndpointRegistrar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155075"
} | starcoder | <filename>src/Messaging/src/RabbitMQ/Listener/IRabbitListenerEndpointRegistrar.cs<gh_stars>100-1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using St... | 1.298429 | 43613ffd55ed7abd86739075038ce621 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835856 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "rofl-er/MobiFlight-Connector",
"max_stars_repo_path": "CmdMessenger/CmdMessenger/CSharp/CommandMessenger/EventWaiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155076"
} | starcoder | <filename>CmdMessenger/CmdMessenger/CSharp/CommandMessenger/EventWaiter.cs
using System.Threading;
namespace CommandMessenger
{
public class EventWaiter
{
public enum WaitState
{
Quit,
TimeOut,
Normal
}
readonly object _key = new object();
... | 3.153437 | 121b6c2c76854d966f5bc00c84011c61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eisuke1106/RedmineToExcel",
"max_stars_repo_path": "RedmineToExcel/Redmine/Models/Projects.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155077"
} | starcoder | <reponame>eisuke1106/RedmineToExcel
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Redmine.Models
{
public class Projects
{
public List<ProjectData> projects { get; set; }
... | 2.29705 | 883f25a6ccc23cbc3f9724a8e3494c34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Craiqser/Crab",
"max_stars_repo_path": "CraB.Core/Localization/LocalizationRegistrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155078"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
using System.Reflection;
namespace CraB.Core
{
/// <summary>Класс регистрации локализаций из различных источников.</summary>
public static class LocalizationRegistrator
{
private static ILocalizationService _localizationService;
public static ILocalizatio... | 2.409877 | 8840849d7c94c28d0ffb75256d3b0a87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SMavr/CqrsInPractice",
"max_stars_repo_path": "Mine/src/Logic/Decorators/AutditLoggingDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155079"
} | starcoder | using CSharpFunctionalExtensions;
using Logic.AppServices;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Logic.Decorators
{
public sealed class AutditLoggingDecorator<TCommand> : ICommandHandler<TCommand>
where TCommand : ICommand
{
private... | 2.812397 | 952024a673b380e54cc9ec40962da334 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835860 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Snookmz/donuteatingllamsgame",
"max_stars_repo_path": "Assets/Scripts/Dissolve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155080"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Dissolve : MonoBehaviour
{
private static readonly int Fade = Shader.PropertyToID("_Fade");
// Start is called before the first frame update
void Start()
{
}
// Update is called once per ... | 2.099484 | 2879f5bd1aa66431d3af67c4ffba3768 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tuyen-vuduc/TK.CustomMap",
"max_stars_repo_path": "Sample/TK.CustomMap.Sample/TK.CustomMap.Sample/ViewModels/HtmlInstructionsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155081"
} | starcoder | <reponame>tuyen-vuduc/TK.CustomMap
using TK.CustomMap.Overlays;
using Xamarin.Forms;
namespace TK.CustomMap.Sample
{
public class HtmlInstructionsViewModel : TKBase
{
public HtmlWebViewSource Instructions { get; private set; }
public HtmlInstructionsViewModel(TKRoute route)
{... | 2.126814 | 99271f11eb62ae74e4accf5eb603dd0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835862 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sjp/Schematic",
"max_stars_repo_path": "src/SJP.Schematic.Reporting.Tests/ReportingRuleProviderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155082"
} | starcoder | <filename>src/SJP.Schematic.Reporting.Tests/ReportingRuleProviderTests.cs
using Moq;
using NUnit.Framework;
using SJP.Schematic.Core;
namespace SJP.Schematic.Reporting.Tests
{
[TestFixture]
internal static class ReportingRuleProviderTests
{
[Test]
public static void Test()
... | 2.001506 | 8f0d862368dae1e0d44ba05126da3804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1804-Apr-USFdotnet/project2-spellbook2",
"max_stars_repo_path": "SpellbookAPI/Spellbook/Spellbook/App_Start/Bootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155083"
} | starcoder | <filename>SpellbookAPI/Spellbook/Spellbook/App_Start/Bootstrapper.cs
using System.Data.Entity;
using System.Reflection;
using Autofac;
using Autofac.Integration.WebApi;
using Spellbook.DataContext;
using Spellbook.Models;
using Spellbook.Repositories;
using Spellbook.Services;
namespace Spellbook.App_Start
{
publ... | 2.241069 | 98acb176577a03d8cfd411d74a9c6c81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835864 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nitrictech/dotnet-sdk",
"max_stars_repo_path": "Nitric.Test/examples/documents/Get.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155084"
} | starcoder | <reponame>nitrictech/dotnet-sdk
// [START import]
using System.Collections.Generic;
using Nitric.Api.Document;
// [END import]
namespace Examples
{
class GetExample
{
public static void GetFile()
{
// [START snippet]
var docs = new Documents();
var document =... | 1.956688 | c7b65ef1334d58496bb4a7619bbfdd5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835865 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MilosKonecny/PDFiumDotNET",
"max_stars_repo_path": "Sources/Components/Components/Information/PDFInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155085"
} | starcoder | namespace PDFiumDotNET.Components.Information
{
using System;
using PDFiumDotNET.Components.Contracts.Information;
/// <summary>
/// Implementation of <see cref="IPDFInformation"/>.
/// </summary>
internal class PDFInformation : IPDFInformation
{
#region Implementation of IPDFInfor... | 2.673309 | 63af4073d0efd79c98bf1afda7e2ad3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladym1r0FF/TestClient",
"max_stars_repo_path": "BankAccount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155086"
} | starcoder | <filename>BankAccount.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test_Client
{
class BankAccount
{
private int id;
private double balance;
public BankAccount (int id)
{
this.id = ... | 3.398864 | 2abc7455fb556febeb7a5d5002b1b464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835867 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "petyakostova/Telerik-Academy",
"max_stars_repo_path": "C#/C# 1 Contests/1/Feathers/Feathers_AS/FeathersAS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155087"
} | starcoder | <gh_stars>10-100
using System;
class FeathersAS
{
static void Main()
{
const ulong multiplier = 123123123123;
const uint divisor = 317;
ulong birdsCount = ulong.Parse(Console.ReadLine());
ulong feathersCount = ulong.Parse(Console.ReadLine());
if (birdsCount == 0 || fe... | 3.319728 | 2090e6ced745fc04f711421c09bb68f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "battlemango/ImageCutter",
"max_stars_repo_path": "ImageCutter/ImageCutter/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155088"
} | starcoder | <reponame>battlemango/ImageCutter
using ImageCutter.src;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
usi... | 2.446773 | 8383b742327f7e55b01dab36ceda86f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kheoss/NewGameArt-18-",
"max_stars_repo_path": "AlexaDialogRoom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155089"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.Networking;
public class AlexaDialogRoom : MonoBehaviour
{
public Animator Anim;
public List<string> DialogueParts = new List<string>();
public TMP_Text text;
private bool hasLeft... | 2.204816 | b3222c19619220afcdb72e62072c8029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stephensong/GitSharp",
"max_stars_repo_path": "Tests/TreeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155090"
} | starcoder | <reponame>stephensong/GitSharp<filename>Tests/TreeTests.cs
/*
* Copyright (C) 2008, <NAME> <<EMAIL>>
* Copyright (C) 2008, <NAME> <<EMAIL>>
* Copyright (C) 2009, Henon <<EMAIL>>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted... | 2.285519 | e5e250bfdb75425adf80edff59e411fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835871 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "twenzel/CGM",
"max_stars_repo_path": "src/Commands/CharacterExpansionFactor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155091"
} | starcoder | <gh_stars>1-10
namespace codessentials.CGM.Commands
{
public class CharacterExpansionFactor : Command
{
public double Factor { get; private set; }
public CharacterExpansionFactor(CgmFile container)
: base(new CommandConstructorArguments(ClassCode.AttributeElements, 12, container))
... | 2.536412 | b713171607d46772d6acddd8532dbc03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Software Technologies/Databases/Homework/02. Processing XML in .NET/DirectoryTraversal/Solutions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155092"
} | 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.Linq;
namespace DirectoryTraversal
{
public static class Solutions
{
public static void Task9_traverse_dir()
{
str... | 3.20936 | 3b8201511e57e71c3070395c0e85abed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavoLopes20/restaurante_reserva",
"max_stars_repo_path": "backend/reservas/reservas/Models/Sessoes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155093"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using reservas.WebCore;
namespace reservas.Models
{
public class Sessoes : AppDataObject
{
... | 1.696088 | 4b0ee1f6cec1a4fa0a78d4e172d4925f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835874 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sharkson/sharkbot",
"max_stars_repo_path": "UserService/UserService/UserPropertyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155094"
} | starcoder | using ChatModels;
using System.Collections.Generic;
using System.Linq;
namespace UserService
{
public class UserPropertyService
{
private readonly UserNaturalLanguageService _userNaturalLanguageService;
private readonly PropertyMatchService _propertyMatchService;
private readonly Prope... | 2.685099 | 36fc2af3c3b4ce5134ce1286294823b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835875 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "kalintsenkov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Web-Basics/Exams/Exam-16-June-2019/App/SULS.Services/UsersService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155095"
} | starcoder | <gh_stars>1-10
namespace SULS.Services
{
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using SIS.MvcFramework;
using Contracts;
using Data;
using Models;
public class UsersService : IUsersService
{
private readonly SULSContext db;
public... | 2.735499 | dea430b9d7fbfb7e5b0f822bc4c98193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835876 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "123kevinlee/HAC-Application",
"max_stars_repo_path": "HacDesktopApp/Classes/Requests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155096"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HacDesktopApp
{
class Requests
{
private string filePath = Environment.GetFolderPath(Environment.SpecialFolder.My... | 2.288167 | 7d032e3ce9f11cd901faf03fc4436ebe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835877 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattjcowan/FreshBooks.ServiceStackClient",
"max_stars_repo_path": "src/FreshBooks.Api/CategoryCreateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155097"
} | starcoder | namespace FreshBooks.Api.CategoryCreate {
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xm... | 2.262061 | 0fd825d99b5283834a88e7d0e32fa725 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivan-alles/poker-acpc",
"max_stars_repo_path": "pkr/metastrategy/trunk/src/test/net/ai.pkr.metastrategy.nunit/algorithms/VerifyEq_Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155098"
} | starcoder | /* Copyright 2010-2012 <NAME>.
Licensed under the MIT License (see file LICENSE). */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ai.pkr.metagame;
using ai.lib.utils;
using ai.lib.algorithms;
using System.IO;
using ai.pkr.metastrategy.algorithms... | 1.914747 | 446eab75c0f41b173e411ec4f36c8395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Taewii/softuni-software-engineering",
"max_stars_repo_path": "Labs and Homeworks/14.ListsExercises/ListsExercises/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155099"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine().Split().Select(int.Parse).ToList();
int count = 1;
int tempCount = 0;
int tempNumber = 0;
for (int... | 3.59762 | 4b8aa987dc6563740f894f789ae7b2b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tk-yoshimura/TensorShader",
"max_stars_repo_path": "TensorShaderTest/Links/UnaryArithmetric/NegTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155100"
} | starcoder | <filename>TensorShaderTest/Links/UnaryArithmetric/NegTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using TensorShader;
namespace TensorShaderTest.Links.UnaryArithmetric {
[TestClass]
public class NegTest {
[TestMethod]
public void ReferenceTest() {
i... | 2.351918 | 255b52b50e878c34a6b916877ed6c7ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simaoppcastro/Dna2Rna",
"max_stars_repo_path": "Dna2Rna/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155101"
} | starcoder | <reponame>simaoppcastro/Dna2Rna<filename>Dna2Rna/Program.cs
using System;
namespace Dna2Rna
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine(dnaToRna(dna:""));
}
public static string dnaToRna(string dna)
{
// Guanine ... | 3.204905 | ca3b31f9c720fd97ff53d9f10499212f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835882 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/FetchManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155102"
} | starcoder | <reponame>undancer/oni-data
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
[AddComponentMenu("KMonoBehaviour/scripts/FetchManager")]
public class FetchManager : KMonoBehaviour, ISim1000ms
{
public struct Fetchable
{
public Pickupable pickupable;
public int tagBitsHash;
public ... | 1.72475 | 64e1cc41a61def4db54345f7ae8e3ebc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jtlaughton/CS428Project2",
"max_stars_repo_path": "Assets/Scripts/ActionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155103"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActionManager : MonoBehaviour
{
// flashlight off and on materials
public Material offMaterial;
public Material onMaterial;
// necessary objects for turning off phone
public AudioSource phoneTrack;
... | 2.525617 | ca373150b355c4abd96811e79459916d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kristiyanb/ebuy",
"max_stars_repo_path": "src/EBuy.Data/Migrations/20190622141440_added-purchased-products-table.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155104"
} | starcoder | namespace EBuy.Data.Migrations
{
using Microsoft.EntityFrameworkCore.Migrations;
public partial class addedpurchasedproductstable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Products_Pu... | 2.155073 | 95c6cd1d0497d1e17aa7e7d75952d837 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Damakshn/AlphaTest",
"max_stars_repo_path": "src/Tests/AlphaTest.Core.UnitTests/Testmaking/Questions/UnifiedScoreTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155105"
} | starcoder | <reponame>Damakshn/AlphaTest
using System;
using Xunit;
using AlphaTest.Core.Tests.Questions;
using AlphaTest.Core.Tests.Rules;
using AlphaTest.Core.Tests.TestSettings.Checking;
using AlphaTest.Core.Tests;
using AlphaTest.Core.UnitTests.Common;
namespace AlphaTest.Core.UnitTests.Testmaking.Questions
{
public clas... | 1.893914 | 9e9ccab78242b33cc26e05ec20ebc1d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dnelly/azure-sdk-for-net",
"max_stars_repo_path": "src/Search/Microsoft.Azure.Search/GeneratedSearchIndex/Models/SuggestParametersPayload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155106"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regene... | 1.926805 | 9634e99bfa7caa29ee6984b0a7fdbc33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835887 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "abitmore/Ditch",
"max_stars_repo_path": "Sources/Ditch.EOS/Models/GetCurrencyStatsResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155107"
} | starcoder | using Ditch.Core.Converters;
using Newtonsoft.Json;
namespace Ditch.EOS.Models
{
/// <summary>
/// get_currency_stats_result
/// plugins\chain_plugin\include\eosio\chain_plugin\chain_plugin.hpp
/// </summary>
[JsonConverter(typeof(CustomJsonConverter))]
[JsonObject(MemberSerialization.OptIn)]
... | 2.386887 | 6afecaf0565dd28c8b67fcbf7f7fa99e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835888 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "sekmenhuseyin/Mastering-ABP-Framework",
"max_stars_repo_path": "Samples/Chapter-08/DemoApp/src/DemoApp.Web/Pages/Index.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155108"
} | starcoder | <gh_stars>10-100
namespace DemoApp.Web.Pages
{
public class IndexModel : DemoAppPageModel
{
public void OnGet()
{
}
}
} | 1.309021 | 7211e302dfdad1b64507e4da7c44e2d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835889 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "Rune-Status/villermen-runescape-cache-tools",
"max_stars_repo_path": "RuneScapeCacheTools/Exception/CacheFileNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155109"
} | starcoder | using System;
namespace Villermen.RuneScapeCacheTools.Exception
{
[Serializable]
public class CacheFileNotFoundException : CacheException
{
public CacheFileNotFoundException()
{
}
public CacheFileNotFoundException(string message) : base(message)
{
}
... | 2.065402 | af94ea6375425574a6d0a3aa2ae6897d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835890 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "DeneshPohar/Seq2SeqSharp",
"max_stars_repo_path": "TensorSharp/OpConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155110"
} | starcoder | using System;
namespace TensorSharp
{
public abstract class OpConstraint
{
public abstract bool SatisfiedFor(object[] args);
}
public class ArgCountConstraint : OpConstraint
{
private readonly int argCount;
public ArgCountConstraint(int argCount) { this.argCount = argCoun... | 2.776653 | 9dedf60c8c22c4dd24dda979897574c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfrench7919/Star-Commander-Resume-Sample",
"max_stars_repo_path": "StarCommander/BattleFields/BattleField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StarCommander.Fleets;
using StarCommander.BattleResult;
using StarCommander.Types;
namespace StarCommander.BattleFields
{
public class BattleField : IBattleField
{
public BattleFie... | 2.78464 | 6018daa87665c67d956d2c569f4caaab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxdm/YAFNET",
"max_stars_repo_path": "yafsrc/YAF.Types/Objects/TwitterUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155112"
} | starcoder | <reponame>maxdm/YAFNET
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014 <NAME>
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
*... | 2.235717 | c51bab86b876dc8e20b4b786f95a05e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nullcorpsbox/sbox_spraytime",
"max_stars_repo_path": "code/weapons/SprayGun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155113"
} | starcoder | <gh_stars>0
using Sandbox;
using SprayTime;
using System;
[Library( "weapon_pistol", Title = "Pistol", Spawnable = true )]
partial class SprayGun : SprayBaseWeapon
{
public override string ViewModelPath => "weapons/rust_pistol/v_rust_pistol.vmdl";
public override float PrimaryRate => 100.0f;
public override float... | 1.692166 | 5e0ec952bf2342ed18b65968c48ed670 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tombuildsstuff/teamcitymanager",
"max_stars_repo_path": "TeamCityManager/Entities/BuildTriggers/VCSBuildTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155114"
} | starcoder | <reponame>tombuildsstuff/teamcitymanager<filename>TeamCityManager/Entities/BuildTriggers/VCSBuildTrigger.cs
namespace TeamCityManager.Entities.BuildTriggers
{
using System.Collections.Generic;
public class VCSBuildTrigger : IBuildTrigger
{
public Dictionary<string, string> Properties
{
... | 2.034104 | 51a626384b8a8793fb48b8a9e86d7785 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/XNDCarpenterTables",
"max_stars_repo_path": "Source/CarpenterTable/CT_RecipeDefOf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155115"
} | starcoder | <reponame>emipa606/XNDCarpenterTables
using RimWorld;
using Verse;
namespace CarpenterTable
{
[DefOf]
public static class CT_RecipeDefOf
{
public static RecipeDef BaseCarpentersTableRecipe;
}
} | 1.001476 | 22543faeb5ff2692772e621ad6d30ad2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vasont-systems/Vasont.Inspire.Models",
"max_stars_repo_path": "src/Components/MapAttributeUiMetadataModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155116"
} | starcoder | <filename>src/Components/MapAttributeUiMetadataModel.cs
//-------------------------------------------------------------
// <copyright file="MapAttributeUiMetadataModel.cs" company="GlobalLink Vasont">
// Copyright (c) GlobalLink Vasont. All rights reserved.
// </copyright>
//-------------------------------------------... | 2.436253 | a0812eb22b17753386b45c80a1c3002c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jsuarezruiz/Maui-CommunityToolkit",
"max_stars_repo_path": "src/CommunityToolkit.Maui/Extensions/ValueConverterExtension.shared.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155117"
} | starcoder | using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Xaml;
using System;
namespace CommunityToolkit.Maui.Extensions.Internals
{
public abstract class ValueConverterExtension : IMarkupExtension<IValueConverter>
{
public IValueConverter ProvideValue(IServiceProvider serviceProvider)
=> (IValueConverte... | 1.909187 | 9af4ab66bf43a5c26c68d4e6b344c23c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RisulKarimWG/GameX",
"max_stars_repo_path": "Assets/SpaceCombatKit/Scripts/AllVehicles/Input/CustomInput/Editor/CustomInputEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155118"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
/*
namespace VSX.UniversalVehicleCombat
{
[CustomEditor(typeof(CustomInput))]
[CanEditMultipleObjects]
public class CustomInputEditor : Editor
{
SerializedProperty groupProperty;
Seriali... | 2.137783 | 870243de5b987c151d7c1a5346db15e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "futurix/cms-cli",
"max_stars_repo_path": "Explorer/Phone/Client/Services/Navigation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155119"
} | starcoder | using System;
using System.Collections.Generic;
using Wave.Common;
using Wave.Platform;
using Wave.Platform.Messaging;
using Wave.UI;
namespace Wave.Services
{
public class NavigationAgent : IMessageEndpoint
{
/// <summary>
/// Standard prefix for any node URI, the absence of which... | 1.86181 | db3bd00a6f1544a8e8ad8c78543d32b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrDave1999/Capture-the-flag",
"max_stars_repo_path": "src/Constants/TeamID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155120"
} | starcoder | <gh_stars>0
namespace CaptureTheFlag.Constants;
public enum TeamID
{
Alpha,
Beta
}
| 0.980857 | 29e4330f20180150eeed8e4b9477b869 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835901 | {
"extension": "c-sharp",
"max_stars_count": "171.0",
"max_stars_repo_name": "amwx/AvaloniaVS",
"max_stars_repo_path": "AvaloniaVS.Shared/Models/DesignerRunTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155121"
} | starcoder | <filename>AvaloniaVS.Shared/Models/DesignerRunTarget.cs
using AvaloniaVS.Views;
namespace AvaloniaVS.Models
{
/// <summary>
/// Represents an executable target for the <see cref="AvaloniaDesigner"/> previewer.
/// </summary>
internal class DesignerRunTarget
{
/// <summary>
/// Gets... | 2.356995 | 0e1253165b20966cf20e7c6ad280944e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835902 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/TestUtils/src/DeviceTests.Runners/AppHostBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155122"
} | starcoder | #nullable enable
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Maui.Controls.Hosting;
using Microsoft.Maui.Hosting;
using Microsoft.Maui.TestUtils.DeviceTests.Runners.HeadlessRunner;
using Microsoft.Maui.TestUtils.DeviceTests.Runners.VisualRunner;
namespace Micros... | 1.501779 | 373366446783d50f74bca4ec99a43df1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vondai/MediService.ASP.NET-Core",
"max_stars_repo_path": "MediService.ASP.NET Core/WebConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155123"
} | starcoder | namespace MediService.ASP.NET_Core
{
public class WebConstants
{
public class GlobalMessage
{
public const string ErrorKey = "Error";
public const string SuccessKey = "Success";
}
public class Cache
{
public const string RecentReviews... | 1.483456 | 0728d93c0f5155cdeec78ae74bcf0d83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835904 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erwan-joly/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Stitching/src/Stitching/Extensions/HasDirectiveExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155124"
} | starcoder | <filename>src/HotChocolate/Stitching/src/Stitching/Extensions/HasDirectiveExtensions.cs
using System.Linq;
using HotChocolate.Types;
namespace HotChocolate.Stitching
{
internal static class HasDirectiveExtensions
{
public static bool TryGetSourceDirective(
this IHasDirectives hasDirectives,... | 2.357653 | 1a54d7e1eeaab8e856707f7a8087bb22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dolbz/CPCSharp",
"max_stars_repo_path": "CPCSharp.Avalonia/PSG/MacPSGInterop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155125"
} | starcoder | //
// Copyright (c) 2021, <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using CPCSharp.Core.PSG;
using System.Runtime.InteropServices;
namespace CPCSharp.App.PSG
{
public class MacPSGInterop : INativePSG {
[Dll... | 2.121156 | ad8ce48bd0fe961bc5f7757fa940a446 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheBinaryLoop/BinaryTools",
"max_stars_repo_path": "BinaryTools/IO/IniFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155126"
} | starcoder | using System.Reflection;
using System.Text;
using BinaryTools.Internal.Native.Classes;
namespace BinaryTools.IO
{
public class IniFile
{
private readonly string Path;
#if NETSTANDARD1_3
private readonly string ExecutingAssemblyName = "NetStandard13";
#else
private readonly string Exec... | 2.53909 | 9cd883ad3bf31542d52e6344b657fa03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alefsasi/MHDownloader",
"max_stars_repo_path": "MHDownloader/View.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155127"
} | starcoder | <gh_stars>0
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace MHostDownlaoder
{
public class View
{
private Mangahost _mangaHost;
public View()
{
_mangaHost = new Mangahost();
... | 2.750068 | d7279c68b9595365580f45554f692f7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dcendrette/projects-C--on-github",
"max_stars_repo_path": "CadastroProdutosCategorias/subproj01/Tela_inicial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155128"
} | starcoder | <reponame>Dcendrette/projects-C--on-github
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 subproj01
{
public partial class Cadastros : Fo... | 1.706106 | 4511c1ea63f7bb865bf16ec8ec98a27b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThatSlyGuy/Trezor.Net",
"max_stars_repo_path": "src/Trezor.Net/Manager/ReadException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155129"
} | starcoder | namespace Trezor.Net
{
public class ReadException : ManagerException
{
public byte[] ReadData;
public object LastWrittenMessage;
public ReadException(string message, byte[] readData, object lastWrittenMessage) : base(message)
{
ReadData = readData;
}
}
} | 2.367492 | 7d7482fc1f8bc3ed59a8a1800f66f186 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheEkinnox/NX_OSM",
"max_stars_repo_path": "Scripts/Generation/OSMRoadGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155130"
} | starcoder | #region USING
using System;
using System.Collections.Generic;
using System.Linq;
using NX_OSM.Core;
using UnityEngine;
#endregion
/*
Copyright (c) 2021 <NAME> (TheEkinnox)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (t... | 1.922802 | 3585b077bf0c03222031fa1dee654c9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myexplore/mycart",
"max_stars_repo_path": "Sources/Services/Catalog/Catalog.Api/Controllers/CatalogController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155131"
} | starcoder | using AutoMapper;
using Catalog.Api.Dtos;
using Catalog.Api.Entities;
using Catalog.Api.Repositories;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Catalog.Api.Controller
{
[ApiController]
[Route("api/v1/[controll... | 2.544926 | 8bcdffe492edb4a86892bfa6e8a1b250 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.