added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "comsechq/sugar",
"max_stars_repo_path": "Source/Sugar/Reflection/Accessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153260"
} | starcoder | using System;
using System.Linq.Expressions;
namespace Sugar.Reflection
{
public interface IAccessor
{
string FieldName { get; }
Type PropertyType { get; }
Member InnerMember { get; }
void SetValue(object target, object propertyValue);
object GetValue(object target);
... | 2.125283 | 58c572af9f56f8fddf32c88e94f94b8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreise/lazy-tree-calc",
"max_stars_repo_path": "src/Net.FuncService/Implementation/AsyncFuncService.Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153261"
} | starcoder | #nullable enable
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using static System.FormattableString;
namespace System.Net
{
partial class AsyncFuncService<TValue>
{
ValueTask<Guid> IAsyncFuncServiceRemoteConfiguration<TValue>.GetIdAsync(
... | 2.027108 | e327fd2d1c51f15c8476eeff8ea06b85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834042 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "CADBIMDeveloper/MgdDbg",
"max_stars_repo_path": "Snoop/CollectorExts/Colors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153262"
} | starcoder | <filename>Snoop/CollectorExts/Colors.cs
//
// (C) Copyright 2004 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both t... | 2.303181 | fb03bf61cadad02ad7b9127dafd1e983 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834043 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "teekay/WaveformTimeline",
"max_stars_repo_path": "WaveformTimelineDemo/Audio/SampleAggregator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153263"
} | starcoder | // (c) Copyright <NAME>.
// This source is subject to Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Diagnostics;
using NAudio.Dsp;
namespace WaveformTimelineDemo.Audio
{
internal class SampleAggr... | 2.6607 | dd33b8b5d5138d6a3d76b62db8ff4a1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shreyanshmmgn/Pokemon-Masters",
"max_stars_repo_path": "Assets/Scripts/scoreScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153264"
} | starcoder | <filename>Assets/Scripts/scoreScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class scoreScript : MonoBehaviour
{
public static int scoreVale;
private Text score;
private void Awake()
{
DontDestroyOnLoad(transform.gameObject)... | 2.223212 | 73a0abc12892d859469f9b09375fcf38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834045 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "LinusVanElswijk/Unity-Int-Vectors",
"max_stars_repo_path": "Codes/Linus/IntVectors/Collections/IDataMatrix3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153265"
} | starcoder | <reponame>LinusVanElswijk/Unity-Int-Vectors
using System;
using System.Collections.Generic;
namespace Codes.Linus.IntVectors.Collections
{
public interface IDataMatrix3<T> : IEnumerable<T>
{
int Count
{
get;
}
Vector3i Size
{
get;
}
bool IsReadOnly
{
get;
}
T this [int x, int y, int z... | 2.515595 | b60c49ffd22bc367101ae839e0acf73d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834046 | {
"extension": "c-sharp",
"max_stars_count": "11580.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostAsGpu/Types/AllocSpaceArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153266"
} | starcoder | using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostAsGpu.Types
{
[StructLayout(LayoutKind.Sequential)]
struct AllocSpaceArguments
{
public uint Pages;
public uint PageSize;
public AddressSpaceFlags Flags;
... | 1.305091 | 0e32679694a6589b0c6e1ebc0b31566a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834047 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "pulumi/pulumi-alicloud",
"max_stars_repo_path": "sdk/dotnet/CS/Outputs/NodePoolManagement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153267"
} | starcoder | <filename>sdk/dotnet/CS/Outputs/NodePoolManagement.cs<gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immut... | 1.858363 | 05b92db542c5ad21842f7c45dbe499d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/KARA/KAR/Sim_KAR_205.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153268"
} | starcoder | <reponame>chi-rei-den/Silverfish
/* _BEGIN_TEMPLATE_
{
"id": "KAR_205",
"name": [
"镀银魔像",
"<NAME>"
],
"text": [
"如果你弃掉了这张随从牌,则会召唤它。",
"If you discard this minion, summon it."
],
"cardClass": "WARLOCK",
"type": "MINION",
"cost": 3,
"rarity": "RARE",
"set": "KARA",
"collectible": t... | 1.923051 | 0a9e48fb3e4d6aeddfa70f51ef47ea43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HuCaresTeam/schedulearn",
"max_stars_repo_path": "SchedulearnBackend/SchedulearnBackend/Services/TeamService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153269"
} | starcoder | <filename>SchedulearnBackend/SchedulearnBackend/Services/TeamService.cs
using Microsoft.EntityFrameworkCore;
using SchedulearnBackend.Controllers.DTOs;
using SchedulearnBackend.DataAccessLayer;
using SchedulearnBackend.Models;
using SchedulearnBackend.UserFriendlyExceptions;
using SQLitePCL;
using System;
using System... | 2.747269 | 3a7810f314df6c89b646e04aa4da213c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dswisher/swish-diagram",
"max_stars_repo_path": "src/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153270"
} | starcoder | <reponame>dswisher/swish-diagram
// Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License. See LICENSE.md in the project root for license information.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyCompany("swish-diagram")]
[assembly: AssemblyVe... | 1.925419 | 5b8bbead2b837f02a877c6b0101449f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833795 | {
"extension": "c-sharp",
"max_stars_count": "106.0",
"max_stars_repo_name": "suicvne/DiscordSharp",
"max_stars_repo_path": "DiscordSharp/Events/DiscordLeftVoiceChannelEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153015"
} | starcoder | <gh_stars>100-1000
using Newtonsoft.Json.Linq;
using System;
using DiscordSharp.Objects;
namespace DiscordSharp
{
public class DiscordLeftVoiceChannelEventArgs : EventArgs
{
public DiscordMember User { get; internal set; }
public DiscordServer Guild { get; internal set; }
public JObjec... | 1.536402 | 7272767332a24ff08ce67d9fe9283275 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "r2d2rigo/rebbound",
"max_stars_repo_path": "rebbound/Models/Like.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153016"
} | starcoder | <reponame>r2d2rigo/rebbound<filename>rebbound/Models/Like.cs
using Newtonsoft.Json;
using System;
namespace Rebbound.Models
{
[JsonObject]
public class Like
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("created_at")]
public DateTime CreatedAt { get; set... | 1.928846 | decc0ad0a3dac0db45ed22a9200427e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833797 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "stefan-baumann/ManiaPlanetSharp",
"max_stars_repo_path": "old/ManiaPlanetSharp/ManiaPlanetSharp/GameBox/Classes/Various/CollectionFolders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153017"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace ManiaPlanetSharp.GameBox.Classes.Various
{
public class CollectionFolders
: Node
{
public byte Version { get; set; }
public string FolderBlockInfo { get; set; }
public string FolderIte... | 2.597304 | fb0a99d8a922d7d88637592a2180a641 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833798 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sashalon/perfview",
"max_stars_repo_path": "src/PerfViewJS/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153018"
} | starcoder | <filename>src/PerfViewJS/Program.cs
// <copyright file="Program.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace PerfViewJS
{
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.Ke... | 2.278532 | f85fb0516fb5624f364bb0f08366a706 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kamiyaowl/blaze-snes",
"max_stars_repo_path": "BlazeSnes/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153019"
} | starcoder | <reponame>kamiyaowl/blaze-snes<gh_stars>1-10
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Blazored.LocalStorage;
using Blazorise;
using Blazorise.Frolic;
using Blazorise.Icons.FontAwesome;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInje... | 2.011855 | 29a5af4d620e97d2d0063974a744f849 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/CSharp-Fundamentals",
"max_stars_repo_path": "Final Exam Prep/01. The Imitation Game/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153020"
} | starcoder | <filename>Final Exam Prep/01. The Imitation Game/Program.cs
namespace _01._The_Imitation_Game
{
using System;
using System.Linq;
public static class Program
{
public static void Main()
{
var encryptedMessage = Console.ReadLine() ?? string.Empty;
string input;
... | 3.616243 | c5fd550731a17304dcc0691ca54ac58c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833801 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KlingOne/XdUnityUI",
"max_stars_repo_path": "Develop/UnityProject/Assets/I0plus/XdUnityUI/Scripts/Editor/Postprocessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153021"
} | starcoder | namespace I0plus.XdUnityUI.Editor
{
public abstract class BaumPostprocessor
{
}
} | 0.749554 | 66ecafdac6a9414bbe15edb6231ce3c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kurtanr/Chip8",
"max_stars_repo_path": "src/Chip8/Instructions/DecodedInstruction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153022"
} | starcoder | <gh_stars>0
using System;
namespace Chip8.Instructions
{
/// <summary>
/// Instruction decoded from 2 bytes of memory.
/// </summary>
public struct DecodedInstruction : IEquatable<DecodedInstruction>
{
/// <summary>
/// Entire instruction - 2 bytes long and stored most-significant-byte fir... | 2.968296 | 2b47f6e87590550ad5776909dbda6cf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833803 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ITALIA195/Shelter",
"max_stars_repo_path": "Shelter/Mod/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153023"
} | starcoder | <reponame>ITALIA195/Shelter
using System.Collections.Generic;
using Game;
using ExitGames.Client.Photon;
using Mod.Interface;
using Photon;
using Photon.Enums;
using UnityEngine;
using LogType = Mod.Logging.LogType;
namespace Mod
{
public class Player
{
public PlayerProperties Properties { get; }
... | 2.096762 | 4ec4c111ae6667bd7d1952682cb00ac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mindaugasdirg/Ogmis",
"max_stars_repo_path": "test/Ogmas.UnitTests/Repositories/SubmitedAnswersRepositoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153024"
} | starcoder | <reponame>mindaugasdirg/Ogmis<filename>test/Ogmas.UnitTests/Repositories/SubmitedAnswersRepositoryTests.cs
using System;
using System.Linq;
using NUnit.Framework;
using Ogmas.Models.Entities;
using Ogmas.Repositories;
using Ogmas.UnitTests.Helpers;
using Shouldly;
namespace Ogmas.UnitTests.Repositories
{
[TestFixt... | 2.480066 | ebfcd207634498079f2ba260ae929bba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenlongkuan/e-commerce-meisugou",
"max_stars_repo_path": "Msg.Entities/RegionEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153025"
} | starcoder | <filename>Msg.Entities/RegionEntity.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Msg.Tools;
namespace Msg.Entities
{
/// <summary>
/// 区域表
/// </summary>
[Serializable]
[Table("RegionEn... | 2.542062 | 75964d2b39a30632f93f480812c6341c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833806 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tomkuijsten/BabySteps",
"max_stars_repo_path": "src/NeuralNetworkManipulation/ModificationConfiguration/BiasModification/StaticValueBiasModifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153026"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BabySteps.NeuralNetworkManipulation.ModificationConfiguration.BiasModification
{
public class StaticValueBiasModifier : IBiasModifier
{
private double _staticValue;
pr... | 2.715457 | 2ec86680e9b33c5c071d6b7cbbdb52b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833807 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "amccool/core-SignalR",
"max_stars_repo_path": "src/Microsoft.AspNetCore.Sockets.Client.Http/ITransportFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153027"
} | starcoder | // 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.Net.Http;
namespace Microsoft.AspNetCore.Sockets.Client
{
public interface ITransportFactory
{
ITransport CreateTransport... | 1.250953 | 3fbe90541b5350f740b90731a267337a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wmtorode/MissionControl",
"max_stars_repo_path": "src/Core/EncounterResults/SetTeamByLanceSpawnerGuid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153028"
} | starcoder | <filename>src/Core/EncounterResults/SetTeamByLanceSpawnerGuid.cs
using UnityEngine;
using BattleTech;
using HBS;
using FogOfWar;
using BattleTech.UI;
using System.Collections.Generic;
using Harmony;
namespace MissionControl.Result {
public class SetTeamByLanceSpawnerGuid : EncounterResult {
public string T... | 1.840314 | acbe00a7bba4ee87b8b802cfd3bbe1e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833809 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ArcherTrister/LeXun.Alipay.AopSdk",
"max_stars_repo_path": "src/Alipay.AopSdk/Domain/LoanRepayPlanTerm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153029"
} | starcoder | <filename>src/Alipay.AopSdk/Domain/LoanRepayPlanTerm.cs
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Domain
{
/// <summary>
/// LoanRepayPlanTerm Data Structure.
/// </summary>
[Serializable]
public class LoanRepayPlanTerm : AopObject
{
/// <summary>
///... | 1.946919 | 6424b2fffd14d0b653037ed7f4cc262e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "valoni/STM32F103",
"max_stars_repo_path": "Framework/Core/Dpws/DpwsClient/DpwsDiscoClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153030"
} | starcoder | <reponame>valoni/STM32F103<gh_stars>1-10
using System;
using System.Collections;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using Ws.Services.Transport;
using Ws.Services.Transport.HTTP;
using Ws.Services.Utilities;
using Ws.Services.Soap;
using Ws.Services.Xml;
us... | 1.906511 | c14e903d1ea8e917673eb4ded40954ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lars-wobus/unity-essential-core",
"max_stars_repo_path": "EssentialCore/Assets/Essential/Core/Scripts/Math/Filter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153031"
} | starcoder | using UnityEngine;
namespace _Scripts.Math
{
public class Filter : MonoBehaviour
{
[SerializeField] private AnimationCurve _curve = AnimationCurve.Constant(0, 1, 1);
public AnimationCurve Curve
{
get { return _curve; }
set
{
if (value == null) return;
_curve = value;
}
}
public fl... | 2.702309 | 075afc3b4dc3a2635de3121be00cdecf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833812 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bastie/NetVampire",
"max_stars_repo_path": "archive/codeplex/JavApi jrpm/com/jguild/jrpm/io/constant/RPMSense.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153032"
} | starcoder | <gh_stars>1-10
/*
* Copyright 2003 jRPM Team
*
* 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 app... | 1.40282 | 5af93047316c441f3cb3385442631c52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdfw/fish-planting-demo",
"max_stars_repo_path": "src/FishPlanting.Api.Demo/DemoFishPlantingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153033"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Linq;
using System.ComponentModel.DataAnnotations;
namespace FishPlanting.Api.Demo
{
/// <summary>
/// A demo version of the <see cref="IFishPlan... | 2.774985 | b52633cce875f8ffafc54c71def3ce0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833814 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StephenMIdeagen/GenuineChannels",
"max_stars_repo_path": "Genuine Channels/Sources/BroadcastEngine/ResultCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153034"
} | starcoder | /* Genuine Channels product.
*
* Copyright (c) 2002-2007 <NAME>. All rights reserved.
*
* This source code comes under and must be used and distributed according to the Genuine Channels license agreement.
*/
using System;
using System.Collections;
using System.IO;
using System.Threading;
using Syste... | 2.115752 | 87035a7f41c9df8d00db0c771798161c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kussy/Risk-basedProjectValue",
"max_stars_repo_path": "CoreTest/TestEPCProject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153035"
} | starcoder | <reponame>Kussy/Risk-basedProjectValue
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kussy.Analysis.Project.Core
{
[TestClass]
public class TestEPCProject
{
Project project;
Activity a_12BD01;
Activity a_01CS01;
Activity a_15DE01;
... | 1.990666 | 994927838bd761f399f738072b79df22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833816 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sealkeen/NWindowsKits",
"max_stars_repo_path": "NWindowsKits/NWindowsKits/msxml/interfaces/IXMLHttpRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153036"
} | starcoder | // This source code was generated by ClangCaster
using System;
using System.Runtime.InteropServices;
namespace NWindowsKits
{
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um/msxml.h:8207
public class IXMLHttpRequest : IDispatch
{
static Guid s_uuid = new Guid("ed8c108d-43... | 1.901739 | ad44ebe08d9b27a002ce8cdf5c94482a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MelinaPapadopoulou/User-Communication",
"max_stars_repo_path": "UserExcercise/User Interface/MenuSelection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153037"
} | starcoder | <filename>UserExcercise/User Interface/MenuSelection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UserExcercise
{
class SelectionMenu
{
public struct UserChoice
{
public string NameOfChoice;
... | 3.489749 | 416a20cb4086e55e81ae3389ad0250b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833818 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gabrielspmoreira/nui4map.net",
"max_stars_repo_path": "src/Leap4Map/Gestures/MapZoomGestureHandlerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153038"
} | starcoder | using NUI4Map.Gestures;
using System;
using Leap;
using System.Diagnostics;
namespace Leap4Map.Gestures
{
public abstract class MapZoomGestureHandlerBase : IMapZoomGestureHandler
{
public event Action ZoomStarted;
public event Action ZoomStopped;
public event Action Zooming;
pr... | 2.281111 | b40a6dfd25b1a58505a6b0c34cf86e52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jalew123/Microsoft-Teams-Samples",
"max_stars_repo_path": "samples/app-region-selection/csharp/RegionSectionApp/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153039"
} | starcoder | <gh_stars>0
@model Microsoft.BotBuilderSamples.Models.Rootobject;
<!DOCTYPE html>
<html>
<head>
<script src='https://res.cdn.office.net/teams-js/2.0.0/js/MicrosoftTeams.min.js'></script>
<script type="text/javascript" src="~/Scripts/teamsapp.js"></script>
</head>
<body>
<div class="font-semibold font-titl... | 2.37769 | b8797d4fe7f4f5d2fe00d8740ef8e42d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833820 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "colinjacobsorckestra/BetterRetail",
"max_stars_repo_path": "src/Orckestra.Composer.Product/ViewModels/SpecificationsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153040"
} | starcoder | <reponame>colinjacobsorckestra/BetterRetail<filename>src/Orckestra.Composer.Product/ViewModels/SpecificationsViewModel.cs<gh_stars>1-10
using System.Collections.Generic;
using Orckestra.Composer.ViewModels;
namespace Orckestra.Composer.Product.ViewModels
{
/// <summary>
/// Product Specifications ViewModel. T... | 2.349316 | 1f32230e620516457920c5bf70b0f52c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmmarko/MyTested.AspNetCore.Mvc",
"max_stars_repo_path": "test/MyTested.AspNetCore.Mvc.Routing.Test/BuildersTests/RoutingTests/RouteTestBuilderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153041"
} | starcoder | <gh_stars>0
namespace MyTested.AspNetCore.Mvc.Test.BuildersTests.RoutingTests
{
using System;
using System.Collections.Generic;
using Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetC... | 1.676271 | e57f62be3059c939eef51e544cad86d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833822 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "Baste-RainGames/AnimationPlayer",
"max_stars_repo_path": "Runtime/BlendTreeController1D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153042"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.Animations;
using UnityEngine.Playables;
namespace Animation_Player
{
public class BlendTreeController1D
{
private readonly AnimationMixerPlayable mixer;
private readonly BlendTreeData[] runtimeData;
private readonly bool compensateFor... | 2.828455 | 47f437dd088b3287df408db8ad7e7e58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833823 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "dayezhao/MinChain",
"max_stars_repo_path": "MinChain/Util/HexConvert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153043"
} | starcoder | <reponame>dayezhao/MinChain
using System;
using System.Linq;
namespace MinChain
{
public static class HexConvert
{
public static byte[] ToBytes(string hex)
{
var ret = new byte[hex.Length / 2];
for (var i = 0; i < hex.Length; i += 2)
ret[i / 2] = Convert.... | 2.544441 | f9b7f7b4829060af16fbce9f898bf75e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833824 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timo-2/actools",
"max_stars_repo_path": "AcManager/Pages/Drive/UnitedRacingData.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153044"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using AcManager.Controls.UserControls;
using AcManager.Controls.UserControls.Web;
usi... | 1.644991 | e32452b41c6912c4d98226b738d8b668 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dingweikun/DingWK.Graph2D",
"max_stars_repo_path": "Graphic2D.Kernel/Visuals/VisualUnion0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153045"
} | starcoder | using Graphic2D.Kernel.Common;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Graphic2D.Kernel.Visuals
{
public class VisualUnion : PropertyChangeN... | 2.687707 | 92e206cdd10f344ad5e76a251a0f613d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muthu67/Docs",
"max_stars_repo_path": "docs/csharp/programming-guide/inside-a-program/codesnippet/CSharp/coding-conventions_10.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153046"
} | starcoder | foreach (var ch in laugh)
{
if (ch == 'h')
Console.Write("H");
else
Console.Write(ch);
}
Console.WriteLine(); | 3.030782 | 6ef4497a3753806ab96c60be5cfb820d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833827 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "joaoasrosa/aws-sam-local-blog",
"max_stars_repo_path": "tests/Lambda.Api.Tests/Dtos/Sms.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153047"
} | starcoder | <filename>tests/Lambda.Api.Tests/Dtos/Sms.cs
using Newtonsoft.Json;
namespace Lambda.Api.Tests.Dtos
{
public class Sms
{
private readonly string _body;
private readonly string _to;
private readonly string _type;
[JsonConstructor]
internal Sms(
string to,
... | 2.337756 | 1c62b89b8bcfe2d804889c967e5fa879 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833828 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "adamspicer/.NET-MAPI-Wrapper",
"max_stars_repo_path": "source/BrightcoveOS .NET-MAPI-Wrapper/Model/Items/BrightcoveItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153048"
} | starcoder | namespace BrightcoveMapiWrapper.Model.Items
{
/// <summary>
/// Class from which Brightcove item model classes descend,
/// like BrightcoveVideo, BrightcoveAudioTrack, and BrightcovePlaylist
/// </summary>
public abstract class BrightcoveItem
{
}
}
| 2.010294 | add8c800ed610fb085529e15487b54d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833829 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "actransitorg/transit-performance",
"max_stars_repo_path": "GtfsRealtimeLib/TimeRange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153049"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GtfsRealtimeLib
{
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name = @"TimeRange")]
public partial class TimeRange : global::ProtoBuf.IExtensible
... | 2.215729 | 519d2eef0b765c1eceb30c9958b40119 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aukgit/StoreManament",
"max_stars_repo_path": "JustFood/Areas/Admin/Controllers/UsersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153050"
} | starcoder | <reponame>aukgit/StoreManament
using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
using JustFood.Models;
using JustFood.Modules.Role;
namespace JustFood.Areas.Admin.Controllers {
public class UsersController : Controller {
private readonly JustFoodDBEntitie... | 1.840879 | c539b28083dbb59c6c5682d11461ec4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skbkontur/edi-api",
"max_stars_repo_path": "EdiApi.Client/Types/Messages/BoxEventsContents/Outbox/MessageDocumentPackageSignedByRecipientFailEventContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153051"
} | starcoder | <reponame>skbkontur/edi-api
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox
{
/// <summary>Информация о событии DocumentPackageSignedByRecipientFail</summary>
public class MessageDocumentPackageSignedByRecipientFailEventContent : OutboxDiadocEventContentBase
{
/// <summary... | 1.49755 | 074c0ac273ccf73ed9003520b6c87f97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833832 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "marnen/freshli-lib",
"max_stars_repo_path": "Corgibytes.Freshli.Lib.Test/Unit/LibYearCalculatorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153052"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Xunit;
namespace Corgibytes.Freshli.Lib.Test.Unit
{
public class LibYearCalculatorTest
{
[Theory]
[InlineData(
new object[] { "1.1.0", 2017, 04, 07 },
new object[] { "1.1.3", 2019, 06, 13 },
2.18,
... | 2.261366 | d414f16076da9c83fb6647c9e33459a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gbachs/Terminals",
"max_stars_repo_path": "Source/Metro/LinkLayer/Ethernet802.3/Ethernet802_3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153053"
} | starcoder | /******************************************************************************\
* Metro *
* *
* Copyright (C) 2004 <NAME> <<EMAIL>> *
* ... | 2.294459 | 1dfc227eda360d0a04c2ac41edfb5f5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833834 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "RehanSaeed/Elysium-Extra",
"max_stars_repo_path": "Source/Framework.UI/Controls/Wizard/Internal/WizardItemModelCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153054"
} | starcoder | namespace Framework.UI.Controls
{
using Framework.ComponentModel;
/// <summary>
/// The wizard item model collection.
/// </summary>
public sealed class WizardItemModelCollection : KeyedObservableItemsCollection<string, WizardItemModel>
{
/// <summary>
/// The get key for item.... | 2.46539 | 42b370b4ef5eb6ec059d0e7a2d79b2b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stroopwafe1/GameOfLife",
"max_stars_repo_path": "Controller/Runner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153055"
} | starcoder | <reponame>Stroopwafe1/GameOfLife
using Model;
using System.Timers;
namespace Controller {
public class Runner {
private Board _board;
private Timer _timer;
public Runner(Board board) {
_board = board;
_timer = new Timer(50);
_timer.Elapsed += OnTimedEvent;
}
public void Start() {
_timer.Star... | 2.642126 | 123eb2ad18d486f159882da492b7406b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danieldeveloper001/csharp_design_patterns",
"max_stars_repo_path": "src/behavioural/visitor/001_abstract/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153056"
} | starcoder | using System;
using System.Collections.Generic;
namespace Project
{
class Program
{
static void Main(string[] args)
{
var visitables = new List<IVisitable>()
{
new Visitable1("value"),
new Visitable2("value"),
... | 2.943589 | 3e89e9803264d05b2ee60a6a509c2060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833837 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/CommonFoundation",
"max_stars_repo_path": "development/Beyova.AspNet/WebUi/WebUiBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153057"
} | starcoder | <reponame>JTOne123/CommonFoundation<filename>development/Beyova.AspNet/WebUi/WebUiBuilder.cs
using System.Collections.Generic;
using System.Text;
namespace Beyova.Web
{
/// <summary>
///
/// </summary>
public static class WebUiBuilder
{
/// <summary>
/// Creates the CheckBox.
... | 2.661942 | 63488e9fd4f539f7dc9c51f1eb176fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robholden/Snow-Capture",
"max_stars_repo_path": "Backend/Microservices/Content/Content.Api/Requests/UpdateNameRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153058"
} | starcoder | <reponame>robholden/Snow-Capture
using System.ComponentModel.DataAnnotations;
namespace Content.Api.Requests;
public class UpdateNameRequest
{
[Required]
public string Name { get; set; }
} | 1.499612 | 4282ca329a0ecd5e8341a5bab772a56c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "k94ll13nn3/AdventOfCode",
"max_stars_repo_path": "src/AdventOfCode/Days/Day20.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153059"
} | starcoder | <filename>src/AdventOfCode/Days/Day20.cs
using System.Text;
namespace AdventOfCode.Days;
public class Day20 : Day
{
public Day20() : base("20")
{
}
public override string Title => "Trench Map";
public override string ProcessFirst()
{
return $"{Process(2)}";
}
public override... | 3.023873 | 75831d898d8792fd11c16d9aa448f874 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833840 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TheSylence/Twice",
"max_stars_repo_path": "Twice.Tests/ViewModels/Settings/VisualSettingsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153060"
} | starcoder | using MaterialDesignColors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Media;
using Twice.Models.Configuration;
using Twice.Models.Twitter;
using Twice.Utilities.... | 1.914441 | 6331a5b2cecc7429812bf6443e7ec1dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833841 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "AyrA/MakeMKV",
"max_stars_repo_path": "MakeMKV/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153061"
} | starcoder | <reponame>AyrA/MakeMKV
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Serialization;
namespace MakeMKV
{
class Program
{
/// <summary>
/// Update Interval for Key
/// </summary>
public const int UPDATE_INTERVAL_H =... | 2.472266 | bd3929c0a26d82b0aaea18a453f5bf3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833842 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "XDKSerenity/Ascension",
"max_stars_repo_path": "Ascension/Forms/Dialog/SettingsForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153062"
} | starcoder | <gh_stars>1-10
namespace Ascension.Forms.Dialog
{
using Ascension.Settings;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using JRPC_Client;
using Utility;
public class SettingsForm : Form
{
private Button btnAutoMapPath;
... | 1.491914 | 81db66afbfed77aef3e93eaa09aec922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833843 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "uretskyzvi/Monitor-Applications-Using-SQL-Queries",
"max_stars_repo_path": "ManageQueryOleDbMonitorUI/ConnectionAndQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153063"
} | starcoder | using Microsoft.EnterpriseManagement.Common;
using Microsoft.EnterpriseManagement.Configuration;
using Microsoft.EnterpriseManagement.Mom.Internal.UI.Common;
using Microsoft.EnterpriseManagement.Mom.Internal.UI.Controls;
using Microsoft.EnterpriseManagement.Security;
using Microsoft.EnterpriseManagement.UI;
using Syst... | 1.734379 | 40c217ec4de514e5bdcc3c9255d21a45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833844 | {
"extension": "c-sharp",
"max_stars_count": "486.0",
"max_stars_repo_name": "ZavierHenry/LinqToTwitter",
"max_stars_repo_path": "src/LinqToTwitter3/Tests/LinqToTwitterXUnitTests/SerializationTests/TypeConversionExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153064"
} | starcoder | using System;
using LinqToTwitter.Common;
using LinqToTwitterXUnitTests.Common;
using LitJson;
using Xunit;
namespace LinqToTwitterXUnitTests
{
public class TypeConversionExtensionsTests
{
public TypeConversionExtensionsTests()
{
TestCulture.SetCulture();
}
[Fact]
... | 2.386311 | dc10d99795fbec54c60d942e7d6ff339 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833845 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "AlFasGD/RiotNet",
"max_stars_repo_path": "RiotNet/RetryEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153065"
} | starcoder | namespace RiotNet
{
/// <summary>
/// Represents a method that will handle an event that could trigger a retry of a request.
/// </summary>
/// <param name="sender">The object that created the event.</param>
/// <param name="e">Arguments for the event.</param>
public delegate void RetryEventHan... | 3.257768 | 3543f501365baaf5ccada71159ab3109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833846 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "automation555/space-dotnet-sdk",
"max_stars_repo_path": "src/JetBrains.Space.Client/Generated/Partials/MeetingWebhookEventPartialBuilder.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153066"
} | starcoder | <gh_stars>10-100
// ------------------------------------------------------------------------------
// <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>
// ----------------------... | 1.503123 | cb6fc7a858398f596d845173dac8b61c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VitalickS/BrightSharp.Toolkit",
"max_stars_repo_path": "BrightSharp.Ui.Tests/TabbedMainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153067"
} | starcoder | <gh_stars>1-10
using BrightSharp.Themes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System... | 2.215798 | aeb2c3ecc5a48924e7b9b5cba6a23e64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833848 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MinyMeep1/BitCamp",
"max_stars_repo_path": "GameDev/week5/homework/solution/UITutorialCompleted/Assets/DifficultyButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153068"
} | starcoder | <filename>GameDev/week5/homework/solution/UITutorialCompleted/Assets/DifficultyButton.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DifficultyButton : MonoBehaviour
{
private Button button;
public int difficulty;
private Scene... | 2.339725 | 20584ce07e25050fb31ee067d2a83a9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833849 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "MediatedCommunications/Mime-Detective",
"max_stars_repo_path": "src/MimeDetective/Engine/Segments/StringSegmentMatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153069"
} | starcoder | using MimeDetective.Storage;
namespace MimeDetective.Engine {
/// <summary>
/// Represents a successful match against a <see cref="StringSegment"/>.
/// </summary>
public record StringSegmentMatch : PatternSegmentMatch
{
/// <summary>
/// The <see cref="StringSegment"/> that was m... | 2.57426 | f3239a00f53c8f1511c1af9afb10c699 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LGinC/HuaweiCloudObs",
"max_stars_repo_path": "HuaweiCloudObs/HuaweiCloudObs/Models/ErrorResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153070"
} | starcoder | <reponame>LGinC/HuaweiCloudObs<filename>HuaweiCloudObs/HuaweiCloudObs/Models/ErrorResult.cs
using System.Xml.Serialization;
namespace HuaweiCloudObs.Models
{
[XmlRoot("Error")]
public class ErrorResult
{
public string Code { get; set; }
public string Message { get; set; }
public... | 1.66118 | e2e1a5a7c057f90975155eafb2ca654a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833851 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "fscats/SPAD.neXt",
"max_stars_repo_path": "SPAD.Interfaces/Events/IProgrammableLED.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153071"
} | starcoder | <reponame>fscats/SPAD.neXt
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Events
{
public interface IProgrammableButton : INotifyPropertyCh... | 1.910343 | abedfa62e2eaa970f783ab0343c505e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833852 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ExM/NLanguageTag",
"max_stars_repo_path": "NLanguageTag/Generated/LanguageTag.Ctors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153072"
} | starcoder | <reponame>ExM/NLanguageTag<filename>NLanguageTag/Generated/LanguageTag.Ctors.cs
using System;
using System.Collections.Generic;
namespace NLanguageTag
{
public readonly partial struct LanguageTag
{
/// <summary>
/// Initializes new value of <see cref="LanguageTag"/>
/// </summary>
/// <param name... | 2.333186 | 8cd24df49b099c085bf8349daea37153 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csicks/Simplified-Train-Ticket-Booking-System",
"max_stars_repo_path": "Train_Server/Train_Server/Form6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153073"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
namespace Train_Server
{
public partial class Form6 : Form
... | 2.421082 | c60c81246a4ccc672c1ac47909319c98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "allisoninman/smallbasic-editor",
"max_stars_repo_path": "Source/SmallBasic.Compiler/Runtime/DebuggerSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153074"
} | starcoder | <reponame>allisoninman/smallbasic-editor<gh_stars>0
// <copyright file = "DebuggerSnapshot.cs" company="2018 <NAME>">
// Copyright (c) 2018 <NAME>. All rights reserved. Licensed under the MIT License. See LICENSE file in the project root for license information.
// </copyright>
namespace SmallBasic.Compiler.Runtime
{... | 1.934441 | 204ede21002f32fe016f0bb54890efc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833855 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Archomeda/Gw2Sharp",
"max_stars_repo_path": "Gw2Sharp/ChatLinks/Internal/CoinChatLinkStruct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153075"
} | starcoder | <filename>Gw2Sharp/ChatLinks/Internal/CoinChatLinkStruct.cs
using System.Runtime.InteropServices;
#pragma warning disable CA1051 // Do not declare visible instance fields
#pragma warning disable CA1815 // Override equals and operator equals on value types
namespace Gw2Sharp.ChatLinks.Internal
{
/// <summary>
... | 2.355538 | 5019fac714e07ff9c14d811974cc201b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833856 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "JaskaRoman/selenium-utils",
"max_stars_repo_path": "src/Core/Riganti.Selenium.Core/Drivers/Implementation/FirefoxHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153076"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using Riganti.Selenium.Core.Factories;
namespace Riganti.Selenium.Core.Drivers.Implementation
{
public static class FirefoxHelpers
{
private static string pathToFirefoxBinary;... | 2.313237 | fe92f466a3279116056f26ec58d7ff95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833857 | {
"extension": "c-sharp",
"max_stars_count": "619.0",
"max_stars_repo_name": "slumtrimpet/Inventory-Pro",
"max_stars_repo_path": "Scripts/Modules/ItemFilters/Editor/ItemFilterEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153077"
} | starcoder | <gh_stars>100-1000
using UnityEngine;
using UnityEditor;
using System;
using Devdog.General.Editors;
using Devdog.InventoryPro;
namespace Devdog.InventoryPro.Editors
{
[CustomPropertyDrawer(typeof(ItemFilter), true)]
public class ItemFilterEditor : PropertyDrawer
{
public override float GetProper... | 2.133349 | 5d8038ef7851248cccb2dcf4de454604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833858 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Trinitek/TpsParser",
"max_stars_repo_path": "src/TpsParser/Tps/Type/TpsPString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153078"
} | starcoder | using System;
using System.Text;
using TpsParser.Binary;
namespace TpsParser.Tps.Type
{
/// <summary>
/// Represents a Pascal string where the length is specified at the beginning of the string.
/// </summary>
public sealed class TpsPString : TpsObject<string>
{
/// <inheritdoc/>
p... | 3.334874 | 416c92d827c6084b29f040f5bc704ef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833859 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "austinkeller/pwiz",
"max_stars_repo_path": "pwiz_tools/Topograph/TopographLib/Model/Modifications.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153079"
} | starcoder | /*
* Original author: <NAME> <<EMAIL>sh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2009 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... | 2.095201 | 3a10c9e059e3ed6cfc09b44208d96012 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Publisher/DispatchInterfaces/WebOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153080"
} | starcoder | <filename>Source/Publisher/DispatchInterfaces/WebOptions.cs
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.PublisherApi
{
/// <summary>
/// DispatchInterface WebOptions
/// SupportByVersion Publisher, 14,15,16
/// </summary>
[SupportBy... | 1.409184 | ec95884d44adec1f7845d351fa12d28e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833861 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "steveski/Perigee.Framework.Data",
"max_stars_repo_path": "Examples/ExampleRestApi/ExampleRestApiModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153081"
} | starcoder | namespace ExampleRestApi
{
using System.Collections.Generic;
using System.Security.Claims;
using System.Security.Principal;
using System.Text;
using Autofac;
using AutoMapper;
using Divergic.Configuration.Autofac;
using Example.Domain.Customers.Queries;
using Example.Mappings;
us... | 1.825958 | 364b8e03f52771d2ec2344da6ac3392b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833862 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "DanielTizon/EpicOnlineTransport",
"max_stars_repo_path": "EOSSDK/Generated/RTCAdmin/KickOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153082"
} | starcoder | // Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.RTCAdmin
{
/// <summary>
/// Input parameters for the <see cref="RTCAdminInterface.Kick" /> function.
/// </summary>
public class KickOptions
{
/// <... | 2.328082 | 3d2b78d5eee53c33fcc246b67d0c203a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ovaldi/Commerce",
"max_stars_repo_path": "Kooboo.Commerce.Web/Areas/Contents/Views/SearchIndex/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153083"
} | starcoder | @model Kooboo.CMS.Web.Areas.Contents.Models.IndexSummaryModel
@{
ViewBag.Title = "Index dashboard".Localize();
Layout = "~/Views/Shared/Site.cshtml";
}
@section Panel{
<ul class="panel">
<li>
<a href="@Url.Action("Rebuild", ViewContext.RequestContext.AllRouteValues().Merge("return", Vie... | 2.133701 | b2abec64c73a5fd7391a23da70a83c78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833864 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cyrus-Sushiant/bitframework",
"max_stars_repo_path": "src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/Pages/Profile.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153084"
} | starcoder | <filename>src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/Pages/Profile.razor.cs
namespace TodoTemplate.App.Pages;
public partial class Profile
{
}
| 1.010855 | 916fda8361749c509e6ead837f54c092 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833865 | {
"extension": "c-sharp",
"max_stars_count": "333.0",
"max_stars_repo_name": "DukeChiang/DCET.Game",
"max_stars_repo_path": "Unity/Packages/DCET.Lua/Runtime/XLua/Gen/PathfindingRelevantGraphSurfaceWrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153085"
} | starcoder | <filename>Unity/Packages/DCET.Lua/Runtime/XLua/Gen/PathfindingRelevantGraphSurfaceWrap.cs
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction ... | 1.9203 | 18ac5a7785c32aa8c2f1a2bef15ecfed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833866 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cwmorse/SpeckleCore",
"max_stars_repo_path": "SpeckleCore/ModelObjects.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153086"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpeckleCore
{
[System.CodeDom.Compiler.GeneratedCode( "NJsonSchema", "9.10.41.0 (Newtonsoft.Json v9.0.0.0)" )]
[Serializable]
public enum SpeckleObj... | 2.15328 | 6bf08798aac5b2c4058f3c16ad753af3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833867 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "andreabalducci/Prxm.Cqrs",
"max_stars_repo_path": "Sample.Commands/System/PoisoningCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153087"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Proximo.Cqrs.Core.Commanding;
namespace Sample.Commands.System
{
public class PoisoningCommand : ICommand
{
public Guid Id { get; protected set; }
protected PoisoningCommand()
{
... | 2.032258 | 8e76457cdf67958628d54909b0354948 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833868 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "eventphone/mitel-api",
"max_stars_repo_path": "src/mitel-api/Events/EventPositionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153088"
} | starcoder | using System.Xml.Serialization;
using mitelapi.Types;
namespace mitelapi.Events
{
/// <summary>
/// This event is sent by OM AXI when information about the current DECT phone position has arrived.
/// </summary>
public class EventPositionInfo : BaseEvent
{
/// <summary>
/// PPN bei... | 2.03899 | 155ad267ba1984c5eebc1f7e67b4b2f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amenkes/HL7Parser",
"max_stars_repo_path": "Models/Messages/HealthCareInvoiceMessages/SubmitAuthorizationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153089"
} | starcoder | using HL7Data.Contracts.Messages.HealthCareInvoiceMessages;
using HL7Data.Models.Types;
namespace HL7Data.Models.Messages.HealthcareInvoiceMessages
{
public class SubmitAuthorizationRequest : BaseHealthcareInvoiceMessage, ISubmitAuthorizationRequest
{
public override TriggerEventTypes TriggerEventType... | 1.289564 | 74a817e85d931195fa983402d3fba001 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Editor/Scripts/HelpTool/GHelpToolDrawer.cs",
"provenance": "train-00027-of-00045.json... | starcoder | #if GRIFFIN
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Pinwheel.Griffin.HelpTool
{
public static class GHelpToolDrawer
{
private static string searchText;
private static Vector2 scrollPos;
private static int suggestionIndex;
private static... | 2.095555 | c471f4b1d452ac0bc68932f9f4fb646b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbrilVelo/Gu-aProgramacion1",
"max_stars_repo_path": "Assets/scripts/Ejercicio8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153091"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ejercicio8 : MonoBehaviour
{
// Crear una variable entera que pueda ser modificada desde el Inspector.
//Suponiendo que el primer día de la semana es el Domingo,
//mostrar el nombre del día correspond... | 2.704049 | 1feb9e356ffb84e552ef197c558a033d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BuiTanLan/ecommerce-microservices",
"max_stars_repo_path": "src/Services/ECommerce.Services.Catalogs/ECommerce.Services.Catalogs/Products/Features/GettingProducts/GetProducts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153092"
} | starcoder | using AutoMapper;
using ECommerce.Services.Catalogs.Products.Dtos;
using ECommerce.Services.Catalogs.Products.Models;
using ECommerce.Services.Catalogs.Shared.Contracts;
using MicroBootstrap.Abstractions.CQRS.Query;
using MicroBootstrap.Core.Persistence.EfCore;
using MicroBootstrap.Core.Types;
using MicroBootstrap.CQRS... | 2.000369 | 678f0bb1af20a8da4cf637a2f1d54795 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833873 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bryan2894-playgrnd/SimpleWeather",
"max_stars_repo_path": "SimpleWeather.UWP/Controls/Banner/IBannerPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153093"
} | starcoder | <filename>SimpleWeather.UWP/Controls/Banner/IBannerPage.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleWeather.UWP.Controls
{
public interface IBannerPage
{
public void ShowBanner(Banner banner);
... | 2.042372 | 86b4f7a0ecce056f43db94e27c2c55f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Intecpsp/GraphQL.EntityFramework",
"max_stars_repo_path": "src/Tests/IntegrationTests/Schema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153094"
} | starcoder | using System;
public class Schema :
GraphQL.Types.Schema
{
public Schema(IServiceProvider resolver) :
base(resolver)
{
RegisterTypeMapping(typeof(FilterChildEntity), typeof(FilterChildGraph));
RegisterTypeMapping(typeof(FilterParentEntity), typeof(FilterParentGraph));
Regis... | 1.467405 | 9dbf67b1673edfb53badd71a0a9ee7c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JosephMartell/MQTTLib",
"max_stars_repo_path": "MQTTLib/Protocol/EncodedRemainingLength.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153095"
} | starcoder | <filename>MQTTLib/Protocol/EncodedRemainingLength.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MQTTLib {
public class EncodedRemainingLength {
public UInt32 Length { get; }
public EncodedRemainingLength(UInt32 len... | 3.171521 | 0504be09c1567a673f79cbaebfae77e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmdwtf/MathRox",
"max_stars_repo_path": "cmdwtf.MathRox/Extensions/ExceptionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153096"
} | starcoder | using System;
namespace cmdwtf.MathRox.Extensions
{
public static class ExceptionExtensions
{
public static string GetCallingSite(this Exception ex)
=> ex.StackTrace.Remove(ex.StackTrace.IndexOf("\r\n")).Trim();
}
}
| 2.199351 | e60f53d838527abf2c47f89222f30d4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833877 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "AGuardian/HospitalManagemtSystem-WPF-",
"max_stars_repo_path": "DAL/SectionRoomSonDAL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153097"
} | starcoder | <reponame>AGuardian/HospitalManagemtSystem-WPF-<filename>DAL/SectionRoomSonDAL.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using System.Data;
using System.Data.SqlClient;
namespace DAL
{
public class SectionRoomSonDAL
{
... | 2.36061 | d5fcc220be31dc3bf14c15bb4aec2925 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ertugrulozcan/Keycloak.Net",
"max_stars_repo_path": "Keycloak/Services/Interfaces/IClientService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153098"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using Keycloak.Core.Models.Clients;
using Keycloak.Rest.Models;
namespace Keycloak.Services.Interfaces
{
public interface IClientService
{
IResponseResult<IEnumerable<Client>> GetClients(int? skip = null, int? limit = null);
IResponseResult<Client> GetClient(st... | 1.546078 | 6669f59dea9955b357c73fe97866a8da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833879 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "tobug006/ABP2",
"max_stars_repo_path": "src/Abp.Quartz/Quartz/QuartzScheduleJobManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153099"
} | starcoder | using System;
using System.Threading.Tasks;
using Abp.BackgroundJobs;
using Abp.Dependency;
using Abp.Quartz.Quartz.Configuration;
using Abp.Threading.BackgroundWorkers;
using Quartz;
namespace Abp.Quartz.Quartz
{
public class QuartzScheduleJobManager : BackgroundWorkerBase, IQuartzScheduleJobManager, ISingletonD... | 2.180449 | 72bf7f45380a9801f554e7cdf0b86ee8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jago2136/azure-powershell",
"max_stars_repo_path": "src/DataProtection/generated/api/Support/RestoreSourceDataStoreType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153100"
} | starcoder | <filename>src/DataProtection/generated/api/Support/RestoreSourceDataStoreType.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may caus... | 2.406395 | b4a27cf50f3f8b59393d0b4a0c7419dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnMiz/MoneyFox",
"max_stars_repo_path": "Src/MoneyFox.Business/Manager/SettingsManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153101"
} | starcoder | using System;
using System.Globalization;
using MoneyFox.Business.Adapter;
using MoneyFox.Foundation;
using MoneyFox.Foundation.Interfaces;
using Xamarin.Forms;
namespace MoneyFox.Business.Manager
{
public class SettingsManager : ISettingsManager
{
private const string SHOW_CASH_FLOW_ON_MAIN_TILE_KEYN... | 2.185498 | 0f27cb669809878be5efe48f7234f447 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833882 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "cake-contrib/Cake.EntityFramework",
"max_stars_repo_path": "src/Cake.EntityFramework.TestProject.Postgres/Migrations/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153102"
} | starcoder | using System.Data.Entity.Migrations;
namespace Cake.EntityFramework.TestProject.Postgres.Migrations
{
internal sealed class Configuration : DbMigrationsConfiguration<SchoolContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = false;
}
protected override v... | 1.856457 | cc7b302933e23340c1089fe586f58584 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833883 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ValentinnDimitroff/TeamStore",
"max_stars_repo_path": "tests/UnitTests/Services/MockTelemetryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153103"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using TeamStore.Keeper.Interfaces;
namespace UnitTests.Services
{
internal class MockTelemetryService : ITelemetryService
{
public void TraceEvent(string message, string key1, string value1)
{
// do nothing
... | 1.712933 | edafe214537a544b404b7994dbfa3bab |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.