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 | 92961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xStrom/CowKiller",
"max_stars_repo_path": "CowKiller/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92962"
} | starcoder | <reponame>xStrom/CowKiller
// Copyright 2009 Strom
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 2.057145 | e4ed800ef55a56d8b3bd919dc133aaf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92962 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NeutrinoLib/neutrino",
"max_stars_repo_path": "src/Neutrino.Entities/Model/HealthCheckType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92963"
} | starcoder | <filename>src/Neutrino.Entities/Model/HealthCheckType.cs
namespace Neutrino.Entities.Model
{
public enum HealthCheckType
{
None = 1,
HttpRest = 2
}
} | 1.683328 | de161653fd4acf59b039a5c958e627d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92963 | {
"extension": "c-sharp",
"max_stars_count": "540.0",
"max_stars_repo_name": "aTiKhan/ChoETL",
"max_stars_repo_path": "src/ChoETL/Common/ChoDirectory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92964"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChoETL
{
public static class ChoDirectory
{
public static IEnumerable<string> GetFilesBeginWith(string filePath, SearchOption searchOption = SearchOption.AllDi... | 2.766738 | 8366eb0854d3dc91f08d0596b5c06aa1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugartomato/AllProjects",
"max_stars_repo_path": "KK.WX/KK.WX/WebService/WebAccessInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92965"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KK.WX.WebService
{
public class WebAccessToken
{
public String AccessToken { get; set; }
public Int32 ExpiresIn { get; set; }
public String RefreshToken { get; ... | 1.612521 | 69cb5e7d6b339e8b1dba253d157c837c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ORT-DA1/Oblig2",
"max_stars_repo_path": "FeelingAnalyzer.UI/Lists.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92966"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using FeelingAnalyzer.Domain;
using FeelingAnalyzer.Memory;
namespace FeelingAnalyzer.UI
{
public pa... | 2.457471 | 42102a45672517bf7d7e62e8e8af0eb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Grille/ByteStream",
"max_stars_repo_path": "BinaryView/BinaryView_Tests/Framework/Benchmarks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92967"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BenchmarkDotNet.Attributes;
namespace BinaryView_Tests;
public class Benchmarks
{
TestData data;
[IterationSetup]
public void Setup()
{
data = new TestData(1024);
}
... | 2.696212 | dcee386aa2e8d9a824134fd0cf3aa426 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leonardoteck/iLeilao",
"max_stars_repo_path": "server/server/Controllers/CronometroController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92968"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using server.Data;
using server.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace server.Controllers
{
[Produces("application/json")]
[Route("api/Cronometro")]
public class... | 2.50431 | a8eb412332f521f1565cc2790cfed101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Harunx9/Xngine.Tools",
"max_stars_repo_path": "src/Tests/Xngine.Tools.Tests/CommandlineFramework/TestCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92969"
} | starcoder | <gh_stars>0
using Xngine.Tools.Commons.CommandLineFramework.Attributes;
namespace Xngine.Tools.Tests.CommandlineFramework
{
[Command("test", Alias = "t")]
public class TestCommand
{
[CommandOptionsValue("option1", DefaultValue = 32)]
public int Number { get; set; }
[CommandOptions... | 1.736293 | 8535f9ef26319d3ab1e18218a548480b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92969 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "nicanica/CGM.NET",
"max_stars_repo_path": "Web/CGM.Web/Controllers/SessionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92970"
} | starcoder | <reponame>nicanica/CGM.NET<gh_stars>10-100
using CGM.Communication.Common.Serialize;
using CGM.Communication.DTO;
using CGM.Communication.Extensions;
using CGM.Communication.Interfaces;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binar... | 2.061468 | f3bb6fb1b3951f722bbdca634be8e856 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BetterYan/DesignPatternPractice",
"max_stars_repo_path": "Behavioral Patterns/State/1.StateDrivenTransitions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92971"
} | starcoder | <reponame>BetterYan/DesignPatternPractice
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace State.StateDrivenTransitions
{
//There are three problem:
//1. A state typically doesn't switch itself;
//2. A list of possible transition... | 3.389704 | 396d90ce7c0eeb4c3e58ccdec71bdfa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kinglamer/Heroes3-SeaWolfs-Fight-Emulator",
"max_stars_repo_path": "SirTroglFight/FightEmulator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92972"
} | starcoder | using Serilog;
using System;
using System.Collections;
namespace SirTroglFight
{
public class FightEmulator
{
private double _currentHP = 0.0;
private Random _random = new Random();
/// <summary>
/// сколько убили с помощью смертельного удара
/// </summary>
pub... | 3.529181 | 2eaa11ad3bd100fc0cf36c484bc98edc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92972 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "gibbed/Gibbed.SleepingDogs",
"max_stars_repo_path": "Gibbed.SleepingDogs.FileFormats/ResourceInventory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92973"
} | starcoder | /* Copyright (c) 2015 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any pu... | 2.528491 | 17195828dda5d6f96dd449d37678fdaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "midhunuk/TraditionalCipher",
"max_stars_repo_path": "TraditionalCipher/TraditionalCipher.Tests/CaesarCipherTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92974"
} | starcoder | <reponame>midhunuk/TraditionalCipher<filename>TraditionalCipher/TraditionalCipher.Tests/CaesarCipherTests.cs<gh_stars>0
using FluentAssertions;
using Xunit;
using TraditionalCipher.Library;
using TraditionalCipher.Library.Ciphers;
using TraditionalCipher.Library.Interface;
namespace TraditionalCipher.Tests
{
publi... | 2.141521 | 2bfe12f99ea3de6f66aedad4ea37b3b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhyous/MastersOfComputerScience",
"max_stars_repo_path": "Rhyous.CS6210.Hw1/Rhyous.CS6210.Hw1.Models/MultiLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92975"
} | starcoder | using Rhyous.CS6210.Hw1.Interfaces;
using System;
namespace Rhyous.CS6210.Hw1.Models
{
public class MultiLogger : ILogger
{
ILogger[] Loggers;
public MultiLogger(params ILogger[] loggers)
{
Loggers = loggers;
}
public void WriteLine(string message)
... | 2.766226 | fa071390cde5f6e8c7d3b4135374a8a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "greenapp-debug/SapphireDb",
"max_stars_repo_path": "SapphireDb/Models/CollectionSubscription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92976"
} | starcoder | <filename>SapphireDb/Models/CollectionSubscription.cs
using System;
using System.Collections.Generic;
using System.Threading;
using SapphireDb.Internal.Prefilter;
namespace SapphireDb.Models
{
public class CollectionSubscription : IDisposable
{
public string CollectionName { get; set; }
publi... | 2.152179 | 22c32ce79242969ade04cda5ead18ac7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92976 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sevenTiny/7Tiny.Cloud.MultiTenant",
"max_stars_repo_path": "Code/SevenTiny.Cloud.Account.Core/Entity/TenantInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92977"
} | starcoder | using SevenTiny.Bantina.Bankinate.Attributes;
namespace SevenTiny.Cloud.Account.Core.Entity
{
[Table]
public class TenantInfo : CommonInfo
{
[Column]
public string TenantName { get; set; }
/// <summary>
/// 操作人
/// </summary>
[Column]
public string O... | 1.927272 | ad5836814e9c33520bc9e263a27b1848 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aa770417/UUU",
"max_stars_repo_path": "App_Code/OrderProduct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92978"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for Product
/// </summary>
public class OrderProduct
{
public int OrderId { get; set; }
public string Client { get; set; }
public DateTime OrderDate { get; set; }
public string Or... | 1.886977 | 404135d87dda5399a315f8a90a169d79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92978 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kpespisa/shiny",
"max_stars_repo_path": "templates/solution/Dev_Template/MyShinyStartup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92979"
} | starcoder | <reponame>kpespisa/shiny
using System;
using Microsoft.Extensions.DependencyInjection;
using Shiny;
using Shiny.Prism;
using Acr.UserDialogs.Forms;
using $safeprojectname$.Infrastructure;
using $safeprojectname$.Data;
namespace $safeprojectname$
{
public class MyShinyStartup : PrismStartup
{
public o... | 1.081247 | 689cd5902c43c86599a70f10ca146a95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92979 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "InstantBusinessNetwork/IBN",
"max_stars_repo_path": "Source/Server/WebPortal/Apps/BusinessProcess/Pages/AssignmentView.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92980"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Mediachase.Ibn.Assignments;
using Mediachase.Ibn.Core.Business;
using Mediachase.Ibn.Data;
using Mediachase.IBN.Business;
namespace Mediachase.Ibn.Web.UI.BusinessProcess.Pages
{
public partia... | 1.895589 | 2a69122ef0bf5f8fbefdd4250c771a8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igambin/BatchFileRenamer",
"max_stars_repo_path": "BatchFileRenamer/Models/RenameFileInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92981"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Text.RegularExpressions;
namespace BatchFileRenamer.Models
{
public sealed class RenameFi... | 2.699437 | 38c71629fc03483038954f1e82bcd434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flowmatters/source-output-streaming",
"max_stars_repo_path": "TimeSeriesStates/DelayedReadTimeSeriesState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92982"
} | starcoder | <reponame>flowmatters/source-output-streaming
using System;
using TIME.DataTypes;
namespace SourceOutputStreaming.TimeSeriesStates
{
public class DelayedReadTimeSeriesState : ProxyTimeSeriesState
{
private readonly DelayedReadTimeSeriesFile _file;
private readonly int _index;
private T... | 1.944234 | 20570a4f1a408033b6dd532dc249deb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "applemclean/WebApp",
"max_stars_repo_path": "WebApp.Tests/Controllers/MainControllerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92983"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebApp;
using WebApp.Controllers;
using WebApp.Presenters;
namespace WebApp.Tests.Controllers
{
[TestClass]
public class MainContro... | 1.981687 | ebcc644e070ea595610bd5ade345e319 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92983 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vostok/hosting",
"max_stars_repo_path": "Vostok.Hosting/MultiHost/VostokMultiHostSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92984"
} | starcoder | <filename>Vostok.Hosting/MultiHost/VostokMultiHostSettings.cs
using JetBrains.Annotations;
using Vostok.Hosting.Components.ThreadPool;
using Vostok.Hosting.Setup;
namespace Vostok.Hosting.MultiHost
{
[PublicAPI]
public class VostokMultiHostSettings
{
public VostokMultiHostSettings(VostokHostingEnv... | 2.144614 | 382674b905047f6557f72ae194bf3219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victorx64/devrating-webapi",
"max_stars_repo_path": "WebApi.Domain/Keys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92985"
} | starcoder | namespace DevRating.WebApi.Domain
{
public interface Keys
{
InsertKeyOperation InsertOperation();
GetKeyOperation GetOperation();
ContainsKeyOperation ContainsOperation();
}
} | 1.390134 | cb31e66e94a8aee8bbcb80ca822baaf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92985 | {
"extension": "c-sharp",
"max_stars_count": "145.0",
"max_stars_repo_name": "polyethene/IronAHK",
"max_stars_repo_path": "Rusty/Core/Ini.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92986"
} | starcoder | using System;
using System.IO;
using System.Text;
namespace IronAHK.Rusty
{
partial class Core
{
/// <summary>
/// Deletes a value from a standard format .ini file.
/// </summary>
/// <param name="file">The name of the file.</param>
/// <param name="section">The section ... | 2.925621 | 6b0e1888d877215d05daabcd035a7fbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harshanu11/Love-Babbar-450-In-CSharp",
"max_stars_repo_path": "Love-Babbar-450-In-CSharp/11_heap/09_reorganize_strings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92987"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace _11_heap
{
public class _09_reorganize_strings
{
/*
link: https://leetcode.com/problems/reorganize-string/
video: https://youtu.be/zaM_GLLvysw
*/
[Fact] public void Test() { }
}
}
/*
lin... | 3.327388 | ae34d26f91037a5e9c611deb33085bdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92987 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yeerkkiller1/MemoryManagement",
"max_stars_repo_path": "packages/NCrunch.Framework.2.11.0.23/InclusivelyUsesAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92988"
} | starcoder | namespace NCrunch.Framework
{
public class InclusivelyUsesAttribute : ResourceUsageAttribute
{
public InclusivelyUsesAttribute(params string[] resourceNames): base(resourceNames) { }
public InclusivelyUsesAttribute(string resourceName) : base(resourceName) { }
}
}
| 2.211054 | d4c4e3ef91983930b549388640f8ccfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JVermeulen/JVermeulen",
"max_stars_repo_path": "JVermeulen.Processing/ActorDistributor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92989"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JVermeulen.Processing
{
/// <summary>
/// A group of actors that distribute content messages.
/// </summary>
public class ActorDistributor : IDisposable
{
/// <summ... | 2.921075 | e1116442c1451e455882146549c78495 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Whiteknight/ModernSystem",
"max_stars_repo_path": "ModernSystem.Contracts/IConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92990"
} | starcoder | using System;
namespace ModernSystem.Contracts
{
public interface IConfiguration
{
bool Exists(string name);
string Get(string name, string defaultValue = null);
T Get<T>(string name, Func<string, T> parse, T defaultValue = default(T));
}
}
| 2.53576 | 83ddf5e7b663858e2db39782f9365af6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92990 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dawidkomorowski/geisha",
"max_stars_repo_path": "src/Geisha.Engine/Physics/PhysicsModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92991"
} | starcoder | <gh_stars>1-10
using Autofac;
using Geisha.Engine.Core.SceneModel;
using Geisha.Engine.Core.Systems;
using Geisha.Engine.Physics.Components;
using Geisha.Engine.Physics.Systems;
namespace Geisha.Engine.Physics
{
/// <summary>
/// Provides physics system and related components.
/// </summary>
publi... | 1.571525 | 869e9e694cb0d13094cd5d220b4719a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "radioman/ConvNetSharp",
"max_stars_repo_path": "src/ConvNetSharp/VolumeUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92992"
} | starcoder | <gh_stars>1-10
using System;
namespace ConvNetSharp
{
public static class VolumeUtilities
{
private static readonly Random Random = new Random(RandomUtilities.Seed);
public enum FlipMode
{
LeftRight,
UpDown,
Both
}
public static IVo... | 3.270418 | 04f9af564ed3d8956a57b084357bf815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92992 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevejgordon/elasticsearch-net",
"max_stars_repo_path": "tests/Tests.Benchmarking/BulkCreationBenchmarkTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92993"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using Elasticsearch.Net;
using Nest;
using Tests.Benchmarking.Framework;
using Tests.Core.Client;
using Tests.Domain;
namespace Tests.Benchmarking
{
[BenchmarkConfig(10)]
public class BulkCreationBenchmarkTests
{
private static... | 2.098425 | 0d0ae67bf0db6fcf1c32dbab4ebde44b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92993 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "BlazesRus/xnamugen",
"max_stars_repo_path": "src/Menus/Screen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92994"
} | starcoder | <filename>src/Menus/Screen.cs
using System;
using xnaMugen.Drawing;
using Microsoft.Xna.Framework;
namespace xnaMugen.Menus
{
internal abstract class Screen : Resource
{
protected Screen(MenuSystem menusystem)
{
if (menusystem == null) throw new ArgumentNullException(nameof(menusystem));
Menu... | 2.447471 | eceb26a0c22eeaf91f90915d1bc85d19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fellipeborges/lara",
"max_stars_repo_path": "src/Lara.Tests/Randomic/RandomWordsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92995"
} | starcoder | using Lara;
using NUnit.Framework;
using System;
using System.Linq;
namespace RandomicTests
{
public class RandomWordsTests
{
[SetUp]
public void Setup()
{
// Set the Seed to force always same results
Randomic.SetSeed(1);
}
[Test]
public... | 2.987337 | 9c3cdb367df95e046ca9b294fe0389e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92995 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "foulow/SimpleForex",
"max_stars_repo_path": "Source/SimpleForex.Application/Services/BaseService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92996"
} | starcoder | using SimpleForex.Core.Contracts;
using SimpleForex.Core.Contracts.Services;
namespace SimpleForex.Application.Services
{
/// <summary>
/// Represents a base service abstract class.
/// </summary>
/// <typeparam name="TResult">Service returned result type.</typeparam>
public abstract class BaseServ... | 2.268419 | d7b5b46e0b1bebf588bd283d69106da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92996 | {
"extension": "c-sharp",
"max_stars_count": "550.0",
"max_stars_repo_name": "aliahmad866/ShopifySharp",
"max_stars_repo_path": "ShopifySharp/Filters/CustomerSearchListFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92997"
} | starcoder | using Newtonsoft.Json;
namespace ShopifySharp.Filters
{
public class CustomerSearchListFilter : ListFilter<Customer>
{
/// <summary>
/// Set the field and direction by which to order results, e.g. "last_order_date DESC".
/// </summary>
[JsonProperty("order")]
public stri... | 2.491922 | d0b5254bf9c71062357176faabee6275 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92997 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "nikola-kukic-az/ZoomNet",
"max_stars_repo_path": "Source/ZoomNet.UnitTests/MockSystemClock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92998"
} | starcoder | <reponame>nikola-kukic-az/ZoomNet
using Moq;
using System;
using ZoomNet.Utilities;
namespace ZoomNet.UnitTests
{
internal class MockSystemClock : Mock<ISystemClock>
{
public MockSystemClock(DateTime currentDateTime) :
this(currentDateTime.Year, currentDateTime.Month, currentDateTime.Day, currentDateTime.Hour, ... | 2.56996 | 1ac65e06b9fa000eaba09ceedc77ac3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92998 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "joemcbride/react-native-wpf",
"max_stars_repo_path": "src/SampleApp/CefSampleView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92999"
} | starcoder | <reponame>joemcbride/react-native-wpf<filename>src/SampleApp/CefSampleView.xaml.cs
using System.Windows.Controls;
namespace SampleApp
{
public partial class CefSampleView : UserControl
{
public CefSampleView()
{
InitializeComponent();
browser.RegisterJsObject... | 2.2285 | bb1f111ae89eea1e5f912957229f8df3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loywong/LowoUN-Tolua",
"max_stars_repo_path": "Project/Assets/CORE/Entry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93000"
} | starcoder | <filename>Project/Assets/CORE/Entry.cs
/****************************************************************
* File : Assets\CORE\Entry.cs
* Author : www.loywong.com
* COPYRIGHT : (C)
* Date : 2019/07/29
* Description : 程序逻辑入口
1,加载所有数据
2,设置程序运行环境
固定配置:比如log是否开... | 1.903078 | 608b5129f68d41d3e9da26089b3b4ae0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devsonuk/TaskAssistant",
"max_stars_repo_path": "TaskAssistant.Api/Models/ClientModels/Login.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93001"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace TaskAssistant.Api.Models.ClientModels
{
/// <summary>
/// Represents the Login Client Request Model
/// </summary>
public class Login
{
//... | 2.227549 | 1223aa3de4f8931b3283c3435327ea98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93001 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "maxwmaher/ordercloud-dotnet-catalyst",
"max_stars_repo_path": "library/OrderCloud.Catalyst/DataMovement/Caching/LazyCacheService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93002"
} | starcoder | using OrderCloud.Catalyst;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LazyCache;
namespace OrderCloud.Catalyst
{
// Lazy Cache (https://github.com/alastairtree/LazyCache) is a local in-memory cache.
// It requires no setup, but is likely not appropriate f... | 2.662125 | 412584f6e8febd520ba02d56d7060a59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Whalley64/EliteAPI",
"max_stars_repo_path": "Tests/EliteAPI.Tests.Events/Result.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93003"
} | starcoder | <reponame>Whalley64/EliteAPI
using Newtonsoft.Json;
namespace EliteAPI.Tests.Events
{
public class Result
{
[JsonProperty("title")] public string Title { get; set; }
[JsonProperty("message")] public string Message { get; set; }
[JsonProperty("file")] public string Path { get; set; }
... | 1.647204 | 6aee7d764335c55b8b9f73eb92509ea0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ofirshi/SmartMove",
"max_stars_repo_path": "SmartMove/CommandLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93004"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.IO;
using CiscoMigration;
using JuniperMigration;
using MigrationBase;
using NetScreenMigration;
using FortiGateMigration;
using PaloAltoMigration;
using PanoramaPaloAltoMigration;
using System.Text.RegularExpressi... | 2.522783 | ef69ebb532942cce0314f4bf59272989 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93004 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "jianxuanbing/Hangfire.Redis.CSRedis",
"max_stars_repo_path": "src/Hangfire.Redis.CSRedisCore/RedisDatabaseExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93005"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using CSRedis;
namespace Hangfire.Redis
{
/// <summary>
/// Redis数据库扩展
/// </summary>
internal static class RedisDatabaseExtensions
{
/// <summary>
/// 将字典转对象数组
/// </summary>
/// <param name="dic">字典</param>
... | 3.011836 | bd32abe937dd8027c107a9fff4c70693 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeremiahredekop/Nvelope",
"max_stars_repo_path": "src/Nvelope/Collections/IDirectedGraph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93006"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="IDirectedGraph.cs" company="TWU">
// MIT Licenced
// </copyright>
//-----------------------------------------------------------------------
namespace Nvelope.Collections
{
using System;
using System.Collectio... | 3.061416 | 24bf7034629ae69e3f6afbb73b76dfa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yazawa-ichio/ANovel",
"max_stars_repo_path": "Unity/Assets/ANovel/Core/Serialization/JsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93007"
} | starcoder | using System.IO;
using System.Text;
namespace ANovel.Serialization
{
public class JsonConverter
{
public bool Pretty { get; set; } = true;
public string NewLine { get; set; } = "\n";
public string Indent { get; set; } = " ";
public string Convert(byte[] buf)
{
return Convert(new Reader(buf));
}
... | 2.770888 | 346fb08bb1d8bfa07ec197c181f0b3f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93007 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "jhliptak/VisioAutomation",
"max_stars_repo_path": "VisioAutomation_2010/VisioAutomation/Geometry/Point.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93008"
} | starcoder | using System.Collections.Generic;
namespace VisioAutomation.Geometry
{
public struct Point
{
public double X { get; }
public double Y { get; }
public Point(double x, double y)
: this()
{
this.X = x;
this.Y = y;
}
... | 3.407225 | 375f5ce443988843d455cdca1c216949 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93008 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "nwisbeta/Pyro",
"max_stars_repo_path": "Pyro.Common/Tools/IRepositorySwitcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93009"
} | starcoder | <reponame>nwisbeta/Pyro<filename>Pyro.Common/Tools/IRepositorySwitcher.cs<gh_stars>10-100
using Hl7.Fhir.Model;
using Pyro.Common.Interfaces.Repositories;
namespace Pyro.Common.Tools
{
public interface IRepositorySwitcher
{
IResourceRepository GetRepository(FHIRAllTypes ResourceType);
}
} | 1.283049 | bc89e61ce96533e7274472b6ab75ab13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BuiTanLan/ShipperManagement",
"max_stars_repo_path": "WebApi/WebApi/Controllers/OrdersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93010"
} | starcoder | <reponame>BuiTanLan/ShipperManagement
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebApi.Dto.Request;
using WebApi.Dto.Response;
using WebApi.Service.Interface;
namespace WebApi.Controllers
{
[ApiController]
[Route("[controller]")]
public class Ord... | 1.879037 | a0d4e9ba695c3d382f86102817ee26f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93010 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "Fernthedev/Heck",
"max_stars_repo_path": "Heck/Animation/AnimationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93011"
} | starcoder | <reponame>Fernthedev/Heck
using CustomJSONData;
using Heck.Animation.Events;
using Heck.HarmonyPatches;
using UnityEngine;
namespace Heck.Animation
{
internal class AnimationController : MonoBehaviour
{
internal static AnimationController Instance { get; private set; } = null!;
internal stati... | 1.534399 | 6e78df01e91ba3399931dfaf1374a878 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93011 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iAvinashVarma/Runner",
"max_stars_repo_path": "Reflector/FileController/Renamer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93012"
} | starcoder | using FileController.Resources;
using FileController.Utility;
using log4net;
using RunnerBLL.Extension;
using RunnerBLL.Interface;
using System.Collections;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
namespace FileController
{
public class Renamer : IRunnerProcess
{
private static rea... | 2.575978 | 376beb96843360203530d6ac355f9ba9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afarghaly10/cSharp",
"max_stars_repo_path": "ASP.NET-MVC/Vidly/Vidly/obj/Debug/netcoreapp2.2/Razor/Views/Customers/Index.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93013"
} | starcoder | #pragma checksum "/Users/a.farghaly/Desktop/GitHub/cSharp/ASP.NET-MVC/Vidly/Vidly/Views/Customers/Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "aecf6e15dbf9f1a89487149ac0f10c2a7af868f6"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAtt... | 1.633084 | 22950b45dfca59569003d88b685a5d19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93013 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rtarantelli/DeliveryService",
"max_stars_repo_path": "DeliveryService.Data/Repository/Repository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93014"
} | starcoder | using DeliveryService.Data.Interface;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DeliveryService.Data.Repository
{
public class Repository<T> : IRepository<T> where T : class
{
protected readonly DeliveryServiceContext _context;
... | 2.883372 | 9c52fdb3be38f12b73e8b835e1f496da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93014 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "raindigi/Merchello",
"max_stars_repo_path": "src/Merchello.Web/Discounts/Coupons/Constraints/CollectionPriceRulesConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93015"
} | starcoder | <gh_stars>100-1000
namespace Merchello.Web.Discounts.Coupons.Constraints
{
using System;
using System.Linq;
using Merchello.Core.Exceptions;
using Merchello.Core.Marketing.Offer;
using Merchello.Core.Models;
using Umbraco.Core;
/// <summary>
/// Price constraint rules for the entire ... | 2.392668 | b06f8f844fc73bfab039dcf6fbd704eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93015 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "zihadmahiuddin/CoCSharp-server-dev",
"max_stars_repo_path": "src/CoCSharp/Network/MessageToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93016"
} | starcoder | using System;
using System.Net.Sockets;
namespace CoCSharp.Network
{
[Obsolete]
internal class MessageSendToken
{
public MessageSendToken()
{
TokenId = NetworkManagerAsyncStatistics.NextTokenId;
}
public int TokenId { get; set; }
public Message Message ... | 2.212935 | 96404fd9303bc19054ecfd6c437af1db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "unclazz/Unclazz.Commons.CLI",
"max_stars_repo_path": "Test.Unclazz.Commons.CLI/OptionBuilderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93017"
} | starcoder | using NUnit.Framework;
using Unclazz.Commons.CLI;
namespace Test.Unclazz.Commons.CLI
{
[TestFixture()]
public class OptionBuilderTest
{
[Test()]
public void Description_SetDescriptionOfOption()
{
// Arrange
var b0 = CommandLine.Builder<object>("test.exe")
.AddOption(Option.Builder<object>("foo"... | 2.502295 | ad17e83c54c3a4bb66f86f61ae1a827f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93017 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "CharlesOkwuagwu/URSA",
"max_stars_repo_path": "URSA.Http.Description/Rdfs/IClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93018"
} | starcoder | using RomanticWeb.Entities;
using RomanticWeb.Mapping.Attributes;
using System.Collections.Generic;
namespace URSA.Web.Http.Description.Rdfs
{
/// <summary>Describes a class.</summary>
[Class("rdfs", "Class")]
public interface IClass : IResource
{
/// <summary>Gets the ancestor classes.</summa... | 2.032782 | 2e23182a7f06d553760c98d60cc8d471 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jiayg/Adnc",
"max_stars_repo_path": "test/Adnc.UnitTest/Fixtures/FixtureConsts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93019"
} | starcoder | <reponame>Jiayg/Adnc<gh_stars>0
namespace Adnc.UnitTest.Fixtures;
internal static class FixtureConsts
{
public const string MySqlConnectString = "Server=172.16.17.32;Port=13308;database=adnc_cus_dev;uid=root;pwd=<PASSWORD>;connection timeout=50;";
} | 1.182702 | 8d38ea0d73142ffa5c4332a57dea735f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nrag/yapper",
"max_stars_repo_path": "Client/YapperUnitTest/ViewModels/NotifyPropertyChangedTester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93020"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace YapperUnitTest
{
public class NotifyPropertyChangedTester
{
public NotifyPropertyChangedTester(INotifyPropertyChan... | 2.814409 | 62fc7bfeb77e3663913920d9253ccca6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Com-Ericmas001/DependencyInjection",
"max_stars_repo_path": "Com.Ericmas001.DependencyInjection/RegisteredElements/Interface/IRegisteredElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93021"
} | starcoder | <reponame>Com-Ericmas001/DependencyInjection
using System;
namespace Com.Ericmas001.DependencyInjection.RegisteredElements.Interface
{
public interface IRegisteredElement
{
Type RegisteredType { get; }
}
}
| 1.678856 | 2ff26ac0ab657aa2fe45abfd74fd4824 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phucvin/Writership",
"max_stars_repo_path": "Assets/Writership/CompositeDisposable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93022"
} | starcoder | using System;
using System.Collections.Generic;
namespace Writership
{
public class CompositeDisposable : IDisposable
{
private readonly List<IDisposable> list;
public CompositeDisposable()
{
list = new List<IDisposable>();
}
public void Add(IDisposable it... | 3.261266 | 74e7788d0547cc72749bd6672c0739f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daviddw/Kinsky",
"max_stars_repo_path": "Kinsky/Ios/KinskyDesktop/Ios/AppDelegateIphone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93023"
} | starcoder | <reponame>daviddw/Kinsky<filename>Kinsky/Ios/KinskyDesktop/Ios/AppDelegateIphone.cs<gh_stars>1-10
using System;
using System.Net;
using Foundation;
using UIKit;
using Linn;
using Linn.Kinsky;
using Linn.Toolkit.Ios;
using CoreGraphics;
namespace KinskyTouch
{
// The name AppDelegateIPhone is referenced in the ... | 1.360953 | 72820e394cd3df0e3c20b0a5b192ea9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Banogrono/AsteroidsUnity",
"max_stars_repo_path": "Assets/UI/ScoreDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93024"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
namespace UI
{
public class ScoreDisplay : MonoBehaviour
{
public Text scoreLabel;
// Update is called once per frame
private void Update()
{
scoreLabel.text = "Score: " + StaticVariables.Score;
... | 2.129328 | 3eda046bfbf54486a00bcbfe7ee64bd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeGator/CG.Secrets.Aws",
"max_stars_repo_path": "src/CG.Secrets.Aws/Repositories/SecretRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93025"
} | starcoder |
using Amazon.SecretsManager;
using Amazon.SecretsManager.Model;
using CG.Business.Repositories;
using CG.Diagnostics;
using CG.Secrets.Models;
using CG.Secrets.Repositories;
using CG.Validations;
using Microsoft.AspNetCore.Connections.Features;
using System;
using System.Threading;
using System.Threading.Tasks;
name... | 2.575789 | 4cf3c0c1ec8063d917c55fcd3481cde4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93025 | {
"extension": "c-sharp",
"max_stars_count": "1452.0",
"max_stars_repo_name": "locmxse60602/microdot",
"max_stars_repo_path": "Gigya.Microdot.ServiceProxy/Caching/RevokeNotifier/RevokeKeyIndexer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93026"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Gigya.Microdot.Interfaces.Logging;
namespace Gigya.Microdot.ServiceProxy.Caching.RevokeNotifier
{
public class RevokeKeyIndexer : IRevokeKeyIndexer
{
private ConcurrentDictionary<string, IRevo... | 2.303055 | 322afb79dabf4a8fc2b9495be163c4c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93026 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zaloplatform/ZaloDotNetSDK",
"max_stars_repo_path": "src/sdk/entities/shop/OrderItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93027"
} | starcoder | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
namespace ZaloDotNetSDK.entities.shop
{
public class OrderItem
{
private string product_id;
private int quantity;
private string variation_id;
private string partner_item_... | 2.229361 | 2ac5079ac9bd03c0e86967fb241939f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gursharan001/LargeJsApps",
"max_stars_repo_path": "RetrosApi/RetrosApi/RetrosHub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93028"
} | starcoder | using Microsoft.AspNet.SignalR;
namespace RetrosApi
{
public class RetrosHub : Hub
{
}
} | 1.135028 | bb45e0a7b38f11fe6b910a0077c45a06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mahamtr/ddd-guestbook",
"max_stars_repo_path": "src/CleanArchitecture.Core/Responses/PropuestaDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93029"
} | starcoder | <filename>src/CleanArchitecture.Core/Responses/PropuestaDTO.cs
using System;
using System.Collections;
using System.Collections.Generic;
namespace CleanArchitecture.Core.Responses
{
public class PropuestaDTO
{
public string Rubro { get; set; }
public Guid RubroId { get; set; }
public st... | 2.05543 | b4bd60be6489c24bf7b582de2347e6ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93029 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BBGONE/TaskBroker",
"max_stars_repo_path": "TaskBrokerService/Extensions/Services/OnDemandTaskServiceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93030"
} | starcoder | <filename>TaskBrokerService/Extensions/Services/OnDemandTaskServiceExtensions.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using TaskBroker.Services;
using TaskBroker.SSSB.Cor... | 1.83393 | e3176e5c64647ccce7ba87c2eaa0b11a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Spydie78/ECE-2022-Ing4-Finance-IA1-Gr04",
"max_stars_repo_path": "Sudoku.PSOSolvers/Function.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93031"
} | starcoder | <filename>Sudoku.PSOSolvers/Function.cs<gh_stars>0
using Sudoku.Shared;
using System;
public class Function //Cette classe contiendra essentiellement des fonctions que nous avons codées pour réaliser notre solveur
{
public int Comptage_Ligne(Sudoku.Shared.GridSudoku s, int row_Nb) //Cette fonction va être utilisé... | 3.184706 | a84993b9cb772f229bccab6ee4f374d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93031 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "LaughingLeader/SourceControlGenerator",
"max_stars_repo_path": "SCG.Modules/DOS2DE/Utilities/DOS2DEXMLUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93032"
} | starcoder | using Alphaleonis.Win32.Filesystem;
using LSLib.LS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace SCG.Modules.DOS2DE.Utilities
{
public static class DOS2DEXMLUtils
{
public static readonly string ... | 2.407748 | 7189e5ba28c487e59d1fea7775561bd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dnelly/azure-sdk-for-net",
"max_stars_repo_path": "src/Batch/Client/Src/GeneratedProtocol/PoolOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93033"
} | starcoder | // Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 1.69554 | 090511a344c69d46b17bfbd915c23fbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93033 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "tradesharp/tradesharp-core",
"max_stars_repo_path": "Backend/MarketDataEngine/TradeHub.MarketDataEngine.MarketDataProviderGateway/Utility/ReadOnlyConcurrentDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93034"
} | starcoder | <gh_stars>10-100
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* inv... | 2.351505 | 67198125a09764aad0105bf51c5fadfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93034 | {
"extension": "c-sharp",
"max_stars_count": "2766.0",
"max_stars_repo_name": "maphew/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSiteConfigDetector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93035"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YamlDotNet.RepresentationModel;
using OpenLiveWriter.CoreServices;
namespace OpenLiveWriter.BlogClient.Clients.StaticSite
{
public class StaticSiteC... | 2.862276 | 1b6cd570d6f4f7f117d4785da27f534b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93035 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "eric-erki/ERP-CMR-DMS",
"max_stars_repo_path": "ViennaAdvantageWeb/ModelLibrary/CRM/Model/X_C_CampaignTargetList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93036"
} | starcoder | namespace VAdvantage.Model
{
/** Generated Model - DO NOT CHANGE */
using System;
using System.Text;
using VAdvantage.DataBase;
using VAdvantage.Common;
using VAdvantage.Classes;
using VAdvantage.Process;
using VAdvantage.Model;
using VAdvantage.Utility;
using System.Data;
/** Generated Model for C_CampaignTargetList
... | 1.727286 | eedfee405574a10715e2118a0c6e55b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hukunaa/RocketEngineer",
"max_stars_repo_path": "Assets/Scripts/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93037"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Entity : MonoBehaviour
{
public bool isConnectedToPod;
public float mass;
public float finalmass;
// Start is called before the first frame update
void Start()
{
if (gameObject.GetComponent<Pod>... | 2.220692 | e08a99ba6064a95b4eabfb143e7b5542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CuplexUser/ImageViewer",
"max_stars_repo_path": "ImageView/FileBrowser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93038"
} | starcoder | using Autofac;
using ImageViewer.Collections;
using ImageViewer.DataContracts;
using ImageViewer.Models;
using ImageViewer.Properties;
using ImageViewer.Services;
using ImageViewer.Utility;
using System.ComponentModel;
namespace ImageViewer
{
public partial class FileBrowser : Form
{
private string _s... | 2.121255 | 2616266865bb0852bc4ca6443622b965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93038 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fossabot/bevrand",
"max_stars_repo_path": "bevrand.authenticationapi/bevrand.authenticationapi/Repository/Models/UserModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93039"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace bevrand.authenticationapi.Repository.Models
{
[Table("users")]
public class UserModel
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column("id")]... | 2.42351 | 22a6a20f8c9dc624f74e2e3380693de4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93039 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rlipscombe/ConsoleColors",
"max_stars_repo_path": "ConsoleColors.Demo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93040"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleColors.Demo
{
class Program
{
static void Main(string[] ... | 2.802951 | 7acfaaa97c878daa2fe62841b29554ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kreuzhofer/drinkoband",
"max_stars_repo_path": "DrinkOBand/drinkobandservice_new/DataObjects/DrinkLogItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93041"
} | starcoder | using System;
using Microsoft.Azure.Mobile.Server;
namespace drinkobandserviceService.DataObjects
{
public class DrinkLogItem : EntityData
{
public string UserId { get; set; }
public string ProviderUserId { get; set; }
public DateTime Timestamp { get; set; }
public int Amount ... | 1.426088 | c0a784977ef4424bac21ece051d94e6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93041 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Husqvik/SQLPad",
"max_stars_repo_path": "SqlPad/SqlEditorBackgroundRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93042"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using System.Windows.Media;
using ICSharpCode.AvalonEdit;
using ICSharpCode.AvalonEdit.Document;
using ICSharpCode.AvalonEdit.Rendering;
namespace SqlPad
{
internal class SqlEditorBackgroundRenderer : IBackgroundRenderer
{
private static readon... | 2.345237 | 29fb9604553fd44bbf025adeb67da7cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kasperbirkelund/StrongHeart",
"max_stars_repo_path": "Src/StrongHeart.Features/Decorators/Authorization/IAuthorizable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93043"
} | starcoder | using System.Collections.Generic;
using System.Security.Claims;
namespace StrongHeart.Features.Decorators.Authorization
{
public interface IAuthorizable
{
IEnumerable<Claim> GetRequiredClaims();
}
} | 1.684947 | b07a8dd679b47543df9d536fb916e571 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93043 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "startrunner/shano-mvvm",
"max_stars_repo_path": "src/ShanoMVVM/ShanoLibraries.MVVM.Net45/ViewModels/StandardViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93044"
} | starcoder | <reponame>startrunner/shano-mvvm
using ShanoLibraries.MVVM.Interaction;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Input;
namespace ShanoLibraries.MVVM.ViewModels
{
/// <summary>
/// A base ViewModel intented to make... | 2.627175 | 041f16b26d5253b15a2fd0a656a2eeff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93044 | {
"extension": "c-sharp",
"max_stars_count": "642.0",
"max_stars_repo_name": "CXProject/UnityToolchainsTrick",
"max_stars_repo_path": "Assets/Editor/Examples/Example_56_EditorCoroutineAndAnimation/EditorCoroutine/YieldInstruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93045"
} | starcoder | using System;
using UnityEditor;
namespace CZToolKit.Core.Editors
{
public interface ICondition
{
bool Result(EditorCoroutine _coroutine);
}
public class WaitForSeconds_E : ICondition
{
readonly float time;
public WaitForSeconds_E(int _time) { time = _time; }
pub... | 2.301039 | 8e616df078fe8788e37a37605457b331 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aliakseikalosha/TrijamAllEntry",
"max_stars_repo_path": "StayHereDontMove116/Assets/Scripts/UI/MainMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93046"
} | starcoder | <filename>StayHereDontMove116/Assets/Scripts/UI/MainMenu.cs
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class MainMenu : Window
{
[SerializeField] private Button newGame;
[SerializeField] private Button quit;
[SerializeField] private string firstLevelName;
protec... | 2.031629 | 4904caf16bdbd737dd457b526ff836e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fremag/pbrt",
"max_stars_repo_path": "pbrt/Pbrt.Tests/Textures/PlanarMapping2DTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93047"
} | starcoder | <reponame>fremag/pbrt
using NFluent;
using NUnit.Framework;
using pbrt.Core;
using pbrt.Textures;
namespace Pbrt.Tests.Textures
{
[TestFixture]
public class PlanarMapping2DTests
{
[Test]
public void MapTest()
{
Vector3F vs = new Vector3F(0,0,0);
Vector3F vt =... | 2.162627 | fb30c46977123121a840ebb4ffcc087b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ohthatmarissa/BlogSite.Solution",
"max_stars_repo_path": "BlogSite/Controllers/BlogsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93048"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System;
using Microsoft.AspNetCore.Mvc;
using BlogSite.Models;
using System.Linq;
using MySql.Data.MySqlClient;
namespace BlogSite.Controllers
{
public class BlogsController : Controller
{
[HttpGet("/blogs/register")]
public ActionResult New()
... | 2.582251 | 626957c29d9ec38a35683ee557790280 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IliyanAtkov/MyMovieDb",
"max_stars_repo_path": "API/MyMovieDb.API/Models/User/UserToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93049"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace MyMovieDb.API.Models.User
{
public class UserToken
{
[Required]
public string UserName { get; set; } = null!;
[Required]
public string Password { get; set; } = null!;
}
} | 1.970807 | a87939d36aee82193153fcb8cc7d22d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93049 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SWeini/Cornucopia.Net",
"max_stars_repo_path": "src/Cornucopia.DataStructures/Graph/Algorithms/TarjanStronglyConnectedComponentsAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93050"
} | starcoder | <filename>src/Cornucopia.DataStructures/Graph/Algorithms/TarjanStronglyConnectedComponentsAlgorithm.cs
using System;
using System.Collections.Generic;
using Cornucopia.DataStructures.Utils;
namespace Cornucopia.DataStructures.Graph.Algorithms
{
/// <summary>
/// Computes the strongly connected components... | 2.959059 | 18d3131d497131fe6f57de45e8ead031 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93050 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vasialek/easyimport",
"max_stars_repo_path": "EasyImportTest/DataReaderTst.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93051"
} | starcoder | using EasyImport.DataReader;
using EasyImport.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyImportTest
{
public class DataReaderTst : IDatabaseReader
{
public void Open(string dataFile)
... | 2.336602 | 69959c679414bbb1c9c85cf2cc69227a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93051 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "BugSlayer123/Flight-Sim-Repo",
"max_stars_repo_path": "Assets/Scripts/Ai Scripts/AIBehavior/Extras/Astar/MecanimAstarPathScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93052"
} | starcoder | <filename>Assets/Scripts/Ai Scripts/AIBehavior/Extras/Astar/MecanimAstarPathScript.cs
#if USE_ASTAR
using UnityEngine;
using Pathfinding;
using System.Collections.Generic;
namespace AIBehavior
{
public class MecanimAstarPathScript : MonoBehaviour
{
/// <summary>
/// This is a reference to the Animator component... | 2.386729 | 1b2b50fd4ffa83ed6587784b8e9c3ad0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aibel18/BoardGame",
"max_stars_repo_path": "Assets/Scripts/Controllers/FinalMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93053"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
namespace BoardGame
{
public class FinalMenu : MonoBehaviour
{
public Text player;
public Text health;
void Start()
{
this.player.text = PlayerPrefs.GetString(KeyWordPersistence.NamePlayer);
this.health.text = PlayerPrefs.GetString(KeyWordPersistence.HealthPl... | 2.172431 | 4360624bdb842eb0bd480b95ee080eff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EverestAPI/MonteLua",
"max_stars_repo_path": "src/LuaBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93054"
} | starcoder | using NLua.Extensions;
using System;
namespace NLua {
/// <summary>
/// Base class to provide consistent disposal flow across lua objects. Uses code provided by <NAME> and suggestions by <NAME> and <NAME>
/// </summary>
public abstract class LuaBase : IDisposable {
private bool _Disposed;
... | 2.932926 | e13f9b658669eaae56d40c7c1917448c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93054 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bezzad/NasaAntsSimulation",
"max_stars_repo_path": "src/NasaSimulation/Tools/OrganizationBoundries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93055"
} | starcoder | <reponame>bezzad/NasaAntsSimulation
namespace Simulation.Tools
{
public class OrganizationBoundries
{
public Point OrgCenter { get; set; }
public double Radius { get; set; }
}
} | 1.257426 | 973a09df7cc91e97573ecbef0d78c689 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6e3veR6k/codewars-csharp",
"max_stars_repo_path": "resources/csharp-starter-materails/002_Machine_Mathematics/002_Variables/DefaultValues/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93056"
} | starcoder | using System;
namespace DefaultValues
{
class Program
{
static void Main()
{
// На 11-й строке, создаем переменную с именем a, типа byte и не присваиваем ей никакого значения.
byte a;
bool b;
char c;
string s;
// На 18-й... | 3.234838 | e9ee68ed18f936c8e8a9d4e3b4e58d88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swoolcock/snowberry",
"max_stars_repo_path": "source/Graphics/DrawUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93057"
} | starcoder | <filename>source/Graphics/DrawUtil.cs<gh_stars>0
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Monocle;
using System;
namespace Snowberry {
public static class DrawUtil {
public static void WithinScissorRectangle(Rectangle rect, Action action, Matrix? matrix = null, bool nes... | 2.615751 | 669ee93e572d3c2093a5ce7daf0575e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vanya-ant/Testing-Panda",
"max_stars_repo_path": "src/Panda.App/obj/Debug/netcoreapp2.2/Razor/Views/Receipts/Details.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93058"
} | starcoder | <gh_stars>0
#pragma checksum "E:\C# WEB\ASP.NET Core\Testing\src\Panda.App\Views\Receipts\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ee8a2a8415402bf2e1489399979dce79fbb4a126"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute... | 1.841382 | 53df740c536ef113ba5f3a780f1c72d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chris-weekes/atrium",
"max_stars_repo_path": "atriumBE/SecurityManagement/secFeature_BE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93059"
} | starcoder | using System;
using System.Data;
using atLogic;
using lmDatasets;
namespace atSecurity
{
/// <summary>
///
/// </summary>
public class secFeatureBE:atLogic.ObjectBE
{
SecurityManager myA;
SecurityDB.secFeatureDataTable mysecFeatureDT;
internal secFeatureBE(SecurityManager pBEMng):base(pBEMng,pB... | 1.810118 | 18cbc842a11c32407d13e99451d62624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "demonaco/StoreAppConsole1",
"max_stars_repo_path": "customers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93060"
} | starcoder | <filename>customers.cs
using System;
namespace StoreAppConsole
{
public class Customers
{
public Customers(string firstn = "null", string lastn = "null")
{
this.Firstn = firstn;
this.Lastn = lastn;
}
private Guid customerId = Guid.NewGuid();
publ... | 3.167639 | efcf264c485f684a1745b9edd075a92c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qomgamedevelopers/SeyedsUIManager",
"max_stars_repo_path": "Assets/MenuButton/ButtonMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93061"
} | starcoder | <filename>Assets/MenuButton/ButtonMenu.cs
using System.Collections;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Button))]
[ExecuteInEditMode]
public class ButtonMenu : MonoBehaviour
{
[DropDownAttribute]
public int Selected = 0;
privat... | 2.300062 | 76cc55bfd42909bfbb71ff351ab685c3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.