added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeanKilleen/Storyteller",
"max_stars_repo_path": "src/StoryTeller.Testing/SpecRunningContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9238"
} | starcoder | <reponame>SeanKilleen/Storyteller
using System;
using System.Collections.Generic;
using System.Linq;
using FubuCore;
using NUnit.Framework;
using Shouldly;
using StoryTeller.Engine;
using StoryTeller.Engine.Batching;
using StoryTeller.Grammars.Sets;
using StoryTeller.Model;
using StoryTeller.Model.Persistence;
using... | 2.335981 | 93cd3aedeafb613a71ca6c4151197177 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kolbasik/NUITests",
"max_stars_repo_path": "UiTests.Google.Tests/Common/SharedBrowserTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9239"
} | starcoder | <gh_stars>0
using System;
using UiTests.Web;
namespace UiTests.Google.Tests.Common
{
public abstract class SharedBrowserTest
{
private static readonly Lazy<Browser> Shared = new Lazy<Browser>(() => new Browser(WebDriverConfig.LoadFromConfig()), true);
public Browser Browser { get { return Sha... | 1.356872 | 758de6b8f00fa60b83092243d93dd759 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotsudo/plus-clean",
"max_stars_repo_path": "HabboHotel/Items/Wired/Boxes/Conditions/IsNotWearingFXBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9240"
} | starcoder | <reponame>dotsudo/plus-clean<gh_stars>0
namespace Plus.HabboHotel.Items.Wired.Boxes.Conditions
{
using System.Collections.Concurrent;
using Communication.Packets.Incoming;
using Rooms;
using Users;
internal class IsNotWearingFxBox : IWiredItem
{
public IsNotWearingFxBox(Room instance, ... | 2.283208 | 30c7720c322bf0003dffea97aa07506b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/Crate",
"max_stars_repo_path": "Source/ThingBag/JobDriver_PackBagSingle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9241"
} | starcoder | using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace ThingBag
{
internal class JobDriver_PackBagSingle : JobDriver
{
private ThingBagComp bag => (TargetThingA as ThingWithComps)?.GetComp<ThingBagComp>();
public override bool TryMakePreToilReservations(bool e... | 1.994679 | 3aa5e97173ef039f346f06cf5c483802 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9241 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "duzgunberke/BlogSite",
"max_stars_repo_path": "BlogMVC/BlogMVC/Views/Blog/BlogDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9242"
} | starcoder |
@{
ViewBag.Title = "BlogDetails";
Layout = "~/Views/Shared/Layout.cshtml";
}
@Html.Action("BlogCover", "Blog")
<section class="site-section py-lg">
<div class="container">
<div class="row blog-entries element-animate">
<div class="col-md-12 col-lg-8 main-content">
@Ht... | 1.71526 | 33755b553d0f3bc2c96f36c4bcfdb619 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9242 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jimlofgren/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Migrations/Expressions/Alter/Table/AlterTableBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9243"
} | starcoder | <gh_stars>1-10
using System.Data;
using Umbraco.Core.Migrations.Expressions.Alter.Expressions;
using Umbraco.Core.Migrations.Expressions.Common.Expressions;
using Umbraco.Core.Migrations.Expressions.Create.Expressions;
using Umbraco.Core.Persistence.DatabaseAnnotations;
using Umbraco.Core.Persistence.DatabaseModelDefi... | 1.929104 | acbdcf9db3710202f0ce1308f6f34dff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VZhiLinCorp/Kooboo",
"max_stars_repo_path": "Kooboo.Sites/Scripting/Global/Session.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9244"
} | starcoder | //Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using Kooboo.Data.Context;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Kooboo.Sites.Scripting.Global
{
public class Session : IDictio... | 2.338519 | d2b1151106c34daa496282969746cdc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9244 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WarrenMondeville/LandlordsCore",
"max_stars_repo_path": "Unity/Assets/Scripts/BehaviorTreeNode/UIScale.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9245"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace ETModel
{
public enum AAAA
{
BBBB,
CCCC,
DDDD
}
[Node(NodeClassifyType.Action, "将UI缩放")]
public class UIScale : Node
{
[NodeField("缩放倍数")]
private float scale;
[NodeField("111")]
private AAAA aaaa;
public UIScale(NodeProto nodeProto): base(nodeProto... | 1.903096 | d94bb59218e8579253636d64dd0fb1cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mathias-Hedelund-Larsen/Crypto_Transaction_Assistant",
"max_stars_repo_path": "Assets/Scripts/Other/JsonModels/TransactionHistory/TransactionTracking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9246"
} | starcoder | <reponame>Mathias-Hedelund-Larsen/Crypto_Transaction_Assistant
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
[Serializable]
public sealed class TransactionTracking
{
[JsonProperty]
private readonly List<AddressInfo> _transactionHistory;
[JsonIgnore]
public List<AddressInfo> ... | 2.17007 | 3e776c9da29bbe65c42ef4f3e874aeb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "futurix/cms-cli",
"max_stars_repo_path": "Explorer/Phone/Client/Common/Extensions/Streams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9247"
} | starcoder | using System;
using System.IO;
using System.Windows.Media;
namespace Wave.Common
{
public static class StreamExtensions
{
public static short ReadShort(this Stream str)
{
byte[] temp = new byte[2];
if (str.Read(temp, 0, 2) == 2)
return BitC... | 3.181312 | 1017c7a9ea747c399a8f48110b75dcc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "koliva8245/Heroes.Icons",
"max_stars_repo_path": "Heroes.Icons.Tests/DataDocument/BundleDataDocumentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9248"
} | starcoder | namespace Heroes.Icons.Tests.DataDocument;
[TestClass]
public class BundleDataDocumentTests : DataDocumentBase, IDataDocument
{
private readonly string _dataFile = Path.Combine("JsonData", "bundledata_76893_kokr.json");
private readonly string _jsonGameStringFileKOKR = Path.Combine("JsonGameStrings", "gamestr... | 1.819164 | 873a01968b7eac594831377686e972ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lokad/ContentAddr",
"max_stars_repo_path": "src/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9249"
} | starcoder | <reponame>Lokad/ContentAddr
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Lokad.ContentAddr.Tests")] | 1.00677 | d074397bde3c859cb09202ebe4a21d41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akselarzuman/ensure",
"max_stars_repo_path": "tests/Ensure.Tests/Ensure.NotNull.Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9250"
} | starcoder | using System;
using Xunit;
using EnsureDotnet;
using System.Collections.Generic;
namespace EnsureTests
{
public class EnsureNotNullTests
{
[Fact]
public void Should_Throw_ArgumentNullException()
{
Assert.Throws<ArgumentNullException>(() => Ensure.ArgumentNotNull(null as str... | 2.671066 | 0ab555163978c84e4235193b9ca4f125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9250 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ducanh-99/GoldMining",
"max_stars_repo_path": "Scripts/scene/LevelResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9251"
} | starcoder | <filename>Scripts/scene/LevelResult.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.SceneManagement;
using System;
public class LevelResult : MonoBehaviour {
public Button btn_main_menu;
public Button btn_main... | 2.229903 | b413ec1eae136f70a49e2c6cedd6dc15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ihristova11/GetHired",
"max_stars_repo_path": "GetHired/GetHired.DTO/JobOfferModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9252"
} | starcoder | <gh_stars>1-10
using System.ComponentModel.DataAnnotations;
using AutoMapper;
using GetHired.DomainModels;
using GetHired.DomainModels.Enums;
using Heroic.AutoMapper;
namespace GetHired.DTO
{
public class JobOfferModel : IMapFrom<JobOfferModel>, IMapTo<JobOfferModel>, IHaveCustomMappings
{
public int ... | 2.169539 | 917297086fd30b233365bb804f6bd98a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9252 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.IdentityModel/System/IdentityModel/RsaSignatureCookieTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9253"
} | starcoder | <filename>System.IdentityModel/System/IdentityModel/RsaSignatureCookieTransform.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System.Collections.Generic;
using System.C... | 2.651541 | d60c9cf902852996bc46c47099f5a785 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zgragselus/Ludum-Dare-45---Food-Fight",
"max_stars_repo_path": "Assets/Scripts/Easing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9254"
} | starcoder | <reponame>Zgragselus/Ludum-Dare-45---Food-Fight
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Easing
{
public static float Lerp(float v0, float v1, float t)
{
return v0 + (v1 - v0) * t;
}
public static float EaseIn(float t)
{
... | 2.763685 | e9d045cf45278d48c9d45a1479409ec5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9254 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "ronaldnsabiyera/Oak",
"max_stars_repo_path": "Oak.Tests/describe_Gemini/accessing_property.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9255"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NSpec;
using System.Dynamic;
using System.Reflection;
using Oak.Tests.describe_Gemini.Classes;
namespace Oak.Tests.describe_Gemini
{
class accessing_property : _describe_Gemini
{
void when_retrieving_property_fr... | 2.900883 | e39d726aa77991b3f11796c39d777aae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "l0g0sys/PoESkillTree",
"max_stars_repo_path": "PoESkillTree.Common/Model/Items/Enums/ItemSlot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9256"
} | starcoder | using System;
namespace PoESkillTree.Common.Model.Items.Enums
{
/// <summary>
/// Defines the slots which can be filled with items.
/// </summary>
[Flags]
public enum ItemSlot
{
Unequipable = 0x0,
BodyArmour = 0x1,
MainHand = 0x2,
OffHand = 0x4,
... | 2.30498 | 745786ccdc5decbc55f016c1d888793d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Torug0/GitC",
"max_stars_repo_path": "MercadoTechV2/MercadoTechV2/Models/Veiculo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9257"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace MercadoTechV2.Models
{
public class Veiculo
{
[Key]
public int Id { get; set; }... | 1.836927 | 8af35d6f7c75593863e2e08b9b5755df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nayanshah/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/InterfacesTest/Results/GetStatsResultTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9258"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using BuildXL.Cache.ContentStore.UtilitiesCore;
using BuildXL.Cache.ContentStore.Interfaces.Results;
using Xunit;
namespace BuildX... | 1.679605 | 1d0b330869b64f16898de55e77738f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9258 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HolicXXX/2D-Game-Level-Generator",
"max_stars_repo_path": "Assets/Scripts/DynamicObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9259"
} | starcoder | <gh_stars>1-10
using System.Text;
using UnityEngine;
using System;
public enum DynamicObjectType
{
box,
circle,
triangle,
hexagon,
cross,
star,
concave,
garland,
rope,
diamond,
balloon,
windmill,
snow,
arrow,
triangle2,
dandelion,
... | 2.061213 | 934d39f548f14324656e769018dfb2b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9259 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "douglas20345/jarvisw",
"max_stars_repo_path": "JARVIS/AIML.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9260"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using AIMLbot; // importando namespace que vai processar os arquivos de AIML
using System.Xml; // vamos processar os arquivos xml's
namespace JARVIS
{
/// <summary>
... | 2.940453 | a57a244b5bb5d64457ad2494c66589e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kintaro/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.TinyCPUSimulator.x86/PageFaultException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9261"
} | starcoder | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
namespace Mosa.TinyCPUSimulator.x86
{
[Serializable]
public class PageFaultException : SimCPUException
{
public ulong Address { get; private set; }
public PageFaultException(ulong address)
{
this.Address = address;
}
p... | 2.391521 | 1e1b03816f059864156b14d440ae31d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkZither/MyCDN",
"max_stars_repo_path": "src/CDNSharp.Web/Services/ICDNService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9262"
} | starcoder | using CDNSharp.Web.Models;
using LiteDB;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CDNSharp.Web.Services
{
public interface ICDNService : IDisposable
{
public Task<CDNFileInfo<string>> UploadAsync(IFormFi... | 1.787878 | c5905bdaa64cf2a3561b349ec8b3a187 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OpenSilver/odata.net",
"max_stars_repo_path": "src/Microsoft.OData.Core/UriParser/OrderByDirection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9263"
} | starcoder | <reponame>OpenSilver/odata.net
//---------------------------------------------------------------------
// <copyright file="OrderByDirection.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------... | 1.739271 | 5af25f15f64a6ca0d119d9a5fa24d0b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9263 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uQr/perfview",
"max_stars_repo_path": "src/TraceEvent/Ctf/CtfTracing.Tests/CtfTraceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9264"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Diagnostics.Tracing;
using Microsoft.Diagnostics.Tracing.Parsers.Clr;
using System.IO;
using System.Reflection;
namespace Tests
{
[TestClass]
public class CtfTraceTests
{
static string TestDataDirectory = @"..\..\inp... | 1.928779 | c9837ac6c6b803544c3037c065fc0c31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "genadi60/SISWebServer",
"max_stars_repo_path": "SIS/SIS.Apps/Cakes/CakesWebApp/Data/CakesDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9265"
} | starcoder | namespace CakesWebApp.Data
{
using Microsoft.EntityFrameworkCore;
using Models;
public class CakesDbContext : DbContext
{
public CakesDbContext(DbContextOptions options) : base(options)
{
}
public CakesDbContext()
{
}
public DbSet<User> Users... | 2.207338 | b65b20a00c46973613bf88f780c1b5df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsalomao/RestCliente.Net",
"max_stars_repo_path": "RestClient.Net.UnitTests/PollyTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9266"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Polly;
using Polly.Extensions.Http;
using RestClient.Net.Abstractions;
using RestClient.Net.DependencyInjection;
using RestClient.Net.UnitTests.Model;
using RestClientApiSamples... | 2.344073 | 226eae8402f472952aa99a349ca51855 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9266 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "JamesRandall/CommandMessagePatternTutorial",
"max_stars_repo_path": "Part2/Checkout.Application/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9267"
} | starcoder | using AzureFromTheTrenches.Commanding.Abstractions;
using Checkout.Application.Handlers;
using Checkout.Application.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespace Checkout.Application
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection UseCheck... | 1.780721 | c9ceea70d1089fee56f828d9cab24c53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Karnalow/SoftUni",
"max_stars_repo_path": "C# Advanced/01. Stacks and Queues/Lab/StackSum/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9268"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace StackSum
{
internal class Program
{
static void Main(string[] args)
{
string numbersAsString = Console.ReadLine();
Stack<int> numbers = new Stack<int>();
string[] numb... | 3.617412 | e13a3219ccebc85062f0115ea2accdb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UnosquareBelfast/AdminCore",
"max_stars_repo_path": "v2/AdminCore.Services/DateService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9269"
} | starcoder | using AdminCore.Common.Interfaces;
using AdminCore.DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdminCore.Services
{
public class DateService : IDateService
{
public DateTime GetCurrentDateTime()
{
return DateTime.Now; ;
}
public Dat... | 2.685755 | a6e37373713cb4c485565fb83198a186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9269 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "hypzeh/smallify",
"max_stars_repo_path": "src/Smallify.Core/Configuration/AuthenticationToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9270"
} | starcoder | <reponame>hypzeh/smallify<gh_stars>10-100
using System;
namespace Smallify.Core.Configuration
{
public class AuthenticationToken
{
public string AccessToken { get; private set; }
public string RefreshToken { get; private set; }
public int ExpiryLength { get; private set; }
publ... | 2.416825 | fd6e83b68b4d9b199ba919820c3d1a8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9270 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "AnErrupTion/Better-xNet",
"max_stars_repo_path": "Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9271"
} | starcoder | <reponame>AnErrupTion/Better-xNet<filename>Resources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provo... | 2.018848 | 7408176e8ff2ca2af62d6873f1dfb219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jluini/turtle-island",
"max_stars_repo_path": "Assets/Scripts/Team.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9272"
} | starcoder | <filename>Assets/Scripts/Team.cs
using System.Collections.Generic;
using UnityEngine;
namespace TurtleIsland {
public class Team {
public int id;
public string name;
public Color color;
public int weaponIndex = 0;
public int weaponValue;
public Controller controller;
private List<Character> charact... | 3.034995 | 04ae428d46cf47a797576d6546454bc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9272 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pedipanol/mml2vgm",
"max_stars_repo_path": "mml2vgm/mml2vgmIDE/form/FrmErrorList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9273"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace mml2vgmIDE
{
public partial class FrmErrorList : WeifenLuo.WinFormsUI.Docking.DockContent
{
public Action parentUpdate = null;
... | 2.241488 | c21e0e9f1c7829e5a16c42796f486857 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "channeladam/ChannelAdam.Xml",
"max_stars_repo_path": "src/ChannelAdam.Xml/Internal/NamedLocker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9274"
} | starcoder | <reponame>channeladam/ChannelAdam.Xml
//-----------------------------------------------------------------------
// <copyright file="NamedLocker.cs">
// Copyright (c) 2018-2021 <NAME>. All rights reserved.
// </copyright>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | 2.471376 | 906a724ba838ebee3ab11a7e606ceb5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarceloHls/RestWithAspNet5Course",
"max_stars_repo_path": "10_RestWithAspNetCore-Content_Cors/03_RestWithAspNetCore-Person/Respository/Genric/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9275"
} | starcoder | <reponame>MarceloHls/RestWithAspNet5Course
using _03_RestWithAspNetCore_Person.Model;
using _03_RestWithAspNetCore_Person.Model.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace _03_RestWithAspNetCore_Person.Repository
{
public interface IRepository<T>... | 2.238992 | 04ee1fb0ce582a0855a232775fa077b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9275 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "y3lousso/8INF955_Projet",
"max_stars_repo_path": "BeatDetector/BeatDetector/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9276"
} | starcoder | <reponame>y3lousso/8INF955_Projet<filename>BeatDetector/BeatDetector/Program.cs<gh_stars>1-10
using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
namespace BeatDetector
{
static class Program
{
/// <summary>
/// The main entry point f... | 2.460052 | ca4cd86242efbae56735b9103b5eb739 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mediaexplorer74/Weather2022",
"max_stars_repo_path": "Widgets/WeatherClockWidget/Wizard/WizardWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9277"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Wind... | 1.815064 | 728bfc2da3496796de98156ab81b48c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9277 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tc303730352/WedonekRpcFrame",
"max_stars_repo_path": "Source/RpcModel/ErrorManage/RefreshError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9278"
} | starcoder | namespace RpcModel.ErrorManage
{
/// <summary>
///删除本地错误信息缓存
/// </summary>
[IRemoteBroadcast("RefreshError", false, IsCrossGroup = true)]
public class RefreshError
{
public long ErrorId
{
get;
... | 1.700038 | d2992a3f3285d9c8dee413021734d430 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9278 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NAGeorge/SolidCP-fork",
"max_stars_repo_path": "SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ScheduleTaskControls/LetsEncryptRenewalView.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9279"
} | starcoder | using SolidCP.EnterpriseServer;
using SolidCP.Portal.UserControls.ScheduleTaskView;
using System;
using System.Web.UI.WebControls;
namespace SolidCP.Portal.ScheduleTaskControls
{
public partial class LetsEncryptRenewalView : EmptyView
{
private readonly static string DaysBeforeParameter;
priv... | 1.887365 | 885955dd9a2564a4b13e1b30ce45e7d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9279 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jason450/STM",
"max_stars_repo_path": "Assets/Scripts/UI/Easings/ScaleEasing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9280"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScaleEasing : MonoBehaviour
{
public enum Type { EXPO, CIRC, QUINT, QUART, QUAD, SINE, BACK, BOUNCE, ELASTIC}
public Type type;
public Vector3 iniValue;
public Vector3 finalValue;
Vector3 deltaValue;
p... | 2.531475 | 6104449e8f6de5ab1262541501076129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elitsa-Georgieva/SoftUni-CSharp_Advanced",
"max_stars_repo_path": "Stacks and Queues/8.TrafficJam/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9281"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace _8.TrafficJam
{
class Program
{
static void Main(string[] args)
{
int N = int.Parse(Console.ReadLine());
int totalCarsPassed = 0;
Queue<string> cars = new Queue<string>();
whi... | 3.377785 | 98845d8fa6b149dde00fc878a3c5242f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9281 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2ia/frapid",
"max_stars_repo_path": "src/Libraries/Frapid.NPoco/ExpressionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9282"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Frapid.NPoco.Expressions;
namespace Frapid.NPoco
{
public static class ExpressionExtensions
{
public static int UpdateWhere<T>(this IDatabase database, T obj, string where, params... | 2.399555 | 40a5ad80998133513312c94d3e716cdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9282 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "luxiaodong/Game",
"max_stars_repo_path": "Assets/Thirdparty/StompyRobot/SRF/Scripts/Helpers/SRInstantiate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9283"
} | starcoder | <filename>Assets/Thirdparty/StompyRobot/SRF/Scripts/Helpers/SRInstantiate.cs
using UnityEngine;
public static class SRInstantiate
{
public static T Instantiate<T>(T prefab) where T : Component
{
return (T)Object.Instantiate(prefab);
}
public static GameObject Instantiate(GameObject prefab)
... | 2.423829 | 68c14b553011cafdfa77f5db39069a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RodgerLeblanc/shouldly",
"max_stars_repo_path": "src/Shouldly/ShouldlyExtensionMethods/ShouldThrowExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9284"
} | starcoder | <filename>src/Shouldly/ShouldlyExtensionMethods/ShouldThrowExtensions.cs
using System;
using System.Diagnostics;
namespace Shouldly
{
[DebuggerStepThrough]
[ShouldlyMethods]
public static partial class ShouldThrowExtensions
{
/*** ShouldThrow(Action) ***/
public static TException Shoul... | 2.240362 | aec11d7e0a9ffbcba898af8e771ec86e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9284 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "EbramTawfik/GeckoFX",
"max_stars_repo_path": "Geckofx-Core/WebIDL/Generated/SimpleGestureEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9285"
} | starcoder | namespace Gecko.WebIDL
{
using System;
public class SimpleGestureEvent : WebIDLBase
{
public SimpleGestureEvent(nsIDOMWindow globalWindow, nsISupports thisObject) :
base(globalWindow, thisObject)
{
}
public uint Allowe... | 1.40401 | d0b2e89b472f6a3a89e728a65d150e23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jobkanis/fastStartMonogame",
"max_stars_repo_path": "Shoot/Shoot/Abstract/Updateable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9286"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shoot
{
public interface Updateable{
void Update(float gameTime);
}
}
| 1.908073 | 21937de724673d05b93ac58841429fe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gregory-diaz/agg-sharp",
"max_stars_repo_path": "agg/RectangleFloat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9287"
} | starcoder | /*
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disc... | 2.771994 | bb5d2d67b131be296adf8aade6ad8fc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9287 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "angewa/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.Http/tests/ContractShapeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9288"
} | starcoder | using CoreWCF.Configuration;
using Helpers;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using Xunit;
using Xunit.Abstractions;
namespace CoreWCF.Http.Tests
{
public class ContractShapeTests
{
private ITestOutputH... | 2.322235 | 3238c2d606af98cc0c0403cad1786568 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9288 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "FenPhoenix/AngelLoader",
"max_stars_repo_path": "AngelLoader/Forms/Settings/Interfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9289"
} | starcoder | <gh_stars>10-100
using JetBrains.Annotations;
namespace AngelLoader.Forms
{
internal static class Interfaces
{
[PublicAPI]
internal interface ISettingsPage
{
bool IsVisible { get; }
void SetVScrollPos(int value);
int GetVScrollPos();
void... | 1.592136 | dce11f78bc2316075dc713930ffe8029 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PetrovBogdan/ASP.NET-Core-Movie-Info-System",
"max_stars_repo_path": "MovieInfoSystem/Views/Actors/AddDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9290"
} | starcoder | @model AddActorDetailsFormModel
@{
ViewBag.Title = "Add details";
}
<div class="container">
<div class="row">
<div class=" col-md-6 col-sm-12 offset-md-2">
<form method="post">
<h2 class="text-center p-3">Add details</h2>
<div class="form-group">
... | 2.484857 | 940866f6cdbfad4c7d12b0b7164ac0f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raymartf31/Northwind.Ordering.Client",
"max_stars_repo_path": "Northwind.Ordering.Web/Models/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9291"
} | starcoder | <reponame>raymartf31/Northwind.Ordering.Client
using System;
using System.Collections.Generic;
namespace Northwind.Ordering.Web.Models
{
public class Order
{
public int OrderID { get; set; }
public DateTime OrderDate { get; set; }
public List<OrderDetail> OrderDetails { get; s... | 1.565196 | 04977b3b6701a43be7caeed799cecfc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9291 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Missouri-BMI/popmednet",
"max_stars_repo_path": "Lpp.Dns.DTO/Projects/UpdateProjectRequestTypesDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9292"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Lpp.Dns.DTO
{
/// <summary>
/// Update Project request types
/// </summary>
[DataContract]
public class UpdateProjectRequestTypesDTO
{
/// ... | 1.82016 | dae3fa8bd6a28b5bd3736a318329e89f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9292 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GranDen-Corp/GranDen.CallExtMethodLib",
"max_stars_repo_path": "test/LibTestProject/InvokeOverloadExtMethodTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9293"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using GranDen.CallExtMethodLib;
using LogDemoExtLib;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace LibTestProject
{
public class InvokeOverloadExtMethodTest
{
[Fac... | 2.189866 | b906c4bd4350a8df6cbae0c519744e1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9293 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SugarPike/vk",
"max_stars_repo_path": "VkNet.Tests/Categories/BotsLongPoll/BotsLongPollBaseTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9294"
} | starcoder | <reponame>SugarPike/vk<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Text;
using VkNet.Tests.Infrastructure;
namespace VkNet.Tests.Categories.BotsLongPoll
{
[ExcludeFromCodeCoverage]
public abstract class BotsLongPollBaseTest : Cate... | 2.183635 | 4e4dfc2e9c487f75806b565480758725 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9294 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/Issues/RavenDB_10640.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9295"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using FastTests;
using Raven.Client.Documents;
using Raven.Client.Documents.Indexes;
using Raven.Client.Documents.Session;
using Xunit;
namespace SlowTests.Issues
{
public class RavenDB_10640 : RavenTestBase
{
[Fact]
public async Ta... | 1.9242 | 50147ef90bffbd05c03e182958c9bf6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9295 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nseedio/nseed",
"max_stars_repo_path": "build/private/NukeBuild/Build.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9296"
} | starcoder | using Nuke.Common;
using Nuke.Common.Execution;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Utilities.Collections;
using System.IO.Compression;
using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.IO.PathConstruction;
using static Nuke.Common.Tools.DotNet.D... | 1.891028 | 1113ed36f7b28a54afd8d8cace69e58a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9296 | {
"extension": "c-sharp",
"max_stars_count": "223.0",
"max_stars_repo_name": "Fitz-YM/Bolt.Addons.Community",
"max_stars_repo_path": "Editor/Windows/View/WindowVariableNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9297"
} | starcoder | <reponame>Fitz-YM/Bolt.Addons.Community
using UnityEditor;
namespace Unity.VisualScripting.Community
{
[UnitCategory("Community/Editor")]
[TypeIcon(typeof(EditorWindow))]
[RenamedFrom("Bolt.Addons.Community.Utility.Editor.EditorWindowVariableUnit")]
public abstract class WindowVariableNode : Unit
... | 1.57605 | 04c821b2d33da139ab4c5e6e4fcdd791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheChosenKhoa01/E-commerce-Website-.Net",
"max_stars_repo_path": "DoAnCuoiKy/Controllers/TimKiemController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9298"
} | starcoder | <filename>DoAnCuoiKy/Controllers/TimKiemController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DoAnCuoiKy.Models;
using PagedList;
namespace DoAnCuoiKy.Controllers
{
public class TimKiemController : Controller
{
QuanLyBanHan... | 2.188242 | de120974a3ec87b61bbcbd7b4d5d2cbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QuentinWashington/FPS-Test",
"max_stars_repo_path": "workers/unity/Assets/Fps/Scripts/StateMachine/Session/SessionConnectState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9299"
} | starcoder | using Fps.UI;
using Fps.WorkerConnectors;
using UnityEngine;
namespace Fps.StateMachine
{
public class SessionConnectState : SessionState
{
private string deployment;
private readonly Color hintTextColor = new Color(1f, .4f, .4f);
public SessionConnectState(string deployment, UIManager... | 1.984443 | 9a0827c896830ab71a117c21276d92dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Valersd/CarService",
"max_stars_repo_path": "CarService.Web/ViewModels/CarDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9300"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace CarService.Web.ViewModels
{
public class CarDetails : CarInRepairDocumentDetails
{
[Display(Name = "Repair documents")]
public IEnumerable<RepairDocumentD... | 1.695804 | 2fa08aa3578128e46d85bd52073f46e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qhris/PoeTradeHub",
"max_stars_repo_path": "PoeTradeHub/TradeAPI/ITradeAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9301"
} | starcoder | <reponame>qhris/PoeTradeHub
using System.Collections.Generic;
using System.Threading.Tasks;
using PoeTradeHub.TradeAPI.Models;
namespace PoeTradeHub.TradeAPI
{
public interface ITradeAPI
{
/// <summary>
/// Queries the official API for a list of current league names.
/// Private league... | 1.844994 | 77edad9ee1b7baa0ec2dd544f9a20cd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DigitalDJ/KeeOtp2",
"max_stars_repo_path": "KeeOtp2Tests/KeeOtp2Migration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9302"
} | starcoder | <reponame>DigitalDJ/KeeOtp2
using KeeOtp2;
using KeePassLib;
using KeePassLib.Security;
using System;
using System.Linq;
using Xunit;
using System.Windows.Forms;
namespace KeeOtp2Tests
{
public class KeeOtp2Migration
{
[Theory]
[InlineData("otp", "wroiv2p5agecswssthwzyjn2xzgdquyk"... | 1.659387 | 71007114e326e1ebf333b116b442d8bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9302 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "obadiahkorir/Insurance-Brokerage-Portal",
"max_stars_repo_path": "KYM Portal/obj/Release/Package/PackageTmp/Views/ClientOnBoarding/IndividualClientUnderwriting.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9303"
} | starcoder | <reponame>obadiahkorir/Insurance-Brokerage-Portal<filename>KYM Portal/obj/Release/Package/PackageTmp/Views/ClientOnBoarding/IndividualClientUnderwriting.cshtml
@model KYM_Portal.Models.ClientOnBoard
@{
ViewBag.Title = "IndividualClientUnderwriting";
}
<h2>IndividualClientUnderwriting</h2>
| 1.353315 | ab91bc366063128db5f7d68f7f1390f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9303 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Nasus20202/AspShop",
"max_stars_repo_path": "Views/Order/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9304"
} | starcoder | <gh_stars>1-10
@using Microsoft.AspNetCore.Http;
@using ShopWebApp
@model OrderModel
@{
Layout = "_OrderLayout";
}
<script>
function OnShippingUpdate() {
if (document.getElementById('ShippingType').value == "2") {
document.getElementById('info').style.display = "block";
}
el... | 2.447443 | 86e09573c16e3de30987e0c158c20cdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9304 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "lightln2/LifeOhLife",
"max_stars_repo_path": "csharp/LifeOhLife/5_LifeInBits.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9305"
} | starcoder | <reponame>lightln2/LifeOhLife<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace LifeOhLife
{
/// <summary>
/// Improves determining if cells are gonna live or die, like in LifeIsPredetermined,
/// but uses bit manipulation instead of table lookups
/// </summa... | 2.99718 | 6aa9c44eec4e022cfc07645cc1dfbf4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShivKushwah/indy_sdk_android_readme",
"max_stars_repo_path": "wrappers/dotnet/indy-sdk-dotnet/PaymentsApi/Payments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9306"
} | starcoder | using System;
using System.Threading.Tasks;
using Hyperledger.Indy.Utils;
using Hyperledger.Indy.WalletApi;
using static Hyperledger.Indy.PaymentsApi.NativeMethods;
using static Hyperledger.Indy.Utils.CallbackHelper;
namespace Hyperledger.Indy.PaymentsApi
{
/// <summary>
/// Payments API
/// </summary>
... | 1.836994 | aa7024681123f4fa9a0788e7e66b26da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Blogrammer/csharp-func",
"max_stars_repo_path": "ExportToExcel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9307"
} | starcoder | <reponame>Blogrammer/csharp-func
//using Microsoft.Office.Interop.Excel;
public static void ExportToExcel(DataTable DataTable, string ExcelFilePath = null)
{
try
{
int ColumnsCount;
if (DataTable == null || (ColumnsCount = DataTable.Columns.Count) == 0)
... | 2.87396 | 5097e6d3edcc67364ec9a76774b612db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9307 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "OneCodeTeam/Auto redirect to login page when Session is expired/[C#]-Auto redirect to login page when Session is expired/C#/CSASPNETAutoRedirectLoginPage/UserPage1.aspx.c... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;
namespace CSASPNETAutoRedirectLoginPage
{
public partial class UserPage : System.Web.UI.Page
{
public string loginDate;
public ... | 2.236699 | caf3a464906b5e4f357dc20e341475ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9308 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "izackp/C-Sharp-Library",
"max_stars_repo_path": "Extensions/TypeExt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9309"
} | starcoder | using System;
namespace CSharp_Library.Extensions {
public static class TypeExt {
// In 4.5+, TypeInfo has most of the reflection methods previously on type
// This allows code to be shared between 3.5 && 4.5+ projects
#if NET35 || NET40
public static Type GetTypeInfo(this Type type) {
... | 2.424263 | d6bbaa74e8c3e1fc33231c7d8345d9b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pouria7/Winsta",
"max_stars_repo_path": "WinGoTag/View/SearchView/SearchPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9310"
} | starcoder | using InstaSharper.Classes.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Core;
using Windows.UI.Xaml;
using W... | 1.98754 | 009fd7a5b82bd7b71fe72a8c48c8919f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9310 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "MarkMpn/Sql4Cds",
"max_stars_repo_path": "MarkMpn.Sql4Cds.Engine/ExecutionPlan/SqlTypeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9311"
} | starcoder | <filename>MarkMpn.Sql4Cds.Engine/ExecutionPlan/SqlTypeConverter.cs
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.Xrm.Sdk;
namespace MarkMpn.Sql4Cds.Engine.ExecutionPlan
{
/// <summary>
/... | 2.863491 | 42f0fb52ff793bd0cecea257ea44d0ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9311 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cdrnet/Lokad.Cloud",
"max_stars_repo_path": "Test/Lokad.Cloud.Framework.Test/Storage/MessageWrapperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9312"
} | starcoder | <reponame>cdrnet/Lokad.Cloud<gh_stars>1-10
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.IO;
using Lokad.Cloud.Test;
using Lokad.Serialization;
using NUnit.Framework;
namespace Lokad.Cloud.Storage.Test
{
[... | 1.866438 | 57445ce8682bd9417bbd997028486f48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9312 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wbpascal/Azuria",
"max_stars_repo_path": "Azuria.Test/Requests/HttpClientTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9313"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azuria.ErrorHandling;
using Azuria.Requests.Http;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace Azuria.Test.Requests
{
[TestFixture]
public class HttpClient... | 2.261471 | feb06ccc52e9182b6533667cc699d11f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9313 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "BlazorHub/Skclusive.Mobx.StateTree",
"max_stars_repo_path": "src/StateTree/Middleware/MiddlewareEventType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9314"
} | starcoder | namespace Skclusive.Mobx.StateTree
{
public enum MiddlewareEventType
{
Action,
Spawn,
Resume,
Error,
Return,
Throw
}
}
| 1.35867 | 906caa36fc5174149be5e4d9a331fb9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9314 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TED-inc/Application-Match-Invaders",
"max_stars_repo_path": "Assets/Scripts/MatchInvaders/GameFlow/IScoreChanger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9315"
} | starcoder | <filename>Assets/Scripts/MatchInvaders/GameFlow/IScoreChanger.cs<gh_stars>1-10
using System;
namespace TEDinc.MatchInvaders.GameFlow
{
public interface IScoreChanger
{
event Action<int> OnScoreChanged;
void OnResetCurrentScore();
}
} | 1.932185 | dc67fa65a3582e74b82fd81c6c2384d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9315 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "umby24/libMC.NET",
"max_stars_repo_path": "Client/Handlers/LoginDisconnect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9316"
} | starcoder | namespace libMC.NET.Client.Handlers {
class LoginDisconnect {
}
}
| 0.972906 | 35c67f04ced1069cb774959082027dfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9316 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "danielcrenna/vault",
"max_stars_repo_path": "hammock/src/net35/Hammock/Web/WebParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9317"
} | starcoder | #if !Smartphone && !NETCF
using System.Diagnostics;
#endif
using System;
namespace Hammock.Web
{
#if !Smartphone && !NETCF
[DebuggerDisplay("{Name}:{Value}")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
public class WebParameter : WebPair
{
public WebParameter(string name, string value) : base(n... | 1.898848 | fda6d1718ee1f4bc20c56c3748f610a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9317 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Maydear/Maydear-Extensions-Mvc",
"max_stars_repo_path": "src/Maydear.Mvc/ServiceCollectionExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9318"
} | starcoder | using Maydear.Mvc.Authentication;
using Maydear.Mvc.Filters;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
... | 1.821543 | 2aed856f14138c10a89351d34e6ec9ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9318 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "DeathGOD7/pythonnet",
"max_stars_repo_path": "src/runtime/loader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9319"
} | starcoder | using System.Diagnostics;
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace Python.Runtime
{
using static Runtime;
[Obsolete("Only to be used from within Python")]
static class Loader
{
public unsafe static int Initialize(IntPtr data, int ... | 2.530326 | a74696ffdc5162bcff294b5dee0f74d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9319 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Kritner/Kritner.AdventOfCode2018",
"max_stars_repo_path": "test/Kritner.AdventOfCode2018.Tests/Day9/CircularListTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9320"
} | starcoder | using Kritner.AdventOfCode2018.Day9;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Kritner.AdventOfCode2018.Tests.Day9
{
public class CircularListTests
{
private Test_CircularList<int> _subject;
private class Test_CircularList<T> :... | 3.054901 | b57b1168bf9d04c069b11aa924aa72fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rootasjey/imagine81",
"max_stars_repo_path": "Imagine/Imagine.Shared/Common/Helpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9321"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Imagine.Common
{
public class Helpers
{
/// <summary>
/// Find a child that is in a DataTemplate
/// based on its type
... | 2.913453 | e4f718e92270e075d024f9b810b33e49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DalavanCloud/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9322"
} | starcoder | <filename>src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage/Enums.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | 1.489502 | d4afd1d98d6c3f668145a8dcfd94d112 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkaraki/WinLock",
"max_stars_repo_path": "WinLockPasswordUtils/CredentialUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9323"
} | starcoder | <gh_stars>0
/*
* CredentialUI.cs - Windows Credential UI Helper
*
* License: Public Domain
*
*/
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace Misuzilla.Security
{
/// <summary>
/// Credential UI Helper
/// </summ... | 2.657514 | 5c560f9d45e5adbcd026d83bb8ad19ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9323 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mahdiehsanifar/TfsTools",
"max_stars_repo_path": "TfsWitAdminTools/Core/IWitAdminService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9324"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using TfsWitAdminTools.Cmn;
using TfsWitAdminTools.Service;
namespace TfsWitAdminTools.Core
{
public interface IWitAdminService
{
Task<string[]> ExportWorkItemTypes(ITFManager tfManager, string projectCollectionName, strin... | 1.578304 | fd0f3d7d1e4f90191314ad944eca7eb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CarloMicieli/dotnetcore-clean-architecture",
"max_stars_repo_path": "Tests/Domain.UnitTests/Collecting/Shops/ShopIdTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9325"
} | starcoder | using System;
using FluentAssertions;
using Xunit;
namespace TreniniDotNet.Domain.Collecting.Shops
{
public class ShopIdTests
{
[Fact]
public void ShopId_ShouldCreateNewValues()
{
var id = ShopId.NewId();
id.Should().NotBeNull();
}
[Fact]
... | 2.69566 | 1baf937a5fc3b86df1836ec8d419aec5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OctopusDeploy/Versioning",
"max_stars_repo_path": "source/Octopus.Versioning/Maven/Ranges/MavenVersionRange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9326"
} | starcoder | using System;
using System.Collections.Generic;
namespace Octopus.Versioning.Maven.Ranges
{
/// <summary>
/// A copy of https://github.com/apache/maven/blob/master/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
/// </summary>
public class MavenVersionRange
{
... | 2.791627 | a8e41dedaf796285dd069e9fe5c78868 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9326 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "traiv/Courses",
"max_stars_repo_path": "ConcurrentCSharp/Processes/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9327"
} | starcoder | <gh_stars>1-10
using Example;
namespace Example
{
class ProcessBasics
{
/// <param name="args">The command-line arguments.</param>
static void Main(string[] args)
{
// Uncomment the methods to see the results of the examples
Processes exampleProcesses =... | 1.968723 | 4d97d2849490e72a79f310991bc8fd23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juniorfelixgb/Practica-III",
"max_stars_repo_path": "src/BankApp/BankApp/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9328"
} | starcoder | @using BankApp
@namespace BankApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.095938 | 4fd8e91a7fb6d95dac6675b7c1ecc49a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9328 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Shkyrockett/engine",
"max_stars_repo_path": "Engine.Experimental/Geometry/Distortions/Envelope/Enveloper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9329"
} | starcoder | using System.Runtime.CompilerServices;
namespace Engine.Experimental
{
/// <summary>
/// The enveloper class.
/// </summary>
public static class Enveloper
{
/// <summary>
/// Warp the shape using Envelope distortion.
/// </summary>
/// <param name="point">The point.... | 2.80842 | d1e1a72888d011f8a3fb3f1dbfd5b8fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9329 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Samotorcan/Html.Ui",
"max_stars_repo_path": "src/Samotorcan.HtmlUi.WindowsForms/Window.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9330"
} | starcoder | using System;
using System.Windows.Forms;
using Xilium.CefGlue;
using Samotorcan.HtmlUi.Core.Utilities;
using Samotorcan.HtmlUi.Core.Renderer;
namespace Samotorcan.HtmlUi.WindowsForms
{
/// <summary>
/// Windows forms window.
/// </summary>
[CLSCompliant(false)]
public class Window : Core.Window
... | 2.39519 | 6c809dabe464846366e35aa822a9b513 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9330 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PearAdmin/pear-admin-abp",
"max_stars_repo_path": "src/PearAdmin.AbpTemplate.Admin/Views/Shared/Components/RightNavbarUserArea/Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9331"
} | starcoder | @using System.Text
@using System.Security.Cryptography
@model PearAdmin.AbpTemplate.Admin.Views.Shared.Components.RightNavbarUserArea.RightNavbarUserAreaViewModel
@{
var calculateNavId = new Func<string, string>((hashTarget) =>
{
using (var md5 = MD5.Create())
{
var md5ComputeHash =... | 1.969384 | a8abe847f7427e1803324de0840df252 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9331 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jfmc/FPSSample",
"max_stars_repo_path": "Assets/Scripts/Game/Modules/Character/Components/TranslateScale.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9332"
} | starcoder | <filename>Assets/Scripts/Game/Modules/Character/Components/TranslateScale.cs
using System;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEditor;
using UnityEngine;
// TODO: (sunek) With the introduction of prefabs, evaluating procedural bones in edit mode will dirty the prefab.
// Find a way t... | 2.404842 | 100b36eea765c16f9b62f1613505aa45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9332 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vermilion/Dot",
"max_stars_repo_path": "src/PlatformFramework/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9333"
} | starcoder | using Ardalis.GuardClauses;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace PlatformFramework
{
public static class ServiceCollectionExtensions
{
/// <summary>
/// Add Framework feature modules
/// </summary>
/// <param name="services"><see cref="IServic... | 2.452843 | f515c0e5ab9a82a5dcf65be421294568 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9333 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jurishev/memento",
"max_stars_repo_path": "server/Mem.Core.Input/InputHandlerChain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9334"
} | starcoder | namespace Mem.Core.Input
{
public class InputHandlerChain : IInputHandler
{
private readonly InputHandler chain;
public InputHandlerChain(ICommandHandler commandHandler,
ICharService charService,
IMudConfiguration config,
... | 2.458995 | b7d50d3860bf0abdce8b716aaffcce67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9334 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HopeWallet/PRPS.NET",
"max_stars_repo_path": "Hope.Ethereum.PRPS/Hope.Ethereum.PRPS/src/Hodler Contract/Output/Hodler.Output.Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9335"
} | starcoder | using Nethereum.ABI.FunctionEncoding.Attributes;
using System.Numerics;
namespace Hope.Ethereum.PRPS
{
/// <summary>
/// Class which represents the Hodler smart contract used for locking purpose and receiving dubi.
/// </summary>
public sealed partial class Hodler : EthereumContract
{
/// ... | 2.634799 | cf38661d687f4cd4d41b1dd427c67635 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GemersonDenner/plataforma-reeduca",
"max_stars_repo_path": "Reeduca.Infra/Repository/MongoDB/IMongoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9336"
} | starcoder | <filename>Reeduca.Infra/Repository/MongoDB/IMongoRepository.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Reeduca.Infra.Repository.MongoDB
{
public interface IMongoRepository<T> where T : class, IEntityMongo
{
T Get(T entity);
T ... | 2.377963 | 5147ccc5d8593c12713449eac2ea7c1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9336 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "appotry/GB28181.Platform2016",
"max_stars_repo_path": "GB28181.Client/Player/Media/Wave/native/WavConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9337"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SLW.Media.Wave.Wave.Native
{
/// <summary>
/// This class provides most used wav constants.
/// </summary>
internal class WavConstants
{
public const int MM_WOM_OPEN = 0x3BB;
public const int MM_WOM_CLOSE = 0x3BC... | 1.664771 | fca0960a469abefdf6257f25222b5a49 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.