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 | 68305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "utopiaJonas/MVCDemoRibbon",
"max_stars_repo_path": "MVCDemoRibbon/Controller/AMainController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68306"
} | starcoder | <reponame>utopiaJonas/MVCDemoRibbon
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MVCDemoRibbon.Broker.Control;
using MVCDemoRibbon.Broker.View;
using MVCDemoRibbon.View;
using Jonas.Common;
namespace MVCDemoRibbon... | 1.621419 | f50fb6210e74f94b81449063ff8e3749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68306 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/Jobs/V3/Inputs/CompensationInfoArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68307"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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.Serialization;
namespace Pulumi.Goog... | 1.926405 | 609dca9e0c506ae38d0635a41a7cbeb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JayChenFE/designPattern_examples",
"max_stars_repo_path": "code/08_abstractFactory/Softo/FactorySalary/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68308"
} | starcoder | <reponame>JayChenFE/designPattern_examples
using System;
using System.Reflection.Metadata;
namespace FactorySalary
{
class Program
{
static void Main(string[] args)
{
Bonus bonus = new Factory().CreateBonus();
double bonusValue = bonus.Calculate();
Tax tax ... | 3.360761 | 3fcc96b24b8339a7bcac4f18966ee9e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68308 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HavenDV/H.ProxyFactory",
"max_stars_repo_path": "src/apps/H.ProxyFactory.Apps.Wpf/ClientWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68309"
} | starcoder | <reponame>HavenDV/H.ProxyFactory
using System.Windows;
using H.ProxyFactory.TestTypes;
namespace H.ProxyFactory.Apps.Wpf;
public partial class ClientWindow
{
#region Properties
private PipeProxyFactory Factory { get; }
private ISimpleEventClass? Instance { get; set; }
#endregion
#region Constr... | 2.558626 | 378046e5a529eeea1e6184c22bd00e16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68309 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "denis417/ForTea",
"max_stars_repo_path": "Backend/ForTea.Core/Parsing/T4FilteringLexer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68310"
} | starcoder | using JetBrains.Annotations;
using JetBrains.ReSharper.Psi.Parsing;
namespace GammaJul.ForTea.Core.Parsing
{
/// <summary>Lexer filtering whitespaces.</summary>
internal sealed class T4FilteringLexer : FilteringLexer
{
public T4FilteringLexer([NotNull] ILexer lexer) : base(lexer)
{
}
protected override boo... | 2.032604 | f7f1d41f4d2ef0444b6e7c1de9308f33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrankNgo/GummiBear",
"max_stars_repo_path": "GummiBear/GummiBear/Controllers/ReviewsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68311"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using GummiBear.Models;
namespace GummiBear.Controllers
{
public class ReviewsController : Controller
... | 2.35285 | 3ac48c0d86157425ab4add79ce4d735e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68311 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "foursquare/pilgrim-unity-sdk",
"max_stars_repo_path": "Runtime/Platforms/PilgrimClientFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68312"
} | starcoder | namespace Foursquare
{
public static class PilgrimClientFactory
{
public static IPilgrimClient PilgrimClient()
{
#if UNITY_EDITOR
return new EditorClient();
#elif UNITY_IOS
return new Foursquare.iOS.PilgrimClient();
#elif UNITY_ANDROID
return new Foursquare.... | 1.796271 | 47c1968bd0f5f3b45ca221814371e12d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tipstrade/TipsTrade-HMRC",
"max_stars_repo_path": "Tests/CreateUserTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68313"
} | starcoder | using Newtonsoft.Json;
using TipsTrade.HMRC.Api.CreateTestUser;
using TipsTrade.HMRC.Api.CreateTestUser.Model;
using Xunit;
using Xunit.Abstractions;
namespace TipsTrade.HMRC.Tests {
public class CreateUserTests : TestBase {
public CreateUserTests(ITestOutputHelper output) : base(output) {
}
private vo... | 2.107209 | 459748e1d6f17e9cfebdd86ce85025de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Geo3gamer/OpenPDN",
"max_stars_repo_path": "src/tools/ColorPickerTool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68314"
} | starcoder | <reponame>Geo3gamer/OpenPDN<filename>src/tools/ColorPickerTool.cs
/////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, <NAME>, <NAME>, and contributors. //
// Portions Copyr... | 2.215458 | e4cc62f9ad394a36b24ca0f68db7731e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68314 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "dogtail9/ProjectTemplateTutorial",
"max_stars_repo_path": "Source/ProjectTemplateTutorial.VSIXProject/Wizards/SolutionWizard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68315"
} | starcoder | using Microsoft.VisualStudio.TemplateWizard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using System.IO;
using EnvDTE100;
using ProjectTemplateTutorial.VSIXProject.Dialogs;
using Microsoft.VisualS... | 1.93031 | c1e4101bc8600652c41721ae0459f1ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FellowshipOfTheGame/anathema",
"max_stars_repo_path": "Anathema/Assets/Scripts/Player/AirFireAttack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68316"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Anathema.Player
{
public class AirFireAttack : Anathema.Fsm.PlayerState
{
[Tooltip("The horizontal position of the fire")]
[SerializeField] private float fireRange;
[Tooltip("The vertical position of the fire.")]
[Seri... | 2.140665 | fba65453099e33333652865f02ad8b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68316 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Wpf/3DOverview/CSharp/Window1.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68317"
} | starcoder | <filename>snippets/csharp/VS_Snippets_Wpf/3DOverview/CSharp/Window1.xaml.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Media3D;
using System.Windows.Media.Animation;
using System.Win... | 2.464089 | 692827650926ff4e3e0ae84f5b426969 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trixtur/CsBot",
"max_stars_repo_path": "src/CsBot/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68318"
} | starcoder | <gh_stars>0
namespace CsBot
{
static class Constants
{
public const string SettingsFile = "settings.json";
public const string IrcConfigLocationKey = "IrcConfig";
public const string PING = "PING :";
public const string PONG = "PONG :";
public const string NICK = "NICK :";
}
}
| 1.024612 | 57492539d3f72b1c4edee259d7798c2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68318 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mrstebo/FluentSwitch",
"max_stars_repo_path": "src/FluentSwitch/FluentSwitchValueBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68319"
} | starcoder | using System;
namespace FluentSwitch
{
internal class FluentSwitchValueBuilder<TEnum, TOutput> : IFluentSwitchBuilder<TEnum, TOutput>
{
public FluentSwitchValueBuilder(TEnum inputValue, TOutput defaultValue = default(TOutput))
{
InputValue = inputValue;
DefaultValue = d... | 2.979632 | d85666e36b77166bcbf55eff2396b2c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dansav/neural-networks-from-scratch-net",
"max_stars_repo_path": "NeuralNetworksFromScratch/Layers/SoftmaxActivation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68320"
} | starcoder | using System;
using System.Linq;
namespace NeuralNetworksFromScratch
{
public class SoftmaxActivation : ILayer
{
// probabilities
public float[][] Output { get; private set; } = Array.Empty<float[]>();
public static float[] Softmax(float[] input)
{
var exp = Expone... | 3.247893 | 18f6edb1a72261cf88ebd2984f678898 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68320 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timmychan97/HexagonTowerDefense",
"max_stars_repo_path": "Assets/Scripts/InGame/Interfaces/IAffectable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68321"
} | starcoder | <reponame>timmychan97/HexagonTowerDefense<filename>Assets/Scripts/InGame/Interfaces/IAffectable.cs
public interface IAffectable
{
void TakeEffect(Effect effect);
void RemoveEffect(Effect effect);
}
| 1.665519 | 569e657b15932da7157663c748385770 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68321 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "MiruFx/Miru",
"max_stars_repo_path": "samples/Playground/src/Playground/Domain/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68322"
} | starcoder | using Miru.Userfy;
namespace Playground.Domain
{
public class User : UserfyUser
{
public override string Display => Email;
}
}
| 1.637948 | 2d72e74a64c8e37741b6a06b58bb5fb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68322 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shiftkey/MahTweets.LawrenceHargrave",
"max_stars_repo_path": "MahTweets.Core/Events/EventTypes/ShowLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68323"
} | starcoder | <gh_stars>1-10
namespace MahTweets.Core.Events.EventTypes
{
public class ShowLink : CompositePresentationEvent<Link>
{
}
} | 1.053871 | bc180bf83ae77593638c2f508e44ca0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68323 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Saritasa/SaritasaTools",
"max_stars_repo_path": "src/Saritasa.Tools.Common/Pagination/IMetadataDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68324"
} | starcoder | <filename>src/Saritasa.Tools.Common/Pagination/IMetadataDto.cs<gh_stars>10-100
// Copyright (c) 2015-2019, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
namespace Saritasa.Tools.Commo... | 2.38447 | 26d549110d0ddc8f300d299b5b595871 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68324 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "YellowberryHN/LSRutil.NET",
"max_stars_repo_path": "RF/RfReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68325"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Text;
namespace LSRutil.RF
{
/// <summary>
/// Class for reading RFH/RFD files.
/// </summary>
public class RfReader
{
private Stream headerStream;
private BinaryReader headerReader;
private Stream dataStream;
... | 3.031885 | ab8d280d1e493ec1724f849edb0e49ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "isaacandy/ispyconnect",
"max_stars_repo_path": "iSpyApplication/MP3Stream/WaveStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68326"
} | starcoder | <gh_stars>1-10
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
// This material may not be duplicated in whole or in part, exc... | 2.714627 | 3475c42affa54d8fa80b1ee45292543f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wiltaylor/TimeLapse",
"max_stars_repo_path": "ChronoConverter/frmMain.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68327"
} | starcoder | namespace ChronoConverter
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 2.341764 | ce6c287084da9edeb069ab70d5281c47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68327 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "normalform/ndarraynet",
"max_stars_repo_path": "src/NdArrayUnitTest/NdArrayImpl/IndexFunctionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68328"
} | starcoder | <gh_stars>1-10
// <copyright file="IndexFunctionTests.cs" company="NdArrayNet">
// Copyright(c) 2019, <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source... | 2.120018 | 77dc00c15840348669cf2239cc258b55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68328 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "cstrahan/codecampserver",
"max_stars_repo_path": "src/UnitTests/TestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68329"
} | starcoder | using Rhino.Mocks;
namespace CodeCampServer.UnitTests
{
public abstract class TestBase
{
/// <summary>
/// Create a mock
/// </summary>
/// <typeparam name="T">Type to be mocked</typeparam>
/// <param name="argumentsForConstructor">Constructor arguments</param>
/// <returns>TMessage</returns>
... | 2.569786 | 99e4915cf1386bea3256824ff0b3e15c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrfrayfeed/FinderPro",
"max_stars_repo_path": "FinderPreview/Assets/FinderPro/FinderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68330"
} | starcoder | <reponame>mrfrayfeed/FinderPro<filename>FinderPreview/Assets/FinderPro/FinderExtensions.cs
#if UNITY_EDITOR
using System;
using UnityEditor;
using UnityEngine;
namespace Finder {
public static class FinderExtensions {
public static Type GetTrueType (this UnityEngine.Object obj) {
if (obj is Mon... | 1.752454 | fca08a5df225a0698461e032a859555a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roberto-mardeni/app-office-locator",
"max_stars_repo_path": "src/OfficeLocator/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68331"
} | starcoder | <filename>src/OfficeLocator/App.xaml.cs<gh_stars>0
using OfficeLocator.Pages;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace OfficeLocator
{
public partial class App : Application
{
public App()
{
Ini... | 2.325555 | a2a41605a1d00da14d6c455271b38c34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68331 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "scottluskcis/azure-function-di",
"max_stars_repo_path": "src/FunctionApp1/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68332"
} | starcoder | <gh_stars>1-10
using System;
using FunctionApp1.Application;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
[assembly: FunctionsStartup(typeof(FunctionApp1.Startup))]
namespace FunctionApp1
{
public class S... | 2.006058 | 0ab9c9070db4e33a95d3708a5bdcb12c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reyou/Ggg.RabbitMQ",
"max_stars_repo_path": "apps/app-docs/rabbitmq.com/tutorials/tutorial-two-dotnet/NewTask/NewTaskConsole/Worker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68333"
} | starcoder | using System;
using System.Text;
using RabbitMQ.Client;
using TestUtilities;
namespace NewTaskConsole
{
internal class Worker
{
public static void Main2()
{
string[] args = { "a", "b", "c" };
string message = GetMessage(args);
byte[] body = Encoding.UTF8.Get... | 2.886771 | 9331c8a3cae3bb710fff2a9f22ae1a14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68333 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Tiimber/what-are-you-carrying-sir",
"max_stars_repo_path": "Assets/TouchKit/Recognizers/TKAbstractGestureRecognizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68334"
} | starcoder | <reponame>Tiimber/what-are-you-carrying-sir
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public enum TKGestureRecognizerState
{
Possible, // we havent started yet and we are still listening
Began, // we have started and latched at least one finger
FailedOrEnded, // ... | 2.498748 | 97d1e27d874a89bfc165bae9ae5ca7cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68334 | {
"extension": "c-sharp",
"max_stars_count": "322.0",
"max_stars_repo_name": "jairbubbles/csharp-language-server-protocol",
"max_stars_repo_path": "test/Lsp.Integration.Tests/Fixtures/IConfigureLanguageProtocolFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68335"
} | starcoder | using OmniSharp.Extensions.JsonRpc.Testing;
namespace Lsp.Tests.Integration.Fixtures
{
public interface IConfigureLanguageProtocolFixture
{
JsonRpcTestOptions Configure(JsonRpcTestOptions options);
}
} | 0.868801 | 2b0041c6302148f7c08368695edda98b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/part/src/files/x/MaxLineLength.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68336"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
partial class XFs
{
public static TextFileStats FileStats(this FS.FilePa... | 1.481727 | d6d5735932c9ea687b7616abbd7914a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrsalmon1976/IISLogReader",
"max_stars_repo_path": "source/IISLogReader/Views/Project/_ProjectFileTab.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68337"
} | starcoder | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<IISLogReader.ViewModels.Project.ProjectViewViewModel>
<div id="grid-project-files"></div>
| 0.940441 | 2800a26ab8a7b348c1f92e570fc92a66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codescene-org/das-assessor-service",
"max_stars_repo_path": "src/SFA.DAS.AssessorService.Application.Api/Controllers/OppFinder/OppFinderController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68338"
} | starcoder | using System;
using System.Net;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SFA.DAS.AssessorService.Api.Types.Models;
using SFA.DAS.AssessorService.Application.Api.Middleware;
using SFA.DAS.AssessorServ... | 1.87732 | 5f7877d2c3f20fac82a5ab60a6b0dd93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neronotte/Greg.Xrm",
"max_stars_repo_path": "src/Greg.Xrm.EnvironmentSolutionsComparer/Views/Solutions/SolutionGrid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68339"
} | starcoder | <filename>src/Greg.Xrm.EnvironmentSolutionsComparer/Views/Solutions/SolutionGrid.cs
using System.Collections.Generic;
namespace Greg.Xrm.EnvironmentSolutionsComparer.Views.Solutions
{
public class SolutionGrid
{
public SolutionGrid()
{
this.Environments = new List<ConnectionModel>();
this.Rows = new List<... | 2.103278 | 1c3b258049c1ea51fb5ee3729dd33e14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68339 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "govorovvs/Quarks.CQRS",
"max_stars_repo_path": "tests/ServiceCollectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68340"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Quarks.CQRS.Impl;
namespace Quarks.CQRS.Tests
{
[TestFixture]
public class ServiceCollectionTests
{
[Test]
public void Can_Be_Used_With_ServiceCollection()
{
var services = new S... | 1.906733 | c7076d9ad98a497c3f881ecf3b0e8fce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "p-hu/CSharp-AES-CTR-NetStandard",
"max_stars_repo_path": "tests/AES-CTR_tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68341"
} | starcoder | using NUnit.Framework;
using System.IO;
using CS_AES_CTR;
using System;
using System.Threading.Tasks;
namespace Tests
{
public class ValidityTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Known_CTR_AES128EncryptTest()
{
// Arrange
// These are from https://nvlpubs.nist.gov/nistpub... | 2.29126 | 2127ac0f783fbb64a902cbf2ef7eea7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68341 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xdreamboy2x/QFramework",
"max_stars_repo_path": "Framework/0.PackageKit/EasyIMGUI/View/Toolbar/ToolbarView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68342"
} | starcoder | <filename>Framework/0.PackageKit/EasyIMGUI/View/Toolbar/ToolbarView.cs
/****************************************************************************
* Copyright (c) 2018 ~ 2020.10 liangxie
*
* https://qframework.cn
* https://github.com/liangxiegame/QFramework
* https://gitee.com/liangxiegame/QFramework
*
* Per... | 2.122704 | 8a6e27d733341b2115fdb61178ecbb98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68342 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kanadaj/apm-agent-dotnet",
"max_stars_repo_path": "src/Elastic.Apm/Api/IError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68343"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
namespace Elastic.Apm.Api
{
/// <summary>
/// Represents an error which was captured by the agent.
/// </summar... | 1.972972 | cd2675551dc954f9b59eb8f67367ec05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichyBaldwin/BullOak.Repositories.EventStore",
"max_stars_repo_path": "src/BullOak.Repositories.EventStore/Streams/IStreamReaderStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68344"
} | starcoder | namespace BullOak.Repositories.EventStore.Streams
{
using System.Collections.Generic;
using System.Threading.Tasks;
using global::EventStore.ClientAPI;
using Metadata;
internal interface IStreamReaderStrategy
{
long NextSliceStart { get; }
Task<StreamEventsSlice> GetCurrentSlic... | 1.837733 | 1d1d205cca1d065d1d8f5781167a32b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68344 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.Server.WorldServer/game/Dialogs/RequestBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68345"
} | starcoder | #region License GNU GPL
// RequestBox.cs
//
// Copyright (C) 2013 - BehaviorIsManaged
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free Software Foundation;
// either version 2 of the License, or (at your optio... | 1.896338 | 029c00a9037fc711eeb15540d3077b42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skotl/netdaemon_v2",
"max_stars_repo_path": "src/DaemonRunner/DaemonRunner/Service/App/DaemonCompiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68346"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Loader;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microso... | 2.119759 | 7c44114fc12b6b98383d225b0c018754 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68346 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "xamarin/amazon",
"max_stars_repo_path": "AWSSDK/Amazon.AutoScaling/Model/UpdateAutoScalingGroupRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68347"
} | starcoder | /*
* Copyright 2010-2012 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 "l... | 1.912134 | 75aa01d2f641fe3bcd8b3db10a05768a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangming2/zhangming2",
"max_stars_repo_path": "WaterCloud/WaterCloud.Repository/SystemSecurity/LogRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68348"
} | starcoder | /*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website:
*********************************************************************************/
using WaterCloud.DataBase;
using WaterClou... | 1.430839 | 4ab2b8196506f424aad87b0eda344624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68348 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mgoertz-msft/maui",
"max_stars_repo_path": "src/Core/src/Platform/Android/MauiAppCompatActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68349"
} | starcoder | <gh_stars>1-10
using System;
using Android.OS;
using Android.Views;
using AndroidX.AppCompat.App;
using AndroidX.AppCompat.Widget;
using AndroidX.CoordinatorLayout.Widget;
using Google.Android.Material.AppBar;
namespace Microsoft.Maui
{
public partial class MauiAppCompatActivity : AppCompatActivity
{
protected ove... | 1.86082 | a2da00fb588cee234a85d266fb24306b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68349 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "prog76/csexwb2",
"max_stars_repo_path": "General_Interfaces/IHTMLOMWindowServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68350"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace IfacesEnumsStructsClasses
{
#region IHTMLOMWindowServices Interface
[ComVisible(true), ComImport()]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3050f5fc-98b5-11cf-bb82-00aa00bdc... | 1.668946 | a0e59c36f5dc7b9bd82481e7030a63fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amadare42/ftk-amadare-plugin",
"max_stars_repo_path": "Features/Loadouts/LoadoutManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68351"
} | starcoder | <reponame>amadare42/ftk-amadare-plugin
using System.Collections.Generic;
using System.Linq;
using AmadarePlugin.Common;
using AmadarePlugin.Extensions;
using AmadarePlugin.Features.Loadouts.Sync;
using AmadarePlugin.Features.Loadouts.UI;
using GridEditor;
using LoadoutDict = System.Collections.Generic.Dictionary<Playe... | 1.708925 | 3c4345068a2e2dbd68bd5bfb850bc40a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InsonusK/gRPC.Select",
"max_stars_repo_path": "gRPC.Select/gRPC.Select.TestCore/Tests/CompareConditions/CompareCondition_TestCases.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68352"
} | starcoder | <filename>gRPC.Select/gRPC.Select.TestCore/Tests/CompareConditions/CompareCondition_TestCases.cs
namespace gRPC.Select.Test.Tests.CompareConditions
{
public class CompareCondition_TestCases
{
public static object[] NotComparable =
{
new object[] {typeof(string), "aoe", "Aoe"},
... | 2.18131 | 10ee302db515620dcf56f2f19e75539e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loremipsumdonec/sky-watcher-motor-service",
"max_stars_repo_path": "src/SkyWatcherMotorServiceTest/Services/ContextBasedServiceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68353"
} | starcoder | <reponame>loremipsumdonec/sky-watcher-motor-service
using System;
namespace SkyWatcherMotorServiceTest.Services
{
public class ContextBasedServiceProvider
: IServiceProvider
{
private readonly IServiceProvider _decorated;
public ContextBasedServiceProvider(IServiceProvider decorated)
... | 2.264131 | 0a88c1c4af118b820e3dd4809b07675d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinwoodward/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.PostEditor/BlogPostExtensionDataList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68354"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections;
using System.Diagnostics;
using System.IO;
using OpenLiveWriter.Api;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.HtmlParser.Par... | 2.077695 | 653a74212c94b08c54e85f447ecc9482 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68354 | {
"extension": "c-sharp",
"max_stars_count": "346.0",
"max_stars_repo_name": "dustinsoftware/libsodium-net",
"max_stars_repo_path": "Tests/ShortHashTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68355"
} | starcoder | using NUnit.Framework;
using Sodium;
namespace Tests
{
/// <summary>Tests for the ShortHash class</summary>
[TestFixture]
public class ShortHashTest
{
/// <summary>Verify that the length of the returned key is correct.</summary>
[Test]
public void TestGenerateKey()
{
Assert.AreEqual(16, ... | 2.789737 | aae3e46d13357aa8468dd76e0fd995ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neurip/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "NextGenSoftware.OASIS.API.Providers.MongoOASIS/Repositories/MongoDBContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68356"
} | starcoder | using MongoDB.Driver;
using NextGenSoftware.OASIS.API.Providers.MongoDBOASIS.Entities;
using Avatar = NextGenSoftware.OASIS.API.Providers.MongoDBOASIS.Entities.Avatar;
using AvatarDetail = NextGenSoftware.OASIS.API.Providers.MongoDBOASIS.Entities.AvatarDetail;
using Holon = NextGenSoftware.OASIS.API.Providers.MongoDBO... | 1.99228 | e2cb36195c4cba266636c47b605a38e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanJevtic9/RestaurantApp",
"max_stars_repo_path": "server/src/RestaurantApp.Core/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68357"
} | starcoder | <gh_stars>0
using RestaurantApp.Core.Lib;
using System.Collections.Generic;
namespace RestaurantApp.Core
{
public class Constants
{
public static readonly List<string> AllowedImageExtensions = new List<string> { "JPG", "JPE", "BMP", "GIF", "PNG" };
public const string EMAIL_REGEX = @"\A(?:[a-... | 2.222272 | ea18fd2654f0e678886a81ab826f528f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68357 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "1Blackdiamondsc/Lykke.Service.LiquidityEngine",
"max_stars_repo_path": "src/Lykke.Service.LiquidityEngine/Validators/QuoteThresholdSettingsModelValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68358"
} | starcoder | using FluentValidation;
using JetBrains.Annotations;
using Lykke.Service.LiquidityEngine.Client.Models.Settings;
namespace Lykke.Service.LiquidityEngine.Validators
{
[UsedImplicitly]
public class QuoteThresholdSettingsModelValidator : AbstractValidator<QuoteThresholdSettingsModel>
{
public QuoteThr... | 1.858948 | 57ded644fca97db51a286ce1fecb4fda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68358 | {
"extension": "c-sharp",
"max_stars_count": "332.0",
"max_stars_repo_name": "Grom-Li/WindowsProtocolTestSuites",
"max_stars_repo_path": "TestSuites/MS-ADFSPIP/src/TestSuite/ServerDataModel/DataModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68359"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Xml.Linq;
using System.Collections.Generic;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.Serialization;
usi... | 2.295592 | 838e047da4bebd6e2c5c9531b7413cd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hackerncoder/changebackgroundwin",
"max_stars_repo_path": "src/ChangeBackgroundWin/vars.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68360"
} | starcoder | <filename>src/ChangeBackgroundWin/vars.cs
using System;
using System.IO;
namespace ChangeBackgroundWin
{
public class vars
{
public string nsfwUrl = "http://5.175.25.50/ChangeBackgroundWin/urls/nogourls.txt";
public string fineUrl = "http://5.175.25.50/ChangeBackgroundWin/urls/fineurls... | 2.197188 | 251169405f061e835bb509bce471ce6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "makampos/codes-using-c-sharp",
"max_stars_repo_path": "POO_C#/COMPOSITION_TEST/Entities/Enum/OrderStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68361"
} | starcoder | <filename>POO_C#/COMPOSITION_TEST/Entities/Enum/OrderStatus.cs
namespace COMPOSITION_TEST.Entities.Enum
{
public enum OrderStatus : int
{
PendingPayment = 0,
Processing = 1,
Shipped = 2,
Delivered = 3
}
} | 1.759269 | 753e4dcb78362e1d2b2af14aa996add2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tragetaschen/XRE",
"max_stars_repo_path": "src/Microsoft.Framework.PackageManager/Restore/RestoreCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68362"
} | starcoder | // 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.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using S... | 1.791471 | b82182b3e83feca3812683889cd6dfd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barancev/SimpleBrowser.WebDriver",
"max_stars_repo_path": "DriverTest/WorkInProgress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68363"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using SimpleBrowser;
using SimpleBrowser.WebDriver;
using OpenQA.Selenium;
namespace DriverTest
{
[TestFixture]
public class WorkInProgress
{
[Test, Explicit]
public void TestRussian()
{
... | 1.775974 | 43b2db2417b716da632bd17324ed8df1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68363 | {
"extension": "c-sharp",
"max_stars_count": "316.0",
"max_stars_repo_name": "Lekashi/LunaMultiplayer",
"max_stars_repo_path": "ServerTest/Extension/StringExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68364"
} | starcoder | <gh_stars>100-1000
using System;
namespace ServerTest.Extension
{
public static class StringExtension
{
public static string ToUnixString(this string stringToFix)
{
return stringToFix.Replace(Environment.NewLine, "\n");
}
}
}
| 1.967019 | b3eb49136ebf8ad8033e7debe8849d24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68364 | {
"extension": "c-sharp",
"max_stars_count": "3215.0",
"max_stars_repo_name": "jamiehankins/docfx",
"max_stars_repo_path": "src/Microsoft.DocAsCode.Common/Git/GitRepoInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68365"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common.Git
{
using System;
[Serializable]
public class GitRepoInfo
{
public RepoType RepoType { get; s... | 1.749635 | d3101e4067dcbfe1821e34db4eb2664a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheMaker-93/Space-Game-Cs-Unity",
"max_stars_repo_path": "Unity_Project/Assets/Scripts/PowerUpSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68366"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PowerUpSpawner : MonoBehaviour {
public GameObject powerUp;
// Use this for initialization
void Start () {
if (powerUp)
{
InvokeRepeating("InstantiatePowerUp", 1, Random.Range(25,41));
... | 2.509149 | 1d78100ae72e391333c869d2505b72c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hayhay27/msbuild-tasks",
"max_stars_repo_path": "src/DockerfileTasks.Shared/Resolvers/RootPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68367"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace DockerfileTasks.DockerfileTasks.Shared.Resolvers
{
internal static class RootPath
{
public static bool IsChildTo(this string path, string root)
{
var pathSegments = Path.GetFullPath(path).TrimTrailingSe... | 2.861423 | 5d5a66154ff61f7a14f3674a9072cd8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EibrielInv/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Components/UI/UIImage/UIImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68368"
} | starcoder | <reponame>EibrielInv/explorer<filename>unity-client/Assets/Scripts/MainScripts/DCL/Components/UI/UIImage/UIImage.cs
using DCL.Controllers;
using DCL.Helpers;
using DCL.Models;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace DCL.Components
{
public class UIImage : UIShape<UIImageRefere... | 1.739773 | d29d96aebd3626c07d33348dfd58645d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68368 | {
"extension": "c-sharp",
"max_stars_count": "76518.0",
"max_stars_repo_name": "tameemzabalawi/PowerToys",
"max_stars_repo_path": "src/modules/colorPicker/ColorPickerUI/Converters/ColorToStringConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68369"
} | starcoder | <reponame>tameemzabalawi/PowerToys
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Med... | 2.006617 | 0fc56c12f3d11d24a09d185ae4e9a4f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68369 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "abductedPlatypus/BuildOrderOverlay",
"max_stars_repo_path": "Border/View/Task.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68370"
} | starcoder | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Border.View
{
/// <summary>
/// Interaction logic for Task.xaml
/// </summary>
public partial class Task : ContentControl
{
public bool IsSelected
{
get { return (bo... | 2.304171 | 334b30db6c950967694b9f1d177a8997 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chys0404/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-dms-enterprise/Dms_enterprise/Transform/V20181101/GetMetaTableDetailInfoResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68371"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1.307748 | ef51f2a13b9b542072472e4ff3880682 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68627 | {
"extension": "c-sharp",
"max_stars_count": "147.0",
"max_stars_repo_name": "Azure/iotedge-lorawan-starterk",
"max_stars_repo_path": "LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWan.NetworkServer/ApplicationInsightsMetricExporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68628"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#nullable enable
namespace LoRaWan.NetworkServer
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
... | 2.08612 | 23514ab1ec145b5adba1e94baaefb200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68628 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IHunelI/-Prototype-Match3V2",
"max_stars_repo_path": "Match3 V2/Assets/Scripts/MatchFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68629"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class MatchFinder : MonoBehaviour
{
Board board;
[HideInInspector] public List<Gem> currentMatches = new List<Gem>();
[HideInInspector] public List<Gem> justMatches = new List<Gem>();
[HideInInspect... | 2.403268 | ffb0c887e90a1a966e51173b80268ebe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68629 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "kylekewley/gsf",
"max_stars_repo_path": "Source/Libraries/GSF.Core.Shared/Threading/ReaderWriterSpinLock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68630"
} | starcoder | //******************************************************************************************************
// ReaderWriterSpinLock.cs - Gbtc
//
// Copyright © 2012, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. Se... | 2.40657 | c03a2747db2111a80f0974a6e5ba00f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68630 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dapplo/Dapplo.Config",
"max_stars_repo_path": "src/Dapplo.Config/Intercepting/GetSetInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68631"
} | starcoder | // Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
namespace Dapplo.Config.Intercepting
{
/// <summary>
/// Information for a Get or Set invocation
/// </summary>
... | 2.456095 | fd1684d84d56a52b27628853c0a87a4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uon-crissp/IQCare",
"max_stars_repo_path": "SourceBase/Presentation/PresentationApp/ClinicalForms/frmClinical_EnrolmentPMTCT.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68632"
} | starcoder | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using Interface.Clinical;
using Interface.Security;
using Application.Common;
using Application.Int... | 1.685668 | e91658bc917e552361c0a6636434d0e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68632 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/UltimateRope.ERopeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68633"
} | starcoder | public enum UltimateRope.ERopeType // TypeDefIndex: 9063
{
// Fields
public int value__; // 0x0
public const UltimateRope.ERopeType Procedural = 0;
public const UltimateRope.ERopeType LinkedObjects = 1;
public const UltimateRope.ERopeType ImportBones = 2;
}
| 1.375559 | b9e7357b82c01caad8a2202d3677927d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68633 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageViewer/ILogicalWorkspace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68634"
} | starcoder | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
namespace ClearCanvas.ImageViewe... | 2.161926 | 298d22a5365bfc9c1ae6d405ae6cbfc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68634 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asm2025/essentialMix",
"max_stars_repo_path": "Standard/essentialMix.Threading/IOnProcessEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68635"
} | starcoder | using System;
namespace essentialMix.Threading;
public interface IOnProcessEvents : IOnProcessCreated, IOnProcessStartAndExit
{
Action<string> OnOutput { get; set; }
Action<string> OnError { get; set; }
} | 1.67016 | a71551d30c0230346c420b376c39ad8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dpineda89/Proyecto-L3-2021",
"max_stars_repo_path": "Proyecto Lenguaje 3/Delivery System Project/DeliverySystem.Librerias/Model/OrdenDeEntrega.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68636"
} | starcoder | <reponame>Dpineda89/Proyecto-L3-2021
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeliverySystem.Security
{
public class OrdenDeEntrega
{
public string Codigo { get; set; }
public DateTime FechaEntrega { get; set... | 1.536609 | be38dd3d953b3ffb83b09705b23c7931 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wpqs/C19Quarantine",
"max_stars_repo_path": "C19QuarantineWebApp/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68637"
} | starcoder | using System;
using C19QCalcLib;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft... | 1.879454 | 3069ace1679b47040a7f38305a73eec4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alfredpaulus/Web-based-Clinical-Information-Systems",
"max_stars_repo_path": "CIS/Laboratories/LaboratoriesAudiometry.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68638"
} | starcoder | <filename>CIS/Laboratories/LaboratoriesAudiometry.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Drawing;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
public partial class C... | 2.027159 | 545b7d0dd41c70db515b5ea56fba033c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pleuvens/AstroRun",
"max_stars_repo_path": "Assets/Scripts/PlayerScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68639"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerScript : MonoBehaviour {
public GameObject smoke;
int maxSpeed = 60;
public float speed = 18.0F;
//public float jumpSpeed = 8.0F;
public float gravity = 20.0F;
... | 2.012643 | 43ef94bb8298cc4cc15f7f70b80e10fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68639 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seancheung/HyperCard",
"max_stars_repo_path": "HyperCard/Properties/Settings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68640"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.18063
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace H... | 1.855259 | 78087353fd8a8440e6eeeba95f338d22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68640 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "CharlesAverill/HyperScanningET",
"max_stars_repo_path": "Assets/ViveSR/Scripts/Eye/Sample/SRanipal_MirrorCameraSample_Eye_v2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68641"
} | starcoder | <reponame>CharlesAverill/HyperScanningET
//========= Copyright 2018, HTC Corporation. All rights reserved. ===========
using System.Runtime.InteropServices;
using UnityEngine;
namespace ViveSR
{
namespace anipal
{
namespace Eye
{
/// <summary>
/// A very basic mirror.
... | 1.929913 | 95327025b842e3eae95781c9e98bdc33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68641 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "benrobot/Meetup.NetStandard",
"max_stars_repo_path": "Meetup.NetStandard/MeetupRequestMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68642"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net.Http;
using System.Text;
using Meetup.NetStandard.Request;
using Meetup.NetStandard.Response;
using System.IO;
using Newtonsoft.Json;
namespace Meetup.NetStandard
{
internal static class MeetupRequestMethods
{
internal st... | 2.50399 | 4644ff07641258d11b2a7fd947cfec19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johndward01/MonoGame.Samples",
"max_stars_repo_path": "NeonShooter/NeonShooter.Core/Game/PlayerShip.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68643"
} | starcoder | <reponame>johndward01/MonoGame.Samples
//---------------------------------------------------------------------------------
// Written by <NAME>
// Find the full tutorial at: http://gamedev.tutsplus.com/series/vector-shooter-xna/
//----------------------------------------------------------------------------------
usin... | 1.84255 | 3bf086918276e144bc0875daacef003c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68643 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jbond312/PlexRequestsApi",
"max_stars_repo_path": "src/PlexRequests.Functions/Features/Plex/Commands/SyncContentCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68644"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using PlexRequests.Sync;
namespace PlexRequests.Functions.Features.Plex.Commands
{
public class SyncContentCommandHandler : AsyncRequestHandler<SyncContentCommand>
{
private readonly IPlexSync _plexSync;
public SyncContentCo... | 2.081108 | 5703cd865458bf8f3017eb4d69468832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/SoftwarePioniere.Fx",
"max_stars_repo_path": "src/SoftwarePioniere.AzureCosmosDb/AzureCosmosDbOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68645"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using SoftwarePioniere.ReadModel;
namespace SoftwarePioniere.AzureCosmosDb
{
public class AzureCosmosDbOptions : EntityStoreOptionsBase
{
public string CollectionId { get; set; }
public string AuthKey { get; set; } = "<KEY>;
public string DatabaseId... | 1.641442 | 962bc518f898ac86268609634c186287 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68645 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "marinusmaurice/MvsSln",
"max_stars_repo_path": "MvsSln/Core/SlnWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68646"
} | starcoder | <filename>MvsSln/Core/SlnWriter.cs
/*
* The MIT License (MIT)
*
* Copyright (c) 2013-2021 <NAME> <<EMAIL>> github/3F
* Copyright (c) MvsSln contributors https://github.com/3F/MvsSln/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... | 2.260314 | cb51e916534262ad82c85b834c2c8ee6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liuqiyun520/StackExchange.Redis-1",
"max_stars_repo_path": "StackExchange.Redis/StackExchange/Redis/StreamInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68647"
} | starcoder | <reponame>liuqiyun520/StackExchange.Redis-1
namespace StackExchange.Redis
{
/// <summary>
/// Describes stream information retrieved using the XINFO STREAM command. <see cref="IDatabase.StreamInfo"/>
/// </summary>
public struct StreamInfo
{
internal StreamInfo(int length,
int ... | 2.521644 | 05da75231cad4d063b35dc5b3345fee6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "malcolmriley/CMPM-163",
"max_stars_repo_path": "homework/Assets/Scripts/AudioDebugGraph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68648"
} | starcoder | <filename>homework/Assets/Scripts/AudioDebugGraph.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(RectTransform))]
public class AudioDebugGraph : MonoBehaviour {
// Public Fields
public FFTAnalyzer analyzer;
public Vector2 he... | 2.359674 | 84a3de8e4d95639bc302cada7c94c74f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bellez007/google-apps-sso-sample",
"max_stars_repo_path": "cs/Google.Apps.SingleSignOn/web/SignIn.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68649"
} | starcoder | // Copyright 2006 Google Inc.
//
// 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 agre... | 1.566121 | 9627d37fb95a5d9c78631385b548c6c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarySam/TestBot",
"max_stars_repo_path": "CSharp/Library/Microsoft.Bot.Builder.Calling/CallingBotServiceSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68650"
} | starcoder | <reponame>MarySam/TestBot<filename>CSharp/Library/Microsoft.Bot.Builder.Calling/CallingBotServiceSettings.cs
using Microsoft.Bot.Builder.Calling.Exceptions;
using System;
using System.Configuration;
namespace Microsoft.Bot.Builder.Calling
{
public class CallingBotServiceSettings
{
/// <summary... | 2.733485 | 429e518f98501e88bc4628d24ce588c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68650 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sgarshol/UnityConfiguration",
"max_stars_repo_path": "src/UnityConfiguration/IHideObjectMembers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68651"
} | starcoder | using System;
using System.ComponentModel;
namespace UnityConfiguration
{
/// <remarks>
/// Created by <NAME> http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx
/// </remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IHideObjectMembers
{
... | 2.225539 | 1956eebf216c8f93ea2d2ac6fb4b6cc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LiuOcean/luban_examples",
"max_stars_repo_path": "Projects/Csharp_Unity_Editor_json/Assets/Gen/ai/GetOwnerPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68652"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------------------... | 2.015001 | 39f20cb58f6d42105d7307e9292d2939 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pMonfared/AspNet-Identity-Server",
"max_stars_repo_path": "src/ResourceFileServer/Providers/SecuredFileProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68653"
} | starcoder | <filename>src/ResourceFileServer/Providers/SecuredFileProvider.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ResourceFileServer.Providers
{
public class SecuredFileProvider : ISecuredFileProvider
{
private List<string> _fileIds;
... | 2.959069 | 715fd5bae8e5c15ec80da46e5a6b2251 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Choco-T972/DMSP-Online-Exhibition-Unity",
"max_stars_repo_path": "Assets/Scenes/script/UI/DialogController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68654"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using System.IO;
using UnityEngine.UI;
public class DialogController : MonoBehaviour
{
// Instance for cross cs access
public static DialogController _ins;
// All UI Array Container
... | 2.364913 | 653a8e126f77c078bb8db8b0fab45a6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaelvolz/OpenGraphTilemaker",
"max_stars_repo_path": "src/Common/Guards/DefaultGuard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68655"
} | starcoder | <filename>src/Common/Guards/DefaultGuard.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using Common.Exceptions;
// ReSharper disable once CheckNamespace
namespace Ardalis.GuardClauses
{
/// <summary>
/// Default Guard.
/// </su... | 2.757782 | c2877641ed11e84c2515feedaf744623 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sampa-msft/azure-sdk-for-net",
"max_stars_repo_path": "sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TaskParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68656"
} | starcoder | <filename>sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TaskParameters.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.AI.TextAnalytics.Models
{
/// <summary> Base parameters object for a tex... | 1.995238 | f416e0b524a5cc31a87e7c9840f92c19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68656 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tech4GT/notification-provider",
"max_stars_repo_path": "NotificationService/NotificationService.BusinessLibrary/Business/v1/EmailAccountManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68657"
} | starcoder | <filename>NotificationService/NotificationService.BusinessLibrary/Business/v1/EmailAccountManager.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NotificationService.BusinessLibrary
{
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
... | 2.423395 | a3329d34764b1508834333aed6f86ff6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68657 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vitahlin/VitahPomeloClient",
"max_stars_repo_path": "Assets/Scripts/Config/ConfigManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68658"
} | starcoder | <reponame>vitahlin/VitahPomeloClient
using UnityEngine;
using SimpleJson;
public class ConfigManager
{
private static ConfigManager instance = null;
private ConfigCode configCode = new ConfigCode ();
private ConfigManager ()
{
}
public static ConfigManager Instance ()
{
if (instance == null) {
instanc... | 2.084694 | fb0faea4cd46c161f696c4adb4a592df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68658 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sonnt1012/ripple-netcore",
"max_stars_repo_path": "src/Ripple.Signing/K256/Secp256k1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68659"
} | starcoder | <filename>src/Ripple.Signing/K256/Secp256k1.cs
using Org.BouncyCastle.Math;
namespace Ripple.Signing.K256
{
using SECNamedCurves = Org.BouncyCastle.Asn1.Sec.SecNamedCurves;
using ECDomainParameters = Org.BouncyCastle.Crypto.Parameters.ECDomainParameters;
using ECPoint = Org.BouncyCastle.Math.EC.ECPoint;
... | 2.344803 | 4aaa3eca420d84e739c7061fca2f5286 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuriys-kentico/create-kentico-app",
"max_stars_repo_path": "App.Boilerplate.Shared/Widgets/DummyUserWidgetsPropertiesGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68660"
} | starcoder | using System;
using System.Collections.Generic;
using App.Boilerplate.Core.Widgets;
using App.Boilerplate.Shared.Widgets;
using CMS;
using CMS.Core;
[assembly: RegisterImplementation(typeof(IUserWidgetsPropertiesGenerator), typeof(DummyUserWidgetsPropertiesGenerator), Priority = RegistrationPriority.Fallback)]
nam... | 1.797267 | 8c2e8b74f0da6fd08486eeb46c430ce6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechtonicGroup/TGWiki",
"max_stars_repo_path": "Views/FileManager/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68661"
} | starcoder | @model IList<IList<string>>
@{
ViewBag.Title = SiteStrings.FileManager_Title;
}
<script type="text/javascript">
$(function ()
{
Roadkill.Web.FileManager.Setup.configure();
});
</script>
<h1>@SiteStrings.FileManager_Title</h1>
@Html.Partial("Navigator", true)
<!-- Upload progress bar -->
<div id="progress" cla... | 1.944923 | fecd84cb0757d7075177d2081167d005 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.