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 | 68461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "albertgustavsson/sandbox",
"max_stars_repo_path": "network_status_checker_cs/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68462"
} | starcoder | <reponame>albertgustavsson/sandbox
using System.Net;
using System.Net.Sockets;
if (!System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable())
Console.WriteLine("Not connected to network");
string hostName = Dns.GetHostName();
Console.WriteLine($"Hostname: {hostName}");
IPHostEntry ipEntry = Dns.Ge... | 2.891495 | 46fd65a5cfad623b5bd01c0b7ca124ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomatopaste202/Flatmate-Management-System",
"max_stars_repo_path": "WebApiBackend/WebApiBackend/Dto/FlatDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68463"
} | starcoder | using System;
using WebApiBackend.Interfaces;
namespace WebApiBackend.Dto
{
public class FlatDTO : IEntity
{
public int Id { get; set; }
public string Address { get; set; }
}
}
| 1.83487 | ef6953af1829983a5ed13c0945b91b29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charsdev/GJ-MOON",
"max_stars_repo_path": "Assets/Scripts/Aim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68464"
} | starcoder | using UnityEngine;
using System.Collections;
// AimBehaviour inherits from GenericBehaviour. This class corresponds to aim and strafe behaviour.
public class Aim : MonoBehaviour
{
//public float aimTurnSmoothing = 0.15f; // Speed of turn response when aiming to match camera facing.
p... | 2.482388 | 7fb53787a6d89116c5161cf486d8eda2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68464 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MineCake147E/Shamisen",
"max_stars_repo_path": "Shamisen.Core/Data/DataSourceUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68465"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shamisen.Data
{
/// <summary>
/// Contains some utility functions for <see cref="IDataSource{TSample}"/>.
/// </summary>
public static class DataSourceUtils
... | 2.822909 | 6651921117b58660b5b3c89040ef95c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68465 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "MahApps/IconPacks.Browser",
"max_stars_repo_path": "src/IconPacks.Browser/Model/ExportHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68466"
} | starcoder | <gh_stars>10-100
using System;
using System.Globalization;
using System.IO;
using System.Windows.Media;
using IconPacks.Browser.Properties;
using IconPacks.Browser.ViewModels;
namespace IconPacks.Browser.Model
{
internal class ExportHelper
{
// SVG-File
private static string _SvgFileTemplate;
... | 2.138351 | 87bc9b54abd7683cbe18a09755b14c8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pablopioli/MoonGrid",
"max_stars_repo_path": "src/MoonGrid/Grid.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68467"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.Extensions.Logging;
using Microsoft.JSInterop;
namespace MoonGrid
{
public partial class Grid<TItem> ... | 1.923672 | 78fe1a36957fad24e665eb2f4c498278 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeteyChan/GGJ_2022",
"max_stars_repo_path": "GGJ_2022_Duality/Assets/Enemy/EnemySettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68468"
} | starcoder | <gh_stars>0
using Godot;
using System;
public class EnemySettings : Path
{
[Export] public bool _auto_start = false;
[Export] public float level_scroll_speed = 1f;
[Export] public bool _reverse_movement = false;
[Export] public float _shoot_min_interval = 1f;
[Export] public float _shoot_ma... | 1.329848 | a8c9c5529194e99f9ca9a00737075ff4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68468 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "highfield/Cet.NATS.Client",
"max_stars_repo_path": "Cet.NATS.Client.PerfCompare/cet/DemoPubSubAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68469"
} | starcoder | <gh_stars>1-10
using Cet.NATS.Client;
using Cet.NATS.Client.DemoShared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Cet.NATS.Client.DemoPerfCompare.cet
{
class DemoPubSubAsync
{
private const string Subject = Commo... | 2.138221 | 3da72d0cd6e2180d8ab78b31778aa70a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68469 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "lukas-dachtler/launchpad",
"max_stars_repo_path": "IntelOrca.LaunchpadTests/Snake.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68470"
} | starcoder | using IntelOrca.Launchpad;
using System;
using System.Collections.Generic;
using System.Linq;
namespace IntelOrca.LaunchpadTests
{
struct Point
{
public Point(int x, int y)
: this()
{
X = x;
Y = y;
}
public int X { get; set; }
public int Y { get; set; }
}
class Snake
{
private LaunchpadDev... | 2.71222 | 8cdde712e441a8d6b88c28ffdbd0f096 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68470 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "icnocop/validation-application-block",
"max_stars_repo_path": "source/Tests/Validation.TestSupport/TestClasses/CreditCardNumberValidatorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68471"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
namespace Microsoft.Practices.EnterpriseLibrary.Validation.TestSupport.TestClasses
{
[AttributeUsage(AttributeT... | 1.769783 | 916ade25680bb64795d36ce4b5ebe4de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moisterrific/BanBuff",
"max_stars_repo_path": "Commands/IChatCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68472"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TShockAPI;
namespace Koishi.BanBuff.Commands
{
public interface IChatCommand
{
string Command { get; }
int ParameterCount { get; }
string Usage { get; }
... | 1.809627 | 3485a1e7422d199bf538d6d7625f78f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68472 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Wpf/NSGNSvsFNSSnippets/CSharp/Page1.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68473"
} | starcoder | <filename>samples/snippets/csharp/VS_Snippets_Wpf/NSGNSvsFNSSnippets/CSharp/Page1.xaml.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.W... | 1.986076 | ccb994e47551c6af2233fbe1faf78c0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tborzyszkowski/Zadania_CS_Rynek",
"max_stars_repo_path": "Examples/IObserverNet40/IObserverNet40Test/CurrentConditionsSubscriberTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68474"
} | starcoder | <filename>Examples/IObserverNet40/IObserverNet40Test/CurrentConditionsSubscriberTest.cs<gh_stars>0
using NUnit.Framework;
using IObserverNet40.Publisher;
using IObserverNet40.Subscriber;
namespace IObserverNet40Test
{
[TestFixture]
public class CurrentConditionsSubscriberTest
{
[Test]
public void CurrentCondit... | 2.471672 | 5c6813d3226efb5e1d9270d0600d72c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrevorPilley/phone-numbers",
"max_stars_repo_path": "test/PhoneNumbers.Tests/PhoneNumber_Parse_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68475"
} | starcoder | <gh_stars>0
namespace PhoneNumbers.Tests;
public class PhoneNumber_Parse_Tests
{
[Fact]
public void Parse_Value_With_Austria_CallingCode()
{
var phoneNumber = PhoneNumber.Parse("+43171100");
Assert.NotNull(phoneNumber);
Assert.Equal(CountryInfo.Austria, phoneNumber.Country);
}
... | 2.455841 | 6d5512f7c735551b13fd7c75010fffa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HemanthRj96/Repos-Knockback_version_3",
"max_stars_repo_path": "Knockback/Assets/Internal/Scripts/Utility/KB_ExtensionMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68476"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace Knockback.Utility
{
/// <summary>
/// This class includes all the extension methods
/// </summary>
public static class KB_ExtensionMethods
{
/// <summary>
/// Copies the position and rotation of the transform
//... | 3.059871 | b12291c2d4b3df7a14b62e9967e2e7ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68476 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PampaDevs-BuildingBlocks/PampaDevs.BuildingBlocks",
"max_stars_repo_path": "src/PampaDevs.BuildingBlocks/Domain/IIdentity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68477"
} | starcoder | namespace PampaDevs.BuildingBlocks.Domain
{
public interface IIdentity<TId>
{
TId Id { get; }
}
}
| 1.640545 | 7023cf153c3ea6f2be19528a7964ce8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68477 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vladislav-karamfilov/TelerikAcademy",
"max_stars_repo_path": "Web Services Projects/Homework-CloudServices/01.IronMQApp/MessageSender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68478"
} | starcoder | using System;
using io.iron.ironmq;
public class MessageSender
{
internal static void Main()
{
string decorationLine = new string('-', Console.WindowWidth);
Console.Write(decorationLine);
Console.WriteLine("***Simple chat application (sender)***");
Console.Write(decorationLine)... | 2.999968 | 437fae8d7913cbd671c5349bdde3c2e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68478 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "F-V-L/platform-client-sdk-dotnet",
"max_stars_repo_path": "build/src/PureCloudPlatform.Client.V2/Model/HistoricalAdherenceExceptionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68479"
} | starcoder | <reponame>F-V-L/platform-client-sdk-dotnet
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPl... | 1.933734 | e67ef4be4d067816227048540e0ca01a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68479 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "LunarWorld/Sigma",
"max_stars_repo_path": "Sigma.Core/Persistence/Selectors/ISelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68480"
} | starcoder | /*
MIT License
Copyright (c) 2016-2017 <NAME>, <NAME>
For full license see LICENSE in the root directory of this project.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Sigma.Core.Utils;
namespace Sigma.Core.Persistence.Selectors
{
/// <summary>
/// A selector us... | 2.860457 | 9672c0da6969b15f02d89d00d295a1a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68480 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/DWRITE_PANOSE_TOOL_KIND.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68481"
} | starcoder | <gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dwrite_1.h(240,1)
namespace DirectN
{
/// <summary>
/// Kind of tool used to create character forms. Present for families: 3-script
/// </summary>
public enum DWRITE_PANOSE_TOOL_KIND
{
DWRITE_PANOSE... | 1.689872 | 5447b4d3941962843e91f9f7055f8c41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "valuex/OneMore",
"max_stars_repo_path": "OneMore/Commands/File/ExportCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68482"
} | starcoder | //************************************************************************************************
// Copyright © 2020 <NAME>. All rights reserved.
//************************************************************************************************
namespace River.OneMoreAddIn.Commands
{
using System.Collections.Gene... | 2.229825 | 406b4f0b34268da87cf7c29afebb37b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jodavs/ReviewIt",
"max_stars_repo_path": "src/Server/BDSA.ReviewIt.Server.API/Controllers/ExportController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68483"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using... | 2.158216 | 3479d4069b663afab3d27d28d8783ae9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benchiverton/BeerCountdown",
"max_stars_repo_path": "Web/src/Beer.Countdown.Web/Countdown/CountdownConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68484"
} | starcoder | <reponame>benchiverton/BeerCountdown
using System;
namespace Beer.Countdown.Web.Countdown
{
public record CountdownConfiguration
{
public DateTime TwoPeopleOutdoorsDate { get; init; }
public DateTime SixPeopleOutdoorsDate { get; init; }
public DateTime NonEssentialShopsOpeningDate { get... | 1.441427 | 71e6e3861390540fe98c01acde08dcd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68484 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "Define/NpcWear.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68485"
} | starcoder | public enum NpcWear // TypeDefIndex: 10806
{
// Fields
public int value__; // 0x0
public const NpcWear Normal = 0;
public const NpcWear Love = 1;
public const NpcWear NoHood = 2;
public const NpcWear SleepWear = 100;
public const NpcWear SwimWear = 200;
public const NpcWear BridalWear = 300;
}
| 1.364612 | dbf9765b970506a18e2c0dcd58446ed6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SynapseProject/utilities.DataTransformation.net",
"max_stars_repo_path": "zephyr.DataTransformation.net/Classes/JsonHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68486"
} | starcoder | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Xml;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using YamlDotNet.Serialization;
namespace Zephyr.DataTransformation
{
public class JsonHelpers
{
public static string Transform... | 2.718944 | 61870c239b54db7070835623a2b9e200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68486 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "astra-emsg/ASTRA.EMSG",
"max_stars_repo_path": "Master/ASTRA.EMSG.Web/Areas/Benchmarking/Views/Shared/EditorTemplates/BenchmarkingGruppenTyp.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68487"
} | starcoder | <filename>Master/ASTRA.EMSG.Web/Areas/Benchmarking/Views/Shared/EditorTemplates/BenchmarkingGruppenTyp.cshtml
@using ASTRA.EMSG.Common.Enums
@using ASTRA.EMSG.Web.Infrastructure.HtmlHelperExtensions
@model List<BenchmarkingGruppenTyp>
@{
foreach (BenchmarkingGruppenTyp item in Enum.GetValues(typeof(BenchmarkingGru... | 2.203878 | 263b8d149fc3a71ccbf4218b5dfc1a17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OkumaScott/Imagin.NET",
"max_stars_repo_path": "Imagin.Colour/Primitives/YDbDr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68488"
} | starcoder | using Imagin.Common;
using Imagin.Common.Linq;
using System;
namespace Imagin.Colour.Primitives
{
/// <summary>
///
/// </summary>
public struct YDbDr : IColor, IEquatable<YDbDr>
{
/// <summary>
///
/// </summary>
public static readonly Vector Maximum = Vector.New... | 3.017613 | ec3bdd90d3b3d33f490c60e2401193be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arstorey/NCache",
"max_stars_repo_path": "Src/NCWebCache/Web/Messaging/TopicSubscription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68489"
} | starcoder | // Copyright (c) 2018 Alachisoft
//
// 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 ... | 1.967451 | 3bc4fc5b92ece796a776538337109acc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elrod68/Hands-On-Machine-Learning-for-.NET-Developers-V",
"max_stars_repo_path": "Section_3_Evaluation/Src3_4/AggressionScorer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68490"
} | starcoder | <gh_stars>0
using AggressionScorerModel;
using Microsoft.ML;
using Microsoft.ML.Calibrators;
using Microsoft.ML.Trainers;
using System;
using System.IO;
namespace AggressionScorer
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Aggression scorer model builder... | 2.456676 | 00d22edb1c665072675e7528f1b72eaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sekmenhuseyin/Birikim.WMS",
"max_stars_repo_path": "Wms12m.Presentation/Areas/Constants/Views/Size/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68491"
} | starcoder | <reponame>sekmenhuseyin/Birikim.WMS
@model Olcu
@{
ViewBag.Title = "Boyut Kartı işlemleri";
Layout = "~/Views/Shared/_Layout.cshtml";
}@section Styles{<link href="~/Content/assets/global/plugins/jquery-file-upload/css/jquery.fileupload.css" rel="stylesheet" />
}<div class="page-bar"><ul class="page-breadcrumb"... | 1.812883 | f352cd350dbce7ffe2a2be8f50d68064 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68491 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nensec/FRTools",
"max_stars_repo_path": "FRTools.Web/Views/Discord/Help.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68492"
} | starcoder | <reponame>Nensec/FRTools<filename>FRTools.Web/Views/Discord/Help.cshtml<gh_stars>1-10
@model FRTools.Common.DiscordHelpViewModel
@{
ViewBag.Title = "Discord Help";
}
@section head {
<link href="https://fonts.googleapis.com/css?family=Arimo" rel="stylesheet">
}
<div class="row">
<div class="col-md-4... | 2.356236 | 9f56bf541f5fec3cd28595b284dc60f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68492 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Executor-Cheng/ACRCloudSdkCore",
"max_stars_repo_path": "ACRCloudSdkCore/ACRCloudOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68493"
} | starcoder | <gh_stars>1-10
using ACRCloudSdkCore.Exceptions;
using System;
namespace ACRCloudSdkCore
{
/// <summary>
/// Represents an ACRCloud project's configuration
/// </summary>
public class ACRCloudOptions
{
/// <summary>
/// The host to access ACRCloud api
/// </summary>
... | 2.890851 | ade7b21972a08d457f387530e7760664 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68493 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "alg-d/CheckTikZDiagram",
"max_stars_repo_path": "UnitTestProject1/TestMathSequence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68494"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CheckTikZDiagram;
using System.Linq;
namespace UnitTestProject1
{
[TestClass]
public class TestMathSequence
{
[TestMethod]
public void コンストラクタ()
{
var list = new[] { new MathObjectFactory("a").Creat... | 2.788899 | 50b371e2071db50f907690397b0ab178 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "augustoproiete-forks/aspnet--Mvc",
"max_stars_repo_path": "src/Microsoft.AspNet.Mvc.Razor.Host/InjectChunkVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68495"
} | 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.Collections.Generic;
using System.Globalization;
using Microsoft.AspNet.Razor.Generator;
using Microsoft.AspNet.Razor.Gen... | 1.944239 | b47970a4773c4438920d75b8197d7885 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68495 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "AaronFriel/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/Amplify/Outputs/AppCustomRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68496"
} | starcoder | <gh_stars>10-100
// *** 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;
name... | 1.13947 | 6171a6633d9802137dc18c0ea9118364 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "propellingbits/NCache",
"max_stars_repo_path": "Integration/MemCached/Clients/Enyim.Caching/src/Logging/DiagnosticsLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68497"
} | starcoder | <reponame>propellingbits/NCache<filename>Integration/MemCached/Clients/Enyim.Caching/src/Logging/DiagnosticsLog.cs
// Copyright (c) 2017 Alachisoft
//
// 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 L... | 2.024137 | 81bc6daf6828a3dc07e8f5526d01e3b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/cpu/src/vex.ops.h/vhi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68498"
} | starcoder | <filename>src/cpu/src/vex.ops.h/vhi.cs<gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Run... | 1.74318 | c7f66e035515c3d08ced1e6ee06f6cc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KCoon/DailyRegEx",
"max_stars_repo_path": "examples.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68499"
} | starcoder | <filename>examples.cs
class example
{
// Move comments from behind to above
// s/\(.*\)\(\/\/.*\)/\t\t\2\r\1\r
public double SeriousProperty { set; get; } // the meaning of this property is super secret
// --------------
// normal comment to summary
// s/\/\/\s*\(.*\)/\/\/\/\t<summary>\r\t\t\/\... | 3.142599 | 4043f228f7219e7e1f558a006851a707 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68243 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sebastienadam/ephec_projet_sgbd",
"max_stars_repo_path": "Sources/CSharp/Guest/FormSelectDish.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68244"
} | starcoder | using Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Guest {
public partial class FormSelectDish : Form ... | 2.340281 | ae8b9ca4620446f2820ec52c7e17d53d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rainers/D_Parser",
"max_stars_repo_path": "Tests/ResolutionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68245"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using D_Parser.Dom;
using D_Parser.Dom.Expressions;
using D_Parser.Dom.Statements;
using D_Parser.Misc;
using D_Parser.Parser;
using D_Parser.Resolver;
using D_Parser.Resolver.ASTScanner;
using D_Parser.Resolver.ExpressionSemantics;... | 2.198052 | 1f76666f16d566a708f5b8336088e4cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68245 | {
"extension": "c-sharp",
"max_stars_count": "1182.0",
"max_stars_repo_name": "PotterDai/resharper-unity",
"max_stars_repo_path": "resharper/resharper-unity/src/JsonNew/Psi/Parsing/TokenNodes/JsonNewGenericTokenNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68246"
} | starcoder | <gh_stars>1000+
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
namespace JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi.Parsing.TokenNodes
{
internal class JsonNewGenericTokenNode : JsonNewTokenNodeBase
{
private readonly TokenNodeType myTokenNodeType;
p... | 1.92215 | 8092d60528684b7fe0b780bde847a501 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berkutteam/lexiconner",
"max_stars_repo_path": "Lexiconner/Lexiconner.Application/Mappers/CustomCollectionMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68247"
} | starcoder | <gh_stars>0
using Lexiconner.Domain.Dto.CustomCollections;
using Lexiconner.Domain.Dtos.CustomCollections;
using Lexiconner.Domain.Entitites;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lexiconner.Application.Mappers
{
public static partial class Cust... | 2.027754 | 11a5b11089802a020e68d1522d467b72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2006-jun15-net/luis-code",
"max_stars_repo_path": "csharp/ReversesString/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68248"
} | starcoder | <reponame>2006-jun15-net/luis-code
using System;
namespace reverseString
{
class Program
{
static void Main()
{
Console.WriteLine("Type in a word:");
string forwardString = Console.ReadLine();
char[] charArray = forwardString.ToCharArray();
Array.... | 2.706725 | 7b4f170d0e514dc2c42f20d7afaf6798 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68248 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "akaver/CleanArchitectureDemo",
"max_stars_repo_path": "DAL/Repositories/IContactTypeRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68249"
} | starcoder | <reponame>akaver/CleanArchitectureDemo
using DAL.Core.Repositories;
using Domain;
namespace DAL.Repositories
{
public interface IContactTypeRepository : IRepository<ContactType>
{
}
} | 1.355121 | a7c9628b88c91940bff5962172f99b57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68249 | {
"extension": "c-sharp",
"max_stars_count": "225.0",
"max_stars_repo_name": "uQr/scriptsharp",
"max_stars_repo_path": "src/Core/Compiler/CodeModel/Expressions/LiteralNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68250"
} | starcoder | // LiteralNode.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Diagnostics;
namespace ScriptSharp.CodeModel {
internal sealed class LiteralNode : ExpressionNode {
public LiteralNode(Token token)
... | 2.749586 | 39a2f7486f10a2aa8526df4775a241a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68250 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cston/dotnet-api-docs",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Wpf/timingbehaviors_snip/CSharp/TimelineCompletedExample.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68251"
} | starcoder | // <!-- <SnippetTimelineCompletedExampleCodeBehindUsingWholePage> -->
// TimelineCompletedExample.xaml.cs
// Handles the ZoomOutStoryboard's Completed event.
// See the TimelienCompletedExample.xaml file
// for the markup that creates the images and storyboards.
using System;
using System.Windows;
using System.Window... | 2.457455 | 90de73c1fad65d761c4bcddbd5922fa1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68251 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "satish860/Memcached2",
"max_stars_repo_path": "src/Enyim.Caching.Memcached/OpCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68252"
} | starcoder | <reponame>satish860/Memcached2<filename>src/Enyim.Caching.Memcached/OpCode.cs
using System;
namespace Enyim.Caching.Memcached
{
#pragma warning disable RCS1154 // Sort enum members.
public enum OpCode : byte
{
Get = 0x00,
Set = 0x01,
Add = 0x02,
Replace = 0x03,
Delete = 0x04,
Increment = 0x05,
Decreme... | 1.683091 | 076131555edade059fa24ac75f5a7997 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68252 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abdelrahmansaeedhassan/mvc",
"max_stars_repo_path": "src/Microsoft.AspNet.Mvc.ViewFeatures/ViewFeatures/StringCollectionTextWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68253"
} | starcoder | <reponame>abdelrahmansaeedhassan/mvc
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using... | 2.323305 | 756f0290416d8569fa8ae3b7a57fea18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68253 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "cserkaran/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Resources/Organization/OrganizationMembershipsResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68254"
} | starcoder | <reponame>cserkaran/ZendeskApiClient<filename>src/ZendeskApi.Client/Resources/Organization/OrganizationMembershipsResource.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using ZendeskApi.Cl... | 2.013031 | eb05df1882407b8eaa26c747fbc74cd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-ask-service",
"max_stars_repo_path": "src/SFA.DAS.ASK.Web/Controllers/Feedback/FeedbackSection2Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68255"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.ASK.Web.Controllers.Feedback.ViewModels;
namespace SFA.DAS.ASK.Web.Controllers.Feedback
{
[Route("feedback/section2/")]
public class FeedbackSection2Controller : FeedbackControllerBase<Section2V... | 1.088809 | a7fb068e4693adc054896a4e705e28c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68255 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "PyneTrading/Sharpkit.Learn",
"max_stars_repo_path": "src/Liblinear.Test/PredictTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68256"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="PredictTest.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace Liblinear.Test
{
using System;
using System.Text;
... | 2.479051 | 7b3deeab00b716786801ba6f9f22ee7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68256 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MMXXX-VIII/EchoRenderer",
"max_stars_repo_path": "EchoRenderer.UI/Interface/ProfileUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68257"
} | starcoder | <gh_stars>1-10
namespace EchoRenderer.UI.Interface
{
public class ProfileUI : WindowUI
{
public ProfileUI() : base("Profile")
{
transform.LeftPercent = 0.72f;
transform.TopPercent = 0.6f;
}
}
} | 1.556457 | 6fe7fa2ffe59eb42965ad07b94380d86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68257 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "lars-erik/Umbraco.CodeGen",
"max_stars_repo_path": "Umbraco.CodeGen/Generators/Annotated/StructureGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68258"
} | starcoder | <gh_stars>1-10
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Umbraco.CodeGen.Configuration;
using Umbraco.CodeGen.Definitions;
namespace Umbraco.CodeGen.Generators.Annotated
{
public class StructureGenerator : CodeGeneratorBase
{
publ... | 2.496235 | db456729ae6be703e8c20e9894b13337 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68258 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bluejaelly/Data-Extraction-Kit-For-VR",
"max_stars_repo_path": "Data-Extraction-Kit-For-Rift/Assets/DataKit/Scripts/Key.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68259"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
public class Key : MonoBehaviour
{
[SerializeField] TextMeshProUGUI inputTextField;
private void Start()
{
inputTextField.text = "";
}
public void ... | 2.298097 | 456e62284e8c36d22ec9812823835c9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "green-grass/PhantomNet-Searching",
"max_stars_repo_path": "src/extensions/PhantomNet.Searching.Mvc/_ViewModels/_Filters/CurrencyRangeFilterOptionViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68260"
} | starcoder | <gh_stars>0
namespace PhantomNet.Searching.Mvc
{
public interface ICurrencyRangeFilterOptionViewModel : IFilterOptionViewModel
{
double Start { get; set; }
double End { get; set; }
}
public class CurrencyRangeFilterOptionViewModel
: FilterOptionViewModel,
ICurrencyRa... | 1.043909 | a5dec563f4586ff8a4072f0da3816f23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qtxasjo/Foundation",
"max_stars_repo_path": "src/Foundation.Cms/ViewModels/BlockViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68261"
} | starcoder | using EPiServer.Core;
namespace Foundation.Cms.ViewModels
{
public class BlockViewModel<T> : IBlockViewModel<T>
where T : BlockData
{
public BlockViewModel(T currentBlock) => CurrentBlock = currentBlock;
public T CurrentBlock { get; }
}
} | 1.717992 | 3464885ea458d1d8065f76816f703e08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68261 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "alllucky1996/AnkhSVN2019",
"max_stars_repo_path": "src/Ankh.Package/Attributes/ProvideToolsOptionsPageVisibility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68262"
} | starcoder | // $Id$
//
// Copyright 2008-2009 The AnkhSVN Project
//
// 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 appl... | 2.338043 | 5116f6138199c96e75756320a1d16820 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68262 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DeckardLain/foundation",
"max_stars_repo_path": "NBitcoin/JsonConverters/UIntJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68263"
} | starcoder | using System;
using System.IO;
using Newtonsoft.Json;
namespace NBitcoin.JsonConverters
{
public class UInt160JsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(uint160) == objectType;
}
public override object ReadJson(... | 3.032428 | 0d951e9ac6ab8d06ef8bcf10bcad5261 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68263 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "bigtlb/XmlDocMarkdown",
"max_stars_repo_path": "tools/ExampleAssembly/IExampleInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68264"
} | starcoder | namespace ExampleAssembly
{
/// <summary>
/// An interface.
/// </summary>
public interface IExampleInterface
{
/// <summary>
/// An interface method.
/// </summary>
int ExampleMethod(string value);
}
}
| 2.141586 | 872ce96d098f1831a862c3d545aef039 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68264 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "template/microservice/src/Infrastructure/Atomiv.Template.Infrastructure.Domain.Persistence/Records/ProductRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68265"
} | starcoder | <reponame>optivem/optivem-commons-cs
using Atomiv.Infrastructure.EntityFrameworkCore;
using System;
using System.Collections.Generic;
namespace Atomiv.Template.Infrastructure.Domain.Persistence.Records
{
public class ProductRecord : Record<Guid>
{
public string ProductCode { get; set; }
... | 1.79948 | 8026e245cf3fd24dca747bbb70b94022 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68265 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "alopezlago/QuizBowlDiscordScoreTracker",
"max_stars_repo_path": "QuizBowlDiscordScoreTrackerUnitTests/MessageHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68266"
} | starcoder | <reponame>alopezlago/QuizBowlDiscordScoreTracker
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Discord;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using QuizBow... | 2.114904 | 57d05a2c1597803b2ef614512f4060d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tof4/JsonApi",
"max_stars_repo_path": "JsonApi/IResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68267"
} | starcoder | namespace JsonApi
{
/// <summary>
/// Processes the data and call the appropriate handler.
/// </summary>
public interface IResolver
{
/// <summary>
/// Call handler.
/// </summary>
/// <param name="json">JSON string</param>
void CallHandler(string jso... | 2.596452 | d53cd4ad5371b772b1dc37e002003ec9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itanex/AntiforgeryDemo",
"max_stars_repo_path": "src/AntiForgeryDemo/Controllers/ValuesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68268"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace AntiForgeryDemo.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GET api/values
[HttpGet]
public IEnumerable<string> Get()
{
return n... | 2.026255 | 11fb9a922f139e51abad4786d074b5f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afborgesDev/CrawlerWave",
"max_stars_repo_path": "src/CrawlerWave.Core/Functionalities/BaseManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68269"
} | starcoder | using Microsoft.Extensions.Logging;
namespace CrawlerWave.Core.Functionalities
{
internal class BaseManager
{
protected readonly ILogger Logger;
public BaseManager(string loggerCategory, ILogger logger)
{
if (string.IsNullOrWhiteSpace(loggerCategory))
throw... | 2.537573 | b8e8de1c1c6970c3d780ef41c1133fb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68269 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "dotnetcore-group/IdentityServer4.Admin",
"max_stars_repo_path": "src/IdentityServer4.SSO/Extensions/WebHostExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68270"
} | starcoder | using Microsoft.AspNetCore.Hosting;
using IdentityServer4.Admin.BuildingBlock;
using System;
using IdentityServer4.Admin.Infrastructures.Data.Database;
using IdentityServer4.Admin.Identity;
using IdentityServer4.Admin.Data.Database;
using Microsoft.AspNetCore.Identity;
using IdentityServer4.Admin.Identity.Entities;
us... | 1.814686 | 20d7861d99fbc580d645e9bbcb24790b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68270 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Egor92/XamlNavigation",
"max_stars_repo_path": "code/test/MvvmNavigation.Core.ContractTests/ViewInteractionStrategyContractTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68271"
} | starcoder | <reponame>Egor92/XamlNavigation<gh_stars>10-100
using System.Diagnostics.CodeAnalysis;
using Egor92.MvvmNavigation.Core.ContractTests.Internal;
using NUnit.Framework;
using ThrowsException = Egor92.MvvmNavigation.Tests.Common.ThrowsException;
namespace Egor92.MvvmNavigation.Core.ContractTests
{
public abst... | 2.425159 | 359b95303b50b02930005c4974b85696 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benneyman/Family",
"max_stars_repo_path": "Family/Interfaces/IRelationships.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68272"
} | starcoder | using Family.DTO;
using System;
using System.Collections.Generic;
using System.Text;
namespace Family.Interfaces
{
public interface IRelationships
{
IEnumerable<Person> PaternalUncle(string person);
IEnumerable<Person> MaternalUncle(string person);
IEnumerable<Person> PaternalAunt(stri... | 2.149157 | b097ac4e1d3708992e854757fb056ed8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68272 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yangar/prayer-times",
"max_stars_repo_path": "test/Zool.Pray.Tests/AstronomyMathTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68273"
} | starcoder | <gh_stars>1-10
using System;
using Xunit;
using Zool.Pray.Maths;
namespace Zool.Pray.Tests
{
public class AstronomyMathTests
{
private const double FajrAngle = 20.0; // Fajr angle of 20 degrees
private const double IshaAngle = 18.0; // Isha angle of 18 degrees
private const double D... | 2.560536 | 57fe7951507519501ab687d1324378f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68273 | {
"extension": "c-sharp",
"max_stars_count": "516.0",
"max_stars_repo_name": "iriszhong107/zmz",
"max_stars_repo_path": "src/Openchain.Infrastructure/AccountStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68274"
} | starcoder | // Copyright 2015 Coinprism, 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 agree... | 2.525814 | f2e5ad056f34265f21a6bf5118306cd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomaszGrzmilas/WykazPodatnikow",
"max_stars_repo_path": "WykazPodatnikow.Data/EntryList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68275"
} | starcoder | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace WykazPodatnikow.Data;
public record EntryList
{
[JsonPropertyName("entries")]
public List<Entry> Entries { get; set; }
[JsonPropertyName("requestDateTime")]
public string RequestDateTime { get; set; }
[JsonPropertyName("requestId... | 1.859829 | fd673229a2a4353d069a612bf410f41c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68275 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kozlov-d/QSProjects",
"max_stars_repo_path": "Binding/Gamma.Binding/GtkWidgets/yNotebook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68276"
} | starcoder | <reponame>kozlov-d/QSProjects
using System;
using System.Linq.Expressions;
using Gamma.Binding.Core;
using Gtk;
namespace Gamma.GtkWidgets
{
[System.ComponentModel.ToolboxItem(true)]
[System.ComponentModel.Category("Gamma Gtk")]
public class yNotebook : Notebook
{
public BindingControler<yNotebook> Binding { ge... | 2.11875 | 3d2d2b73eb9deb36c2a57c84a2ef9d15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "djfdmator/ProjectDragon",
"max_stars_repo_path": "ProjectDragon/Assets/Scripts/Interface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68277"
} | starcoder | <filename>ProjectDragon/Assets/Scripts/Interface.cs
//////////////////////////////////////////////////////////MADE BY <NAME>///2019-12-13/////////////////////////////////////////////
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Interfae of PersonalSpecification
public interface Pe... | 2.056697 | c44615260750b94efbb0c462bdc6616a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68277 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ValuationOffice/VORBS",
"max_stars_repo_path": "VORBS/DAL/Repositories/Implementations/EFRoomRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68278"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using VORBS.Models;
using VORBS.Utils;
namespace VORBS.DAL.Repositories
{
public class EFRoomRepository : IRoomRepository
{
private VORBSContext db;
private NLog.Logger _logger;
public E... | 2.535653 | 2418eafac2459067bcb9217754013439 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.Verification.Api",
"max_stars_repo_path": "src/Service.Verification.Api/Exceptions/WalletHttpException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68279"
} | starcoder | using System;
using System.Net;
namespace Service.Verification.Api.Exceptions
{
public class MyHttpException: Exception
{
public HttpStatusCode StatusCode { get; set; }
public MyHttpException(string message, HttpStatusCode statusCode) : base(message)
{
StatusCode = statusC... | 2.347493 | 2e2b76e9e9a0c1263f53b81466dceda7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baomen/bmmf",
"max_stars_repo_path": "Assembly/BaoMen.MultiMerchant/System/Entity/Parameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68280"
} | starcoder | <filename>Assembly/BaoMen.MultiMerchant/System/Entity/Parameter.cs
/*
Author: WangXinBin
CreateTime: 2019/9/23 14:27:06
*/
using BaoMen.Common.Data.Attribute;
using BaoMen.Common.Model;
using System;
using System.Collections.Generic;
namespace BaoMen.MultiMerchant.System.Entity
{
#region class Parameter (generat... | 2.258609 | 3d4e8ddbc80024e7c02a4ec927709c9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68280 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "smoelker/postmark-dotnet",
"max_stars_repo_path": "src/Postmark/Model/PostmarkAgentInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68281"
} | starcoder | using System;
namespace PostmarkDotNet.Model
{
public class PostmarkAgentInfo
{
public string Name { get; set; }
public string Company { get; set; }
public string Family { get; set; }
}
}
| 1.71389 | 3c858d4836f5264643b48fd05a7316b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Producenta/TelerikAcademy",
"max_stars_repo_path": "C# 1/Garden/Garden/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68282"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
static void Main()
{
double tomatoSeed = double.Parse(Console.ReadLine());
long tomatoArea = long.Parse(Console.ReadLine());
double cucumberSeed = double.Parse(Console.Rea... | 3.061529 | efdc7198818cf166c75527cb951e8ed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisM005/P0-Emery-Hart",
"max_stars_repo_path": "Resturant Reviewer/DL/Entities/PojectzeroContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68283"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
#nullable disable
namespace DL.Entities
{
public partial class PojectzeroContext : DbContext
{
public PojectzeroContext()
{
}
public PojectzeroContext(DbContextOptions<PojectzeroC... | 2.119396 | 1e5e4dbf51eedd68303194021825b216 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68283 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "matteofabbri/Workday.WebServices",
"max_stars_repo_path": "Workday.ResourceManagement/PO_Prepaid_Amortization_Schedule_Outbound_DataType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68284"
} | starcoder | <gh_stars>10-100
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.ResourceManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, ... | 1.608232 | 665c3c1c444317d69833a6f6e4eaeaba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68284 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "abjerner/Skybrud.Social.Facebook",
"max_stars_repo_path": "src/Skybrud.Social.Facebook/Models/Posts/FacebookPostPrivacy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68285"
} | starcoder | using Newtonsoft.Json.Linq;
using Skybrud.Essentials.Json.Extensions;
using Skybrud.Essentials.Strings;
namespace Skybrud.Social.Facebook.Models.Posts {
/// <summary>
/// Class representing the privacy settings of a <see cref="FacebookPost"/>.
/// </summary>
public class FacebookPostPrivacy : Faceboo... | 2.856755 | 5f32727eb1d1e479ce6c372f615adf76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "164638896/ARPG",
"max_stars_repo_path": "Assets/Scripts/GamePlay/buff/IBuff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68286"
} | starcoder | using UnityEngine;
public class BuffConfig
{
public IBuff.BuffType mType;
public int mTypeId;
public string mName;
public float mDuration;
}
public abstract class IBuff
{
public enum BuffType
{
None,
Behavior,
Move,
Hurt,
Control,
}
public enu... | 2.100472 | b3b3f4811ee7fd0f1f00651ca3f57d67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Devsquares/AdlerZentrum-BackEnd",
"max_stars_repo_path": "Application/DTOs/LessonDefinitionDTO/Queries/GetById/GetLessonDefinitionByIdQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68287"
} | starcoder | <reponame>Devsquares/AdlerZentrum-BackEnd<gh_stars>0
using Application.Exceptions;
using Application.Interfaces;
using Application.Interfaces.Repositories;
using Application.Wrappers;
using MediatR;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Application.DTOs
{
public class ... | 2.105909 | 4661347d830470455d311cbdc7ef93e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68287 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "astrofrog/wwt-web-client",
"max_stars_repo_path": "HTML5SDK/wwtlib/AstroCalc/AASidereal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68288"
} | starcoder | <reponame>astrofrog/wwt-web-client<filename>HTML5SDK/wwtlib/AstroCalc/AASidereal.cs
using System;
//
//Module : AASIDEREAL.CPP
//Purpose: Implementation for the algorithms which obtain sidereal time
//Created: PJN / 29-12-2003
// PJN / 26-01-2007 1. Update to fit in with new layout of CAADate class
// P... | 2.531791 | 70ce797b108243058319c7bf06cefe26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68288 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fuemocheng/UGFDemo",
"max_stars_repo_path": "UGFDemo/Assets/UnityTechnologies/TowerDefenseTemplate/Scripts/Core/Data/IDataSaver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68289"
} | starcoder | <reponame>fuemocheng/UGFDemo
namespace Core.Data
{
/// <summary>
/// Interface for saving data
/// </summary>
public interface IDataSaver<T> where T : IDataStore
{
void Save(T data);
bool Load(out T data);
void Delete();
}
} | 1.934171 | be2375f46bcad09e8e9ae5cca67db540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68289 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "SOFAgh/CADability",
"max_stars_repo_path": "CADability/StringProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68290"
} | starcoder | <filename>CADability/StringProperty.cs<gh_stars>10-100
using System;
using System.Globalization;
using System.Reflection;
using System.Runtime.Serialization;
namespace CADability.UserInterface
{
[Serializable()]
public class StringProperty : EditableProperty<string>, ISerializable, ISettingChanged
{
... | 2.486319 | af6509ee58f6dbb8eea9c981e19c68e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68290 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "WorldOfZero/Jet-Warrior",
"max_stars_repo_path": "Assets/Jetpacking/Scripts/PlayerController/PlayerOrientationCaster.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68291"
} | starcoder | using UnityEngine;
using System.Collections;
public class PlayerOrientationCaster : MonoBehaviour {
public Material material;
public JetpackController controller;
public OrientationLockGimble orientation;
public bool channeling = false;
public LineRenderer lineRenderer;
public GameObject pl... | 1.781674 | 2251be49bb20bebfd85c609d631918a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mksmbrtsh/llrp",
"max_stars_repo_path": "TCPIPClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68292"
} | starcoder | <filename>TCPIPClient.cs
// Decompiled with JetBrains decompiler
// Type: Org.LLRP.LTK.LLRPV1.TCPIPClient
// Assembly: LLRP, Version=1.0.0.6, Culture=neutral, PublicKeyToken=null
// MVID: B7459025-14F1-49D6-9002-DE41A125DA72
// Assembly location: C:\gosniias\NARA\multi_llrp_uhf_rdr\multi_llrp_uhf_rdr\bin\Debug\LLRP.dl... | 1.891378 | 5548b884d6cc8a00a37d86a505f33994 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MandelV/Optional",
"max_stars_repo_path": "Optional/IifPresent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68293"
} | starcoder | using System;
namespace Optional
{
interface IIfPresent<T>
{
IOrElse<T> IfPresent(Action consumer);
IOrElse<T> IfPresent(Action<T> consumer);
}
}
| 1.950489 | 21671a95ed168b1f30ff055b225afe39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmanky/Gopher-In-Unity-Simulation",
"max_stars_repo_path": "Assets/Scripts/Human/HandController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68294"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEngine.InputSystem;
public class HandController : MonoBehaviour
{
private enum HandType {Left, Right};
[SerializeField]
private HandType activeHand = HandType.Left;
[SerializeField]
private Tra... | 2.227393 | 64eb1fd31480cb9560222de007dff7bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrederickKDP/BirdGameTutorial",
"max_stars_repo_path": "FlappyBird/Assets/Local/Scripts/DamageTouch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68295"
} | starcoder | <filename>FlappyBird/Assets/Local/Scripts/DamageTouch.cs
using UnityEngine.SceneManagement;
using UnityEngine;
public class DamageTouch : MonoBehaviour {
public string tag = "Player";
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.tag == tag)
{
SceneManage... | 2.14479 | f586990d28cad3afb303fd0d60bc72bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68295 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "SkyLabs-Innovation-Group/SkyDrop",
"max_stars_repo_path": "src/SkyDrop.Core/Services/UploadTimerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68296"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Timers;
using Realms;
using SkyDrop.Core.DataModels;
namespace SkyDrop.Core.Services
{
/// <summary>
/// Keeps a running average of upload rates
/// This is used to calculate estimated upload progress... | 2.809629 | 49a7fc91be2fa08acf6ee10b2a244ac3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frostieDE/untisexport-service",
"max_stars_repo_path": "UntisExportService.WindowsService/Worker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68297"
} | starcoder | <reponame>frostieDE/untisexport-service<filename>UntisExportService.WindowsService/Worker.cs
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
using UntisExportService.Core;
namespace UntisExportService.WindowsService
{
public class Worker... | 2.350489 | 4a807e9d8bcae39ee8d364b452a968a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryeedwards/openyan",
"max_stars_repo_path": "Assembly-CSharp/ClubAmbienceScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68298"
} | starcoder | <reponame>larryeedwards/openyan<filename>Assembly-CSharp/ClubAmbienceScript.cs
using System;
using UnityEngine;
// Token: <KEY> RID: 875
public class ClubAmbienceScript : MonoBehaviour
{
// Token: <KEY> RID: 6132 RVA: 0x000C14C8 File Offset: 0x000BF8C8
private void Update()
{
if (this.Yandere.position.y > base.t... | 1.745804 | 0977cfc05407403917821dd70815f928 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VRtualize/VRtualize-Pangeo",
"max_stars_repo_path": "Pangeo/Assets/Scripts/MenuScripts/OpenMenuScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68299"
} | starcoder | /*OpenMenuScript.cs*/
using UnityEngine.SceneManagement;
using UnityEngine;
using Valve.VR;
/// <summary>
/// OpenMenuScript class that opens the menu with the click of the menu button.
/// </summary>
public class OpenMenuScript : MonoBehaviour
{
public SteamVR_Action_Boolean OpenMenu;
public SteamVR_Input_So... | 2.279062 | faad0d7785d36e15afc9abc22669f35d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielvo1510/DPRO.MyGoal",
"max_stars_repo_path": "aspnet-core/src/DPRO.Mygoal.Application/Sessions/Dto/TenantLoginInfoDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68300"
} | starcoder | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using DPRO.Mygoal.MultiTenancy;
namespace DPRO.Mygoal.Sessions.Dto
{
[AutoMapFrom(typeof(Tenant))]
public class TenantLoginInfoDto : EntityDto
{
public string TenancyName { get; set; }
public string Name { get; set; }
}
} | 1.457379 | 8ea5b21739f1079c0bf292c09d8e7225 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68300 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "sharpliner/sharpliner",
"max_stars_repo_path": "src/Sharpliner/AzureDevOps/ConditionedExpressions/ConditionedExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68301"
} | starcoder | <reponame>sharpliner/sharpliner<gh_stars>100-1000
using System.Collections.Generic;
using System.Linq;
using Sharpliner.AzureDevOps.ConditionedExpressions;
namespace Sharpliner.AzureDevOps;
/// <summary>
/// Allows better syntax inside of the condition tree.
/// </summary>
public static class ConditionedExtensions
{... | 2.701611 | 1c1085d83f702992e6e7952fdf2e5fb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/ONSdigital.blaise-api-rest",
"max_stars_repo_path": "Blaise.Api.Core/Interfaces/Mappers/IUserRoleDtoMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68302"
} | starcoder | <reponame>uk-gov-mirror/ONSdigital.blaise-api-rest
using System.Collections.Generic;
using Blaise.Api.Contracts.Models.UserRole;
using StatNeth.Blaise.API.Security;
namespace Blaise.Api.Core.Interfaces.Mappers
{
public interface IUserRoleDtoMapper
{
IEnumerable<UserRoleDto> MapToUserRoleDtos(IEnumerab... | 1.480422 | c753d512c2718dcf88d8e24c9495fbd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68302 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "neumatho/lfs_copy",
"max_stars_repo_path": "Source/Agents/SampleConverters/RiffWave/Formats/RiffWaveWorker_Pcm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68303"
} | starcoder | /******************************************************************************/
/* This source, or parts thereof, may be used in any software as long the */
/* license of NostalgicPlayer is keep. See the LICENSE file for more */
/* information. ... | 2.401628 | 17bfe36e2274bd43f776a8060aabd6bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vrjure/SEC",
"max_stars_repo_path": "SEC/Filters/Operators/OperatorToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68304"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SEC.Filters
{
public abstract class OperatorToken : NodeToken
{
public OperatorToken(string token, int priority):base(token)
{
this.Priority = priority;
}
public int Pri... | 3.085329 | cb7549db13cc697dc5b4e6a3bcaa67b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubilnik4/VeraBoutique",
"max_stars_repo_path": "BoutiqueCommon/Models/Common/Implementations/Clothes/Clothes/ClothesDetailBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68305"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using BoutiqueCommon.Extensions.HashCodeExtensions;
using BoutiqueCommon.Models.Common.Interfaces.Clothes;
using BoutiqueCommon.Models.Common.Interfaces.Clothes.Clothes;
using BoutiqueCommon.Models.Common.Interfaces.Clothes.Cloth... | 2.799072 | 95cfd615ad294bebab0986d77fbbf78b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.