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 | 66533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Runtime/Scripts/Playables/MarsVideoPlayableAsset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66534"
} | starcoder | <reponame>bsides44/MARSGeofencing<filename>MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Runtime/Scripts/Playables/MarsVideoPlayableAsset.cs
using System;
using Unity.MARS.Recording;
using Unity.MARS.Simulation;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Scripting.APIUpdating;
using ... | 1.928659 | 12daaf7db8459a4b3f4eafc6f058df98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CarlosOrtiz/Caliada-Leche",
"max_stars_repo_path": "Proyecto Final/Morelac/Proyecto_Web/Vistas/Private/Supervisor/Modificar_Supervisor.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66535"
} | starcoder | <reponame>CarlosOrtiz/Caliada-Leche
//------------------------------------------------------------------------------
// <generado automáticamente>
// Este código fue generado por una herramienta.
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a g... | 1.511782 | dfcda0c3ccf095d805fcb922ff35a294 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "popote1/ProjetATD",
"max_stars_repo_path": "Assets/Editor/PathEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66536"
} | starcoder | <filename>Assets/Editor/PathEditor.cs
using System;
using System.ComponentModel;
using Unity.Mathematics;
using UnityEngine;
using UnityEditor;
namespace CurveTuto
{
[CustomEditor(typeof(PathCreator))]
public class PathEditor : Editor
{
private PathCreator _creator;
private Path _path
... | 2.059936 | d736d40aed6b0026a39ba0df0bebb6c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66536 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "portasynthinca3/queen-remastered",
"max_stars_repo_path": "Assets/Scripts/UIManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66537"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class UIManager : MonoBehaviour
{
public static UIManager Instance { get; private set; }
public Sprite entitySelectedSprite;
private Dictionary<Entity, GameObject> selectionSprites = new Dictionary<En... | 2.288906 | 5350d4668ea11c071334bb57b81e30a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdeoliveira/jhi-dotnetcore-cities",
"max_stars_repo_path": "src/World/Web/Extensions/ActionResultExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66538"
} | starcoder | <reponame>pdeoliveira/jhi-dotnetcore-cities
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace company.world.Web.Extensions
{
public static class ActionResultExtensions
{
public static ActionResult WithHeaders(this ActionResult receiver, IHeaderDictionary headers)
{
... | 1.666682 | 747549f8c37007fb56ff8bf4790afebd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66538 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DrBarnabus/DacTools",
"max_stars_repo_path": "src/DacTools.Deployment.Core/AsyncTasks/AsyncTaskBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66539"
} | starcoder | // Copyright (c) 2021 DrBarnabus
using DacTools.Deployment.Core.Common;
using System;
using System.Threading;
using System.Threading.Tasks;
using DacTools.Deployment.Core.DatabaseListGenerators;
using DacTools.Deployment.Core.Logging;
namespace DacTools.Deployment.Core.AsyncTasks
{
public abstract clas... | 2.182821 | 2c5378a46d8ef37cff01fb74a3450834 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aeshirey/GreenwaldKhanna.NET",
"max_stars_repo_path": "GreenwaldKhanna/GkTuple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66540"
} | starcoder | <gh_stars>0
using System;
/// 3-tuple of a value v[i], g[i] and delta[i].
namespace GreenwaldKhanna
{
public class GkTuple<T> : IComparable
where T : IComparable
{
/// v[i], an observation in the set of observations
public T v;
/// the difference between the rank lowerbounds of t[i]... | 2.888232 | 12eba3e6fe6c75e1e973bd4daad1482c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66540 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BerndNK/ReflectSettings",
"max_stars_repo_path": "ReflectSettings/ReflectSettingsTests/Attributes/ForbiddenValuesAttributeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66541"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using NUnit.Framework;
using ReflectSettings.Attributes;
namespace ReflectSettingsTests.Attributes
{
[TestFixture]
internal class ForbiddenValuesAttributeTests : EditableConfigFactoryTestBase
{
private const string S... | 2.644177 | aa7a8cfe60ed25b5e47a680474a65b58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JimmyCushnie/Pizza-Fam-Template",
"max_stars_repo_path": "Assets/_original assets/scripts/template/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66542"
} | starcoder | using UnityEngine;
namespace PizzaFam.Extensions
{
public static class Extensions
{
public static T RandomItem<T>(this T[] array) => array[UnityEngine.Random.Range(0, array.Length)];
public static bool IsNullOrEmpty(this string s) => string.IsNullOrEmpty(s);
}
}
| 2.575407 | d8b0d43ead7dd6d745e4602a8c109944 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rijicho/Unish",
"max_stars_repo_path": "Runtime/Defaults/Environment/BuiltinEnv.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66543"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace RUtil.Debug.Shell
{
/// <summary>
/// 組み込み変数
/// </summary>
public class BuiltinEnv : EnvBase
{
protected override UnishVariable[] Initials { get; } =
{
new UnishVariable(UnishBuiltInEnvKeys.ProfilePath, "~/.uprofile"),
... | 1.813683 | 36452a8fe31fb51d1a4ae97d2a0c1e96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66543 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pulumi/pulumi-sumologic",
"max_stars_repo_path": "sdk/dotnet/Inputs/DashboardPanelSumoSearchPanelColoringRuleArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66544"
} | starcoder | <filename>sdk/dotnet/Inputs/DashboardPanelSumoSearchPanelColoringRuleArgs.cs<gh_stars>1-10
// *** 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 Sys... | 1.420565 | 68ae6736027c23709d9be57e038b99e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66544 | {
"extension": "c-sharp",
"max_stars_count": "296.0",
"max_stars_repo_name": "tenghui-kooboo/Kooboo",
"max_stars_repo_path": "Kooboo.Lib/Less/Parameters/IParameterSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66545"
} | starcoder | namespace dotless.Core.Parameters
{
using System.Collections.Generic;
public interface IParameterSource
{
IDictionary<string, string> GetParameters();
}
} | 1.634061 | be74dbe576776153034ae948952741e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66545 | {
"extension": "c-sharp",
"max_stars_count": "151.0",
"max_stars_repo_name": "HydAu/WebDevCamp",
"max_stars_repo_path": "Presentation/02. XAML Controls/Demos/RelativePanel/AdaptiveListDemo/AdaptiveListDemo/ItemTemplateControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66546"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 2.182728 | 7043cf80cadfb96039e2f5651a118b51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "winkula/gamebot",
"max_stars_repo_path": "GameBot.Game.Tetris/Extraction/ScreenExtractor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66547"
} | starcoder | using System.Drawing;
using Emgu.CV;
using Emgu.CV.CvEnum;
using GameBot.Core;
using GameBot.Core.Data;
namespace GameBot.Game.Tetris.Extraction
{
public class ScreenExtractor : IScreenExtractor
{
private const double _thresholdGameoverSingleplayer = 0.1; // TODO: test with real screenshots?
p... | 2.420122 | 544b5ae17c849a48a11f573a02207211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "05Robot/05_Robot",
"max_stars_repo_path": "Assets/Plugin/Chronos/Example/ExampleBubble.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66548"
} | starcoder | using System.Collections;
using UnityEngine;
namespace Chronos.Example
{
// This class is pretty much identical to ExampleNavigator, except
// that it doesn't take into consideration Chronos. It's just used
// as an utility to move the area clock bubbles in the example scene --
// this script is not an example by ... | 2.498587 | 59adde7046968fb8dde61fafa8d02bd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sigurdur42/MtgInventory",
"max_stars_repo_path": "Legacy/MtgInventory/MtgInventory/MtgInventory/Logging/PanelLogSinkProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66549"
} | starcoder | using Microsoft.Extensions.Logging;
namespace MtgInventory.Logging
{
public class PanelLogSinkProvider : ILoggerProvider
{
public static PanelLogSinkLogger LoggerInstance { get; } = new PanelLogSinkLogger("");
public ILogger CreateLogger(string categoryName)
{
return Logge... | 2.067832 | ca29aedddc14731e4751ebd591031577 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uQr/Catel",
"max_stars_repo_path": "src/Catel.Extensions.EntityFramework/Catel.Extensions.EntityFramework.Shared/Extensions/DbContextExtensions.transactions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66550"
} | starcoder | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DbContextExtensions.transactions.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -... | 2.265762 | 88f4d1538b756fdf1e2f62a4e50cbb28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66550 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RyanNieuwoudt/StarCommander",
"max_stars_repo_path": "StarCommander.Shared/Model/Session.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66551"
} | starcoder | <reponame>RyanNieuwoudt/StarCommander
namespace StarCommander.Shared.Model
{
public class Session
{
public string Token { get; set; } = string.Empty;
public Player Player { get; set; } = new ();
}
} | 1.57168 | 4460b89359403c3f0b3d54aece95a359 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/hercules.consumers",
"max_stars_repo_path": "Vostok.Hercules.Consumers/Helpers/StreamCoordinatesSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66552"
} | starcoder | <reponame>JTOne123/hercules.consumers
using System.Collections.Generic;
using System.IO;
using System.Text;
using JetBrains.Annotations;
using Vostok.Hercules.Client.Abstractions.Models;
namespace Vostok.Hercules.Consumers.Helpers
{
internal static class StreamCoordinatesSerializer
{
[NotNull]
... | 2.456096 | 3a5ab33d8523a042ef569a009af7038c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66552 | {
"extension": "c-sharp",
"max_stars_count": "777.0",
"max_stars_repo_name": "Sun-Joong/aifh",
"max_stars_repo_path": "vol3/vol3-csharp-examples/AIFH-Vol3-Core/Core/Energetic/BoltzmannMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66553"
} | starcoder | // Artificial Intelligence for Humans
// Volume 3: Deep Learning and Neural Networks
// C# Version
// http://www.aifh.org
// http://www.jeffheaton.com
//
// Code repository:
// https://github.com/jeffheaton/aifh
//
// Copyright 2015 by <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "Licens... | 2.627784 | 0229984889b3bbf85641866f020d8e5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSMarkoff/FoodSpot",
"max_stars_repo_path": "Web/FoodSpot.Web.ViewModels/Administration/Recipes/ApproveRecipeViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66554"
} | starcoder | namespace FoodSpot.Web.ViewModels.Administration.Recipes
{
using System.Collections.Generic;
using AutoMapper;
using FoodSpot.Data.Models;
using FoodSpot.Services.Mapping;
using FoodSpot.Web.ViewModels.Recipes;
public class ApproveRecipeViewModel : IMapFrom<Recipe>, IHaveCustomMappings
{
... | 2.053119 | 8f7372509c2c5baefacd6cd870e8038a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Badca52/LunaMultiplayer",
"max_stars_repo_path": "Client/Systems/Lock/LockMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66555"
} | starcoder | <reponame>Badca52/LunaMultiplayer
using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaCommon.Enums;
using LunaCommon.Message.Data.Lock;
using LunaCommon.Message.Interface;
using LunaCommon.Message.Types;
using System.Collections.Concurrent;
namespace LunaClient.Systems.Lock
{
public class LockMessag... | 1.997974 | 272e8b4f6e2c32dbd7a8b4a9b541a2ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66555 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VladislavPPetrov/Moa-CMS",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.OpenId.EntityFrameworkCore/Services/OpenIdScopeStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66556"
} | starcoder | using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Newtonsoft.Json.Linq;
using OpenIddict.Core;
using OpenIddict.EntityFrameworkCore;
using OrchardCore.OpenId.Abs... | 2.31396 | 37b2e53a35edd52d8d7c58ea8d582310 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66556 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "maxpiva/Sushi.Net",
"max_stars_repo_path": "Sushi.Net/Settings/SettingsParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66557"
} | starcoder | using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Sushi.Net.Library.CommandLine;
namespace Sushi.Net.Settings
{
public class SettingsParser<T>
{
private Argume... | 2.591495 | 2a36ccb9d398802b07afa0fb3f3ab622 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LEI-Hongfaan/UltimateOrb.Core.v2",
"max_stars_repo_path": "UltimateOrb.Core/StandardArrayAsReadOnlyList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66558"
} | starcoder | <reponame>LEI-Hongfaan/UltimateOrb.Core.v2<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
namespace UltimateOrb {
using Local = Typed_RefReturn_Wrapped_H... | 2.238792 | d45073ff77cbed94a81ad1c7f4243f80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexTrepanier/Uno",
"max_stars_repo_path": "src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/AppBarButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66559"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls
{
#if false || false || NET46 || __WASM__ || false
[global::Uno.NotImplemented]
#endif
public partial class AppBarButton : global::Windows.UI.Xaml.Controls.Button,global::Windows.U... | 1.956204 | 2c6251e58415285de3f6a65dd2913b25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66559 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/FinancialDimensionValueTranslation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66560"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.894443 | f59a3beadea223551ac5623ce524268b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joncrump/norml",
"max_stars_repo_path": "Libraries/Common/Norml.Common.Data/Mappings/IDataMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66561"
} | starcoder | using System;
namespace Norml.Common.Data.Mappings
{
public interface IDataMapper
{
TypeMapping GetMappingFor<TValue>();
TypeMapping GetMappingForType(Type objectType);
}
} | 1.734841 | 8caefa7784f0ffde783525663656fb91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamesLupiani/MonoGame",
"max_stars_repo_path": "MonoGame.Framework/Graphics/Vertices/VertexBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66562"
} | starcoder | <reponame>JamesLupiani/MonoGame
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using System.Runtime.InteropServices;
namespace Microsoft.Xna.Framework.Graphics
{
... | 2.70714 | 04f42575c5a91b0d38e159d272be5f91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsisco11/xLog",
"max_stars_repo_path": "xLog/VirtualTerminal/Core/ANSI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66563"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using xLog.VirtualTerminal;
using System.Text;
/*
* === SOURCES ===
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
https://en.wikipedia.org/wiki/ANSI_escape_code#Windows_and_DOS
*/
... | 2.150459 | 9619aa9e0b9a43958b969af571b65ab7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66563 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "itdos/Dos.Common",
"max_stars_repo_path": "EmitMapper/AST/Nodes/AstExprNot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66564"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EmitMapper.AST.Interfaces;
using System.Reflection.Emit;
namespace EmitMapper.AST.Nodes
{
class AstExprNot : IAstValue
{
IAstRefOrValue _value;
public Type itemType
{
get { return typeof(Int32); }
}
publ... | 2.412202 | ec005941ebc41e8552e9ae5955fead05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66564 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DeppMeng/PatternRecoginitionProject",
"max_stars_repo_path": "PR/PR/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66565"
} | starcoder | <filename>PR/PR/Data.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PR
{
public class Data
{
public double x;
public double y;
public double label;
public Data Copy()
{
Data c... | 2.662663 | 80ba7c07262d9ad93de8767ba955bb46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66565 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ninocrudele/SnapGate",
"max_stars_repo_path": "Framework.Engine/REST/RESTEventsEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66566"
} | starcoder | <reponame>ninocrudele/SnapGate
// Copyright 2016-2040 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 1.819324 | 66495e3c394b4bcae295c0fbed1313ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AleksandarKostadinov/Blog-C-Sharp-Home-Work",
"max_stars_repo_path": "BlogCSharp/BlogCSharp/Models/BlogDataBContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66567"
} | starcoder | <filename>BlogCSharp/BlogCSharp/Models/BlogDataBContext.cs
namespace BlogCSharp.Models
{
using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity;
public class BlogDataBContext : IdentityDbContext<ApplicationUser>
{
public BlogDataBContext()
: base("DefaultConnecti... | 2.363056 | 0938521875fb018eb4dd50db6923c49a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66567 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "xigadee/Microservice",
"max_stars_repo_path": "Src/Test/Test.Xigadee/Samples/CommandLocal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66568"
} | starcoder | <reponame>xigadee/Microservice
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xigadee;
using System.Threading.Tasks;
namespace Test.Xigadee.Samples
{
[TestClass]
public class CommandLocal
{
[Contract("fredo", "CommandLocal", "1")]
public interface ITestCommandLocal... | 2.019517 | 46d30c2e8e048bc3ce0c4aa6439ea1dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dionext/nettools",
"max_stars_repo_path": "VpnSelectorLib/JIPAddressInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66569"
} | starcoder | /**********************************************************************************
* Dionext network tools https://github.com/dionext/nettools
* The open source tools for access to network
* MIT License Copyright (c) 2017 Dionext Software
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY... | 1.854811 | c61377babe5c4e98b5ad9aa57e4fd36e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66569 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cjw1115/BJUTHelper",
"max_stars_repo_path": "UWP/BJUTDUHelper/ViewModel/AccountModifyVM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66570"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace BJUTDUHelper.ViewModel
{
public class AccountModifyVM:INotifyPropertyChanged
{
publi... | 2.435911 | ff22cfe36e47d7d2e38b82454cca07c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66570 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "Noise.Infrastructure/Dto/UpdatePlayCountCommandArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66571"
} | starcoder | namespace Noise.Infrastructure.Dto {
public class UpdatePlayCountCommandArgs : BaseCommandArgs {
public UpdatePlayCountCommandArgs( long itemId ) :
base( itemId ) {
}
}
}
| 1.410804 | 7f516f711510899a87e667c2ebc9a9a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xpike/eventbus",
"max_stars_repo_path": "wip/XPike.EventBus.RabbitMQ/RabbitMqExchangeConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66572"
} | starcoder | namespace XPike.EventBus.RabbitMQ
{
public class RabbitMqExchangeConfig
{
public bool Durable { get; set; }
public bool AutoDelete { get; set; }
public string ExchangeType { get; set; }
}
} | 1.512591 | e649dd457f075b8604062abf33a7d46e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66572 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexanderKrutov/Astrarium",
"max_stars_repo_path": "Astrarium.Types/MenuItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66573"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
namespace Astrarium.Types
{
/// <summary>
... | 2.385937 | 02cbe1916f0c46452e7e9937ba0bf90e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SynerCoya/Learning_HL7",
"max_stars_repo_path": "NHAPI_Interface/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66574"
} | starcoder | <reponame>SynerCoya/Learning_HL7<gh_stars>1-10
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 NHapi.Base;
using NHapi.Base.Parser;
using NHapi.Bas... | 1.559155 | 9a47d75938120b38ba3484ef394e6744 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelhristov/CSharpDatabases",
"max_stars_repo_path": "Exam-8Nov2016/01. Code-first/SuperheroesUniverse/JsonProcessor/JsonParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66575"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
namespace SuperheroesUniverse.JsonProcessor
{
public static class JsonParser
{
public static ICollection<data> GetJsonData(string filePath)
{
var jsonContent = File.ReadAllText(filePath);
var dat... | 2.712328 | ee552a94fc8ec49fe7e36e605fbc93ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaladinOreo/csci-1301.github.io",
"max_stars_repo_path": "labs/GradeCalculator/src/Grade_Calculator_with_Arrays/Grade_Calculator_with_Arrays/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66576"
} | starcoder | /*
* <NAME> & <NAME>
* 2022_03_15
* Grade Calculator
*
* This is a possible solution, many other answers were valid.
* It uses by default the following way of computing the grade:
Evaluation Number Points Percents
---------------- -------- -------- ----------
Quizzes 4 ... | 3.469559 | 9c698ae6dbd72db3d1c11c2c19678dce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "claudiuconstantin/InfoTrafic-Parser",
"max_stars_repo_path": "InfoTraficParser/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66577"
} | starcoder | using Common.Logging;
using System;
using System.Collections.Generic;
namespace InfotraficParser
{
public class Program
{
private static void Main()
{
Bootstrap.Start();
ReadItems();
Console.ReadKey(); // wait
}
private static void ReadIte... | 3.114356 | 9224fb42a45cf0d5578b2adb6fb271df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chimkennumget/Legendary-Palm-Tree",
"max_stars_repo_path": "Legendary-Palm-Tree-9-30/Legendary-Palm-Tree-9-30/Multiplayer Game/Assets/emotitron/NST Core 5/Scripts/InputSystem/InputSelectorKeyCode.cs",
"provenance": "train-00000-of-000... | starcoder | <reponame>chimkennumget/Legendary-Palm-Tree
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace emotitron.InputSystem
{
[System.Serializable]
public class InputSelectorKeyCode : InputSelectorBase
{
public int keyCode;
public over... | 1.993967 | fa4ea30d163abf160910177608934396 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66578 | {
"extension": "c-sharp",
"max_stars_count": "123.0",
"max_stars_repo_name": "OndrejNepozitek/ProceduralLevelGenerator-Unity",
"max_stars_repo_path": "Runtime/Grid2D/Common/Utils/PostProcessUtilsGrid2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66579"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Tilemaps;
using Object = UnityEngine.Object;
namespace Edgar.Unity
{
/// <summary>
/// Utility post-processing functions used mainly in built-in post-processing logic.
/// </summary>
... | 2.274092 | 31787276997dc4ea88832a7c87fa1387 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66579 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "komitoff/Softuni-Programming-Fundamentals",
"max_stars_repo_path": "1.Programing basics/17July2016/5.Diamond/Diamond.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66580"
} | starcoder | <filename>1.Programing basics/17July2016/5.Diamond/Diamond.cs<gh_stars>1-10
using System;
class Diamond
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
Console.Write(new string('.', n));
Console.Write(new string('*', 3 * n));
Console.Write(new string('.', n));
... | 3.728406 | 630639fd9b2fdd47b439956724202f0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66580 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "anebenfuehr/EnterpriseArchitect_hoReverse",
"max_stars_repo_path": "hoUtil/Vc/Vc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66581"
} | starcoder | <reponame>anebenfuehr/EnterpriseArchitect_hoReverse<gh_stars>10-100
namespace hoReverse.hoUtilsVC
{
public class Vc
{
/// <summary>
/// EA VC states (see: http://sparxsystems.com/enterprise_architect_user_guide/13.0/automation/package_2.html)
/// </summary>
public enum EnumCheck... | 1.609649 | 8d56631c5dfbe55547a2d90b3e5e1704 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66581 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/NLU.DevOps",
"max_stars_repo_path": "src/NLU.DevOps.Luis/LuisNLUClientFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66582"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NLU.DevOps.Luis
{
using System;
using System.Composition;
using System.IO;
using Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models;
using Microsoft.Extensions.Configuration;
usi... | 1.915017 | 0045f1d496a64d474651e1437e09f9eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66582 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "dattran2723/Dapper.FastCrud",
"max_stars_repo_path": "Dapper.FastCrud.Benchmarks/DapperExtensionsSteps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66583"
} | starcoder | <gh_stars>100-1000
namespace Dapper.FastCrud.Benchmarks
{
using System.Linq;
using Dapper.FastCrud.Tests;
using Dapper.FastCrud.Tests.Models;
using NUnit.Framework;
using TechTalk.SpecFlow;
using DapperExtensions = global::DapperExtensions.DapperExtensions;
[Binding]
public class Dappe... | 2.515429 | 45e46adfb97829565ea7f572a633db02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66583 | {
"extension": "c-sharp",
"max_stars_count": "2818.0",
"max_stars_repo_name": "bonfirestudios/github-for-unity",
"max_stars_repo_path": "src/GitHub.Api/Helpers/Validation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66584"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace GitHub.Unity.Helpers
{
public static class Validation
{
public static bool IsBranchNameValid(string branchName)
{
return !String.IsNullOrEmpty(branchName)
&& !branchName.Equals(".")
&& !br... | 2.609691 | 60404d4217b03780186d6738d2cc11a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OneFrameLink/Ofl.Text.Json",
"max_stars_repo_path": "test/Ofl.Text.Json.Tests/Iso8601DurationTimeSpanJsonConverterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66585"
} | starcoder | <reponame>OneFrameLink/Ofl.Text.Json
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using Xunit;
namespace Ofl.Text.Json.Tests
{
public class Iso8601DurationTimeSpanJsonConverterTests
{
private class NonNullableTest
{
[JsonConverter(typeof(Iso8601Durati... | 2.768229 | 1cd2e05390d6c7aa0e6882ba71053606 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66585 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "mangh/UnitsOfMeasurement",
"max_stars_repo_path": "Demo/UnitsOfMeasurement/Units/NewtonMeter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66586"
} | starcoder | /*******************************************************************************
Units of Measurement for C# applications
Copyright (C) <NAME>
This program is provided to you under the terms of the license
as published at https://github.com/mangh/unitsofmeasurement
*********************************... | 3.084988 | 4fcb679ae86a59c4c2a5857be636cb51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66586 | {
"extension": "c-sharp",
"max_stars_count": "354.0",
"max_stars_repo_name": "Xamariners/dev-days-labs",
"max_stars_repo_path": "HandsOnLab/Finish/Src/DevDaysSpeakers.Shared/Models/Speaker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66587"
} | starcoder | <filename>HandsOnLab/Finish/Src/DevDaysSpeakers.Shared/Models/Speaker.cs
namespace DevDaysSpeakers.Shared.Models
{
public class Speaker
{
public string Name { get; set; }
public string Description { get; set; }
public string Website { get; set; }
public string Title { get; set; ... | 1.955199 | af89313eb23cbcbc221290d95d8bfcc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66587 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "sucrose0413/arke",
"max_stars_repo_path": "Arke.IVR/DSL/DSLProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66588"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Arke.DependencyInjection;
using Arke.DSL.Step;
using Arke.SipEngine.CallObjects;
using Arke.SipEngine.Processors;
namespace Arke.IVR.DSL
{
public class DslProcessor
{
public Dictionary<i... | 2.59046 | 5bb0cf007e8aa58a52e25a63e502db3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tyeagle/Hotinst",
"max_stars_repo_path": "Source/HOTINST.OSGi/HOTINST.OSGi/Core/Bundle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66589"
} | starcoder | <reponame>tyeagle/Hotinst<filename>Source/HOTINST.OSGi/HOTINST.OSGi/Core/Bundle.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.IO;
using System.Xml;
using System.Security.Policy;
using Mono.Cecil;
using log4net;
using HOTINST.OSGI.Event;... | 1.68969 | 7ad92564f736b58d626dd0a3a9616946 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IndonesianPhiladelphiaPAUSA/publisherscheduler01",
"max_stars_repo_path": "Runtime/PublisherScheduler01Web/Controllers/PersonAvailController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66590"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using PublisherScheduler01Web.DataObjects;
using PublisherScheduler01Web.Repositories;
using Publish... | 2.281941 | 32d83a1f34860c0a6b819016aa797eb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnthonyRyck/SuiviFormation",
"max_stars_repo_path": "src/FormationApp/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66591"
} | starcoder | <gh_stars>0
@using FormationApp.Areas.Identity.Pages.Account.Manage
| 1.121148 | c35196ad1bd0a33527f7d2a11175a238 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qulia/CrackingTheCodingInterview",
"max_stars_repo_path": "Utilities/MathUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66592"
} | starcoder | namespace Utilities
{
public class Math
{
public static int Factorial(int input)
{
if (input == 0)
{
return 1;
}
return input * Factorial(input - 1);
}
}
}
| 3.137757 | 691f741ab13c34f7bd93d091398f8707 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66592 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SBortz/TodoAppDdd",
"max_stars_repo_path": "Source/Presentation/TodoAppDdd.Web/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66593"
} | starcoder | @using TodoAppDdd.App.Contracts.Query
@model IEnumerable<TodoItemDto>
@{
ViewData["Title"] = "Home Page";
}
<style>
.marked-li {
background-color: khaki;
}
.no-border {
border: 0;
box-shadow: none; /* You may want to include this as bootstrap applies these styles too */
}
</style>
<div clas... | 2.680862 | 07c310dbc171a61db118bdcb7d6ae5be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "subhendu-de/eKart",
"max_stars_repo_path": "eKart.api/Controllers/ProductsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66594"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using eKart.Api.Data;
namespace eKart.api.Controllers
{
[ApiController]
[Route("[controller]")]
public class ProductsController : ControllerBase
{
private readonly eKartContext _co... | 2.728123 | a195cd11736de7013a1a033f0ddbff6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66594 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "JohnLamontagne/Lunar-Mirage",
"max_stars_repo_path": "src/Lunar.Editor/Project.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66595"
} | starcoder | <filename>src/Lunar.Editor/Project.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Xna.Framework;
using Lunar.Editor.Utilities;
using Lunar.Editor.World;
using System.Xml.Linq;
using Lunar.Core;
using Lunar.Core.Content.Graphics;
using Lunar.Core.Utilities.Data;
u... | 1.745973 | d4a9a4b29acad1e942ada8b0001b24f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66595 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "borseno/MinedOut",
"max_stars_repo_path": "Mined Out/Game1/Game1/Game/Entities/Bomb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66596"
} | starcoder | namespace Game1.Game.Entities
{
class Bomb : Entity
{
public Bomb(int x, int y) : base(x, y) { }
}
} | 2.026763 | d45bc613f164c919287f1d882d986d0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bolvarak/aspnetcore-fux-core",
"max_stars_repo_path": "Global.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66597"
} | starcoder | <reponame>bolvarak/aspnetcore-fux-core
using System;
using Newtonsoft.Json;
namespace Fux.Core
{
/// <summary>
/// This class maintains the global settings for Fux
/// </summary>
public static class Global
{
/// <summary>
/// This property contains Fux's default DateTime format str... | 2.60144 | 445f93ab6302866991be6596d26cdfa9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66597 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IvanLieckens/msbuild",
"max_stars_repo_path": "src/MSBuildTaskHost/Immutable/ImmutableDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66598"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
namespace System.Collections.Immutable
{
static class ImmutableExtensions
{
public static Immutab... | 2.775042 | a087550c681a489ff1b3f085c381f5c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66598 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zumten/mindex",
"max_stars_repo_path": "src/ZumtenSoft.Mindex.Benchmark/IndianCustoms/IndianCustomsImportBenchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66599"
} | starcoder | <reponame>zumten/mindex
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Columns;
using BenchmarkDotNet.Attributes.Exporters;
using BenchmarkDotNet.Attributes.Jobs;
using ZumtenSoft.Mindex.Stubs.IndianCustoms;
namespace ZumtenSoft.Mindex.Benchmark.IndianCustoms
{
... | 1.515485 | 82c18b21782d271091fa3b6225e998aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "obpt123/Core",
"max_stars_repo_path": "YS.System.Base/Timers/YSTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66600"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace System.Timers
{
/// <summary>
/// 表示时间的基类
/// </summary>
[Serializable]
public abstract class YSTime
{
public DateTime DateTime { get; protected set; }
#region 重写
public override bool Equals(object obj)
... | 3.281139 | 23fd47a563ac4c1d89a3ffcbb9c97d09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeroenheijmans/bieb",
"max_stars_repo_path": "Bieb.Tests/ModelMappers/EditSeriesModelMapperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66601"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bieb.Domain.Entities;
using Bieb.Domain.Repositories;
using Bieb.Tests.Mocks;
using Bieb.Web.Models;
using Bieb.Web.Models.Series;
using NUnit.Framework;
namespace Bieb.Tes... | 2.262512 | 5b43cbc3a97ecd34663025f62ff6ddba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66601 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "LuohuaRain/ProfessionalCSharp2021",
"max_stars_repo_path": "2_Libs/DependencyInjectionAndConfiguration/ConfigurationSample/EnvironmentSampleService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66602"
} | starcoder | using Microsoft.Extensions.Hosting;
using System;
public class EnvironmentSampleService
{
private readonly IHostEnvironment _hostEnvironment;
public EnvironmentSampleService(IHostEnvironment hostEnvironment)
{
_hostEnvironment = hostEnvironment;
}
public void ShowHostEnvironment()
{
... | 2.869063 | 39b2b081c3d667ec21690ae7c731030e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66602 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "naumanmy/case-apps",
"max_stars_repo_path": "2022/Case.ApplySysOrient/UI/form_MaxSize.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66603"
} | starcoder | namespace Case.ApplySysOrient.UI
{
partial class form_MaxSize
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed re... | 1.763759 | e48158383b67f626a21526d9f893ba09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66603 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "deisner/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.Wpf.SharpDX.Shared/Controls/ViewportCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66604"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ViewportCommands.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ------------------------------------------------... | 1.640221 | 84873790fa291cb146ebb54be325dba8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuchezarVelkov/C-Sharp-Course",
"max_stars_repo_path": "01 Programming Basics/09 Drawing-with-Loops-Exercises/09 House/House.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66605"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _09_House
{
class House
{
static void Main(string[] args)
{
var size = int.Parse(Console.ReadLine());
var roofRows = (size + 1) / 2;
... | 3.503789 | 87e3373602475f0da61b955b6501b3ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SwageliciousGGJ/YourMom2.0",
"max_stars_repo_path": "Assets/ParadoxNotion/FlowCanvas/Modules/FlowGraphs/Nodes/Events/Object/MouseAgentEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66606"
} | starcoder | <filename>Assets/ParadoxNotion/FlowCanvas/Modules/FlowGraphs/Nodes/Events/Object/MouseAgentEvents.cs
using ParadoxNotion.Design;
using UnityEngine;
namespace FlowCanvas.Nodes
{
[Name("Mouse")]
[Category("Events/Object")]
[Description("Called when mouse based operations happen on target collider")... | 2.385578 | baaf127872f62ecdb5ca0f13bd2493f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "szlatkow/itext7-dotnet",
"max_stars_repo_path": "itext/itext.io/itext/io/font/constants/StandardFonts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66607"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the... | 1.923959 | 90883a5bd201dad2257b13fb8fe1dff7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sushiy/Master_Thesis",
"max_stars_repo_path": "Assets/Scripts/CharacterSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66608"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CharacterSpawner : MonoBehaviour
{
public static CharacterSpawner instance;
public GOAP_Character.CharacterData example1;
public GOAP_Character.CharacterData example2;
public... | 2.353552 | 202c90572aa582aa9d9075c80e769018 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66608 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "rygo6/GTThreading",
"max_stars_repo_path": "Scripts/UW10LoopThread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66609"
} | starcoder | using UnityEngine;
using System;
using System.Collections;
using System.Threading;
using System.Diagnostics;
namespace GT.Threading {
public sealed class UW10LoopThread : LoopThread {
#if UNITY_WSA_10_0 && !UNITY_EDITOR
Windows.Foundation.IAsyncAction _async;
System.Threading.ManualResetEvent _wait = new Sy... | 2.526233 | 28f856b3517d22c83cc4650fe1bb0c1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66609 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "radrad/AbpCodeGeneration",
"max_stars_repo_path": "AbpCodeGeneration.VS/AbpCodeGeneration.VisualStudio.Common/Templates/Front_Edit_TsTemplate.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66610"
} | starcoder | <reponame>radrad/AbpCodeGeneration
@using System
@using CodeBuilder
@using CodeBuilder.Models.TemplateModels
@inherits RazorEngine.Templating.TemplateBase<CodeBuilder.Models.TemplateModels.DtoFileModel>
import { finalize } from 'rxjs/operators';
import { Component, OnInit, Injector } from '@@angular/core';
import {
... | 1.892339 | 83d173e37431ddb288d4e9571011e1c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "artem-bondar/match-three-puzzle-game",
"max_stars_repo_path": "Assets/Scripts/LevelGoalScored.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66611"
} | starcoder | public class LevelGoalScored : LevelGoal
{
public override void Start()
{
levelCounter = LevelCounter.Moves;
base.Start();
}
public override bool IsWinner()
{
if (ScoreManager.Instance != null)
{
return ScoreManager.Instance.CurrentScore >= scoreGoals[0]... | 2.551069 | 58245e3f74ad5999d6b3364d322a0b45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marax27/DokuWikiTranslator",
"max_stars_repo_path": "DokuWikiTranslator.Application/Generation/MediaAlignment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66612"
} | starcoder | <filename>DokuWikiTranslator.Application/Generation/MediaAlignment.cs<gh_stars>0
namespace DokuWikiTranslator.Application.Generation
{
public enum MediaAlignment
{
None,
Left,
Center,
Right
}
}
| 1.638542 | be83a6c87cb63ffb2851b13d4d9797ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guylangston/C3",
"max_stars_repo_path": "src/C3.WPF/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66613"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.376519 | 8327b4f3ac5246dea6714f2f01d26995 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66613 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "Johnanater/openmod",
"max_stars_repo_path": "rust/OpenMod.Rust/Serialization/BaseNetworkableSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66614"
} | starcoder | <gh_stars>100-1000
using System.IO;
namespace OpenMod.Rust.Serialization
{
public static class BaseNetworkableSerializer
{
public static byte[] Serialize(BaseNetworkable networkable, out BaseNetworkable.SaveInfo saveInfo)
{
saveInfo = new BaseNetworkable.SaveInfo
{
... | 2.216523 | 8d54f7eaedc30eb1b0ab847c1dd781f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66614 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "ExRam/ExRam.ReactiveCollections",
"max_stars_repo_path": "ExRam.ReactiveCollections/Notifications/ListChangedNotification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66615"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Collections.Specialized;
using System.Linq;
namespace ExRam.ReactiveCollections
{
public class ListChangedNotification<T> : CollectionChangedNotification<T>, IIndexedCollectionChangedNotificat... | 2.627336 | b1381a64d103b78cb6dbba0abdfb7b3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dtuck20/Crypto-Prices",
"max_stars_repo_path": "Crypto Prices/Crypto Prices/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66616"
} | starcoder | <reponame>dtuck20/Crypto-Prices<filename>Crypto Prices/Crypto Prices/Form1.Designer.cs
namespace Crypto_Prices
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <... | 2.256788 | 35fc82202ff0dd9ac587511e93af5042 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichWarrior/ASP-ProjectManagament",
"max_stars_repo_path": "Web/Controllers/WorksController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66617"
} | starcoder | <reponame>RichWarrior/ASP-ProjectManagament<filename>Web/Controllers/WorksController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Web.Models;
namespace Web.Controllers
{
[Authorize]
public class WorksControlle... | 2.28575 | 6c9564af5fb668fa250838923f3e9ddd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarchelloGiancarlo/Unity_2dDungeon",
"max_stars_repo_path": "2dDungeon/Assets/Scripts/Common/Interfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66618"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IDamageable
{
void receivedDamage(int damage);
}
public interface IPushable
{
void receivedPush(Vector2 vector);
}
public interface IChildOnTriggerEnter
{
void ChildOnTriggerEnter(GameObject child, Collider2D o... | 1.795752 | 281a9fa602c979c7f1d4fd6bccba45eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66618 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "TereanYu/BeatNest",
"max_stars_repo_path": "Beat&Nest/Assets/SC Post Effects/Effects/Sharpen/Sharpen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66619"
} | starcoder | using System;
using UnityEngine;
#if SCPE
using UnityEngine.Rendering.PostProcessing;
#endif
namespace SCPE
{
#if !SCPE
public class Sharpen : ScriptableObject
{
}
}
#else
[Serializable]
[PostProcess(typeof(SharpenRenderer), PostProcessEvent.AfterStack, "SC Post Effects/Image/Sharpen", true)]
... | 2.135787 | efc8e33bb3266c3291369e74a8a682ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66619 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper.UnitTests/Configuration/Inline/WhenConfiguringDataSourcesInline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66620"
} | starcoder | namespace AgileObjects.AgileMapper.UnitTests.Configuration.Inline
{
using System;
using System.Linq.Expressions;
using AgileMapper.Extensions;
using AgileMapper.Members;
using Common;
using TestClasses;
#if !NET35
using NetStandardPolyfills;
using Xunit;
using static System.Linq.Exp... | 2.548665 | 601a94537a700f800587dd12bb88d8aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "splitice/RespServer",
"max_stars_repo_path": "RespServer/Commands/RespCommandRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66621"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RespServer.Commands
{
public class RespCommandRegistry
{
private Dictionary<String, Func<List<object>, IRespCommand>> _commands = new Dictionary<string, Func<List<object>, IRes... | 2.783151 | 3f256823eafdd998ac5058a89ef1e62e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66621 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "equinor/sepes",
"max_stars_repo_path": "src/Sepes.Azure/Service/Interface/IAzureVirtualMachineOperatingSystemService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66622"
} | starcoder | using Sepes.Common.Dto.VirtualMachine;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Sepes.Azure.Service.Interface
{
public interface IAzureVirtualMachineOperatingSystemService
{
Task<List<VmOsDto>> GetAvailableOperatingSystemsAsync(string region, Ca... | 1.559009 | 1ea76eb981b7d26109827aed1e79abc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cheer-cheer/guidgen",
"max_stars_repo_path": "GuidGen/Core/Formatters/OleCreateGuidFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66623"
} | starcoder | using Cheer.Utilities.GuidGen.Localization;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cheer.Utilities.GuidGen.Core.Formatters
{
public class OleCreateGuidFormatter
: IGuidFormatter
{
... | 2.514978 | dc7cd1974f9943db0b6500b7a16e166a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66623 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hotjk/ace",
"max_stars_repo_path": "ACE.Demo.API/Controllers/ProjectController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66624"
} | starcoder | using ACE.Demo.Model.Projects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ACE.Demo.API.Controllers
{
public class ProjectController : ApiController
{
private IProjectService _projectService;
publ... | 1.999544 | 96a63005867f10030d778837f75f8439 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeadPipeSoftware/Checkmunk",
"max_stars_repo_path": "src/Checkmunk.Data/Migrations/20170920182904_Initial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66625"
} | starcoder | <reponame>LeadPipeSoftware/Checkmunk<gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Checkmunk.Data.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 1.338466 | d1c43a745bf614dce56aada2310c4ced |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66625 | {
"extension": "c-sharp",
"max_stars_count": "13764.0",
"max_stars_repo_name": "jangernert/Avalonia",
"max_stars_repo_path": "tests/Avalonia.Controls.UnitTests/ViewboxTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66626"
} | starcoder | <gh_stars>1000+
using Avalonia.Controls.Shapes;
using Avalonia.Media;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Controls.UnitTests
{
public class ViewboxTests
{
[Fact]
public void Viewbox_Stretch_Uniform_Child()
{
using var app = UnitTestApplication.Start(Tes... | 2.189327 | c49c2dc5c0e65e6d30b9de9f8b766f90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66626 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "AustralianDisabilityLimited/MultiversePlatform",
"max_stars_repo_path": "tools/ClientInterfaceEditor/IronPythonIntegration/LanguageService/Engine/Analyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66627"
} | starcoder | <gh_stars>10-100
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentat... | 2.042089 | 4a304c74e26b23a6a6a240acb0319aaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreyleskov/Buxfer",
"max_stars_repo_path": "Buxfer.Client/LoanType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66628"
} | starcoder | <filename>Buxfer.Client/LoanType.cs
namespace Buxfer.Client
{
/// <summary>
/// Loan types.
/// </summary>
public enum LoanType
{
/// <summary>
/// The contact type.
/// </summary>
Contact,
/// <summary>
/// The group type.
/// </s... | 2.017756 | 276febf53cd01ad0fd3d15678111fe46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nahkranoth/pipeEngineer",
"max_stars_repo_path": "old/pipeBuilder2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66629"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEditor;
[ExecuteInEditMode]
/*TODO:
-> Fix vertices and triangles (every quad own verts?)
-> Handle control tweaking (dragSpeed)
-> Thicker pieces & Bolts
-> Corners, EndCaps
-> UV's did I set them correctly?
-> PBS materials (and other materials)
-> E... | 2.257268 | 2e48e51f00d7d589be6b79b74df7c854 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66629 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jdaigle/FriendsOfDT",
"max_stars_repo_path": "src/FODT/Views/Toaster/Hunt.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66630"
} | starcoder | @*@model FODT.Views.Toaster.HuntViewModel
<br>
<center><font size="+3"><b>What's With The Toaster?</b></font></center>
<br><br>
The <a href="@Url.Action(MVC.Person.Get(2104))">Dramatech Toaster</a> has
been hidden in plain sight in every DramaTech show since the late 1980s. The
idea for this came from an... | 2.553663 | b898b67bed53bde76e99b389fdcdfaf9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AsimKhan2019/Facebook-Components-Xamarin",
"max_stars_repo_path": "Facebook.iOS/source/MarketingKit/ApiDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66631"
} | starcoder | using System;
using UIKit;
using Foundation;
using ObjCRuntime;
using CoreGraphics;
namespace Facebook.MarketingKit {
// @interface FBSDKAutoLog : NSObject
[BaseType (typeof (NSObject), Name = "FBSDKAutoLog")]
interface AutoLog {
}
}
| 1.088017 | e12bf6c3bbfe629865fd6d55614eef61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66631 | {
"extension": "c-sharp",
"max_stars_count": "240.0",
"max_stars_repo_name": "lauren-mills/botbuilder-community-dotnet",
"max_stars_repo_path": "libraries/Bot.Builder.Community.Components.Handoff.Shared/ConversationHandoffRecordMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66632"
} | starcoder | using System.Collections.Concurrent;
using System.Linq;
using System.Threading.Tasks;
namespace Bot.Builder.Community.Components.Handoff.Shared
{
public class ConversationHandoffRecordMap
{
private ConcurrentDictionary<string, HandoffRecord> _handoffRecords { get; set; } = new ConcurrentDictionary<str... | 2.352209 | 50328ca544b5aa2a2582b713e2c0cc51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66632 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/MetricSystem",
"max_stars_repo_path": "unittest/Configuration/HttpConfigurationSourceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66633"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2015 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | 2.104477 | 44638c1443cfb26cf2af413e183a9fe7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.