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 | 6737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArsenyN/spatiallite-net",
"max_stars_repo_path": "src/SpatialLite.Gps/Geometries/GpxTrack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6738"
} | starcoder | <filename>src/SpatialLite.Gps/Geometries/GpxTrack.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpatialLite.Core.Geometries;
namespace SpatialLite.Gps.Geometries {
/// <summary>
/// Represents a track - an order... | 2.800209 | 156dc97f6f5a30494b231109fad21f78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alan-null/Console",
"max_stars_repo_path": "Cognifide.PowerShell/Commandlets/Interactive/Messages/ShowApplicationMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6739"
} | starcoder | <reponame>alan-null/Console
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Management.Automation;
using System.Web;
using Sitecore.Data;
using Sitecore.Jobs.AsyncUI;
using Sitecore.Pipelines.SaveLayout;
using Sitecore.Shell.Framework;
using Sitecore.Text;
using ... | 1.816258 | 489b09a44240e460def87feb3b13d6aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6739 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "serset/Sqler",
"max_stars_repo_path": "Sqler/Module/Sqler/Logical/DataEditor/ConfigRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6740"
} | starcoder | using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using Vit.Core.Util.ComponentModel.Data;
using Vit.Core.Util.ComponentModel.Query;
using Vit.Extensions;
using Vit.Linq.Query;
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
using App.Module.AutoTemp.Logical.Repos... | 1.869581 | 7882b7986a91927bd1dd4965a58204d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnomalousMedical/Adventure",
"max_stars_repo_path": "DungeonGenerator/MapMeshPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6741"
} | starcoder | using Engine;
using System;
using System.Collections.Generic;
using System.Text;
namespace DungeonGenerator
{
public class MapMeshPosition
{
public MapMeshPosition(Vector3 position, Quaternion orientation)
{
Position = position;
Orientation = orientation;
}
... | 2.160881 | 487a2ed1bb65531549e82df889e0609b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tgassner/SPDPatientDocumentation",
"max_stars_repo_path": "SPDGUI/FinalReportControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6742"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using SPD.CommonObjects;
using SPD.Print;
using SPD.BL.Interfaces;
namespace SPD.GUI {
/// <summary>
///
/// </summary>
... | 2.235298 | 82be474f146a797b270ef2232ddf1dd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6742 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Esri/arcgis-samples-silverlight",
"max_stars_repo_path": "src/ArcGISSilverlightSDK/Toolkit/Scaleline.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6743"
} | starcoder | <reponame>Esri/arcgis-samples-silverlight
using System.Windows.Controls;
namespace ArcGISSilverlightSDK
{
public partial class Scaleline : UserControl
{
public Scaleline()
{
InitializeComponent();
}
}
}
| 1.082848 | 61bf35fb8a6020c29dba011d2636b1a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6743 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mspnp/mobile-web",
"max_stars_repo_path": "MileageStats.Web/ClientProfile/ProfileCookieEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6744"
} | starcoder | /*
Copyright Microsoft Corporation
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
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRAN... | 2.15703 | 87466c8a5cadde2014b51669e8e2fbce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darbio/Exceptionless",
"max_stars_repo_path": "Source/CodeSmith.Core/IO/LockBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6745"
} | starcoder | <reponame>darbio/Exceptionless<filename>Source/CodeSmith.Core/IO/LockBase.cs
//------------------------------------------------------------------------------
//
// Copyright (c) 2002-2014 CodeSmith Tools, LLC. All rights reserved.
//
// The terms of use for this software are contained in the file
// named sourcelice... | 2.618299 | ccc794e28aca1e00781e2dfd3e779cd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6745 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "olegip/Exceptionless",
"max_stars_repo_path": "Source/Clients/Extras/Extensions/ExceptionlessExtraConfigurationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6746"
} | starcoder | using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Exceptionless.Dependency;
using Exceptionless.Enrichments.Default;
using Exceptionless.Extras;
using Exceptionless.Extras.Storage;
using Exceptionless.Logging;
using Exceptionless.Stor... | 2.072961 | adf46006d14af6d77eb1a875c7352e0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6746 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "w4x/boolangstudio",
"max_stars_repo_path": "Source/BooLangService/BooLangService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6747"
} | starcoder | <filename>Source/BooLangService/BooLangService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Package;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TextManager.Interop;
using System.Drawing;
name... | 2.149705 | 37c22b8eb25d394920e8d806105a1618 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tuke307/MvvmCross",
"max_stars_repo_path": "Projects/Playground/Playground.Wpf.UI/Views/WindowView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6748"
} | starcoder | <gh_stars>0
using MvvmCross.Platforms.Wpf.Presenters.Attributes;
using MvvmCross.Presenters;
using MvvmCross.Presenters.Attributes;
using MvvmCross.ViewModels;
using Playground.Core.ViewModels;
namespace Playground.Wpf.UI.Views
{
public partial class WindowView : IMvxOverridePresentationAttribute
{
pu... | 1.471474 | ff75323ed37a45aebdf8909c2f56c487 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guardiannw/SqlServerAggregateFunctions",
"max_stars_repo_path": "SqlServerAggregateFunctions/Concat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6749"
} | starcoder | <reponame>Guardiannw/SqlServerAggregateFunctions
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.IO;
using System.Linq;
using Microsoft.SqlServer.Server;
namespace SqlServerAggregateFunctions
{
[Serializable]
[SqlUserDefinedAggregate(Format.UserDefined, MaxByteSize = -... | 2.682992 | 3079fb1b10c46e7f19d529059a8598f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "4vz/jovice",
"max_stars_repo_path": "Center/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6750"
} | 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-generate... | 1.848068 | dcac40bca6ba011395644e22a1d5848a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edgar1016/VnManager",
"max_stars_repo_path": "src/VnManager/Models/WikiData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6751"
} | starcoder | <reponame>edgar1016/VnManager<filename>src/VnManager/Models/WikiData.cs<gh_stars>0
// Copyright (c) micah686. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System.Xml.Serialization;
namespace VnManager.Models
{
[XmlRoot(ElementNam... | 1.793792 | 73e9364505d5321c2e19d4cd4565f812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philasmar/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/Lightsail/Generated/Model/CacheBehaviorPerPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6752"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 2.117388 | f7419173f3150c03fb92cc5326a77c26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6752 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sgisbert/parallelization",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6753"
} | starcoder | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using System.Diagnostics;
using System;
namespace parallel
{
class Program
{
static async Task Main(string[] args)
{
ConcurrentBag<int> cb = new... | 3.10011 | 34fa830015032a7f77cb5dd157fc7a1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6753 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "dbgate/datadmin",
"max_stars_repo_path": "SharpSSH/jsch/examples/AES.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6754"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using System.Windows.Forms;
/* AES.cs
* ====================================================================
* The following example was posted with the original JSch java library,
* and is translated to C# to show the usage of SharpSSH JSch API
* ==================... | 3.195347 | 7bac94adee192a1bfd1aaa8809243214 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoolPurist/TicTacToeWindow",
"max_stars_repo_path": "TicTacToeControl_XUnit/TicTacToeBoxUnit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6755"
} | starcoder | <filename>TicTacToeControl_XUnit/TicTacToeBoxUnit.cs
using System;
using Xunit;
using TicTacToeControl;
using TicTacToeControl.Model;
namespace TicTacToeControl_XUnit
{
public class TicTacToeBoxUnit
{
#region Tests
// Tests incomplete games (without draw or a win) in order to see
// if the right p... | 2.700157 | f811fe6fdb85ee6d9af5bc206a707e30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bocochocobo/PoeHUD_FullRareSetManager",
"max_stars_repo_path": "src/FullRareSetManager/Utilities/Mouse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6756"
} | starcoder | <reponame>bocochocobo/PoeHUD_FullRareSetManager
using System.Runtime.InteropServices;
using System.Threading;
using SharpDX;
namespace FullRareSetManager.Utilities
{
public class Mouse
{
public const int MOUSEEVENTF_LEFTDOWN = 0x02;
public const int MOUSEEVENTF_LEFTUP = 0x04;
public c... | 2.24506 | f868ce8ca4ffb5253dd661d56d42c2d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6756 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "tyama0x7f/IPA-DN-Cores",
"max_stars_repo_path": "Cores.NET/Cores.Web/Controllers/EmbedTest/EmbedTestController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6757"
} | starcoder | <filename>Cores.NET/Cores.Web/Controllers/EmbedTest/EmbedTestController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Ro... | 1.830389 | 3926bc6815a17a290672a7fdc6fc3283 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6757 | {
"extension": "c-sharp",
"max_stars_count": "2197.0",
"max_stars_repo_name": "joseocampo/samples",
"max_stars_repo_path": "framework/wcf/Extensibility/Instancing/Lifetime/CS/client/Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6758"
} | starcoder | // Copyright (c) Microsoft Corporation. All Rights Reserved.
using System;
using System.ServiceModel.Channels;
using System.ServiceModel;
namespace Microsoft.ServiceModel.Samples
{
[ServiceContract(SessionMode=SessionMode.Required)]
interface IEchoService
{
[OperationContract]
string Ec... | 2.704789 | d219db7b321c16c3558264eaf18e580f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6758 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "cgillum/durabletask-sqlserver",
"max_stars_repo_path": "test/DurableTask.SqlServer.Tests/Integration/Orchestrations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6759"
} | starcoder | namespace DurableTask.SqlServer.Tests.Integration
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using DurableTask.Core;
using DurableTask.SqlServer.Tests.Logging;
using DurableTask.SqlServer.Tests.Utils;
us... | 2.289374 | 995c513f459fb1d50db567b468fa307d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6759 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "csoap/csoap.github.io",
"max_stars_repo_path": "sourceCode/dotNet4.6/ndp/fx/src/AddIn/AddIn/System/Addin/ResourceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6760"
} | starcoder | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: ResourceProvider
**
** Purpose: Stores & retrieves resources for an add-in. May
** instantiate the ResourceManager in a new appdomain, etc.
**
===... | 2.388432 | b8e56c682064647059e32f6bbea43b7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6760 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "florianalexandermoser/YoutubePlaylistDownloader",
"max_stars_repo_path": "Famoser.YoutubePlaylistDownloader.Business/Repositories/VideoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6761"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Famoser.FrameworkEssentials.Logging;
using Famoser.YoutubePlaylistDownloader.Business.Enums;
using Famoser.YoutubePlaylistDownloader.Business.Helpers;
using Famoser.YoutubePlaylistDownloader.Business.Models;
using ... | 2.240955 | 7e1b98797ded62cb32023bd53472c0cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dancbre/MassTransit",
"max_stars_repo_path": "src/Containers/MassTransit.WindsorIntegration/Registration/WindsorContainerRegistrationConfigurator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6762"
} | starcoder | <reponame>dancbre/MassTransit
// Copyright 2007-2019 <NAME>, <NAME>, <NAME>, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
/... | 1.421966 | 5e353482ca83dfa1fbbf2ab59bdd0330 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "npolyak/NP.Concepts",
"max_stars_repo_path": "ValueHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6763"
} | starcoder | <filename>ValueHolder.cs
// (c) <NAME> 2013 - http://awebpros.com/
// License: Code Project Open License (CPOL) 1.92(http://www.codeproject.com/info/cpol10.aspx)
//
// short overview of copyright rules:
// 1. you can use this framework in any commercial or non-commercial
// product as long as you retain this copyr... | 2.770499 | e092f4737f5fbb497af1aac7ddde93a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6763 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "3F/IeXod",
"max_stars_repo_path": "src/Build.UnitTests/BackEnd/TaskHostFactory_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6764"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Copyright (c) <NAME> <<EMAIL>> github/3F
// Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
... | 1.87767 | edf286315e34adde21543481f7b90e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6764 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Executor-Cheng/ACRCloudSdkCore",
"max_stars_repo_path": "ACRCloudSdkCore/Exceptions/LimitExceededException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6765"
} | starcoder | using System;
namespace ACRCloudSdkCore.Exceptions
{
/// <summary>
/// The <see cref="LimitExceededException"/> is thrown when your account limit is exceeded.
/// </summary>
public class LimitExceededException : Exception
{
private const string DefaultMessage = "Limit exceeded.";
... | 2.797164 | 71ffd566daf6927970cac075efe92508 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DthRazak/Student-Success",
"max_stars_repo_path": "src/SST.Application/Subjects/Queries/GetSubjects/GetSubjectsQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6766"
} | starcoder | <reponame>DthRazak/Student-Success
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using Microsoft.EntityFrameworkCore;
using SST.Application.Common.Interfaces;
namespace SST.Application.Subjects.Queries.GetSubjects
{
... | 2.210014 | 894eafacf37eb78b6b4e10061a80e2af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6766 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbModel/DataContracts/Tags/TagUsageWithVotesContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6767"
} | starcoder | #nullable disable
using System;
using System.Linq;
using System.Runtime.Serialization;
using VocaDb.Model.DataContracts.Users;
using VocaDb.Model.Domain.Globalization;
using VocaDb.Model.Domain.Tags;
namespace VocaDb.Model.DataContracts.Tags
{
public class TagUsageWithVotesContract
{
public TagUsageW... | 2.041842 | aa995d5b2c77f7262cdd9086da77f7cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6767 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nikklassen/advent-of-code",
"max_stars_repo_path": "2017/day21_c#/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6768"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace day21_csharp
{
using Transform = Tuple<char[][,], char[,]>;
internal class Program
{
static void Main()
{
string[] lines = File.ReadAllLines("input");
Transf... | 3.262306 | ffd2342d3af478a59615eed3903ab108 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6768 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Peter-B-/DynamicData",
"max_stars_repo_path": "DynamicData/List/Internal/ReferenceCountTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6769"
} | starcoder | <reponame>Peter-B-/DynamicData
using System.Collections.Generic;
namespace DynamicData.List.Internal
{
/// <summary>
/// Ripped and adapted from https://clinq.codeplex.com/
///
/// Thanks dudes
/// </summary>
/// <typeparam name="T"></typeparam>
internal class ReferenceCountTracker<T>
... | 3.183397 | c41cae2e785b967d12a444907700fcfb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacknino/MessageSerializer",
"max_stars_repo_path": "MessageSerializerUnitTests/TestEndiannessRequiresReversal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6770"
} | starcoder | <reponame>jacknino/MessageSerializer
using System;
using System.Collections.Generic;
using MessageSerializer;
using NUnit.Framework;
namespace MessageSerializerUnitTests
{
[TestFixture]
public class TestEndiannessRequiresReversal
{
struct CurrentRequiredExpectedResult
{
public ... | 2.396221 | 8a8b2366161f837d40c20469e0fe95ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amit-mittal/Orchestration-Engine-V1",
"max_stars_repo_path": "RuntimeStore/RuntimeStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6771"
} | starcoder | <filename>RuntimeStore/RuntimeStore.cs
using System;
using System.Collections.Generic;
using System.Fabric;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Data.Collections;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabri... | 2.396212 | 917029029f20bf7f65f53c49b6cfb7cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6771 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "araobp/unity-excavator",
"max_stars_repo_path": "TotalStation/Assets/TotalStation/TotalStationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6772"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class TotalStationController : MonoBehaviour
{
public GameObject prism1;
public GameObject prism2;
public GameObject prism3;
public GameObject prism4;
public GameObject prism5;
public float legAngle = 30F;
public float legExtension = 0.6F;
... | 2.16878 | ce8246f035a43e6184c7734db21a3e82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrantzUml/SimpleSIMD",
"max_stars_repo_path": "SimpleSIMD/General/Any.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6773"
} | starcoder | using System;
using System.Numerics;
namespace SimpleSimd
{
public static partial class SimdOps<T>
{
public static bool Any<F1, F2>(in ReadOnlySpan<T> span, F1 vPredicate, F2 predicate)
where F1 : struct, IFunc<Vector<T>, bool>
where F2 : struct, IFunc<T, bool>
{
... | 2.783866 | b9ca4c95f22922c674b1259547b4d51c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6773 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dejangeci/SFML.Net",
"max_stars_repo_path": "src/Graphics/Transformable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6774"
} | starcoder | using System;
using SFML.Window;
using SFML.System;
namespace SFML
{
namespace Graphics
{
////////////////////////////////////////////////////////////
/// <summary>
/// Decomposed transform defined by a position, a rotation and a scale
/// </summary>
/// <remarks>
... | 2.793497 | 890573aff8b436857c9096eb38b42527 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6774 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "erenpinaz/Blogfolio",
"max_stars_repo_path": "Blogfolio.Web/App_Start/BundleConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6775"
} | starcoder | using System.Web.Optimization;
namespace Blogfolio.Web
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
#region Site
// Site style bundle
bundles.Add(new StyleBundle("~/assets/css/app")
.Include("~... | 1.83915 | 88f99e3373ff3cdbcaafda74b4721c50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6775 | {
"extension": "c-sharp",
"max_stars_count": "165.0",
"max_stars_repo_name": "Quartic-Coders/arcgis-pro-sdk-community-samples",
"max_stars_repo_path": "VoxelLayers/VoxelSample/Examples/Slice/DeleteSlice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6776"
} | starcoder | <reponame>Quartic-Coders/arcgis-pro-sdk-community-samples<filename>VoxelLayers/VoxelSample/Examples/Slice/DeleteSlice.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArcGIS.Core.CIM;
using ArcGIS.Core.Data;
using ArcGIS.Core.Geometry;
using A... | 1.863954 | 49133f6076cb6c4b96b418e8236eb9ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oiqasd/CSharp.NET.Util",
"max_stars_repo_path": "CSharp.Net.Standard.Util/Extensions/ObjectExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6777"
} | starcoder | using CSharp.Net.Standard.Util;
using System;
using System.Collections.Generic;
using System.Text;
public static class ObjectExtension
{
/// <summary>
/// 获取对象的属性值
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="Obj"></param>
/// <param name="colum"></param>
/// <retur... | 3.114022 | 7e2b4c11fb168af362a9ed4d6736c118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6777 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "zhouF96/webthing-csharp",
"max_stars_repo_path": "src/Mozilla.IoT.WebThing/Json/SchemaValidations/String/TimeSpanJsonSchemaValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6778"
} | starcoder | using System;
using System.Collections.Generic;
namespace Mozilla.IoT.WebThing.Json.SchemaValidations.String
{
/// <summary>
/// Represent <see cref="TimeSpan"/> json schema validation.
/// </summary>
public class TimeSpanJsonSchemaValidation : IJsonSchemaValidation
{
private readonly bool ... | 2.999738 | 147961851dd5e3796aa8a1f29e99c734 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aerooneqq/IntelligentComments",
"max_stars_repo_path": "src/dotnet/IntelligentComments.Tests/data/CSharp/Highlightings/0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6779"
} | starcoder | <reponame>aerooneqq/IntelligentComments
/// <summary>
/// sasdasa
/// </summary>
public class Test1
{
} | 0.983076 | 3a55e5053c3a672b3a92f3d1986627ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saicom/HTFramework",
"max_stars_repo_path": "RunTime/Debug/Component/DebuggerSkinnedMeshRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6780"
} | starcoder | using UnityEngine;
using UnityEngine.Rendering;
namespace HT.Framework
{
[CustomDebugger(typeof(SkinnedMeshRenderer))]
public sealed class DebuggerSkinnedMeshRenderer : DebuggerComponentBase
{
private SkinnedMeshRenderer _target;
public override void OnEnable()
{
_targ... | 2.317497 | b005553b183f8106f590119a792cb717 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6780 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "uxmal/reko-extras",
"max_stars_repo_path": "chunks/RewriterTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6781"
} | starcoder | <filename>chunks/RewriterTask.cs
using Reko.Core;
using Reko.Core.Expressions;
using Reko.Core.Memory;
using Reko.Core.Rtl;
using Reko.Core.Serialization;
using Reko.Core.Services;
using Reko.Core.Types;
using System;
using System.Collections.Generic;
using System.Linq;
namespace chunks
{
public abstract class Re... | 2.026231 | a8eb91e9871ad0b35f3ac1ec42ba6164 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6781 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yu3mars/procon",
"max_stars_repo_path": "aoj/2300s/2321/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6782"
} | starcoder | <reponame>yu3mars/procon
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _2321
{
class Program
{
static void Main(string[] args)
{
for (;;)
{
int n = int.Parse(Console.ReadLine());
if (n == ... | 2.775357 | 3779f371418f82454c5d650c5eae663a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chuong9x/DynamoUI",
"max_stars_repo_path": "packages/reactiveui-events.7.0.0/src/Events_IOS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6783"
} | starcoder | <reponame>chuong9x/DynamoUI
#pragma warning disable 1591,0618,0105,0672
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using ReactiveUI.Events;
using AVFoundation;
using GameKit;
using QuickLook;
using CoreFoundation;
using Foundation;
using AddressBookUI;
using Addre... | 1.447231 | effe04f686c5158db95dfd6c73c8e8e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yliu-d/pulumi-akamai",
"max_stars_repo_path": "sdk/dotnet/Properties/Outputs/GetPropertyRulesRuleResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6784"
} | starcoder | <gh_stars>0
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serializa... | 1.770326 | d1bb328d4c3888379108e442144502b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "orbital7/orbital7.rapidapp",
"max_stars_repo_path": "src/Orbital7.RapidApp/Models/TabsView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6785"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace Orbital7.RapidApp.Models
{
public class TabsView
{
public int SelectedIndex { get; private set; } = -1;
public List<RATabItem> Items... | 2.922979 | 3da637b2fbaa43befdad6ad64e676507 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JEBT28/AnalizadorLexico",
"max_stars_repo_path": "Lexico/ColumnaMatriz.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6786"
} | starcoder | namespace Compilador
{
class ColumnaMatriz
{
public string Simbolo { get; set; }
public int NumeroColumna { get; set; }
}
}
| 1.567105 | 3d4ac75b34f95185dd54188576ee7b20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtmt/study-cafu-roll-a-ball",
"max_stars_repo_path": "study-cafu-roll-a-ball-Unity/Assets/Scripts/Domain/Entity/IPointEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6787"
} | starcoder | namespace StudyCafuRollABall.Domain.Entity
{
public interface IPointEntity
{
int Value { get; }
IPointEntity Add(IPointEntity pointEntity);
}
} | 1.89097 | 6c7d0e540c62e09984b5ad55a215adcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "godzillar/RecipeApp",
"max_stars_repo_path": "RecipeApp.Service/Interfaces/Commands/ICommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6788"
} | starcoder | <reponame>godzillar/RecipeApp
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace RecipeApp.Service.Interfaces.Commands
{
/// <summary>
/// Generic interface used for implementing a command handler.
/// </summary>
/// <type... | 2.34194 | ffc4066f6596ff2e66f8aa4d5a5e6e12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsfop/SAEA",
"max_stars_repo_path": "Src/SAEA.Audio.Net/Base/NAudio/CoreAudioApi/AudioMeterInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6789"
} | starcoder | <filename>Src/SAEA.Audio.Net/Base/NAudio/CoreAudioApi/AudioMeterInformation.cs
using SAEA.Audio.Base.NAudio.CoreAudioApi.Interfaces;
using System.Runtime.InteropServices;
namespace SAEA.Audio.Base.NAudio.CoreAudioApi
{
public class AudioMeterInformation
{
private readonly IAudioMeterInformation audioMeterInform... | 2.205848 | 75747271ad2d26b9b6ac84e9cf943745 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hyd3r/Untitled-Game3d",
"max_stars_repo_path": "Assets/Scripts/MovementInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6790"
} | starcoder | <filename>Assets/Scripts/MovementInput.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(CharacterController))]
public class MovementInput : MonoBehaviour {
public float velocity = 9f;
public float jumpForce = 10f;
public float gravity =... | 2.217001 | 7476c56db0be9aef072f2730f2b4c6ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6790 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qgate/CMS",
"max_stars_repo_path": "Kooboo.CMS/Kooboo.eCommerce/Kooboo.CMS.eCommerce/Models/Catalog/Brand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6791"
} | starcoder | <gh_stars>1-10
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Common.Persistence.Relational;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threadin... | 1.905682 | 8d1bc7d6c7186ee51e3f409eae7f2d88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "justinlhudson/Impromptu",
"max_stars_repo_path": "C#/Impromptu/Utilities/Configuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6792"
} | starcoder | <reponame>justinlhudson/Impromptu
using System.Configuration;
namespace Impromptu.Utilities
{
public class Configuration
{
public static string SettingValue(string name)
{
var value = string.Empty;
if(ConfigurationManager.AppSettings[name] != null)
value... | 2.253512 | 0e5b537a82068920f8634df40fdadf54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duggaraju/MediaParser",
"max_stars_repo_path": "src/MP4Parser/BoxConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6793"
} | starcoder | //Copyright 2015 <NAME>
//
//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 law or agreed to in writing, s... | 2.20323 | 467f7327b2cf4d8f3c4218f1a34c0a97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6793 | {
"extension": "c-sharp",
"max_stars_count": "1335.0",
"max_stars_repo_name": "NguyenTri1455/ConfuserEx",
"max_stars_repo_path": "Confuser.Renamer/BAML/PropertyPath/IndexerParamInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6794"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Confuser.Renamer.BAML {
internal struct IndexerParamInfo {
// parse each indexer param "(abc)xyz" into two pieces - either can be empty
public string parenString;
public string valueStr... | 2.370802 | 8f7c1402be079a27ec8b97d05717c4b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitar-v/CSharp-OOP-Advanced",
"max_stars_repo_path": "11.Unit Testing - Lab/Lab/Skeleton/Hero.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6795"
} | starcoder | public class Hero
{
public Hero(string name, IWeapon weapon)
{
this.Name = name;
this.Experience = 0;
this.Weapon = weapon;
}
public string Name { get; }
public int Experience { get; private set; }
public IWeapon Weapon { get; }
public void Attack(ITarget target)... | 3.112723 | 66c39625995c710701860d682747a666 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zer0Ph34r/GUI_Branch",
"max_stars_repo_path": "Memoria/Engine/Data/ff9abil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6796"
} | starcoder | <reponame>Zer0Ph34r/GUI_Branch
using System;
using System.IO;
using System.Linq;
using Memoria;
// ReSharper disable InconsistentNaming
// ReSharper disable RedundantExplicitArraySize
// ReSharper disable EmptyConstructor
// ReSharper disable UnusedMember.Global
// ReSharper disable FieldCanBeMadeReadOnly.Global
nam... | 1.437294 | 77c6c3864794a26dd7bb391bb181ef08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "i8beef/I8Beef.UniFi.Video",
"max_stars_repo_path": "src/I8Beef.UniFi.Video/Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6797"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using I8Beef.UniFi.Video.Protocol;
using I8Beef.UniFi.Video.Protocol.Bootstrap;
using I8Beef.UniFi.Video.Protocol.Camera;
u... | 2.14204 | ce4bfd9eccefcf162f0dc4e7a709f0d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6797 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.Server.WorldServer/AI/Fights/Brain/Custom/Boss/HamrackBrain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6798"
} | starcoder | <reponame>Daymortel/Stump<filename>src/Stump.Server.WorldServer/AI/Fights/Brain/Custom/Boss/HamrackBrain.cs
using Stump.DofusProtocol.Enums;
using Stump.Server.WorldServer.AI.Fights.Actions;
using Stump.Server.WorldServer.Game.Actors.Fight;
using Stump.Server.WorldServer.Game.Spells;
using Stump.Server.WorldServer.AI.... | 2.150963 | 13763a4991dd2f506277b71c766a9597 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6798 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kmalinov/Telerik-Academy",
"max_stars_repo_path": "Homeworks/Homeworks C#1/Loops/16.TrailingZeroInN!/TrailingZeroInN!.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6799"
} | starcoder | <gh_stars>1-10
using System;
using System.Numerics;
class TrailingZeroInN
{
static void Main()
{
int N = int.Parse(Console.ReadLine());
BigInteger a = 1;
int count = 0;
for (int i = 1; i <= N; i++)
{
a *= i;
}
string b = a.ToString();... | 3.325302 | f9d1aa902070809b6b4253e1440842bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Ciastex/Centrifuge.GTTOD",
"max_stars_repo_path": "Centrifuge.GameSupport.GTTOD/Events/Args/TypeInstanceEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6800"
} | starcoder | using System;
using System.Collections.Generic;
namespace Centrifuge.GTTOD.Events.Args
{
public class TypeInstanceEventArgs<T> : EventArgs
{
public T Instance { get; }
public Dictionary<string, object> AdditionalData { get; }
public TypeInstanceEventArgs(T instance)
{
... | 2.155629 | a4f713191d91c8bc1abeeec560af3071 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nitin27may/angular-dotnet-core-docker",
"max_stars_repo_path": "Api/Application/Features/Contacts/Commands/CreateContact/CreateContactCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6801"
} | starcoder | using Application.Interfaces.Repositories;
using Domain.Entities;
using FluentValidation;
using Microsoft.EntityFrameworkCore.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Features.Contacts.Co... | 2.650086 | 5d044c288c18942edd0f23cf5f2288b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "espino316/RealSimpleNet",
"max_stars_repo_path": "RealSimpleNet/MVP/View.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6802"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using RealSimpleNet.Helpers;
namespace RealSimpleNet.MVP
{
public class View : Form
{
protected Model model;
public View()
{
}
public View(Model _model)
... | 2.648883 | 08178edf52460ba4b2f8e37a9910b038 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechtonicGroup/TGWiki",
"max_stars_repo_path": "Views/Upgrade/Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6803"
} | starcoder | <gh_stars>0
<!DOCTYPE html>
<html>
<head>
<title>Roadkill Upgrade</title>
<link rel="shortcut icon" href="@Url.Content("~/Assets/Images/favicon.png")" />
@Url.ScriptLink("jquery/jquery-1.8.0.js")
@Url.CssBundle()
@Url.BootstrapCSS()
@Url.BootstrapJS()
<style type="text/css">
#upgrade {
font-family: 'Helv... | 2.048751 | 295d5ab50f367018e009a48e62def957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "craiggwilson/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.Relational/RelationalConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6804"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Open Technologies, Inc. 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.Data;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
using JetB... | 1.800262 | 9a94a346c7dab8067b3865e87d3783bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PDNemesis/Simple.OData.Client",
"max_stars_repo_path": "src/Simple.OData.Client.Core/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6805"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Simple.OData.Client.Extensions;
namespace Simple.OData.Client
{
static class Utils
{
... | 2.718383 | e09948ee0b4197345651b91362897452 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hype8912/Oliviann",
"max_stars_repo_path": "source/Oliviann.Common/Collections/ObjectModel/ReadOnlyCollectionWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6806"
} | starcoder | <reponame>hype8912/Oliviann
#if NET35 || NET40
namespace Oliviann.Collections.ObjectModel
{
#region Usings
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Oliviann.Collections.Generic;
#endregion
/// <summary>
/// Represents a base class f... | 2.316158 | 892a807cbda13ff941cb1480af323ff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6806 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Yitzchok/PublicDomain",
"max_stars_repo_path": "src/PublicDomain/Feeder/DistilledFeed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6807"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace PublicDomain.Feeder
{
/// <summary>
///
/// </summary>
[CLSCompliant(false)]
public class DistilledFeed : CachedPropertiesProvider, IDistilledFeed
{
private IList<IDistilledFeedItem> m_items = new ... | 2.489889 | 3f6697ebbbdcc65cabbbf383dd8bbe81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6807 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "galich/SharpDevelop",
"max_stars_repo_path": "src/AddIns/DisplayBindings/FormsDesigner/Project/Src/Gui/ImageResourceEditorDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6808"
} | starcoder | <filename>src/AddIns/DisplayBindings/FormsDesigner/Project/Src/Gui/ImageResourceEditorDialog.Designer.cs
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Softw... | 1.348487 | 8332bb0f90390da5d89c155ebc885eb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmitry-merzlyakov/dependator",
"max_stars_repo_path": "Dependator.Core/NamedTypeSymbolFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6809"
} | starcoder | <reponame>dmitry-merzlyakov/dependator
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dependator.Core
{
public sealed class NamedTypeSymbolFinder
{
public I... | 2.28286 | f85cd24506ee0ce19ea8ce40fb1100d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrichem/SpecflowCodeAnalysis",
"max_stars_repo_path": "SpecFlowCodeAnalyzers/SpecFlowCodeAnalyzers.CodeFixes/ClassMustBePublicCodeFixProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6810"
} | starcoder | <reponame>adrichem/SpecflowCodeAnalysis<filename>SpecFlowCodeAnalyzers/SpecFlowCodeAnalyzers.CodeFixes/ClassMustBePublicCodeFixProvider.cs
namespace SpecFlowCodeAnalyzers.CodeFixes
{
using Adrichem.Test.SpecFlowCodeAnalyzers.CodeFixes.Helpers;
using Adrichem.Test.SpecFlowCodeAnalyzers.Common;
using Microso... | 2.260419 | 9c5604c668d3454a7f3f3e216881c0a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6810 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/CertificateAuthority/Inputs/CertificateTemplatePredefinedValuesArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6811"
} | starcoder | <reponame>sisisin/pulumi-gcp<filename>sdk/dotnet/CertificateAuthority/Inputs/CertificateTemplatePredefinedValuesArgs.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.C... | 1.485472 | 848307cd2f298c829557b10d9f4963f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6811 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arinsuga/kindup",
"max_stars_repo_path": "APPBASE/obj/Release/Package/PackageTmp/Views/User/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6812"
} | starcoder | @model APPBASE.Models.UserlistVM
@{
ViewBag.Title = "<NAME>";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Edit</h2>
@using (Html.BeginForm()) {
@Html.ValidationSummary(true)
<fieldset>
<legend><NAME></legend>
<div>@Html.LabelFor(model => model.DEPT_NM)</div>
<div>@Html... | 1.864585 | 38102bcafe48f862cb2f27a90f04c4e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6812 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amkherad/AMKs-Gear.net",
"max_stars_repo_path": "00-Core/Core/Utils/FloatingPointComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6813"
} | starcoder | using System.Collections.Generic;
using AMKsGear.Architecture;
using SMath = System.Math;
namespace AMKsGear.Core.Utils
{
public class FloatComparer : IComparer<float>, IEqualityComparer<float>
{
public static readonly FloatComparer Default = new FloatComparer();
private readonly float _epsilo... | 3.05302 | 58abdf71e375692c6f4c1249d9b61f0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6813 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "syncfusion/aspnet-mvc-ej1-demos",
"max_stars_repo_path": "Views/TagCloud/DatabindingOdata.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6814"
} | starcoder | @section SampleHeading{ <span class="sampleName">TagCloud-Remote Data-ASP.NET MVC-SYNCFUSION</span>}
@section ControlsSection{
<div class="controlframe" style="width: 350px;">
@Html.EJ().TagCloud("customerList").Datasource(d => d.URL("//js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/").Offline(false).CrossDo... | 2.043201 | 679699a3f37cb37267717a392e14c81a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6814 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "alelievr/Procedural-Worlds-Editor",
"max_stars_repo_path": "Assets/ProceduralWorlds/Editor/Utils/ProceduralWorldsSkin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6815"
} | starcoder | <reponame>alelievr/Procedural-Worlds-Editor<gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace ProceduralWorlds.Editor
{
public class PWGUISkin : IDisposable
{
GUISkin savedSkin;
static PWGUISkin instance;
static GUISkin proceduralWorldSk... | 2.315416 | e6381dd3ba39e9038398c5f20605f430 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6815 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YouenZeng/LeetCode",
"max_stars_repo_path": "LeetCode/Infra/HeapSort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6816"
} | starcoder | namespace LeetCode.Infra
{
public class HeapSort
{
private int[] arr;
public HeapSort(int[] arr)
{
this.arr = arr;
}
/**
* 堆排序的主要入口方法,共两步。
*/
public void sort()
{
/*
* 第一步:将数组堆化
* begi... | 3.530585 | eaabaf2e01ad1a51e93b5d95594af564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6816 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/Chaos/Common/Exceptions/ChaosInconsistentClusterSnapshotException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6817"
} | starcoder | <reponame>gridgentoo/ServiceFabricAzure
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ----------------------------------------------------... | 1.158772 | 1eb40d56ee8eddaa6f68f211a28558d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coderIML/NetOffice.net",
"max_stars_repo_path": "Source/MSHTML/Classes/HTMLTableRow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6818"
} | starcoder | <reponame>coderIML/NetOffice.net
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice;
namespace NetOffice.MSHTMLApi
{
#region Delegates
#pragma warning disable
public delegate void HTMLTableRow_onhelpEventHandler();
public delegate void HTMLTableRow_onclickEventHandler();
... | 1.03694 | b8954681869bbbfd9a0b81ed3bf2d985 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dragomirevgeniev/HackBulgaria",
"max_stars_repo_path": "Programming101-CSharp/week02/1.Tuesday/InflateARectangle/InflateARectangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6819"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace InflateARectangle
{
public class InflateARectangle
{
public static void Inflate(ref Rectangle rect, Size inflateSize)
{
Console.WriteL... | 3.672906 | 0123900993a0433fe27553a8a74dafbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanIvTodorov/SoftUniEducation",
"max_stars_repo_path": "C#FundamentalsModule/8.TextProcessing/TextProcessingMoreExercise/MultiplyBigNumber/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6820"
} | starcoder | <filename>C#FundamentalsModule/8.TextProcessing/TextProcessingMoreExercise/MultiplyBigNumber/Program.cs<gh_stars>0
using System;
using System.Linq;
using System.Text;
namespace MultiplyBigNumber
{
class Program
{
static void Main(string[] args)
{
string number = Console.ReadLine();... | 3.751834 | ec17702d98e54a6c58f1bcaa5d3fd493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unrebel007/Champy",
"max_stars_repo_path": "Asset/Assets/Art/Characters/Monster/PIDI Game Development Framework/PIDI - XFur Studio 2/Source Code/XFur Studio 2 Core/XFurStudioAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6821"
... | starcoder |
namespace XFurStudio2 {
using UnityEngine;
public static class XFurStudioAPI {
public enum PaintDataMode { FurMask, FurLength, FurThickness, FurOcclusion, FurColor, FurColorBlend, SnowFX, BloodFX, WaterFX, FurGrooming }
public static Material FillerMaterial, PainterMaterial, UnwrapMate... | 1.894736 | 4145d11f774db6bd0ba6ef976d565d0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nfleet/.net-sdk",
"max_stars_repo_path": "NFleetSDK.Example/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6822"
} | starcoder | <reponame>nfleet/.net-sdk<gh_stars>0
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Threading;
using NFleet.Data;
namespace NFleet.Example
{
public static class Program
{
private static readonly string url = "";
private static readonly... | 2.367677 | 539e96caae73e189546f6571c23a7343 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ohsorry/Box2DSharp",
"max_stars_repo_path": "test/UnityTest/Assets/Tests/DynamicTreeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6823"
} | starcoder | using System;
using Box2DSharp.Collision;
using Box2DSharp.Collision.Collider;
using Box2DSharp.Common;
using Box2DSharp.Dynamics.Internal;
using UnityEngine;
using Color = System.Drawing.Color;
using Random = System.Random;
using Vector2 = System.Numerics.Vector2;
namespace Box2DSharp.Tests
{
public class Dynamic... | 2.112086 | 7650312df7c4be3978338afd506a18d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UglyToad/DataTable",
"max_stars_repo_path": "UglyToad.DataTable/Exceptions/DuplicateMappingException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6824"
} | starcoder | <reponame>UglyToad/DataTable
namespace UglyToad.DataTable.Exceptions
{
using System;
using System.Runtime.Serialization;
[Serializable]
public class DuplicateMappingException<T> : Exception
{
public DuplicateMappingException()
: this("Duplicate Mapping for Type: " + typeof(T).N... | 2.530863 | 4d70c1fe573da469fd9229bd342ce686 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6824 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "kinifi/unity-extension-boilerplate",
"max_stars_repo_path": "Assets/EditorExtension/Editor/ExtensionDataClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6825"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenuAttribute(fileName = "Test Asset", menuName = "New Editor Test/Test Asset")]
public class ExtensionDataClass : ScriptableObject {
public string m_newName = "Chris";
}
| 1.308675 | 5d650eed62e1a5e51f5ba4f13e7ba555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6825 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "shaunsingh/Among_us_3DS",
"max_stars_repo_path": "Assets/scripts/player/player_ui_controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6826"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class player_ui_controller : MonoBehaviour {
[Header("only gets activated when imposter")]
public GameObject killButton;
[Header("arrays for buttons on the ui")]
public Sprite[] uiButtons;
public Image[] uiImages;
[Header("cooldowntext... | 2.114776 | a80ad9a26a337729750fed56226a7fce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6826 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "oswaldsql/Fiddler.UrlReplace",
"max_stars_repo_path": "UrlReplace.Core/StringArrayExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6827"
} | starcoder | // <copyright company="<NAME>">
// 2015 - 2019 <NAME>. All rights reserved.
// </copyright>
namespace UrlReplace.Core
{
internal static class StringArrayExtensions
{
internal static string TakeAndBlank(this string[] array, int index)
{
if (array.Length < index)
{
return string.Empty;
}
var res... | 2.65201 | dfc47944a85c79ea90b281db5aab2f34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6827 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "rwasef1830/MonBand",
"max_stars_repo_path": "src/MonBand.Core/Util/Threading/CrossProcessSignal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6828"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
namespace MonBand.Core.Util.Threading
{
public sealed class CrossProcessSignal : IDisposable
{
readonly EventWaitHandle _waitHandle;
public CrossProcessSignal(string eventName)
{
if (string.IsN... | 2.894049 | fbbd75cd24ab641df5657cca805a0734 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6828 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Dimashky/Quadcopter-Simulator",
"max_stars_repo_path": "Quadcopter Simulator/Quadcopter_Simulator/Graphics/Tree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6829"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... | 2.286647 | 5220a57cb43af496dd423089650a9fbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "judgie79/iGolfTournament",
"max_stars_repo_path": "Golf.Tournament/Views/Shared/EditorTemplates/Text.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6830"
} | starcoder | <filename>Golf.Tournament/Views/Shared/EditorTemplates/Text.cshtml
@using Golf.Tournament.Utility
@model object
<div class="controls">
@Html.TextBox(
"",
ViewData.TemplateInfo.FormattedModelValue,
ViewBag.ClearTextField == true ? new { @class = "form-control clear-text-field inp... | 2.215781 | c48c89f9c69c62df204d3ae3c9e3dc0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6830 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "awseward/bugsnag-dotnet",
"max_stars_repo_path": "SharedAssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6831"
} | starcoder | <gh_stars>1-10
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.11.1.0")]
[assembly: AssemblyFileVersion("0.11.1.0")]
[assembly: AssemblyInformationalVersion("0.11.1")]
| 1.013483 | 9c3e887f668bb29f68add9df88ba293a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6831 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "QutEcoacoustics/egret",
"max_stars_repo_path": "src/Egret.Cli/Models/Expectations/CentroidExpectation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6832"
} | starcoder | using Egret.Cli.Processing;
using LanguageExt;
using System.Collections.Generic;
using Egret.Cli.Models.Results;
namespace Egret.Cli.Models
{
public class CentroidExpectation : EventExpectation
{
public override string Name { get; init; } = "Centroid location";
public Centroid Centroid { get; ... | 2.006632 | 079da68ee59f394c565e6a113ae8bc36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rune-box/web",
"max_stars_repo_path": "src/RuneBox.Web/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6833"
} | starcoder | var builder = WebApplication.CreateBuilder( args );
// Add services to the container.
builder.Services.AddControllersWithViews();
builder.Services.AddSingleton<IConfiguration>( builder.Configuration );
// session-1
builder.Services.AddDistributedMemoryCache();
builder.Services.AddSession( options => {
options.IdleTi... | 1.673941 | d9fcce5627131496a1a32dd06c778f7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atanas-georgiev/TelerikAcademy",
"max_stars_repo_path": "17.ASP.NET-MVC/Homeworks/04. Working-with-Data/Tweeter.Mvc/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6834"
} | starcoder | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Tweet system</h1>
</div>
| 1.569331 | 5258332d9f67e56a9ea1871239298daa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TU-Blueberry/unityberry",
"max_stars_repo_path": "Assets/BerrySort/Scripts/Sorter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6835"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Berries;
public class Sorter : MonoBehaviour
{
// --- Control ---
public bool move = false;
// --- Animation ---
float elapsed = 0f;
public float backwardsMomentum;
public float forwardMomentun;
public fl... | 2.215273 | 892696511a8cb98483d0853c4c2215ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Morganeon/Codalium-Server",
"max_stars_repo_path": "GameServer/NavigationThread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6836"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GameServer
{
class NavigationThread
{
static List<Tuple<string, Vector3, Vector3,long>> requests;
... | 2.34276 | 37d7061aff0f31a3f9794f41c466466f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MelonSmasher/Teams.Webhook",
"max_stars_repo_path": "src/Teams.Webhook/Action.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6837"
} | starcoder | <filename>src/Teams.Webhook/Action.cs
using Newtonsoft.Json;
namespace Teams.Webhook
{
public abstract class Action
{
[JsonProperty("@type")]
public string Type { get; }
public string Name { get; }
protected Action(string type, string name)
{
... | 2.561447 | c8d6bc615c21cdc37097ad1d7010df62 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.