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 | 8837312 | {
"extension": "c-sharp",
"max_stars_count": "1208.0",
"max_stars_repo_name": "mpdeimos/StyleCop",
"max_stars_repo_path": "Project/Test/Tests.StyleCop.CSharp/TestData/Assorted/InvalidEscapedName4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156532"
} | starcoder | // Unicode character escape sequence can only be used in:
// - identifiers
// - charater literals
// - regular string literals
namesp\u0061ce Microsoft.StyleCop.CSharp
{
}
| 1.92062 | 93afce1ba12990b31e9f3fcaaf12694c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fluffy-Bunny-Blog-Posts/EntityFrameworkCoreMigrations",
"max_stars_repo_path": "src/HostApp/Services/TenantInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156533"
} | starcoder | <reponame>Fluffy-Bunny-Blog-Posts/EntityFrameworkCoreMigrations
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HostApp.Services
{
public class TenantInfo
{
public string Name => "Shelby";
}
}
| 1.442141 | f44c3e2f46b252564cc20f732b2b5534 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daumasmatheus/ProjectManager",
"max_stars_repo_path": "src/ProjectManager.API/Configuration/DbContextConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156534"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using ProjectManager.Infrastructure.Data.DatabaseContext;
namespace ProjectManager.API.Configuration
{
public static class DbContextConfiguration
{
public static IServiceColle... | 2.091148 | a9b08a0c7c40b80aa4c6a97f43e8949a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vagrod/swo",
"max_stars_repo_path": "Assets/Scripts/WelcomeScreenBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156535"
} | starcoder | <reponame>vagrod/swo
using Assets.Scripts;
using UnityEngine;
using UnityEngine.UI;
using SeaWarsOnline.Core;
using SeaWarsOnline.Core.Localization;
public class WelcomeScreenBehavior : SwoScriptBase
{
private const float QuitTapsDuration = 1.0f;
private bool _isBackAlreadyPressed;
private f... | 1.875914 | 1aa41ab1affc6ad76299e0b21e51df06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RIDICS/Authentication",
"max_stars_repo_path": "Solution/Ridics.Core.HttpClient/Client/ITokenEndpointClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156536"
} | starcoder | using System.Threading.Tasks;
using IdentityModel.Client;
namespace Ridics.Core.HttpClient.Client
{
public interface ITokenEndpointClient
{
Task<TokenResponse> GetAccessTokenAsync(string scope);
Task<TokenResponse> RefreshTokenAsync(string refreshToken);
Task<TokenRevocationResponse> R... | 1.561273 | a57997b4813712443f77f9d9bd5bb749 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837317 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Mu-L/UnityExtensions",
"max_stars_repo_path": "Tools/Magic Light Probes/Passes/FindAreasAtShadingBorders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156537"
} | starcoder | #if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MagicLightProbes
{
/// <summary>
/// Cannot work in multithreading mode
/// </summary>
public class FindAreasAtShadingBorders
{
public IEnumerator ExecutePass(MagicLightPro... | 1.959995 | f73d72667913ed9a84637c04d81cf68b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbremner/nupattern",
"max_stars_repo_path": "Src/Common/Source/Common.Presentation/VsIde/VsEnvironmentRenderCapabilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156538"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using NuPattern.Reflection;
namespace NuPattern.Presentation.VsIde
{
/// <summary>
/// The VS EnvironmentRenderCapabilities control.
... | 2.043409 | 99d1acfeb98297b3e207bddcaf0f186f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddark1990/3DMultiplayerMobileLineTowerDefense",
"max_stars_repo_path": "Assets/_3DMultiplayerTowerDefense/_Scripts/MainUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156539"
} | starcoder | <reponame>ddark1990/3DMultiplayerMobileLineTowerDefense<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using TMPro;
public class MainUI : MonoBehaviourPunCallbacks
{
public ... | 1.639947 | c12a0ee164791c6c8715d4acf31ed620 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837320 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "elkwolf/ear-training",
"max_stars_repo_path": "Assets/Scripts/UILessonPlanSliders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156540"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class UILessonPlanSliders : MonoBehaviour {
private GridLayoutGroup content;
public Slider prefabSlider;
public List<float> distribution;
void Start()
{
content = transform.G... | 2.101993 | 918dc555d6ad7308a832fef9be9fa2e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NovaShang/DicDic",
"max_stars_repo_path": "DicDic/DicDic/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156541"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace D... | 2.174584 | db41a5e89cc2f77900f6bd9f9982fd12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837322 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "davidsagang/Mvc",
"max_stars_repo_path": "test/WebSites/HtmlGenerationWebSite/Models/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156542"
} | starcoder | <reponame>davidsagang/Mvc<gh_stars>10-100
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace HtmlGenerationWebSite.Models
{
public class Ord... | 1.735747 | 4542ba2d9a8cddc0d6649f6d3ab297b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837323 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "Xabaril/lucecu",
"max_stars_repo_path": "src/templates/k8soperator/Content/Controller/__ProjectName__Controller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156543"
} | starcoder | using k8s;
using __ProjectName__.Crd;
using __ProjectName__.Diagnostics;
using System;
using System.Threading.Tasks;
namespace __ProjectName__.Controller
{
public class __ProjectName__Controller
: I__ProjectName__Controller
{
private readonly IKubernetes _kubernetesClient;
... | 2.003453 | 221ebe388fefd07e8084d0161254bf29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nanshuiyu/pytools",
"max_stars_repo_path": "Python/Product/Analysis/IEnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156544"
} | starcoder | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | 2.44584 | cbc572a87cec34994e53a65f424ceaad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837325 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cognizant-softvision/donate-to",
"max_stars_repo_path": "src/DonateTo.ApplicationCore/Entities/QuestionOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156545"
} | starcoder | <filename>src/DonateTo.ApplicationCore/Entities/QuestionOption.cs
using DonateTo.ApplicationCore.Interfaces;
namespace DonateTo.ApplicationCore.Entities
{
public class QuestionOption : EntityBase, IIsDeleted
{
public string Label { get; set; }
public string Value { get; set; }
public... | 1.91313 | 3222c3efc1069542284b0bfbcfaa78ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837326 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nrjohnstone/AmbientContext.LogService.Serilog",
"max_stars_repo_path": "src/AmbientContext.LogService.Serilog/ILogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156546"
} | starcoder | <filename>src/AmbientContext.LogService.Serilog/ILogger.cs
using System;
namespace AmbientContext.LogService.Serilog
{
public interface ILogger
{
void Verbose(string messageTemplate);
void Verbose(string messageTemplate, params object[] propertyValues);
void Verbose(Exception exception... | 2.201942 | 89c3eadf1212e8c8aecfc01a27517f17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Steelcap/space-station-14",
"max_stars_repo_path": "Content.Shared/GameObjects/Components/Mobs/SharedHairComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156547"
} | starcoder | using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Maths;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
namespace Content.Shared.GameObjects.Components.Mobs
{
public abstract class SharedHairComponent : Component
{
private string _facialHairStyleName;
pri... | 2.416347 | 214b1619902dcc8e822c22e2a66fd90b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CPPDevCrypto/X42-FullNode",
"max_stars_repo_path": "src/Stratis.SmartContracts.Executor.Reflection/StateFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156548"
} | starcoder | using NBitcoin;
using Stratis.SmartContracts.Core.State;
using Stratis.SmartContracts.Executor.Reflection.Serialization;
namespace Stratis.SmartContracts.Executor.Reflection
{
/// <summary>
/// Creates a new <see cref="State"/> object.
/// </summary>
public class StateFactory : IStateFactory
{
... | 1.982694 | f3391bb5c3f40f9175f3717202d495f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837329 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wa4e7o/C--Fundamentals",
"max_stars_repo_path": "Lists - Exercise/05 - [Bomb Numbers]/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156549"
} | starcoder | <reponame>Wa4e7o/C--Fundamentals
using System;
using System.Collections.Generic;
using System.Linq;
namespace BombNumbers
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console
.ReadLine()
.Split()
.Select(int... | 3.611984 | 89ac26efaeca194a4b836b6bf0e39548 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matthiasgenzel/OracleScriptRunner",
"max_stars_repo_path": "OracleScriptRunnerFileBuilder/Impl/CopyableFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156550"
} | starcoder | using OracleScriptRunnerFileBuilder.App;
using System.IO;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("OracleScriptRunnerFileBuilderTest")]
namespace OracleScriptRunnerFileBuilder.Impl
{
internal class CopyableFile : ICopyableFile
{
public string OriginalPath { get; set; }
... | 2.457161 | 0690cf5c315640dd066058206f949c32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheSylence/Changey",
"max_stars_repo_path": "Changey.Tests/Services/FileAccessTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156551"
} | starcoder | <reponame>TheSylence/Changey<gh_stars>0
using System.IO;
using System.Threading.Tasks;
using Xunit;
using FileAccess = Changey.Services.FileAccess;
namespace Changey.Tests.Services
{
public class FileAccessTests
{
[Fact]
public async Task ReadShouldReadAllTextFromFile()
{
// Arrange
var sut = new FileAc... | 2.750574 | b231c78792871118cd2e1918dd7261fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837332 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "JohnLamontagne/Lunar-Mirage",
"max_stars_repo_path": "src/Lunar.Editor/Controls/DockAnimationEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156552"
} | starcoder | <reponame>JohnLamontagne/Lunar-Mirage
using System;
using DarkUI.Forms;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Lunar.Core;
using Lunar.Core.Utilities.Logic;
using Lunar.Editor.Utilities;
using Lunar.Graphics;
using Microsoft.Xna.Framework.Graphics;
using Lunar.Graphics.Effects;
names... | 1.922725 | 3aa9446b15d34ffe635dc7939ca49128 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CadeXu/cSharp-study",
"max_stars_repo_path": "testDB/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156553"
} | starcoder | <reponame>CadeXu/cSharp-study<filename>testDB/Program.cs
using System;
using MySql.Data.MySqlClient;
using Newtonsoft.Json;
//using Newtonsoft.Json.Linq;
namespace testDB
{
class Program
{
static void Main(string[] args)
{
string conUrl="server=localhost;User=root;password=<PASSWORD... | 2.838988 | 417fa4c4a3b62438ae6a8de0543fdd7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sauravvijay/squidex",
"max_stars_repo_path": "backend/tests/Squidex.Infrastructure.Tests/Email/SmtpEmailSenderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156554"
} | starcoder | <filename>backend/tests/Squidex.Infrastructure.Tests/Email/SmtpEmailSenderTests.cs
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// ... | 2.012533 | c58509f3d0416e416561ea792f889dcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reinms/RoR2Modding",
"max_stars_repo_path": "SniperRework/Skills/Primary/SniperPrimaryShoot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156555"
} | starcoder | <reponame>Reinms/RoR2Modding
using BepInEx;
using RoR2;
using UnityEngine;
using R2API;
using R2API.Utils;
using System.Reflection;
using EntityStates;
using RoR2.Skills;
using System;
namespace ReinSniperRework
{
internal partial class Main
{
internal class SniperShoot : BaseState
{
... | 1.797652 | 128910fd9ebc15762dbf8a21aba47907 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837336 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "gimlichael/cuemoncore",
"max_stars_repo_path": "src/Cuemon.Data.Integrity/FileChecksumOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156556"
} | starcoder | <filename>src/Cuemon.Data.Integrity/FileChecksumOptions.cs<gh_stars>10-100
using System.IO;
using Cuemon.IO;
namespace Cuemon.Data.Integrity
{
/// <summary>
/// Configuration options for <see cref="FileInfo"/>.
/// </summary>
public class FileChecksumOptions : FileInfoOptions
{
/// <summar... | 2.918646 | af7df9b74c0d989723f7aba284a9310d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837337 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tothp0096/DesignPatternsInCSharp",
"max_stars_repo_path": "DesignPatternsInCSharp/Behavioral/Mediator/V3/IMediator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156557"
} | starcoder | namespace DesignPatternsInCSharp.Behavioral.Mediator.V3;
public interface IMediator
{
public void Send(string message, Colleague colleague);
}
| 1.951068 | 477552c19ce7da584f07d44b464d0a28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837338 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Yusuke57/DOTweenAnimationList",
"max_stars_repo_path": "Assets/Scripts/DOTweenAnimation/FillAmountAnimation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156558"
} | starcoder | using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
namespace DOTweenAnimation
{
public class FillAmountAnimation : MonoBehaviour, IAnimationPlayable
{
[SerializeField] private Image circleImage;
[SerializeField] private Image[] squareImages;
public void Play(float duration)
... | 2.593012 | 346eeac6e757110ec5e46c680a0454d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837339 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeppPenner/Foundatio.Repositories",
"max_stars_repo_path": "src/Foundatio.Repositories.Elasticsearch/Configuration/VersionedIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156559"
} | starcoder | <filename>src/Foundatio.Repositories.Elasticsearch/Configuration/VersionedIndex.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Foundatio.Parsers.ElasticQueries.Extensions;
using Foundatio.Repositories.Elasticsearch.Extensions;
using F... | 2.032183 | 646cb6d9ae2086682e32ea6bae3e15bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837340 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zerratar/Ravenfall-Server",
"max_stars_repo_path": "src/Servers/GameServer/Processors/ObjectProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156560"
} | starcoder | using GameServer.Managers;
using Shinobytes.Ravenfall.RavenNet.Models;
using System;
namespace GameServer.Processors
{
public class ObjectProcessor : IObjectProcessor
{
public void Update(GameObjectInstance obj, IGameSession session, TimeSpan deltaTime)
{
}
}
} | 1.511856 | b3bb8e4af6a72a7acccd5339ab9092fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837341 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/GMac",
"max_stars_repo_path": "GMac/GMac.CodeComposers/GradedMultivectorsLibraryComposer/Composers/CSharp/CodeLibraryComposer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156561"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeometricAlgebraStructuresLib.Frames;
using GMac.CodeComposers.GradedMultivectorsLibraryComposer.Composers.CSharp.KVectorClass;
using GMac.CodeComposers.GradedMultivectorsLibraryComposer.Composers.CSharp.OutermorphismClass;
usi... | 2.039307 | bcb5eb45918ae14741e820ddd74f7e9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837342 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "AI-In-Games/FormationMovement",
"max_stars_repo_path": "Assets/Scripts/Systems/MoveSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156562"
} | starcoder | using Unity.Entities;
using Unity.Transforms;
using Unity.Mathematics;
[UpdateAfter(typeof(SteeringSystem))]
public class MoveSystem : SystemBase
{
protected override void OnUpdate()
{
float deltaTime = Time.DeltaTime;
Entities.ForEach((ref Translation translation, ref Rotation rotation... | 2.350433 | dcaebffbcabcdb51f2b146a2312787ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sampanu/DC-ILR-1819-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Data/Interface/IInternalDataCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156563"
} | starcoder | <filename>src/ESFA.DC.ILR.ValidationService.Data/Interface/IInternalDataCache.cs
using ESFA.DC.ILR.ValidationService.Data.Internal.Model;
using System.Collections.Generic;
using IAcademicYear = ESFA.DC.ILR.ValidationService.Data.Internal.AcademicYear.Interface.IAcademicYear;
namespace ESFA.DC.ILR.ValidationService.Da... | 1.69105 | fd4f8cb54f4a8afc0c1a345f69cf0272 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837344 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Osmodium/PathfinderTextToSpeechMod",
"max_stars_repo_path": "SpeechMod/Voice/ISpeech.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156564"
} | starcoder | namespace SpeechMod.Voice;
public interface ISpeech
{
string GetStatusMessage();
string[] GetAvailableVoices();
void SpeakPreview(string text, VoiceType voiceType);
void SpeakDialog(string text, float delay = 0f);
void Speak(string text, float delay = 0f);
void Stop();
} | 2.054212 | 5df3472eb1f5ad90686484ff16faa3ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837345 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "JimBobSquarePants/UmbMapper",
"max_stars_repo_path": "tests/UmbMapper.Tests/Benchmarks/FastPropertyAccessorExpressions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156565"
} | starcoder | // <copyright file="FastPropertyAccessorExpressions.cs" company="<NAME>">
// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerSe... | 2.944616 | 208d9e7208fbb74aa51b55bcca56e67e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsisco11/CssUI",
"max_stars_repo_path": "CssUI/DOM/Exceptions/NotFoundError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156566"
} | starcoder | namespace CssUI.DOM.Exceptions
{
public class NotFoundError : DOMException
{
public NotFoundError(string message = "")
: base(message, "NotFoundError")
{
}
}
}
| 1.90766 | a9751e534b26178d6d6efcd4b5dd44f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837347 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Sn1p3rr3c0n/RWoM",
"max_stars_repo_path": "RimWorldOfMagic/RimWorldOfMagic/HediffComp_BrandingSiphon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156567"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
using UnityEngine;
namespace TorannMagic
{
[StaticConstructorOnStartup]
public class HediffComp_BrandingSiphon : HediffComp_BrandingBase
{
public override void DoSigilAction(bool surging = false, bool d... | 1.935158 | 359050b2144292f7dc3fd2c01d78a776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837348 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devilExE3/KarlsonMP-old-",
"max_stars_repo_path": "KarlsonMPserver/KarlsonMPserver/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156568"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KarlsonMPserver
{
class Constants
{
// constants
public const string version = "1.1.2";
public static readonly string[] allowedSceneNames = new ... | 2.591292 | 03f69dd61a305c07667ff61e47fb6428 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837349 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Archomeda/Gw2Sharp",
"max_stars_repo_path": "Gw2Sharp/WebApi/V2/Models/Professions/ProfessionSkill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156569"
} | starcoder | <reponame>Archomeda/Gw2Sharp
namespace Gw2Sharp.WebApi.V2.Models
{
/// <summary>
/// Represents the profession skill.
/// </summary>
public class ProfessionSkill
{
/// <summary>
/// The profession skill id.
/// Can be resolved against <see cref="IGw2WebApiV2Client.Skills"/>.
... | 2.08167 | 40cd0ebff742e9ea3a87c42a84072e0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WouterBrookhuis/StringCommander",
"max_stars_repo_path": "StringCommander/UI/Window.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156570"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringCommander.UI
{
abstract class Window
{
public string Title { get; set; }
public Window(string title)
{
Title = title;
}
... | 2.651927 | ae98a02fc7215b005b2a0cd2db224c40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BinarySerializer/BinarySerializer.UbiArt",
"max_stars_repo_path": "src/DataTypes/Common/String/String16.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156571"
} | starcoder | using System.ComponentModel;
using System.Text;
namespace BinarySerializer.UbiArt
{
[TypeConverter(typeof(String16Converter))]
public class String16 : UbiArtString
{
protected override int CharSize => 2;
/// <summary>
/// Creates a new <see cref="String16"/> from a <see cref="stri... | 2.983118 | ac55931f39f4adfb2f67bf8076dc90e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keithbo/Codo",
"max_stars_repo_path": "Codo.Windsor.WebApi/AuthenticationFilterAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156572"
} | starcoder | namespace Codo.Windsor.WebApi
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Filters;
/// <summary>
/// Adapter implementation that maps an IAuthenticationFilter source to the IFilter interface.
/// Useful for forcin... | 2.600869 | c20e7ed8abaf291c1d47f977ca154c33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prolog-idle/prolog-idle",
"max_stars_repo_path": "src/PrologIdle/Assets/Scripts/WorkplaceIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156573"
} | starcoder | public class WorkplaceIndex
{
public static EntityId Gatherer { get; } = new EntityId("gatherer");
public static string GetLabel(EntityId entityId)
{
if (entityId == Gatherer) return "Gatherers";
return "???";
}
} | 2.127943 | f702d682db635e7469f817641d1e0bc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837354 | {
"extension": "c-sharp",
"max_stars_count": "602.0",
"max_stars_repo_name": "rus-art/efcore.pg",
"max_stars_repo_path": "test/EFCore.PG.FunctionalTests/CommandInterceptionNpgsqlTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156574"
} | starcoder | using Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure;
using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal;
using Npgsql.EntityFrameworkCore.PostgreSQL.TestUtilities;
namespace Npgsql.EntityFrameworkCore.PostgreSQL;
public abstract class CommandInterceptionNpgsqlTestBase : CommandInterceptionTestBase
{
... | 1.716478 | 30d5a622a8a5f47de025ce0bdb37d06d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RoyGI/Interview",
"max_stars_repo_path": "csharp/src/interview/Epic.Interview.Application/Handlers/AddReviewHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156575"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AddReviewHandler.cs" company="MCode">
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License... | 2.14389 | 02f688faf73ab932d2152c05513a2026 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837356 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "usausa/Smart-Net-ByteMapper",
"max_stars_repo_path": "Smart.IO.ByteMapper.Options/IO/ByteMapper/Helpers/DateTimeFormatEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156576"
} | starcoder | namespace Smart.IO.ByteMapper.Helpers
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification = "Ignore")]
public sealed class DateTimeFormatEntry
{
public char Part { get; }
public int Length { get; }
... | 2.194288 | a10596a792f6b04fa12da87b81ed9ae3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837357 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ThunderSizzle/Thunder.WebView",
"max_stars_repo_path": "src/Thunder.WebView/Messaging/Errors/NoMatchingControllerFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156577"
} | starcoder | namespace Thunder.WebView.Messaging
{
public class NoMatchingControllerFoundException : HandleMessageException
{
public NoMatchingControllerFoundException(Message message)
: base($"No message handler matches the message's action of '{message.Action}'.")
{
}
}
} | 2.1953 | 6c01cc9b889dda9b6906ad6dd4c41b2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmmarko/MyTested.AspNetCore.Mvc",
"max_stars_repo_path": "src/MyTested.AspNetCore.Mvc.Abstractions/Utilities/ExpressionParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156578"
} | starcoder | <gh_stars>0
namespace MyTested.AspNetCore.Mvc.Utilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Internal.TestContexts;
/// <summary>
/// Utility class helping parsing expression trees.
/// </... | 2.450234 | 39f6ac942404615fa2d4e7baef582d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joel64M/Slot-Racer",
"max_stars_repo_path": "Assets/Scripts/CreateSidePath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156579"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PathCreation;
using PathCreation.Utility;
namespace NameSpaceName {
public class CreateSidePath : MonoBehaviour
{
#region Variables
public PathCreator pc;
#endregion
#region Builtin Methods
v... | 2.473206 | c41cfaf9918aa0c7c9f604165a4c31e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837360 | {
"extension": "c-sharp",
"max_stars_count": "364.0",
"max_stars_repo_name": "gr8kumar/OrionSDK",
"max_stars_repo_path": "Src/Contract/CertificateCredential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156580"
} | starcoder | <reponame>gr8kumar/OrionSDK
using System.Runtime.Serialization;
using System.Security.Cryptography.X509Certificates;
using System.ServiceModel;
using System.ServiceModel.Security;
namespace SolarWinds.InformationService.Contract2
{
[DataContract(Name = "Certificate", Namespace = "http://schema.solarwinds.com/2007/... | 2.027745 | f09aec323bf88d7c0d68caa11d32ae5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rschavali02/computer-game-simulation-programming",
"max_stars_repo_path": "2018/6th/New York State_Mt.Morris May Center/Journey To Fbla/Assets/Scripts/bugAttack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156581"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bugAttack : MonoBehaviour {
public GameObject player;
void OnTriggerStay2D(Collider2D other)
{
if (other.tag == "Player") {
PlayerController.glitched = true;
}
}
}
| 1.7412 | e30fcc35c177c92a3bbb3f66b2c8eaf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837362 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WildChild85/starbase-nexus-api",
"max_stars_repo_path": "starbase-nexus-api/Repositories/InGame/ShipShopSpotRepository.Interface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156582"
} | starcoder | using starbase_nexus_api.Entities.InGame;
using starbase_nexus_api.Models.Api;
using starbase_nexus_api.Models.InGame.ShipShopSpot;
using System.Threading.Tasks;
namespace starbase_nexus_api.Repositories.InGame
{
public interface IShipShopSpotRepository<EntityType> : IUuidBaseRepository<EntityType> where E... | 1.393631 | 038d80898523661bb3c4ede8389c901f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837363 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "DaniilSokolyuk/Foundatio.AWS",
"max_stars_repo_path": "tests/Foundatio.AWS.Tests/Storage/S3FileStorageConnectionStringBuilderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156583"
} | starcoder | <filename>tests/Foundatio.AWS.Tests/Storage/S3FileStorageConnectionStringBuilderTests.cs<gh_stars>10-100
using Foundatio.Storage;
using Xunit;
namespace Foundatio.AWS.Tests.Storage {
public class S3FileStorageConnectionStringBuilderTests : ConnectionStringBuilderTests {
protected override AmazonConnection... | 2.331738 | e9bb4a336c8342c84553c517252593b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837364 | {
"extension": "c-sharp",
"max_stars_count": "306.0",
"max_stars_repo_name": "andreujuanc/Kledex",
"max_stars_repo_path": "src/Kledex.Store.Cosmos.Mongo/Documents/AggregateDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156584"
} | starcoder | <filename>src/Kledex.Store.Cosmos.Mongo/Documents/AggregateDocument.cs
using MongoDB.Bson.Serialization.Attributes;
namespace Kledex.Store.Cosmos.Mongo.Documents
{
public class AggregateDocument
{
[BsonId]
[BsonElement("_id")]
public string Id { get; set; }
[BsonElement("type"... | 1.824624 | fff7a0dc24e4f9f6ba0f2bdc1919c9e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Halin-Lee/CSharpTestApp",
"max_stars_repo_path": "HelloWorld/WIndowsFormsApp/WindowsFormsApp/SendRequestFrom.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156585"
} | starcoder | namespace WindowsFormsApp
{
partial class SendRequestFrom
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.088382 | e2ceef3aa384d821e19d8e12c6d6b39d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837366 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Bakanych/commons-net",
"max_stars_repo_path": "test/ReportPortal.Shared.Tests/Extensibility/LogFormatter/LogFormatterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156586"
} | starcoder | using Moq;
using ReportPortal.Client.Abstractions.Requests;
using ReportPortal.Shared.Extensibility;
using ReportPortal.Shared.Tests.Helpers;
using System.Collections.Generic;
using Xunit;
namespace ReportPortal.Shared.Tests.Extensibility.LogFormatter
{
public class LogFormatterTest
{
[Fact]
p... | 1.759359 | 4085ba7e898cadb77460c34fa526a916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maor-eini/TweetAPI",
"max_stars_repo_path": "TweetApp.Data/Repositories/MongoDB/MongoDbRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156587"
} | starcoder | <gh_stars>0
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using TweetApp.Data.Repositories.Interfaces;
using TweetApp.Domain.Entities;
namespace TweetApp.Data.Repositories.MongoDB
{
public class MongoDbReposito... | 2.392166 | 3ab0d03cd1de8fd4b9f1b27c963e39d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837368 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HamidMolareza/AsynchronousClient",
"max_stars_repo_path": "Consoles-ManualTests/Listener/MyListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156588"
} | starcoder | <gh_stars>1-10
using System;
using System.Net.Sockets;
using System.Text;
using AsyncSocket;
namespace Listener {
public class MyListener : AsyncSocket.Listener {
public MyListener (int port = 11000, int numOfThreads = 25, int receiveTimeout = 5000) : base (port, numOfThreads, receiveTimeout) { }
p... | 2.565881 | 4bdd82e184c156877ce03516e6b0a8ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jackyyang09/TF2Ls-for-Unity",
"max_stars_repo_path": "Assets/TF2Ls for Unity/ModelTexturer/Editor/VMTPropOverrides.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156589"
} | starcoder | <filename>Assets/TF2Ls for Unity/ModelTexturer/Editor/VMTPropOverrides.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace TFTools
{
[CustomPropertyDrawer(typeof(VMTPropOverrides.ShaderOverride))]
public class ShaderOverrideDrawer : PropertyDrawer
... | 2.415316 | 52eab1cdf0a6347ccdcc5506c1ad5147 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brunobola/NetOffice",
"max_stars_repo_path": "Source/Publisher/DispatchInterfaces/Shape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156590"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.PublisherApi
{
///<summary>
/// DispatchInterface Shape
/// Suppor... | 1.511004 | 2d7f00801b1f7cbf312c2e889886cd73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abzylicious/advent-of-code-2020",
"max_stars_repo_path": "AdventOfCode/Day02/IPasswordPolicyValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156591"
} | starcoder | namespace AdventOfCode.Day02
{
public interface IPasswordPolicyValidator
{
bool IsValid(string password, PasswordPolicyToken passwordPolicyToken);
}
}
| 1.587847 | f0141b21b4f613c51c46ce9d82a4461a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noflashbang/odata.net",
"max_stars_repo_path": "src/Spatial/Microsoft/Spatial/GeometryPipeline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156592"
} | starcoder | // OData .NET Libraries
// Copyright (c) Microsoft Corporation. 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/LICE... | 2.561233 | 58e386753abfb977735b949c48bf09a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnt84/AnnualLeaveRequestTool",
"max_stars_repo_path": "AnnualLeaveRequestEFDAL/DataAccess/Interfaces/IAnnualLeaveRequestYearEFDataAccess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156593"
} | starcoder | <filename>AnnualLeaveRequestEFDAL/DataAccess/Interfaces/IAnnualLeaveRequestYearEFDataAccess.cs
using AnnualLeaveRequestEFDAL.Models;
namespace AnnualLeaveRequestEFDAL.DataAccess.Interfaces
{
public interface IAnnualLeaveRequestYearEFDataAccess
{
List<AnnualLeaveYear> GetAnnualLeaveYears();
Ann... | 2.164866 | 5927e760c8b38dc702c5fceeafd1e323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanIvTodorov/SoftUniEducation",
"max_stars_repo_path": "C#FundamentalsModule/2.DataTypesAndVariables/DataTypesAndVariables- Lab/ConcatNames/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156594"
} | starcoder | using System;
namespace ConcatNames
{
class Program
{
static void Main(string[] args)
{
string name = Console.ReadLine();
string secondN = Console.ReadLine();
string delimeter = Console.ReadLine();
Console.WriteLine($"{name}{delimeter}{secondN}"... | 2.856689 | 659c2ad5c6a10081f51996698b939045 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837375 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Igloo/IglooItemDropSound.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156595"
} | starcoder | // IglooItemDropSound
using ClubPenguin.Core;
using ClubPenguin.Igloo;
using ClubPenguin.ObjectManipulation.Input;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using UnityEngine;
internal class IglooItemDropSound : MonoBehaviour
{
public string SoundPath = "SFX/UI/Igloo/ItemDrop";
private ObjectMani... | 1.65087 | 9e8c4fe98f9c1f95c55950afd987f7d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/iqueryable-filter",
"max_stars_repo_path": "IQueryable.Filter.Tests/DbContext/NestedEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156596"
} | starcoder | <gh_stars>0
using IQueryable.Filter.Lib;
namespace IQueryable.Filter.Tests
{
public class NestedEntity
{
public int Id { get; set; }
[Filter(FieldName = "bar")]
public int Bar { get; set; }
}
} | 1.305069 | 2fc2d73731749f763e31f96615beaec2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837377 | {
"extension": "c-sharp",
"max_stars_count": "2653.0",
"max_stars_repo_name": "adamsitnik/command-line-api",
"max_stars_repo_path": "src/System.CommandLine.Rendering/Interop.Windows.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156597"
} | starcoder | <reponame>adamsitnik/command-line-api
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
namespace System.CommandLine.Rendering
{
internal static class ... | 1.567698 | c769ffe27017c87da929c55ff88b8d3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berkterek/Platformer2D__Yzl8402",
"max_stars_repo_path": "Platformer2d_Ylz8402/Assets/_GameFolders/Scripts/Abstracts/DataContainers/IPlayerDataContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156598"
} | starcoder |
using Platformer2d.ScriptableObjects;
namespace Platformer2d.Abstracts.DataContainers
{
public interface IPlayerDataContainer
{
IPlayerStats Stats { get; }
public int CurrentCoin { get; }
bool DecreaseCoin(int coinValue);
void IncreaseCoin(int coinValue);
IntEventWithO... | 1.841104 | b182bf7d957f80dd381902ecbfc865b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radpdf/samples",
"max_stars_repo_path": "CS_UI/App_GlobalResources/PdfWebControlResources.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156599"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | 1.919979 | db174ad1ed0723adb778b21a71e021a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837380 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sillsdev/PrimerPro",
"max_stars_repo_path": "PrimerProForms/FormSearchInsertionMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156600"
} | starcoder | <gh_stars>1-10
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using PrimerProObjects;
using PrimerProLocalization;
namespace PrimerProForms
{
/// <summary>
/// Summary description for FormSearchInsertionMode.
/// </summary>
public class FormSe... | 1.941454 | 42b2138ca82a17cdbf3876fb1d74fc34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "derekjwilliams/talks",
"max_stars_repo_path": "ndc-sydney-2016/NDC.Build.Forms.Core/Converter/StringToColorConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156601"
} | starcoder | <reponame>derekjwilliams/talks
using System;
using System.Globalization;
using Xamarin.Forms;
namespace NDC.Build.Forms.Core.Converter
{
public class StringToColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | 2.406049 | f12c44c91f27621a3e53def73561d73d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837382 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "justkao/Bolt",
"max_stars_repo_path": "src/Bolt.Client/ICloseable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156602"
} | starcoder | <reponame>justkao/Bolt
using System;
using System.Threading.Tasks;
namespace Bolt.Client
{
/// <summary>
/// Indicates that the object can be closed./>
/// </summary>
/// <remarks>
/// Supports async close operation.
/// </remarks>
public interface ICloseable : IDisposable
... | 2.469021 | 6117638e89a0e57fdd1e688c108b49b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lindellhugo/OpenRiaServices",
"max_stars_repo_path": "src/OpenRiaServices.Hosting.Wcf/Test/Configuration/DomainServiceHostingConfiguration_ServiceProviderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156603"
} | starcoder | <reponame>lindellhugo/OpenRiaServices
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenRiaServices.Client.Test;
using OpenRiaServices.Hosting.Wcf.Configuration.Internal;
using OpenRiaServices.Server;
namespace OpenRiaServices.Hosting.Wcf.Configuration
{
... | 2.025058 | 0d7ccac1c914a96d3e5456e944854c7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yrojasf/OneLine",
"max_stars_repo_path": "OneLine.Common/Models/Users/Login/LoginValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156604"
} | starcoder | using FluentValidation;
namespace OneLine.Models.Users
{
public class LoginValidator : AbstractValidator<ILogin>
{
public LoginValidator()
{
RuleFor(x => x.UserName)
.NotEmpty()
.WithMessage("UserNameIsRequired")
.MaximumLength(256)
... | 2.561067 | c4c72e254399ae37744ec7cae0a480c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837385 | {
"extension": "c-sharp",
"max_stars_count": "830.0",
"max_stars_repo_name": "ScriptBox99/RestEase",
"max_stars_repo_path": "src/Common/Implementation/ImplementationGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156605"
} | starcoder | <reponame>ScriptBox99/RestEase<filename>src/Common/Implementation/ImplementationGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using RestEase.Implementation.Analysis;
using RestEase.Implementation.Emission;
namespace RestEase.Implementation... | 2.288307 | 84e8c33375725403d281aa6fedd15991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HorseSport-achobanov/endurance-judge",
"max_stars_repo_path": "src/Gateways/Desktop/Core/Services/IMouseHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156606"
} | starcoder | using EnduranceJudge.Core.ConventionalServices;
using System.Windows.Input;
namespace EnduranceJudge.Gateways.Desktop.Core.Services
{
public interface IMouseHandler : IService
{
void HandleScroll(object sender, MouseWheelEventArgs scrollEvent);
}
}
| 1.366333 | 3b17cdbe92c0f293ba1382784b65cc0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AKOM-Studio/unity-atoms",
"max_stars_repo_path": "Source/Vector2/Vector2Vector2Event.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156607"
} | starcoder | <filename>Source/Vector2/Vector2Vector2Event.cs<gh_stars>1-10
using UnityEngine;
namespace UnityAtoms
{
[CreateAssetMenu(menuName = "Unity Atoms/Vector2/Event x 2", fileName = "Vector2Vector2Event", order = CreateAssetMenuUtils.Order.EVENTx2)]
public class Vector2Vector2Event : GameEvent<Vector2, Vector2> { }... | 1.770586 | ad1d3f150e9df5345eab20b2dcc87747 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimi3tron/Amazon.SQS.ExtendClient.Compression",
"max_stars_repo_path": "Amazon.SQS.ExtendClient.Compression/IMessageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156608"
} | starcoder | namespace Amazon.SQS.ExtendClient.Compression
{
public interface IMessageService
{
string ToRequestBody(string value);
string ToResponseBody(string value);
}
} | 1.553929 | 022bfa1a999ef988734697a8b7c6705e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837389 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "masroorhasan/Kubernetes.DotNet",
"max_stars_repo_path": "src/Kubernetes.DotNet/Model/V1beta1DaemonSetStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156609"
} | starcoder | <reponame>masroorhasan/Kubernetes.DotNet<gh_stars>10-100
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1.7.10
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using Syst... | 1.975324 | b3fcacb5137983ad1f77cc534a91ba67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837390 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dave-br/CSClassroom",
"max_stars_repo_path": "Services/src/CSClassroom/CSClassroom.WebApp/Controllers/QuestionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156610"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CSC.Common.Infrastructure.Utilities;
using CSC.CSClassroom.Model.Assignments;
using CSC.CSClassroom.Model.Users;
using CSC.CSClassroom.Service.Classrooms;
using CSC.CSClassroom.Service.Assignments;
using CSC.CSClassro... | 2.211753 | 2954e3a87a3169d3527ad37583f0da56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kirill-ivanov-a/programming-practice",
"max_stars_repo_path": "Second term/IoC/BlackJack/Outcome.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156611"
} | starcoder | <filename>Second term/IoC/BlackJack/Outcome.cs
namespace Blackjack
{
public enum Outcome
{
Win,
Lose,
Push,
Surrender
}
}
| 1.662836 | 302332b3d2b5d10ee559ae46cda89f7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MSAlih1/RiotCaller",
"max_stars_repo_path": "RiotCaller/NonStaticEndPoints/Game/Stats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156612"
} | starcoder | using Newtonsoft.Json;
namespace RiotCaller.EndPoints.Game
{
public class Stats
{
[JsonProperty("totalDamageDealtToChampions")]
public int TotalDamageDealtToChampions { get; set; }
[JsonProperty("item2")]
public int Item2 { get; set; }
[JsonProperty("goldEarned")]
... | 1.681617 | 88ec8f4951af55419a4287c6f4fa78aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837393 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Chillu1/GhostRecorder",
"max_stars_repo_path": "Assets/OPC/FPS/Scripts/OPC_MouseLook.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156613"
} | starcoder | using UnityEngine;
using System.Collections;
public class OPC_MouseLook : MonoBehaviour
{
public GameObject CameraObj;
public float lookSensitivity = 5;
public float lookSmoothDamp = 0.1f;
public float minXRotation = -90;
public float maxXRotation = 90;
float XRotation;
float YRotation;... | 2.736984 | 6a235c18c1f9bd10fa9054f119eceeb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PankajRawat333/MicrosoftAzureTrainingKit",
"max_stars_repo_path": "HOLs/HOL-TrafficManager-VS2012/Source/WorldApp/WorldApp/Controllers/AppHealthController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156614"
} | starcoder | namespace WorldApp.Controllers
{
using Microsoft.WindowsAzure;
using System.Web.Mvc;
using WorldApp.Services;
public class AppHealthController : Controller
{
public ActionResult Index()
{
string serviceUrlPrefix = CloudConfigurationManager.GetSetting("HostedServiceUrlPr... | 1.977924 | 36f111613a00d9c0f1766ed974fbc39a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JwanKhalaf/YeGods",
"max_stars_repo_path": "YeGods.Web/Views/Home/Glossary.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156615"
} | starcoder | @using YeGods.ViewModels
@model Dictionary<char, List<YeGods.ViewModels.GlossaryViewModel>>
@{
Layout = "_Layout";
}
<div class="content-page">
<header>
<div class="breadcrumbs">
<a asp-controller="Home" asp-action="Index" class="breadcrumb__item">Home</a> /
<a asp-controller="Home" asp-action="Gl... | 2.841376 | 0c86068df517a3358fef318a4ac0fa04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837396 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "DPS2004/quest",
"max_stars_repo_path": "EditorControls/RichTextControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156616"
} | starcoder | <filename>EditorControls/RichTextControl.xaml.cs<gh_stars>100-1000
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using TextAdventures.Utility.Language;
namespace TextAdventures.Quest.EditorControls
{
[Con... | 2.290823 | 1d8ff53ff68eb4f073938db0a91153eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jerysun/Azure_Cloud_Routines",
"max_stars_repo_path": "CosmosdbLite/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156617"
} | starcoder | using System;
using System.Linq;
using CosmosdbLite.Interface;
using CosmosdbLite.Model;
using CosmosdbLite.Service;
namespace CosmosdbLite
{
public class Program
{
private static string DatabaseeName = "maindb";
private static string ContainerName = "employee";
private static string F... | 2.992778 | 4e23d26ebac8f3d6efeb67d44525c0bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837398 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "isabella232/regtesting",
"max_stars_repo_path": "RegTesting.Mvc/Views/Testjobs/_PartialTestJob.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156618"
} | starcoder | <filename>RegTesting.Mvc/Views/Testjobs/_PartialTestJob.cshtml
@using RegTesting.Mvc.Models
@model TestJobModel
<div class="testjob @("testjob-state-" + Model.ResultCode)" data-tj="@Model.ID">
<div>
@if (Model.StartedAt.Value.Date.Equals(DateTime.Now.Date))
{
@Model.StartedAt.Value.ToShortTimeString()
}
e... | 2.22047 | e61e628c7bb517c1f502f15ac2ace364 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tianfengs/AbpPractice",
"max_stars_repo_path": "AOPPractice/AspectComposition/DynamicProxyComposeAspects/Aspect1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156619"
} | starcoder | using Castle.DynamicProxy;
using static System.Console;
namespace DynamicProxyComposeAspects
{
public class Aspect1 : IInterceptor
{
public void Intercept(IInvocation invocation)
{
WriteLine($"This is {nameof(Aspect1)}");
}
}
public class Aspect2 : IInterceptor
... | 2.468145 | f11cdbd47eff835fdf3f727da2d91efb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "201019-UiPath/PanebiancoJames-Project0",
"max_stars_repo_path": "GameKingdom/GameKingdomDB/Repos/ILocationRepo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156620"
} | starcoder | using GameKingdomDB.Models;
using System.Collections.Generic;
namespace GameKingdomDB.Repos
{
public interface ILocationRepo
{
void AddLocation(Location location);
Location GetLocationById(int id);
List<Location> GetAllLocations();
}
} | 2.019081 | b1c9e2eb877ac42bc591e719693a090a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837401 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "furkanisitan/dotnet-5-web-api-sample",
"max_stars_repo_path": "Shop.Entities/Concrete/Role.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156621"
} | starcoder | using Core.Entities;
using System.Collections.Generic;
namespace Shop.Entities.Concrete
{
public class Role : IEntity<int>
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<User> Users { get; set; }
}
}
| 2.023131 | e371b8bf3e0aa49c027c6622a32878ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837402 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "mariloutb/EntityFramework-Classic",
"max_stars_repo_path": "src/Misc/EFTools/XmlCore/Model/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156622"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Data.Tools.XmlDesignerBase.Model
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Xml.Linq;
/// <summary>
... | 2.298328 | 8c54b2eecc133856110564da78ae0183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RocketSurgeonsGuild/Microsoft.Extensions",
"max_stars_repo_path": "src/DependencyInjection.Abstractions/IServiceConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156623"
} | starcoder | <gh_stars>0
using Rocket.Surgery.Conventions;
namespace Rocket.Surgery.Extensions.DependencyInjection
{
/// <summary>
/// IServiceConvention
/// Implements the <see cref="IConvention{IServiceConventionContext}" />
/// </summary>
/// <seealso cref="IConvention{IServiceConventionContext}" />
pu... | 1.245824 | fa1aff05c5938c103579573bb011b0b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837404 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/EndToEndTests/Framework/Reliability/Logging/ConsoleLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156624"
} | starcoder | <gh_stars>100-1000
//---------------------------------------------------------------------
// <copyright file="ConsoleLogger.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------... | 2.293042 | d27d9ed5dfb2f193723d71980e939ef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hmohcine/MappingSPO",
"max_stars_repo_path": "MappingSPO/Entities/WingsSettingEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156625"
} | starcoder | <reponame>hmohcine/MappingSPO
namespace MappingSPO.Entities
{
public partial class WingsSettingEntity
{
public WingsSettingEntity()
{
SiteAna = 1;
ProcessPayments = false;
InitializePartial();
}
public int Id { get; set; }
public int CompanyId { ... | 1.256445 | 968378f7b1326adbe149e7a147991b5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tan840/BrainJam21",
"max_stars_repo_path": "Assets/Scripts/SoundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156626"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class SoundManager : MonoBehaviour
{
public static SoundManager instance;
public Sounds[] sounds;
/// <summary>
/// This class is used to control and play sounds in game
/// </summary... | 2.296938 | d8b220d4bae191521831519d5dbbfb88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayarafernandes/SampleEnergy",
"max_stars_repo_path": "src/Repository/ContractSQLite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156627"
} | starcoder | <filename>src/Repository/ContractSQLite.cs
using Sample.Energy.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
namespace Sample.Energy.Repository
{
public class ContractSQLite : IContractRepository
{
private const string SQL_SELECT_CONTRACT = "SE... | 2.65101 | 9b67d568592cfbce93a1d9edc40ac5d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arekbal/Steep",
"max_stars_repo_path": "Steep.Tests/loop_unrolling_tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156628"
} | starcoder | using NUnit.Framework;
using System;
using System.Threading.Tasks;
#if V0
using static Steep.LangExt;
namespace Steep.Tests
{
[TestFixture]
public class option_tests
{
struct Generic<T>
{
}
ValueTask<Option<int>> GetSomeOptionAsync()
{
var x = not(true);
var p = None;
re... | 2.411327 | 7b48e7e3f586a165c0429dea0dd348ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterbucher/silkveil",
"max_stars_repo_path": "silkveil.net Classic/silkveil.net.Contracts/DownloadVerifyingEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156629"
} | starcoder | <reponame>peterbucher/silkveil<filename>silkveil.net Classic/silkveil.net.Contracts/DownloadVerifyingEventArgs.cs
using silkveil.net.Contracts.Mappings;
using System;
using System.IO;
namespace silkveil.net.Contracts
{
/// <summary>
/// Contains the event args for the download verification event.
... | 2.173599 | cd5d6254b9bd8520b91197bfcd888ebb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837410 | {
"extension": "c-sharp",
"max_stars_count": "602.0",
"max_stars_repo_name": "eldin9999/Gibbed.Borderlands2",
"max_stars_repo_path": "projects/Gibbed.Borderlands2.GameInfo/Loaders/ItemDefinitionLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156630"
} | starcoder | /* Copyright (c) 2019 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 purpose,
... | 2.333756 | 6d87aea6481c64818452c6788898a6b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837411 | {
"extension": "c-sharp",
"max_stars_count": "281.0",
"max_stars_repo_name": "kmcinnomate/ODataSamples",
"max_stars_repo_path": "WebApiClassic/DynamicEdmModelCreation/DynamicEdmModelCreation/IHttpRequestMessageProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156631"
} | starcoder | <reponame>kmcinnomate/ODataSamples<filename>WebApiClassic/DynamicEdmModelCreation/DynamicEdmModelCreation/IHttpRequestMessageProvider.cs<gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
usin... | 1.548179 | 3c6c7a4af0939a1057ea63a9d580b281 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.