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 | 8817518 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rqlite/rqlite-dotnet",
"max_stars_repo_path": "RqliteDotnetExample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136738"
} | starcoder | <filename>RqliteDotnetExample/Program.cs
using RqliteDotnet;
using RqliteDotnet.Dto;
namespace RqliteDotnetExample;
public static class RqliteDotnetExample
{
public static void Main(string[] args)
{
var x = new RqliteClient("http://localhost:4001");
Console.WriteLine(x.Ping().Result);
}
} | 2.073671 | bc390a5902fd45489e184b77eb1753c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkuryakov/itext7-dotnet",
"max_stars_repo_path": "itext/itext.layout/itext/layout/margincollapse/MarginsCollapseHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136739"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: <NAME>, <NAME>, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition... | 1.580799 | 7cb4b01ababb99b73474ba6da9a88db1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukaspj/Torque6-Embedded-C-",
"max_stars_repo_path": "Game/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136740"
} | starcoder | <reponame>lukaspj/Torque6-Embedded-C-<gh_stars>0
namespace Game
{
class Program
{
static void Main(string[] args)
{
Torque6.Interop.Initializer.InitializeTypeDictionaries("ConsoleExample.dll");
Torque6.Interop.Torque6.Libraries libraries = new Torque6.Interop.Torque6.Libraries
... | 1.649814 | ee3087ee1ddd3fefc780cf0f9cf7ef9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talbottmike/TransformR",
"max_stars_repo_path": "Rosetta.UnitTests/Types/SingleConverterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136741"
} | starcoder | #region References
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endregion
namespace Rosetta.UnitTests.Types
{
[TestClass]
public class SingleConverterTests : IConverterTests, IParseTests
{
#region Methods
[TestMethod]
public void ConvertFromBoolean()
{
TestHelper.AreEqual(1, Con... | 2.67223 | 2b02afe8adb32d6a55ef3c55b168717d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817522 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ed-Fi-Exchange-OSS/MappingEDU",
"max_stars_repo_path": "src/MappingEdu.Core.DataAccess/Repositories/SystemItemMapRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136742"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Collections.Generic;
u... | 1.884122 | 25a67acab2297ccb71129794779cf4f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817523 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "qq576067421/Fishing",
"max_stars_repo_path": "Server/Fishing.Grain/Grain/GrainCellDesktopGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136743"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Text;
using Orleans;
using Orleans.Concurrency;
using Orleans.Runtime;
using Orleans.Providers;
using Orleans.Streams;
using GF.Common;
namespace Ps
{
// ... | 1.898599 | 3d78deb774b019707a5ae96801cb8f85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817524 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "toamitsinghal/StockSharp",
"max_stars_repo_path": "Community/CommunityAuthorization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136744"
} | starcoder | #region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | 2.340761 | 5fde78f023449810b2b7ee5929740858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VanirLab/vanir-builder-windows",
"max_stars_repo_path": "scripts/msi-tools/tlb-convert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136745"
} | starcoder | using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
// This utility extracts COM type library definition from unmanaged DLL and creates matching managed wrapper assembly.
namespace Vanir.BuildTools
{
static class TlbConvert
{
private en... | 2.344265 | 51b15cee68ccb454193687d6ba78c47a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j-ghadiri/Demo.AspNetCore.JqGrid",
"max_stars_repo_path": "Demo.AspNetCore.JqGrid/Controllers/StarWarsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136746"
} | starcoder | <filename>Demo.AspNetCore.JqGrid/Controllers/StarWarsController.cs
using System;
using System.Linq;
using System.Globalization;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Lib.AspNetCore.Mvc.JqGrid.Core.Json;
using Lib.AspNetCore.Mvc.JqGrid.Core.Response;
using Lib.AspNetCore.Mvc.JqGrid.Cor... | 2.592489 | e8686abb0833985cc43757acfffabae2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eliraEsFlo/RazorWebForm",
"max_stars_repo_path": "RequerimientosPro/Backend/Infrastructura/TableServices/ProgramadoresTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136747"
} | starcoder | using Backend.Infrastructura.Interfaces;
using Core.Entities;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
namespace Backend.Infrastructura.TableServices
{
public class ProgramadoresTable : IRepository<Usuarios>
... | 2.717855 | ad4f916911ce49f0500e47158d5b5f62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817528 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbWeb/Views/Album/Partials/_DownloadTagsDialog.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136748"
} | starcoder | <reponame>AgFlore/vocadb<gh_stars>100-1000
@using Res = ViewRes.Album.DetailsStrings
<div
data-bind="
dialog: {
autoOpen: false, width: 400,
position: { my: 'left top', at: 'left bottom', of: $('#downloadTags') }
},
dialogVisible: downloadTagsDialog.dialogVisible,
dialogButtons: downloadTagsD... | 1.444598 | 47848d877e654bba6d3a92ee7ccf0729 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toffernator/blueberry",
"max_stars_repo_path": "Server.Tests/GlobalUsings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136749"
} | starcoder | global using Microsoft.AspNetCore.Mvc;
global using Microsoft.Extensions.Logging;
global using Moq;
global using Xunit;
global using blueberry.Server.Controllers;
global using blueberry.Core;
global using blueberry.Common;
global using static blueberry.Core.Status; | 0.725169 | d208b93f07a6ad830efd356304e10495 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817530 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "fingerx/LiteNetLib4Mirror",
"max_stars_repo_path": "LiteNetLib4Mirror/Assets/MirrorLib/Mirror/Runtime/Transport/Websocket/Ninja.WebSockets/WebSocketServerFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136750"
} | starcoder | // ---------------------------------------------------------------------
// Copyright 2018 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without ... | 2.239932 | ca92fabd1f087672e9e85ce0217d0376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817531 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rudacs/MQTTnet",
"max_stars_repo_path": "Tests/MQTTnet.AspNetCore.Tests/MqttConnectionContextTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136751"
} | starcoder | <reponame>rudacs/MQTTnet
using Microsoft.AspNetCore.Connections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.AspNetCore.Tests.Mockups;
using MQTTnet.Exceptions;
using MQTTnet.Packets;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MQTTnet.Formatter;
... | 2.014866 | 890b26f23bf7516f61ea60a7d177c0c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817532 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hahoyer/reni.cs",
"max_stars_repo_path": "src/Reni/Code/RecursiveCallCandidate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136752"
} | starcoder | <filename>src/Reni/Code/RecursiveCallCandidate.cs<gh_stars>1-10
using Reni.Basics;
namespace Reni.Code
{
/// <summary>
/// Code element for a call that has been resolved as simple recursive call candidate. This implies, that the call is
/// contained in the function called. It must not have any arg... | 2.602623 | 08741b4037ac9229dcfd537d9d4fd300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817533 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thehoglet/RVis",
"max_stars_repo_path": "UI/RVisUI/Ioc/AppState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136753"
} | starcoder | using LanguageExt;
using ReactiveUI;
using RVis.Base;
using RVis.Base.Extensions;
using RVisUI.Model;
using RVisUI.Model.Extensions;
using System;
using System.ComponentModel;
namespace RVisUI.Ioc
{
public sealed partial class AppState : IAppState, IDisposable
{
public AppState(IAppSettings appSettings, IAppS... | 2.076424 | 5592f338cb1835700443fb00465ec5df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817534 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Mu-L/UnityExtensions",
"max_stars_repo_path": "Extensions/Maintainer/Editor/Scripts/UI/Tabs/CleanerTab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136754"
} | starcoder | #region copyright
//---------------------------------------------------------------
// Copyright (C) <NAME> - focus [https://codestage.net]
//---------------------------------------------------------------
#endregion
namespace CodeStage.Maintainer.UI
{
using System;
using System.IO;
using System.Linq;
... | 1.858162 | 2c93572aa8d1a3ac473b45a3700327f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817535 | {
"extension": "c-sharp",
"max_stars_count": "8570.0",
"max_stars_repo_name": "avragov/aspnetcore",
"max_stars_repo_path": "src/Servers/Kestrel/Core/test/HttpResponsePipeWriterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136755"
} | starcoder | <reponame>avragov/aspnetcore
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http;
using Moq;
using Xunit;
namespace Microsoft.AspNetCore.Server.Kestrel.Core.T... | 1.439105 | 06e851c76cf299533e2553d2fe7c71ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817536 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EnterCon/UiA-ScheduleScraper",
"max_stars_repo_path": "ScheduleGrabberTests/ActivityTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136756"
} | starcoder | using System;
using NUnit.Framework;
using ScheduleGrabber.Objects;
using System.Collections.Generic;
namespace ScheduleGrabberTests
{
[TestFixture]
public class ActivityTests
{
[TestCase]
public void Test_ParseTimespan()
{
int year = 2015; string date = "17 Aug"; strin... | 2.942179 | bb9c55c38674c29c8d27304e97f07889 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cbeihl/pong",
"max_stars_repo_path": "PongPrototype/Paddle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136757"
} | starcoder | using SlimDX;
using SlimDX.Direct2D;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace Pong
{
class Paddle : IGameObject
{
private readonly SizeF paddleSize = new SizeF(10, 100);
private PointF velocity = new PointF(0, 0);
... | 2.836745 | 9e277ac0932bccdbc5030a074b326961 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelolocritani/XNDTinyTweaks",
"max_stars_repo_path": "Source/TinyTweaks/Comps/CompSkillRecordCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136758"
} | starcoder | <reponame>angelolocritani/XNDTinyTweaks<filename>Source/TinyTweaks/Comps/CompSkillRecordCache.cs
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace TinyTweaks
{
public class CompSkillRecordCache : ThingComp
{
public const int MinExpToDelaySkillDecay = SkillRecord.MaxFullRateXpPer... | 2.406889 | dd70f1c02fbf39e82bedfba57a961a36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817539 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JVMarks/Projetos-C-",
"max_stars_repo_path": "loja/Controllers/MoviesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136759"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using loja.Models;
using loja.ViewModels;
namespace loja.Controllers
{
public class MoviesController : Controller
{
// GET: Movies Movies/ramdom
public ActionResult Random()
{
... | 2.540529 | b759a0769226c9bd3bc0cd831986d2f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Youssef1313/versionsweeper",
"max_stars_repo_path": "src/DotNet.Releases/Core/CoreReleaseIndexService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136760"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Threading.Tasks;
using DotNet.Extensions;
using Microsoft.Deployment.DotNet.Releases;
using Microsoft.Extensions.Caching.Memory;
name... | 1.940246 | ed8e6dcde66ae719e9bbfabad1035217 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817541 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mwpowellhtx/Kingdom.ConstraintSolvers",
"max_stars_repo_path": "src/Kingdom.OrTools.ConstraintSolver.Core/Enumerations/IntValueStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136761"
} | starcoder | <filename>src/Kingdom.OrTools.ConstraintSolver.Core/Enumerations/IntValueStrategy.cs
using System;
using System.Collections.Generic;
using Google.OrTools.ConstraintSolver;
namespace Kingdom.OrTools.ConstraintSolver
{
using static Solver;
using static IntValueStrategy;
/// <summary>
/// This enum desc... | 2.906884 | 2f3c62a87e348d165f396c65b1cf3ba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817542 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "urunium/Urunium.Redux",
"max_stars_repo_path": "src/Urunium.Redux/Typed/IApply.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136762"
} | starcoder | <filename>src/Urunium.Redux/Typed/IApply.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Urunium.Redux.Typed
{
/// <summary>
/// Helper interface to be used with <see cref="TypedReducer{TState}"/>. Note that <see cref="TypedReduc... | 3.240946 | df0cc549a42a8ffb58605b46d98b27db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817543 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HarmonIQ/noid",
"max_stars_repo_path": "source/blockchain/test/rpc.client.test/rpc.client.test/rpcclient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136763"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Blockchain.RPC
{
static class RPCClient
{
private static void SetBasicAuthHeader(WebRequest webRequest, string u... | 2.529395 | b117e391579e8fb9d1961545953812b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "appastoy/ServerStudy",
"max_stars_repo_path": "Solution/03_Samples/01_Echo/Neti.Echo.Client/MessageHandlers/ServerToClientMessageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136764"
} | starcoder |
namespace Neti.Echo.Client.MessageHandlers
{
partial class ServerToClientMessageHandler : ServerToClient.MessageHandling
{
}
}
| 0.858657 | 3bd1c29fe249c0afb6ddc7b95b37519d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817545 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "youarebritish/FoxKitPrototype",
"max_stars_repo_path": "Assets/Scripts/Framework/Tpp/Classes/EffectDescription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136765"
} | starcoder | <reponame>youarebritish/FoxKitPrototype<filename>Assets/Scripts/Framework/Tpp/Classes/EffectDescription.cs
using System;
using System.Collections.Generic;
using FoxKit.Framework.Fox;
using FoxTool.Fox.Types;
using FoxTool.Fox.Containers;
using FoxTool.Fox.Types.Structs;
using UnityEngine;
namespace FoxKit.Framework.Tp... | 1.291976 | 97ebc291a5d4e89002ccac03d8a6c613 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817546 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlFasGD/runtime",
"max_stars_repo_path": "src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestEventCounter.Etw.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136766"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Xunit;
namespace BasicEventSourceTests
{
public partial class TestEventCounter
{
... | 1.727846 | 37e445600ecd2f20a8c207defaad6fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RickRen7575/OctoConfigTool",
"max_stars_repo_path": "test/OctoConfig.Tests/SecretsManagerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136767"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoFixture.Xunit2;
using FluentAssertions;
using Moq;
using OctoConfig.Core;
using OctoConfig.Core.Arguments;
using OctoConfig.Core.Secrets;
using OctoConfig.Tests.TestFixture;
using Xunit;
namespace OctoConfig.Tes... | 2.496639 | 449c70dffb046f9a5b8daff969aa52bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iwasdavid/Pokedex",
"max_stars_repo_path": "Pokedex/Pokedex.API/Models/Pokemon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136768"
} | starcoder | namespace Pokedex.API.Models
{
public class Pokemon
{
public string Name { get; set; }
public string Description { get; set; }
public string Habitat { get; set; }
public bool IsLegendary { get; set; }
}
}
| 1.933166 | 9625ae05322335b7309fd56ad28d3833 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817549 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Petteroe/DapperUtility",
"max_stars_repo_path": "tests/Faithlife.Utility.Dapper.Tests/BulkInsertUtilityTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136769"
} | starcoder | using System;
using System.Linq;
using Dapper;
using FluentAssertions;
using Xunit;
namespace Faithlife.Utility.Dapper.Tests
{
public class BulkInsertUtilityTests
{
[Fact]
public void NullSql_Throws()
{
Assert.Throws<ArgumentNullException>(() =>
{
BulkInsertUtility.GetBulkInsertCommands(null, new[] ... | 2.53518 | 01315ddc51d841055516739e0f2f0e06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stho32/DBDeltaWatcher",
"max_stars_repo_path": "source/dotnet/DbDeltaWatcher/DbDeltaWatcher.Interfaces/Entities/ITableDescription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136770"
} | starcoder | namespace DbDeltaWatcher.Interfaces.Entities
{
public interface ITableDescription
{
string TableName { get; }
}
} | 1.809441 | 1dc910dfce3fb82a0fd07c5940bf7e63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SisyFox/sisycol",
"max_stars_repo_path": "src/csharp/sisyfox/sisycol/request/AddDmxRuleRangeSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136771"
} | starcoder | <gh_stars>0
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace sisyfox.sisycol.request
{
using global::System;
using global::FlatBuffers;
public struct AddDmxRuleRangeSetting : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuff... | 1.671115 | 98c80e3779897d327688b76b26ad054f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "V1nzi/Pomelo.EntityFrameworkCore.MySql",
"max_stars_repo_path": "test/Shared/TestUtilities/Attributes/SupportedServerVersionLessThanConditionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136772"
} | starcoder | <reponame>V1nzi/Pomelo.EntityFrameworkCore.MySql
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.TestUtilities.Xunit;
namespace Pomelo.EntityFrameworkCore.MySql.Tests.TestUtilities.Attributes
{
// For facts and theories, they must be defined as conditional (Condi... | 2.274368 | bc92069e08b7d60c0e16600266c5a9c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817553 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CrazyWillBear/MinecraftServerManager",
"max_stars_repo_path": "MinecraftServerSoftware/Plugins/Configure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136773"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using MinecraftServerSoftware.Utils;
namespace MinecraftServerSoftware.Plugins
{
public class Configure
{
private static readonly Screen Screen = new();
public static void configurePlugin(s... | 2.69507 | 0fdbe3105872caf65635569b8e72643d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817554 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Ervie/SeiyuuInterlink",
"max_stars_repo_path": "API/SeiyuuMoe.Infrastructure.Database/Repositories/Animes/AnimeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136774"
} | starcoder | <gh_stars>10-100
using Microsoft.EntityFrameworkCore;
using SeiyuuMoe.Domain.Entities;
using SeiyuuMoe.Domain.Repositories;
using SeiyuuMoe.Domain.WebEssentials;
using SeiyuuMoe.Infrastructure.Database.Context;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Syst... | 2.391863 | 15206e6def1b6a4dc2116c0f0fdeca10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobsonRochaBR/Cursos",
"max_stars_repo_path": "ASP.NET MVC/Aula 5/Demo 1/Agenda.Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136775"
} | starcoder | @using Agenda.Web.Helpers
@{
ViewBag.Title = "Página Inicial";
}
<h3>@Html.Saudacoes() Seja bem vindo!</h3>
| 1.762756 | ae98dea023aefd62e962e5bf498ddd8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817556 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OperatorOverload/Certify",
"max_stars_repo_path": "src/Models/AppVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136776"
} | starcoder | <reponame>OperatorOverload/Certify<filename>src/Models/AppVersion.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Certify.Models
{
public class AppVersion
{
public int Major { get; set; }
public int Minor { get; s... | 2.919197 | 83bf9fa9120579e5a23bd479480b8506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817557 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dhartl-rms/helm",
"max_stars_repo_path": "src/Helm/Hapi/Status.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136777"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: hapi/release/status.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = glo... | 1.685043 | 87f800f26f4fd7e5a9ba6bb5890974ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817558 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Seddryck/NBi.Gremlin",
"max_stars_repo_path": "NBi.Testing.Core.Gremlin.Unit/Query/Client/GremlinLikeClientFactoryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136778"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Gremlin.Query.Client;
namespace NBi.Testing.Core.Gremlin.Unit.Query.Client
{
public class GremlinClientFactoryTest
{
protected string GremlinLikeCon... | 2.274675 | ae6e1c49625d6518170fae4c548d31b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonwoods-7/Vandelay.PostSharp",
"max_stars_repo_path": "Client/Import.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136779"
} | starcoder | <reponame>jasonwoods-7/Vandelay.PostSharp<filename>Client/Import.cs<gh_stars>0
using System;
using System.Collections.Generic;
namespace Vandelay
{
public static class Import
{
public static IReadOnlyList<T> Many<T>(
string searchPatterns, params object[] exports)
{
thr... | 1.50828 | 6753b1bd7da83ba5cdeae4dec5d129da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817560 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "MartinRohrbach/iagd",
"max_stars_repo_path": "IAGrim/Database/Dto/ItemSearchRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136780"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IAGrim.Database.Dto {
public class ItemSearchRequest {
public string Wildcard { get; set; }
public List<string[]> Filters { get; set; }
public float MinimumLevel {... | 2.250077 | 4b235176f073da4eac764fd249fcc7b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817561 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xlent-fulcrum/Xlent.Lever.Libraries2.Core",
"max_stars_repo_path": "src/Core.NetStandard/Logging/Model/IFulcrumLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136781"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Xlent.Lever.Libraries2.Core.Logging.Model
{
/// <summary>
/// Interface for basic logging
/// </summary>
public interface IFulcrumLogger
{
/// <summary>
/// Log <paramref name="message"/> with level <paramref name="logSeverityLe... | 2.423428 | 060d273e8bbe71bec1336e34e8d18122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bcamposq1995/net6-docker",
"max_stars_repo_path": "WorkerMicroservice/Services/Queue/PatchQueueService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136782"
} | starcoder | using System.Text;
using Commons.Models;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using WorkerMicroservice.Repositories.Cache;
using WorkerMicroservice.Services.Patch;
using Prometheus;
namespace WorkerMicroservice.Services.Queue
{
public class PatchQueueService : IPatchQueueService
{
pri... | 2.253794 | 8cea054e92738f078fc846e3e72b3fa3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreasReitberger/3dPrintCostCalculatorSharp",
"max_stars_repo_path": "source/3dPrintCalculatorLibrary/Enums/CalculationLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136783"
} | starcoder | <filename>source/3dPrintCalculatorLibrary/Enums/CalculationLevel.cs<gh_stars>0
namespace AndreasReitberger.Enums
{
public enum CalculationLevel
{
Printer,
Material,
Workstep,
Calculation,
}
}
| 2.096529 | 449c274e5580ab907e8b580fecd2ed7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MonsterZhangChen/PESocket-1.0",
"max_stars_repo_path": "Server/02System/LoginSys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136784"
} | starcoder | <reponame>MonsterZhangChen/PESocket-1.0
/****************************************************
文件:LoginSys.cs
作者:章晨
邮箱: <EMAIL>
日期:2019/11/01 14:38
功能:服务器登录业务系统
*****************************************************/
using PENet;
class LoginSys
{
private CacheSvc cacheSvc = null;
private static LoginSy... | 2.191352 | fa9d5869cdb99e268257849a34542c96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817565 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "VanHakobyan/ISTC_Coding_School",
"max_stars_repo_path": "ISTC.ThirdStage.Advance/ISTC.ThirdStage.Advance.DesignPattern.DesignPattern_1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136785"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISTC.ThirdStage.Advance.DesignPattern.DesignPattern_1
{
class People
{
public int Id { get; set; }
public string Name { get; set; }
public int ... | 3.011367 | ed2f18341ad389058de8b18bf7cf1261 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreMarschalek/TinyCLR-Samples",
"max_stars_repo_path": "Official Demos/SCM20260D Dev/Windows/BasicTestWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136786"
} | starcoder | <filename>Official Demos/SCM20260D Dev/Windows/BasicTestWindow.cs<gh_stars>0
using System;
using System.Collections;
using System.Drawing;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using Demos.Properties;
using GHIElectronics.TinyCLR.Cryptography;
using GHIElectronics.TinyCLR.Devices... | 2.083737 | e373dfa6dd12f2047f8cc11f8aedc4d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817567 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BrOlaf45/csharp-projects",
"max_stars_repo_path": "repos/netframework/netframework/Listbox inceleme form application/sanaldatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136787"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Listbox_inceleme_form_application
{
public class sanaldatabase
{
public static List<urun> uruntablo = new List<urun>()
{
new urun(){id= 1, uru... | 2.277614 | c15caf34b0d299b1fc4f94d1336bd32c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timmi4sa/MassTransit",
"max_stars_repo_path": "src/MassTransit.RabbitMqTransport/Topology/SendSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136788"
} | starcoder | <filename>src/MassTransit.RabbitMqTransport/Topology/SendSettings.cs
// Copyright 2007-2017 <NAME>, <NAME>, <NAME>, et. al.
//
// 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
//
... | 1.782012 | 900f097bde1a1c30f75688703b60370a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817569 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QPC-database/winget-create",
"max_stars_repo_path": "src/WingetCreateCLI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136789"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.WingetCreateCLI
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
... | 2.107323 | 553f93030e6d93c44e92ef68eb6655d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gwillcox/DASH-Unity",
"max_stars_repo_path": "Assets/Dash/BarBaseWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136790"
} | starcoder | <filename>Assets/Dash/BarBaseWriter.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public class BarSettings
{
public List<Color> colors;
public List<string> labels;
public bool stacked = false;
... | 2.500106 | 644a33de3b340aa2ec605df954dfbdd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PROVideoNotes/Video-Notes-System",
"max_stars_repo_path": "VideoNotes/VideoNotes.Web/ViewModels/UserHomeViewModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136791"
} | starcoder | <reponame>PROVideoNotes/Video-Notes-System
namespace VideoNotes.Web.ViewModels
{
using System.Collections;
using System.Collections.Generic;
using VideoNotes.Web.Infrastructure;
using System.Web;
using System.Linq.Expressions;
using System;
using System.Drawing;
using VideoNotes.Core.En... | 2.111649 | 04526f4b21258e08e9e3adb0d5bd6036 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817572 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "all-iver/clingy",
"max_stars_repo_path": "Clingy/Scripts/Events/AttachEventInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136792"
} | starcoder | namespace SubC.Attachments {
using UnityEngine;
public struct AttachEventInfo {
public AttachEventType eventType;
public MonoBehaviour sender;
public Attachment attachment;
public AttachObject attachObject;
public AttachEventInfo(AttachEventType eventType, MonoBehaviour sender ... | 2.307569 | e177cd40ed2cc02eb63ff4f4fdeca5ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cratis/DotNET.Types",
"max_stars_repo_path": "Source/TypeInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136793"
} | starcoder | /*---------------------------------------------------------------------------------------------
* Copyright (c) <NAME>. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-----------------------------------------------------------------------------... | 2.83672 | 72adc32aa1849d90784333cf6d6f90b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817574 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sh1ngekyo/macropse",
"max_stars_repo_path": "Macropse.Domain/Logic/Macro/Command/Factory/CommandRunCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136794"
} | starcoder | <gh_stars>1-10
using Macropse.Domain.Logic.Interfaces;
using Macropse.Domain.Logic.Settings;
using System.Collections.Generic;
namespace Macropse.Domain.Logic.Macro.Command.Factory
{
internal class CommandRunCreator : CommandFactory
{
public override IExecutable Create(IList<dynamic> parameters, uint... | 1.86474 | f27e8720032fc8171dc2c4a95aa48193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817575 | {
"extension": "c-sharp",
"max_stars_count": "945.0",
"max_stars_repo_name": "ajj7060/csla",
"max_stars_repo_path": "Source/Csla/Core/ManagedObjectBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136795"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="ManagedObjectBase.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Base class for an object that is serializable</summary>
//---... | 2.449228 | 21784802fdd3d7a3a8ef8ea07a2eb831 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817576 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "zhoufenglokki/mappingrpc",
"max_stars_repo_path": "csharp/mappingrpc/ReceiveHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136796"
} | starcoder | <gh_stars>1-10
using System;
namespace mappingrpc
{
public class ReceiveHandler
{
byte[] receiveBuffer;
int bufferLen = 0;
public ReceiveHandler (int maxPackageSize)
{
receiveBuffer = new byte[maxPackageSize];
}
}
}
| 1.642487 | d7c3e0c1b5ed0fade7048e7c4e95422d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817577 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "SolidClouds/StarbornePatcher",
"max_stars_repo_path": "Assets/PatchKit Patcher/Scripts/AppData/Remote/RemoteResourceDownloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136797"
} | starcoder | <gh_stars>10-100
using System;
using JetBrains.Annotations;
using PatchKit.Api.Models.Main;
using PatchKit.Logging;
using PatchKit.Unity.Patcher.AppData.Remote.Downloaders;
using PatchKit.Unity.Patcher.Cancellation;
using PatchKit.Unity.Patcher.Debug;
using ILogger = PatchKit.Logging.ILogger;
using BytesRange = PatchK... | 2.08949 | deeab67d5adfc6b144c35759b03bfe27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "null511/MinecraftMappings.NET",
"max_stars_repo_path": "MinecraftMappings.NET/Minecraft/Java/Textures/Block/GreenWool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136798"
} | starcoder | using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Java.Textures.Block
{
public class GreenWool : JavaBlockTexture
{
public GreenWool() : base("Green Wool")
{
AddVersion("green_wool");
//.MapsToBedrockBlock<MinecraftMappings.Minec... | 1.855446 | 63fe52225f862935fe633bee2bfcba14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817579 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "1ukeb/GameEvents",
"max_stars_repo_path": "Extras/Runtime/ParticleCleanup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136799"
} | starcoder | <reponame>1ukeb/GameEvents
using UnityEngine;
[RequireComponent(typeof(ParticleSystem))]
public class ParticleCleanup : MonoBehaviour
{
private void Start()
{
Destroy(gameObject, GetComponent<ParticleSystem>().main.duration);
}
}
| 1.327602 | 7f87f2fe0501a83c354a709a77c5089e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817580 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "mattou07/Our.Umbraco.HealthChecks",
"max_stars_repo_path": "src/Our.Umbraco.HealthChecks/Checks/Azure/AzureTempStorageCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136800"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web.Configuration;
using Umbraco.Core.Services;
using Umbraco.Web.HealthCheck;
namespace Our.Umbraco.HealthChecks.Checks.Azure
{
[HealthCheck("F9088377-103A-4712-B428-D4AB6E5B2A67", "Azure Temp Storage Config Check - (from Our.Umbraco.HealthChecks)",
... | 2.386936 | f2d816005fa8f8c0b18a065710cec5de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817581 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "Daniel-Krzyczkowski/Smart-Accounting",
"max_stars_repo_path": "src/smart-accounting-backend-services/src/FileProcessor/SmartAccounting.FileProcessor.API/Configuration/CosmosDbServiceConfiguration.cs",
"provenance": "train-00027-of-00... | starcoder | <filename>src/smart-accounting-backend-services/src/FileProcessor/SmartAccounting.FileProcessor.API/Configuration/CosmosDbServiceConfiguration.cs
using Microsoft.Extensions.Options;
namespace SmartAccounting.FileProcessor.API.Configuration
{
internal interface ICosmosDbServiceConfiguration
{
string Co... | 2.368202 | d8522bbbb0422f5ac1e42ff623e8a17c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817582 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "anandgothe/azure-devops-migration-tools",
"max_stars_repo_path": "src/MigrationTools.Clients.InMemory/Endpoints/InMemoryWorkItemEndpointOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136802"
} | starcoder | <gh_stars>10-100
using System;
namespace MigrationTools.Endpoints
{
public class InMemoryWorkItemEndpointOptions : EndpointOptions
{
}
} | 0.630083 | aacc0d8565c26cbe22b426d0ca2b936c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivconsult/eNeg",
"max_stars_repo_path": "citPoint.eNeg.Infrastructure.ClientSideTest.Web/ServerSimulationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136803"
} | starcoder |
namespace citPOINT.eNeg.Infrastructure.ClientSideTest.Web
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.ServiceModel.DomainServices.Hosting;
using System.ServiceModel.DomainService... | 1.869209 | 34f83220b13f419d9b740446ab138215 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KalinVasilevSV/02.Conditional-Statements-and-Loops-Core",
"max_stars_repo_path": "04.Hotel/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136804"
} | starcoder | <reponame>KalinVasilevSV/02.Conditional-Statements-and-Loops-Core
using System;
namespace _04.Hotel
{
class Program
{
static void Main(string[] args)
{
string month = Console.ReadLine();
int nightsCount = int.Parse(Console.ReadLine());
//Prices are Per Nigh... | 3.364233 | a971c0ebe7dc1a5d1ba38334f8911428 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shannonphillipl/SharpBucket",
"max_stars_repo_path": "SharpBucket/V1/SharpBucketV1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136805"
} | starcoder | using SharpBucket.V1.EndPoints;
namespace SharpBucket.V1
{
public sealed class SharpBucketV1 : SharpBucket
{
/// <summary>
/// A client for the V1 of the BitBucketAPI.
/// You can read more about the V1 of the API here:
/// https://confluence.atlassian.com/display/BITBUCKET/Ver... | 2.690482 | 5209cb39dd24c138f322fcdbfae5de51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evolraelc/RushBat",
"max_stars_repo_path": "Assets/Scripts/Enemy/DwarfMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136806"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DwarfMovement : EnemyMovement
{
private bool jump;
private bool slash;
private bool spin;
private bool hack;
private int attackType; //1普攻,2劈,3旋转
private float spinTime;
priva... | 2.149013 | 9b07310207470da36a402165ca7a0e6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817587 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AdrienMarcenat/LD44",
"max_stars_repo_path": "2DGameToolkit/Assets/Scripts/Engine/Log/ILogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136807"
} | starcoder | <gh_stars>1-10
public interface ILogger
{
void Log(object message);
void Warning(object message);
}
public class LoggerProxy : UniqueProxy<ILogger>
{ }
| 1.934948 | ec9b494daba668e9b071920336281ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "factor-50-devops-bot/address-service",
"max_stars_repo_path": "AddressService/AddressService.AzureFunction/HealthCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136808"
} | starcoder | <filename>AddressService/AddressService.AzureFunction/HealthCheck.cs
using HelpMyStreet.Utils.Utils;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using NewRelic.Api.Agent;
using System;
using System.Threading;
using Syste... | 2.287298 | eaf6d553e7c8ecaca535ea0f9122e71d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817589 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.CodeDom/src/System/CodeDom/CodeBinaryOperatorType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136809"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.CodeDom
{
public enum CodeBinaryOperatorType
{
Add,
Subtract,
Multiply,
Divide,
Modulus,
Assign,
Iden... | 1.811165 | a67bd57290d679d8ba17d230cebe97fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817590 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leyel/BoSSS",
"max_stars_repo_path": "src/L4-application/NSE_SIMPLE/LowMach/ThermodynamicPressureMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136810"
} | starcoder | /* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 2.546675 | 7e3be31f2a939a7ea824fd3fcb8bf3ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenicaAtanasova/CHE",
"max_stars_repo_path": "Web/CHE.Web.InputModels/Events/EventUpdateInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136811"
} | starcoder | <filename>Web/CHE.Web.InputModels/Events/EventUpdateInputModel.cs
namespace CHE.Web.InputModels.Events
{
using CHE.Data.Models;
using CHE.Services.Mapping;
using CHE.Web.InputModels.Attributes.Validation;
using System;
using System.ComponentModel.DataAnnotations;
using static CHE.Common.DataC... | 2.235517 | 9d8b95d47d12c44d99e5d35953b9e796 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817592 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "alsami/MediatR.Extensions.Autofac.DependencyInjection",
"max_stars_repo_path": "src/MediatR.Extensions.Autofac.DependencyInjection/MediatRModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136812"
} | starcoder | using System;
using System.Reflection;
using Autofac;
using MediatR.Pipeline;
using Module = Autofac.Module;
namespace MediatR.Extensions.Autofac.DependencyInjection
{
internal class MediatRModule : Module
{
private readonly Assembly[] assemblies;
private readonly Type[] customBehaviorTypes;
... | 2.042236 | c0185c1ed283b978e02c6c39795aeef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817593 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hbjorgo/procosys-preservation-api",
"max_stars_repo_path": "src/tests/Equinor.ProCoSys.Preservation.Command.Tests/RequirementCommands/RecordValues/RecordValuesCommandTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136813"
} | starcoder | <gh_stars>1-10
using Equinor.ProCoSys.Preservation.Command.RequirementCommands.RecordValues;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Equinor.ProCoSys.Preservation.Command.Tests.RequirementCommands.RecordValues
{
[TestClass]
public class RecordValuesCommandTests
{
[TestMethod]... | 2.116328 | 52611787f2c236d247efdb8a16078b36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zaoqi/MineCase",
"max_stars_repo_path": "src/MineCase.Server.Grains/World/ChunkColumnGrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136814"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using MineCase.Block;
using MineCase.Server.Game.BlockEntities;
using MineCase.Server.Game.Blocks;
using MineCase.Server.Game.Entities;
using MineCase.Server.Network.Play;
using Mi... | 1.859598 | de34a6ddbd93aad93a16f08ceebc8774 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nefarius/Direct3DHook",
"max_stars_repo_path": "Capture/Hook/Common/TextElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136815"
} | starcoder | <filename>Capture/Hook/Common/TextElement.cs
using System.Drawing;
namespace Direct3DHookLib.Hook.Common
{
public class TextElement : Element
{
public TextElement(Font font)
{
Font = font;
}
public virtual string Text { get; set; }
public virtual Font Font ... | 2.406035 | eb0fc6ae606d999d71977751bb1ab30a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817596 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "MrSmoke/TeaTime",
"max_stars_repo_path": "src/TeaTime.Data.MySql/MySqlDistributedHash.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136816"
} | starcoder | namespace TeaTime.Data.MySql
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common;
public class MySqlDistributedHash : BaseRepository, IDistributedHash
{
public MySqlDistributedHash(IMySqlConnectionFactory factory) : base(factory)
{
... | 2.264748 | f4970b4c6150c7e3d553dc7574718b94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817597 | {
"extension": "c-sharp",
"max_stars_count": "1233.0",
"max_stars_repo_name": "imnaseer/coyote",
"max_stars_repo_path": "Source/Test/SystematicTesting/TestAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136817"
} | starcoder | <reponame>imnaseer/coyote
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.Coyote.SystematicTesting
{
/// <summary>
/// Attribute for declaring the entry point to a Coyote test.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
pu... | 1.824296 | c5a96dd24b7bec2369f04570820fcd75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2011-nov02-net/antonio-project1",
"max_stars_repo_path": "BookStore/BookStore.WebApp/Controllers/OrderController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136818"
} | starcoder | <reponame>2011-nov02-net/antonio-project1
using BookStore.Domain.Interfaces;
using BookStore.WebApp.Models;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
namespace BookStore.WebApp.Controllers
{
public class OrderController : Controller
{
private readonly IStoreRepository _repository;
pub... | 2.222253 | d26f819cbe7e6df75ed1c0339900edf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817599 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TihomirIvanovIvanov/SoftUni",
"max_stars_repo_path": "C#DBFundamentals/DB-Advanced-Entity-Framework-Core/MyExam10.12.2017/src/FastFood.DataProcessor/Bonus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136819"
} | starcoder | using System;
using FastFood.Data;
using System.Linq;
namespace FastFood.DataProcessor
{
public static class Bonus
{
public static string UpdatePrice(FastFoodDbContext context, string itemName, decimal newPrice)
{
throw new Exception();
}
}
}
| 1.78783 | 1f5d6fcc9592f426088a7eca26e267e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brutalzinn/ButtonDeck",
"max_stars_repo_path": "DisplayButtons/Forms/FirstSetup/ThemeSelectionPage.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136820"
} | starcoder | <filename>DisplayButtons/Forms/FirstSetup/ThemeSelectionPage.Designer.cs
using BackendAPI.Utils;
namespace DisplayButtons.Forms.FirstSetup
{
partial class ThemeSelectionPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer ... | 2.335127 | 421ce021044b46667db4d751281f09b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817601 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.Application.Abstractions/Models/Tokens/MinedTokenDistributionScheduleDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136821"
} | starcoder | <filename>src/Opdex.Platform.Application.Abstractions/Models/Tokens/MinedTokenDistributionScheduleDto.cs
using Opdex.Platform.Common.Models;
namespace Opdex.Platform.Application.Abstractions.Models.Tokens;
public class MinedTokenDistributionScheduleDto
{
public Address Vault { get; set; }
public Address Mini... | 1.418725 | 8ae487d9f0b360372f0c5eef0cad17e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "katrash/Glav.CacheAdapter",
"max_stars_repo_path": "Glav.CacheAdapter/Core/CacheSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136822"
} | starcoder | namespace Glav.CacheAdapter.Core
{
public enum CacheSetting
{
Memory,
Redis
}
}
| 1.427647 | 483def2c1a4327f1e7a2bbd83ef30b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817603 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "fdstar/BankEnterpriseDirectAttach",
"max_stars_repo_path": "src/BEDA.CIB/Contracts/Responses/3.4/V1_ICTRANSFERTRNRS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136823"
} | starcoder | <filename>src/BEDA.CIB/Contracts/Responses/3.4/V1_ICTRANSFERTRNRS.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace BEDA.CIB.Contracts.Responses
{
/// <summary>
/// 3.4.10.3快速转账支付响应主体
/// </summary>
public class V1_ICTRAN... | 1.739506 | 7d8c3bb4c73ed1c98a6df66a5c5370f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817604 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "effenzeffer/Git-for-Unity",
"max_stars_repo_path": "tests/CommandLine/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136824"
} | starcoder | <filename>tests/CommandLine/Properties/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CommandLine")]
[assembly: AssemblyDescription("Git for Unity command line test app")]
[assembly: Guid("08b87d2a-8cf1-4211-b7aa-5209f00f72f8")]
| 1.470665 | 3a4cdb4d062fc8c19973cacfae9e54d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817605 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ambrosiogabe/FlippingGravity",
"max_stars_repo_path": "Assets/Scripts/MenuScore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136825"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MenuScore : MonoBehaviour {
public Text scoreText;
public Text coinsText;
// Use this for initialization
void Start () {
scoreText.text = "Highscore: " + PlayerPrefsManager.GetScore();... | 2.103367 | 0e143bab514cd782fe82ee2a05567dce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgemihaila/YeelightAPI",
"max_stars_repo_path": "YeelightAPIConsoleTest/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136826"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Threading.Tasks;
using YeelightAPI;
using YeelightAPI.Models;
using YeelightAPI.Models.ColorFlow;
using YeelightAPI.Models.Cron;
namespace YeelightAP... | 2.727957 | 139dfecf782ecc7e8b7c70488adbf782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nick-morhun/Component-Reference-Test",
"max_stars_repo_path": "Assets/Scripts/MyComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136827"
} | starcoder | <reponame>nick-morhun/Component-Reference-Test
using UnityEngine;
public class MyComponent : MonoBehaviour
{
internal void CallTestWithCheck()
{
if (this)
{
name += "";
}
else
{
Debug.Log("'this' is false!");
}
}
internal void Ca... | 2.028553 | 3d02e4e7df408346ccdfacb8d7d250ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isukces/isukces.code",
"max_stars_repo_path": "samples/EqualityGeneratorSample/+AutoCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136828"
} | starcoder | <filename>samples/EqualityGeneratorSample/+AutoCode.cs<gh_stars>0
// ReSharper disable All
using System;
// ReSharper disable once CheckNamespace
namespace EqualityGeneratorSample
{
partial class ClassWithCompare : iSukces.Code.AutoCode.IAutoEquatable<ClassWithCompare>, iSukces.Code.AutoCode.IAutoComparable<ClassW... | 2.83401 | 1f084d5b0b52f14b660f78ad1877da71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beatthat/window-managers",
"max_stars_repo_path": "Runtime/window-managers/State/Behaviour/MaintainHasActiveWindowParam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136829"
} | starcoder | using BeatThat.Properties;
using BeatThat.StateControllers;
using UnityEngine.Events;
namespace BeatThat.WindowManagers
{
public class MaintainHasActiveWindowParam : AnimatorControllerBehaviour<WindowManager>
{
override protected void BindControllerState()
{
Bind(this.controller.activeWindowChanged, this.a... | 1.862152 | d923a7c19663806848d22bd8f3c1e122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ffquintella/adrapi",
"max_stars_repo_path": "adrapi/Security/BasicAuthenticationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136830"
} | starcoder | <reponame>ffquintella/adrapi
using System;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Colle... | 2.317869 | 31764769bc249358c34a58a977b9f95b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817611 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "sagifogel/NCop",
"max_stars_repo_path": "NCop.Aspects.Tests/EventFunctionWith1ArgumentAspect/EventFunctionWith1ArgumentAspectTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136831"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NCop.Aspects.Tests.EventFunctionWith1ArgumentAspect.Subjects;
using NCop.Core.Extensions;
using System;
using System.Collections.Generic;
namespace NCop.Aspects.Tests
{
[TestClass]
public class EventFunctionWith1ArgumentAspectTest : AbstractAspectTest
... | 2.366405 | 8a13ed34b71f5d6566984dbe80219ecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mhbsti/CocosSharp",
"max_stars_repo_path": "Extensions/GUI/CCControlExtension/CCScale9Sprite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136832"
} | starcoder | using System.Diagnostics;
namespace CocosSharp
{
/// <summary>
/// This is a special sprite container that represents a 9 point sprite region, where 8 of hte
/// points are along the perimeter, and the 9th is the center area. This special sprite is capable of resizing
/// itself to arbitrary scales.
/// </summary... | 2.259276 | 005db2117bf82e4e4163a402f462be05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817613 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "janeshparnami/BookContents",
"max_stars_repo_path": "Chapters/Chapter6/Assets/MoreOnArrays.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136833"
} | starcoder | <filename>Chapters/Chapter6/Assets/MoreOnArrays.cs
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Chapter 6.17 More On Arrays *
* *
* Copyright © 2018 <NAME> ... | 3.161633 | 19b84cef6bb58ae28ddf9b6048a2b90f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzz8415/OpenTl.Schema",
"max_stars_repo_path": "src/OpenTl.Schema/_generated/Messages/ChatFull/TChatFull.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136834"
} | starcoder | // ReSharper disable All
namespace OpenTl.Schema.Messages
{
using System;
using System.Collections;
using System.Text;
using OpenTl.Schema;
using OpenTl.Schema.Serialization.Attributes;
[Serialize(0xe5d7d19c)]
public sealed class TChatFull : IChatFull
{
[SerializationOrder(0)]
public OpenTl.S... | 1.697637 | a909ea389677285232d1a5acc154cda7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaloqnILchev/ProFund_Lab_And_Exercises",
"max_stars_repo_path": "Exercises/E11.Strings/E11.Strings/P07.MultiplyBigNumber/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136835"
} | starcoder | <reponame>KaloqnILchev/ProFund_Lab_And_Exercises<filename>Exercises/E11.Strings/E11.Strings/P07.MultiplyBigNumber/StartUp.cs
namespace P07.MultiplyBigNumber
{
using System;
using System.Text;
public class StartUp
{
public static void Main(string[] args)
{
string firstNumber... | 3.100024 | 1051ba1a0de45b7e6ab28166d9b92044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gonzaloiv/alteroids",
"max_stars_repo_path": "Assets/Scripts/GameObjects/Enemies/Asteroids/Models/AsteroidMd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136836"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AsteroidMd : MonoBehaviour, IAsteroid {
public AsteroidType Type { get { return type; } }
[SerializeField] private AsteroidType type = AsteroidType.Medium;
public int Pieces { get { return pieces; } }
[SerializeField... | 2.314936 | 9ddcfaa3ace575e6e6c66d8c7a97415c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tofx/core",
"max_stars_repo_path": "DependencyInjection/ObjectActivatingFailedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136837"
} | starcoder | using tofx.Core.Abstractions;
using System;
namespace tofx.Core.DependencyInjection
{
public class ObjectActivatingFailedException : Exception, ILoggableException
{
private string _failType = null;
public ObjectActivatingFailedException(string failType)
{
_failType = failT... | 2.184579 | 8ca2976fbead7505dc3c9af3c26f7cff |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.