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 | 7637 | {
"extension": "c-sharp",
"max_stars_count": "238.0",
"max_stars_repo_name": "samjones00/ApplicationInsights-dotnet",
"max_stars_repo_path": "BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Tracing/SelfDiagnostics/SelfDiagnosticsInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <filename>BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Tracing/SelfDiagnostics/SelfDiagnosticsInitializer.cs
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.SelfDiagnostics
{
using System;
/// <summary>
/// Self diagnostics class captures the EventSource... | 2.627494 | 10936aff2a3b78defbf1b73323b737fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "malapahari/RentYourCar",
"max_stars_repo_path": "Views/user/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7639"
} | starcoder | <gh_stars>0
@model RentYourCar.Models.Login
@{
ViewBag.Title = "Login";
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-login">
<div class="... | 2.080446 | 07ba938149996aef037e9c77a80d78cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cazacov/AdventOfCode2020",
"max_stars_repo_path": "Day_15_2/MemoryGame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7640"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Day_15_2
{
public class MemoryGame
{
private readonly Dictionary<long, Number> history = new Dictionary<long, Number>();
public long Turn = 0;
private Number lastSpoken;
public void Init(string fileNa... | 3.661528 | 6e4f09a13e83939c8ad0a8925e8738b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gabrielbaptista/dnc-bhubaneswar-2021",
"max_stars_repo_path": "scr/FunctionAppWWTravel/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7641"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace FunctionAppWWTravel
{
class Helper
{
public string SmtpServer => Environment.GetEnvironmentVariable("SmtpServer", EnvironmentVariableTarget.Process);
public string SmtpUser => Environment.GetEnvironmentVariable("SmtpU... | 2.160867 | d3abaf039ae1b85191bfd7fdd78afcc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tkud04/namba",
"max_stars_repo_path": "Views/lamba/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7642"
} | starcoder | @{
ViewData["Title"] = "Welcome!";
}
<h2>@ViewData["Title"]</h2>
<p>Decoy HTML will be displayed here while payload runs in the background!</p><br> | 1.959496 | 35ee7b77e8f5ea3ace4812b4eb760ba6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hasancbk/translation",
"max_stars_repo_path": "Test/Translation.Client.Web.Unit.Tests/Models/ViewModels/Admin/AdminInviteDoneModelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7643"
} | starcoder | using NUnit.Framework;
using Translation.Client.Web.Models.Admin;
using static Translation.Client.Web.Unit.Tests.TestHelpers.FakeModelTestHelper;
namespace Translation.Client.Web.Unit.Tests.Models.ViewModels.Admin
{
[TestFixture]
public sealed class AdminInviteDoneModelTests
{
public AdminInvit... | 1.835784 | 1f0ee346a8450fd4f5b0db233c325161 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cbersch/ExCSS",
"max_stars_repo_path": "src/ExCSS/Rules/FontFaceRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7644"
} | starcoder |
namespace ExCSS
{
internal sealed class FontFaceRule : DeclarationRule, IFontFaceRule
{
internal FontFaceRule(StylesheetParser parser)
: base(RuleType.FontFace, RuleNames.FontFace, parser)
{
}
protected override Property CreateNewProperty(string name)
{
... | 2.535892 | 8536e9cace7e834694c0779152a4c460 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7644 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "massimde/SitecoreDataImporter",
"max_stars_repo_path": "Sitecore.SharedSource.DataImporter/Services/JobService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7645"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Sitecore;
using Sitecore.Jobs;
namespace Sitecore.SharedSource.DataImporter.Services
{
public class JobService
{
... | 2.070955 | ff6bfc0233065a260bd2a9e7b00ad64a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "metaversegold/MiracleUnion",
"max_stars_repo_path": "Client/Assets/Codes/Logic/Unit/PlayerComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7646"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using Server.Data;
namespace ET
{
public class PlayerComponent: Entity, IAwake
{
public long UserID;
public string UserName;
public string UserToken;
public bool IsAdult;
public int GameServerID;
publi... | 1.931469 | 0bced52bf28408760e2c7c290472cb4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adroGG/mirror",
"max_stars_repo_path": "mirrorProject/Assets/Prefabs/CharacterAssets/RealCharacterInputManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7647"
} | starcoder | using UnityEngine;
using UnityEngine.InputSystem;
[RequireComponent(typeof(PlayerInput))]
public class RealCharacterInputManager : MonoBehaviour {
private Animator animator, realAnimator, reflectedAnimator;
private GameObject realCharacter;
private GameObject reflectedCharacter;
private Renderer refl... | 2.277831 | 7a3b5f5fd7607637db8739399f7b8d39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7647 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "achinn/fluentcassandra",
"max_stars_repo_path": "src/Connections/IServerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7648"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
namespace FluentCassandra.Connections
{
public interface IServerManager : IEnumerable<Server>
{
bool HasNext { get; }
Server Next();
void ErrorOccurred(Server server, Exception exc = null);
void Add(Server server);
void Remove(Server serve... | 1.938144 | 83688ecacff5c4c5820e7e2ca3de7e64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laytonc32/spnati",
"max_stars_repo_path": "editor source/SPNATI Character Editor/DataStructures/ISkin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7649"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace SPNATI_Character_Editor
{
/// <summary>
/// interface for classes that store pose files somewhere
/// </summary>
public interface ISkin
{
/// Gets the name of the folder containing the images
/// </summary>
string FolderName { get; }
/// <summary>
... | 2.101422 | 6867f8a9121d972fd1c7713b52e9905e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CharlieScarver/EmotionMusicTest",
"max_stars_repo_path": "Emotion.Tools/Windows/HelpWindows/StringInputModal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7650"
} | starcoder | <reponame>CharlieScarver/EmotionMusicTest<gh_stars>0
#region Using
using System;
using Emotion.Graphics;
using Emotion.Plugins.ImGuiNet.Windowing;
using ImGuiNET;
#endregion
namespace Emotion.Tools.Windows.HelpWindows
{
public class StringInputModal : ImGuiModal
{
private Action<string> _callback;
... | 2.520137 | b54ceb9e8450f616e149b56970e5f021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7650 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "armadillo-systems/inquire",
"max_stars_repo_path": "iNQUIRE.v2/Views/Shared/_LoginPartial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7651"
} | starcoder | <reponame>armadillo-systems/inquire<gh_stars>10-100
@using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
<li><a title="Manage" href='@Url.Action("Index", "Manage", routeValues: new { @returnUrl = ViewContext.HttpContext.Request.Url.PathAndQuery })'><span class="glyphicon glyphicon-user"></span><span c... | 1.866485 | 6a5d230c3b5519b4ff8c4b40347ca183 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kanhaiyatyagi63/core-AzureBlobStorage",
"max_stars_repo_path": "BlobStorageWebAPI/Configurations/AzureAppSetting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7652"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlobStorageWebAPI.Configurations
{
public class AzureAppSetting
{
public string ContainerName { get; set; }
public string ConnectionString { get; set; }
}
}
| 1.540069 | 6cc87bf65735e476afdb0fc847f05ca1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RuvhuanGouws/PropertyListingApp",
"max_stars_repo_path": "PropertyApp.Domain/AdvertModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7653"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace PropertyApp.ViewModels
{
public class AdvertModel
{
public AdvertModel()
{
}
public int Id { get; set; }
public string Header { get; set; }
public string Details { get; set; }
public string Provinc... | 1.275534 | 6f1f600109fd9352616564fa33684bfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DovetailSoftware/elasticache-cluster-config-net-core",
"max_stars_repo_path": "Amazon.ElastiCacheCluster/DiscoveryNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7654"
} | starcoder | <filename>Amazon.ElastiCacheCluster/DiscoveryNode.cs
/*
* Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http... | 2.112215 | 4156f491961c0c3582b188f2d51c729d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7654 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "S41L0R/Cafe-Shader-Studio",
"max_stars_repo_path": "GLFrameworkEngine/Gizmo/ConeRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7655"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace GLFrameworkEngine
{
public class ConeRenderer
{
private static VertexBufferObject sphereVao;
private static Vertex[] Vertic... | 2.394145 | 625d593ba384ce513a4dae9720ee7456 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7655 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "nguyenthithuhuong2k/appcenter-sdk-dotnet",
"max_stars_repo_path": "SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Utils/Synchronization/StatefulMutex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7656"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AppCenter.Utils.Synchronization
{
/// <summary>
/// Allows synchronization across tasks, regardless of the thread executing it... | 3.102916 | cd373d767f0e60187448fb7b382fe232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Amp0/Sidekick",
"max_stars_repo_path": "src/Sidekick.Core/Settings/WikiSetting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7657"
} | starcoder | namespace Sidekick.Core.Settings
{
public enum WikiSetting
{
PoeWiki,
PoeDb,
}
}
| 1.13704 | b399f55f8bc0d68461f3a26d599a498c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7657 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "TheMoogle/space-station-14",
"max_stars_repo_path": "Content.Server/Decals/Commands/RemoveDecalCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7658"
} | starcoder | using Content.Server.Administration;
using Content.Shared.Administration;
using Robust.Shared.Console;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.Decals.Commands
{
[AdminCommand(AdminFlags.Mapping)]
public sealed class RemoveDecalCommand : IConso... | 2.399882 | 4704dd9ed7c992866284d22a90dbfaa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Galax-Git/BuildingRad",
"max_stars_repo_path": "Source/SoundDefOf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7659"
} | starcoder | <reponame>Galax-Git/BuildingRad<filename>Source/SoundDefOf.cs
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace Radiology
{
[DefOf]
public static class SoundDefOf
{
static SoundDefOf()
{
DefOfHelper.Ensu... | 1.750292 | e8e322604d19359ee309d3738247b28a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aminu1033/SkShopApi",
"max_stars_repo_path": "SKShopAPI/Repositories/CategoryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7660"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using SKShopAPI.DataAccess;
using SKShopAPI.Entities;
using SKShopAPI.Pagination;
using SKShopAPI.Parameters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SKShopAPI.Repositories
{
... | 2.818305 | a8cabf92fbe9d28063e11ad9932c1a2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7660 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "flaviusdemian/Xamarin.CircleImageCropper",
"max_stars_repo_path": "Xamarin.CircleImageCropper/CircleImageCropper/CropWindow.Pair/EdgePair.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7661"
} | starcoder | namespace CircleImageCropper.CropWindow.Pair
{
public class EdgePair
{
// Member Variables ////////////////////////////////////////////////////////
public Edge primary;
public Edge secondary;
// Constructor /////////////////////////////////////////////////////////////
... | 2.124186 | e63e4cae0893f12ec11a307c00283994 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7661 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "ipjohnson/EasyRpc",
"max_stars_repo_path": "tests/EasyRpc.Tests/Classes/Simple/UniqueInstanceService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7662"
} | starcoder | <reponame>ipjohnson/EasyRpc
using System;
namespace EasyRpc.Tests.Classes.Simple
{
public interface IUniqueInstanceService
{
Guid UniqueId { get; }
}
public class UniqueInstanceService : IUniqueInstanceService
{
public Guid UniqueId { get; } = Guid.NewGuid();
}
}
| 1.765254 | f95a10ce00b63df7e5c2579f8728d72b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7662 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ricardopieper/EventMonitor",
"max_stars_repo_path": "EventMonitor.Core.Tests/UnifiedEventSourceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7663"
} | starcoder | using EventMonitor.Core.Events;
using EventMonitor.Core.EventSource;
using Moq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace EventMonitor.Core.Tests
{
[Collection("Event source")]
public class ... | 2.501535 | bf6e1b2858b0ff29dc4627fa6a3b6deb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickCraver/azure-functions-host",
"max_stars_repo_path": "src/WebJobs.Script.WebHost/WebJobsApplicationBuilderExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7664"
} | starcoder | <reponame>NickCraver/azure-functions-host
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Azure.WebJobs.Extensions... | 1.379278 | de875eb02ad557bec085d0e402982526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7664 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "YuleYu/HS_Bot",
"max_stars_repo_path": "cards/Sim_AT_071.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7665"
} | starcoder | <reponame>YuleYu/HS_Bot
using System;
using System.Collections.Generic;
using System.Text;
namespace HREngine.Bots
{
class Sim_AT_071 : SimTemplate //* Alexstrasza's Champion
{
//Battlecry: If you're holding a Dragon, gain +1 Attack and Charge.
public override void getBattlecryEffect(Playfield p... | 2.140072 | 4d0a3d3d71107e84452b991b6dee6da0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bluesugardog/SimpleSOAPClient",
"max_stars_repo_path": "SOAPClient.Api/Models/Headers/Oasis/Security/UsernameTokenPasswordText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7666"
} | starcoder | using SOAPClient.Api.Constants;
namespace SOAPClient.Api.Models.Headers.Oasis.Security
{
using System.Xml.Serialization;
/// <summary>
/// Represents the password text
/// </summary>
[XmlType("Password",
Namespace = Constant.Namespace.OrgOpenOasisDocsWss200401Oasis200401WssWssecuritySecext... | 2.198369 | ef18a83d0ca521672f11067fcdce93d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "l3kov9/CSharpOOPAdvanced",
"max_stars_repo_path": "InterfacesAndAbstractionExercises/08.MilitaryElite/Interfaces/IPrivate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7667"
} | starcoder | namespace _08.MilitaryElite.Interfaces
{
public interface IPrivate
{
double Salary { get; }
}
}
| 1.97843 | 5e2f59f25951bc6b71822bcc7488416c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7667 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "refactorsaurusrex/journal-cli",
"max_stars_repo_path": "src/JournalCli/Core/MetaJournalEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7668"
} | starcoder | using System.Collections.Generic;
using JournalCli.Infrastructure;
using NodaTime;
namespace JournalCli.Core
{
public class MetaJournalEntry : JournalEntryBase
{
private readonly IJournalReader _reader;
public MetaJournalEntry(IJournalReader reader)
{
_reader = reader;
... | 2.191397 | 7dae67eeca4d975212ec7cc14a3909aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7668 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Marvin-Brouwer/FluentSerializer",
"max_stars_repo_path": "src/FluentSerializer.Core.TestUtils/Assertions/StringAssertions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7669"
} | starcoder | <reponame>Marvin-Brouwer/FluentSerializer
using FluentAssertions;
using FluentAssertions.Execution;
using FluentAssertions.Primitives;
using System;
namespace FluentSerializer.Core.TestUtils.Assertions;
/// <inheritdoc cref="AssertionExtensions.Should{T}(IComparable{T})"/>
public class StringAssertions : ReferenceTyp... | 2.588802 | 35f9fc1c0ae743093af54d2d05991be2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UKHomeOffice/Modern-Slavery-Alpha",
"max_stars_repo_path": "ModernSlavery.Core/Interfaces/IFileRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7670"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Threading.Tasks;
namespace ModernSlavery.Core.Interfaces
{
public interface IFileRepository
{
string RootDir { get; }
Task<IEnumerable<string>> GetDirectoriesAsync(string directoryPath... | 2.417982 | 58026511c2b66a4cce09216c82d5f0d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LyuboslavKrastev/Databases-Advanced---Entity-Framework-",
"max_stars_repo_path": "09. DB-Advanced-EF-Core-External-Format-Processing-Exercises/ProductsShop.Data/Configuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7671"
} | starcoder | <filename>09. DB-Advanced-EF-Core-External-Format-Processing-Exercises/ProductsShop.Data/Configuration.cs
namespace ProductsShop.Data
{
internal class Configuration
{
public static string ConnectionString { get; set; } = @"Server=ZORO\SQLEXPRESS;Database=ProductsShop;Integrated Security=True";
... | 1.84275 | 2a41da81f93a8742c0e32698e9ab1967 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7671 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "drewnoakes/mef",
"max_stars_repo_path": "redist/src/InternalReflectionContext/System/Reflection/Context/Projection/ProjectingMethodBody.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7672"
} | starcoder | <reponame>drewnoakes/mef
// -----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Reflection.Conte... | 2.274021 | 956c1da3a1cca753e60f25a04abdc7aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7672 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "Zhangoufei/NotePractice",
"max_stars_repo_path": "WPF/WpfDemo/DynamicallyGeneratedDataGrid/Bases/PageSettingViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7673"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace WpfDemo.DynamicallyGeneratedDataGrid.Bases
{
public abstract class PageSettingViewModel : INotifyPropertyChanged
{
... | 2.769047 | de564dc147772d19459ab12b95383ea1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NickTikhonov/UnityGDK",
"max_stars_repo_path": "test-project/Assets/Generated/Source/improbable/gdk/tests/ExhaustiveSingular.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7674"
} | starcoder | <filename>test-project/Assets/Generated/Source/improbable/gdk/tests/ExhaustiveSingular.cs
// ===========
// DO NOT EDIT - this file is automatically regenerated.
// ===========
using Unity.Entities;
using Improbable.Gdk.Core;
namespace Improbable.Gdk.Tests
{
public partial class ExhaustiveSingular
{
p... | 1.537747 | 5036e2aaaba64ed8a2286df471598a21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "appetere/language-ext",
"max_stars_repo_path": "LanguageExt.Core/ClassInstances/Hashable/HashableTaskAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7675"
} | starcoder | using LanguageExt.TypeClasses;
using System.Threading.Tasks;
namespace LanguageExt.ClassInstances
{
public struct HashableTaskAsync<A> : HashableAsync<Task<A>>
{
public Task<int> GetHashCodeAsync(Task<A> x) =>
default(HashableTaskAsync<HashableDefault<A>, A>).GetHashCodeAsync(x);
}
... | 2.498466 | afad937b73e796102a35b917d8c91bdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yasmin-AlGhamdi/Project04_Auth_CRUD_ASP.NET",
"max_stars_repo_path": "GiftShopV3/GiftShop/obj/Debug/net5.0/Razor/Views/Home/Index.cshtml.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7676"
} | starcoder | <filename>GiftShopV3/GiftShop/obj/Debug/net5.0/Razor/Views/Home/Index.cshtml.g.cs<gh_stars>0
#pragma checksum "C:\Users\Yasmin\source\repos\GiftShop\GiftShop\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a69470e9c86021adbffd25331009fba354bdb2b6"
// <auto-generated/>
#pragma warning disable 1591
[as... | 1.610024 | e6c0b019dd56a47cb346986b980f70e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7676 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Common/Converters/AzureComputeModeNamesConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7677"
} | starcoder | <filename>src/Dynatrace.Net/Common/Converters/AzureComputeModeNamesConverter.cs
using System.Collections.Generic;
using Dynatrace.Net.Environment.TopologyAndSmartscapeV1.Models;
namespace Dynatrace.Net.Common.Converters
{
public class AzureComputeModeNamesConverter : JsonEnumConverter<AzureComputeModeNames>
{... | 2.332149 | 301c354150117ad5326dec26bfddd634 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7677 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "EndGameGl/.NetBungieAPI",
"max_stars_repo_path": "DotNetBungieAPI.Generated/Models/Destiny/Components/Records/DestinyRecordComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7678"
} | starcoder | <reponame>EndGameGl/.NetBungieAPI
using System.Text.Json.Serialization;
namespace DotNetBungieAPI.Generated.Models.Destiny.Components.Records;
public sealed class DestinyRecordComponent
{
[JsonPropertyName("state")]
public Destiny.DestinyRecordState State { get; init; }
[JsonPropertyName("objectives")]
... | 1.910028 | 9e5be7d7dc2d19e030d0867943740ad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alko89/StackBuilder",
"max_stars_repo_path": "Sources/TreeDim.StackBuilder.Basics/Analyses/AnalysisCaseTruck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7679"
} | starcoder | <reponame>Alko89/StackBuilder
using System;
using System.Collections.Generic;
using System.Linq;
namespace treeDiM.StackBuilder.Basics
{
public class AnalysisCaseTruck : AnalysisPackableTruck
{
public AnalysisCaseTruck(Document doc, Packable packable, TruckProperties truckProperties, ConstraintSetPack... | 1.383794 | 76362e31576223c04eea51be18213459 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FullPointerException/sotm-memes",
"max_stars_repo_path": "MemesMod/CheatyMcCheats/SwordCommonController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7680"
} | starcoder | <filename>MemesMod/CheatyMcCheats/SwordCommonController.cs
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace Memes.CheatyMcCheats
{
public class SwordCommonController : CardController
{
public SwordCommonController(Card card, TurnTakerController turnTakerC... | 2.399213 | 34870f8246dd807ba148a76583833c5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7680 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "eahs/EastonCityGuide-Backend",
"max_stars_repo_path": "ADSBackend/Data/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7681"
} | starcoder | using System;
using ADSBackend.Models;
using ADSBackend.Models.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace ADSBackend.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, int>
{
public Appl... | 2.072669 | e38288aae38a6d2f73b3c35b2384d272 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7681 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andreasbrake/blockchain-app",
"max_stars_repo_path": "ServerAPI/Controllers/Configuration/WidgetController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7682"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json.Linq;
using BlockchainAppAPI.DataAccess.Co... | 2.136421 | 8a55dbffa72acbdaf802d45f8dc5834b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trigger-death/MCC-WJLCS",
"max_stars_repo_path": "Discord/DiscordBots/TriggersTools.DiscordBots.Core/Utils/Embedding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7683"
} | starcoder | <filename>Discord/DiscordBots/TriggersTools.DiscordBots.Core/Utils/Embedding.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace TriggersTools.DiscordBots.Utils {
/// <summary>
/// A static helper class for loading embedded resource streams.
///... | 2.97841 | c151dd07dcb720e87322be068775070c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "modethirteen/Usivity",
"max_stars_repo_path": "api/usivity.data/Serializers/OAuthTokenInfoSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7684"
} | starcoder | using MongoDB.Bson.Serialization;
using Usivity.Entities.Connections;
namespace Usivity.Data.Serializers {
public class OAuthTokenInfoSerializer : IUsivityDataSerializer {
//--- Methods ---
public void RegisterSerializer() {
if(!BsonClassMap.IsClassMapRegistered(typeof(OAuthTok... | 1.815328 | d6a2298bf5d0ed88ac295c54aaab8f74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7684 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ItsJuniorDias/CRUD-ASP.NET",
"max_stars_repo_path": "Views/Produto/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7685"
} | starcoder | <reponame>ItsJuniorDias/CRUD-ASP.NET<gh_stars>1-10
@using ECommerce.Models
@model Produto
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<html>
<head>
<title> Produtos </title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="<... | 2.320489 | c5332c7de6fb8154578b68ead481a8b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7685 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MikeCodesDotNET/SendToCarbon-VisualStudioExt",
"max_stars_repo_path": "Carbon/CarbonTypes/Language.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7686"
} | starcoder | using Carbon.Helpers;
using System.ComponentModel;
namespace Carbon.CarbonTypes
{
public enum Language
{
[Id("text")]
Unknown,
[Description("C#")]
[Id("text/x-csharp")]
CSharp,
[Description("F#")]
[Id("mllike")]
FSharp,
[Description... | 2.113636 | 3cc620e429bf9659617f9bdfe0b9ee7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareAG/cumulocity-clients-cs",
"max_stars_repo_path": "DeviceSDK/MQTT/src/MQTT.Client.NetFramework/Client_SmartREST.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7687"
} | starcoder | <reponame>SoftwareAG/cumulocity-clients-cs<filename>DeviceSDK/MQTT/src/MQTT.Client.NetFramework/Client_SmartREST.cs
using Cumulocity.MQTT.Enums;
using Cumulocity.MQTT.Interfaces;
using Cumulocity.MQTT.Model;
using MQTTnet.Core;
using MQTTnet.Core.Packets;
using MQTTnet.Core.Protocol;
using Serilog;
using System... | 2.251569 | ea0070ccb229528b4f909806fe23a95f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leodeg/CSharp.Blog",
"max_stars_repo_path": "Blog/Blog/Controllers/PostsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7688"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Blog.Data;
using Blog.Models;
using Blog.Models.Repositories;
using Microsoft.AspNetCore.Http;
using Blog... | 2.383046 | 810970e6b8f1f216b10aa925856e8036 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7688 | {
"extension": "c-sharp",
"max_stars_count": "101.0",
"max_stars_repo_name": "microsoft/component-detection",
"max_stars_repo_path": "src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7689"
} | starcoder | <gh_stars>100-1000
using System;
using System.Linq;
using System.Composition;
using Microsoft.ComponentDetection.Contracts;
namespace Microsoft.ComponentDetection.Common
{
[Export(typeof(IEnvironmentVariableService))]
public class EnvironmentVariableService : IEnvironmentVariableService
{
public bo... | 2.713352 | 7e98b8354e85573ee34ba84884367db8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renaudbedard/cooldogs_tojam10",
"max_stars_repo_path": "Assets/Scripts/Customers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7690"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class Customers : MonoBehaviour {
public static Customers Instance { private set; get; }
public bool doingThings = false;
public Customer currentCustomer;
iTweenPath currentSpawnPath;
string lastC... | 1.680459 | 2c3cbf78e404b52f428fd59df22365f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koneko/muse-slash",
"max_stars_repo_path": "Assets/scripts/MoveNotes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7691"
} | starcoder | <reponame>koneko/muse-slash<filename>Assets/scripts/MoveNotes.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveNotes : MonoBehaviour
{
public float speed = 5f;
public Rigidbody2D rb;
Vector2 thing;
void Start()
{
thing = new Vector2(-1f, 0... | 2.045679 | 2696c6f860698ca08de8832adf6e592b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KieranFoot/runtime",
"max_stars_repo_path": "src/libraries/System.Private.CoreLib/src/System/Half.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7692"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.Intero... | 2.607639 | 353d3e821777bebb188bdc85f076d83b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nhs-digital-gp-it-futures/GPITBuyingCatalogue",
"max_stars_repo_path": "src/NHSD.GPIT.BuyingCatalogue.WebApp/Areas/Solutions/Models/SolutionsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7693"
} | starcoder | <reponame>nhs-digital-gp-it-futures/GPITBuyingCatalogue
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models;
using NHSD.GPIT.BuyingCatalogue.ServiceContracts.Models;
using NHSD.GPIT.BuyingCatalogue.ServiceContracts... | 1.938844 | d79e3b14088059aed77fe0dab7f63ff6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7693 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "idonthaveafifaaddiction/dovetail-bootstrap",
"max_stars_repo_path": "source/Dovetail.SDK.ModelMap/Transforms/IMappingTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7694"
} | starcoder | namespace Dovetail.SDK.ModelMap.Transforms
{
public interface IMappingTransform
{
object Execute(TransformContext context);
}
} | 1.397137 | 3affde53f070b31b0eca47a8084dbaf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7694 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Workshell/pe",
"max_stars_repo_path": "src/Workshell.PE/Content/Imports/ImportAddressTablesBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7695"
} | starcoder | <reponame>Workshell/pe<gh_stars>10-100
#region License
// Copyright(c) Workshell Ltd
//
// 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 limitati... | 2.092554 | ccdd60886b4bba3885a89c81489b3cc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7695 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ninject/ninject1",
"max_stars_repo_path": "src/Extensions/MessageBroker/Infrastructure/Model/Publications/IMessagePublicationFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7696"
} | starcoder | <reponame>ninject/ninject1<gh_stars>10-100
#region License
//
// Author: <NAME> <<EMAIL>>
// Copyright (c) 2007-2008, Enkari, Ltd.
//
// 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
//
// ... | 1.348206 | 6550dedeb0c3fc39b91e6e6bd81f2c45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7696 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AdrianSchneble/nap",
"max_stars_repo_path": "code/NAP_2017-12-16/Assets/Scripts/Terrain/TrapController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7697"
} | starcoder | <reponame>AdrianSchneble/nap
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrapController : TerrainController {
public Sprite activatedSprite;
private bool active = true;
private SpriteRenderer spriteRenderer;
private void Awake()
{
canHoldOb... | 1.988233 | d6e94c9d19b3e996e574a17e9a1e1d29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeVirtualZ/OfflinePM",
"max_stars_repo_path": "Frm_Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7698"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace OfflinePM
{
public partial class Frm_Main : Form
{
public Frm_Main()
{
... | 2.062242 | 2ba207e7c183e00eb873ee57a392baaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7698 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aktasismail/TeknolojiMagazasi",
"max_stars_repo_path": "AktasTech/AktasTech.Entities/Concrete/Sepettekiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7699"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AktasTech.Entities.Concrete
{
public class Sepettekiler
{
public Urunler Urunler { get; set; }
public int Miktar { get; set; }
}
}
| 1.404546 | a6a4074b2937739f4751c157b28afca5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akrisiun/corert",
"max_stars_repo_path": "src/System.Private.CoreLib/src/Internal/Runtime/EEType.Runtime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7700"
} | starcoder | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using System.Runtime;
using System.Runtime.InteropServices;
nam... | 1.48857 | 990684e0e1c9a68fc4ae7701f8aa5ab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "STulling/BrawlCrateNext",
"max_stars_repo_path": "BrawlLib/System/Windows/Controls/ModelViewer/MainWindowBase/Undo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7701"
} | starcoder | using BrawlLib.Modeling;
using BrawlLib.SSBB.ResourceNodes;
using System.Collections.Generic;
using System.Linq;
namespace System.Windows.Forms
{
public partial class ModelEditorBase : UserControl
{
public uint _allowedUndos = 50;
public List<SaveState> _undoSaves = new List<SaveState>();
... | 2.23565 | 6d838f9726f8f691b3cd174c6915f812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7701 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JohanShen/Hawk",
"max_stars_repo_path": "Hawk.ETL/Plugins/Transformers/AddNewCollumTransformer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7702"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Controls.WpfPropertyGrid.Attributes;
using Hawk.Core.Connectors;
using Hawk.Core.Utils;
using Hawk.Core.Utils.Plugins;
namespace Hawk.ETL.Plugins.Transformers
{
[XFrmWork("添加新列","为数据集添加新列,值为某固定值")]
pub... | 2.01157 | b15aeb429402fac302dd69a0d742dd61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7702 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AIFramework/AIFrameworkOpen",
"max_stars_repo_path": "AIParts/AIChartGraphics/ComputerVision/SpatialFilters/Smoothing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7703"
} | starcoder | <reponame>AIFramework/AIFrameworkOpen<gh_stars>1-10
using AI.DataStructs.Algebraic;
namespace AI.ComputerVision.SpatialFilters
{
public class Smoothing : CustomFilter
{
public Smoothing()
{
f = new Matrix(3, 3) + 1.0 / 9.0;
}
}
}
| 2.233623 | f5d649a85d624a102563f4befdba4d08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7703 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stukalin/RestSharp",
"max_stars_repo_path": "RestSharp/Serialization/Xml/DotNetXmlSerializerClientExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7704"
} | starcoder | using System.Text;
using RestSharp.Deserializers;
using RestSharp.Serializers;
namespace RestSharp.Serialization.Xml
{
public static class DotNetXmlSerializerClientExtensions
{
public static IRestClient UseDotNetXmlSerializer(this IRestClient restClient,
string xmlNamespace = null, Encoding... | 2.378509 | b31557130aa70470938a1e07147a02a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keedya/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/Transfer/Generated/Model/UpdateServerRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7705"
} | starcoder | <filename>sdk/src/Services/Transfer/Generated/Model/UpdateServerRequest.cs
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the Licens... | 1.628174 | 9e4148ea6c6ec4b13d0112fb64922014 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7705 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "eysshot/C-Hotel-Management-System-Project-With-SQL-Database",
"max_stars_repo_path": "Hotel Management System/Pansiyon otomasyonu/ManagerAnnounces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7706"
} | 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.SqlClient;
namespace Pansiyon_otomasyonu
{
public partial class ManagerAnnounces :... | 2.449572 | 46a5eb3e7f7a980a54fe1b965c4a76d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7706 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "csoap/csoap.github.io",
"max_stars_repo_path": "sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Documents/TextTreeRootNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7707"
} | starcoder | <filename>sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Documents/TextTreeRootNode.cs
//---------------------------------------------------------------------------
//
// <copyright file=TextTreeRootNode.cs company=Microsoft>
// Copyright (C) Microsoft Corporation. All rights reserved.
// </copyright>
//
//... | 2.280153 | 9aa9de068d7b93468b8b5f169e856311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "basp/kiri",
"max_stars_repo_path": "Kiri/NumericReply.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7708"
} | starcoder | namespace Kiri
{
using Sprache;
public class NumericReply
{
public const int RPL_WELCOME = 1;
public const int RPL_YOURHOST = 2;
public const int RPL_CREATED = 3;
public const int RPL_MYINFO = 4;
public const int RPL_BOUNCE = 5;
public const int RPL_TOPIC = 3... | 2.448725 | 4eeab9777a4838efeb55402a8e5a6adb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7708 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kasuken/AzureSpeed",
"max_stars_repo_path": "src/AzureSpeed/AzureSpeed.Web/Shared/StorageEndpoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7709"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzureSpeed.Web.Shared
{
public class StorageEndpoint
{
public StorageEndpoint()
{
this.History = new Queue<LatencyHistoryEntry>();
}
public... | 1.794251 | 6bf06e284cf1b389e511bb5932161510 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7709 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "MineLibOrg/MineLib.Network",
"max_stars_repo_path": "Classic/Enums/ThirdPersonView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7710"
} | starcoder | namespace MineLib.Network.Classic.Enums
{
public enum ThirdPersonView
{
DisallowThirdPersonView = 0,
AllowThirdPersonView = 1
}
} | 1.44349 | 5366e1aa1de3c7cef01153e976f709a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Proby2112/heroes_and_dragons",
"max_stars_repo_path": "HeroesAndDragons.Core/ApiModels/HeroApiModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7711"
} | starcoder | <filename>HeroesAndDragons.Core/ApiModels/HeroApiModel.cs
using HeroesAndDragons.Core.ApiModels.Base;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace HeroesAndDragons.Core.ApiModels
{
public abstract class HeroBaseAp... | 2.150741 | 6b789f90af72702bf264488a3ffbba94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "M-AV/Code-Challenges",
"max_stars_repo_path": "csharp/CodeEval/Easy/Multiply Lists/MultiplyListsV1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7712"
} | starcoder | <gh_stars>0
using System;
using System.IO;
namespace CodeEval_Solutions.Easy.Multiply_Lists
{
/// <summary>
/// Time: 187 ms
/// Memory: 4890624 bytes
/// Unique: Yes
/// Ranking Points: 30.591
/// </summary>
public sealed class MultiplyListsV1 : ICodeEvalChalleng... | 3.078724 | 48d8eb438983e68aece1d087c2ecad0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vlingo-net/symbio",
"max_stars_repo_path": "src/Vlingo.Xoom.Symbio/Store/Object/StateObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7713"
} | starcoder | <reponame>vlingo-net/symbio
// Copyright © 2012-2022 VLINGO LABS. All rights reserved.
//
// This Source Code Form is subject to the terms of the
// Mozilla Public License, v. 2.0. If a copy of the MPL
// was not distributed with this file, You can obtain
// one at https://mozilla.org/MPL/2.0/.
using System;
using Sys... | 2.563169 | a3e18a4b84e985bc5b259bf9f557011e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7713 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "common/Stress/Azure.Sample.Stress/NoOpTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7714"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Test.Stress;
using System.Threading;
using System.Threading.Tasks;
namespace Azure.Sample.Stress
{
public class NoOpTest : StressTest<StressOptions, StressMetrics>
{
public NoOpTest(StressOptio... | 1.647554 | f809291e39cd7d5bde7cc3cb0fdaf499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maron6/SEIDR",
"max_stars_repo_path": "SEIDR.Monitor/SEIDR_ProfileManager/OrganizationSelector.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7715"
} | 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.192115 | 315ba462f353c0d41db2034fbce408dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebash1992/DesignPatterns",
"max_stars_repo_path": "Structural/Bridge/Theme/LightTheme .cs",
"provenance": "train-00000-of-00045.jsonl.gz:7716"
} | starcoder | <gh_stars>0
namespace Bridge.Theme
{
public class LightTheme : ITheme
{
public string GetColor()
{
return "Off White";
}
}
}
| 1.557636 | 7777df37ce11c3b566da530ade8b51bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soleil-taruto/Elsa",
"max_stars_repo_path": "e20201156_Udongedon_Hatena/Elsa20200001/Elsa20200001/Games/Scripts/Script_Stage_01.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7717"
} | starcoder | <reponame>soleil-taruto/Elsa<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Games.Walls;
using Charlotte.Games.Enemies;
using Charlotte.GameCommons;
using Charlotte.Games.Shots;
using Charlotte.Games.Enemies.Hinas;
namespace Charlotte.Games.Scripts
{
... | 1.869747 | ab7af2bbfd222bac82438348abafa832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7717 | {
"extension": "c-sharp",
"max_stars_count": "552.0",
"max_stars_repo_name": "Casey-Hofland/Quest-System-Pro",
"max_stars_repo_path": "Assets/Devdog/QuestSystemPro/Scripts/Quests/TaskFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7718"
} | starcoder | <filename>Assets/Devdog/QuestSystemPro/Scripts/Quests/TaskFilter.cs
namespace Devdog.QuestSystemPro
{
public enum TaskFilter
{
InActive,
Active,
ActiveAndCompleted,
Failed,
All
}
} | 1.719807 | ced66f95d4367f81445c54bda623290e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7718 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Glepooek/Furion",
"max_stars_repo_path": "samples/Furion.Web.Entry/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7719"
} | starcoder | <gh_stars>1-10
@using Furion.Web.Entry
@using Furion
@using Furion.Localization
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers | 1.102615 | 27d5df4a655f68e2b73f908532f60a73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YHiniger/ManagedX.Content",
"max_stars_repo_path": "code/archives/ArchiveStream_T.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7720"
} | starcoder | <reponame>YHiniger/ManagedX.Content<gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Security;
using System.Text.RegularExpressions;
namespace ManagedX.Content
{
using Design;
/// <summary>A <see cref="FileStream"/> dedica... | 2.480631 | ab598f83f1b53b951139c4243db00518 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sanglirong/LogDashboard_Ext",
"max_stars_repo_path": "src/LogDashboard/Handle/DashboardHandle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7721"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using DapperExtensions;
using LogDashboard.Extensions;
using LogDashboard.Handle.LogChart;
using LogDashboard.Models;
using LogDashboard.Repository;
using LogDashboard.Repository.... | 2.097552 | 59758984e00b6c0686c1bbcb1598bce5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lzcd/LeanGoldfish",
"max_stars_repo_path": "LeanGoldfish/MaybeSome.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7722"
} | starcoder | <reponame>lzcd/LeanGoldfish<filename>LeanGoldfish/MaybeSome.cs
using System;
namespace LeanGoldfish
{
public class MaybeSome : ParsingUnit
{
private ParsingUnit unit;
public MaybeSome(ParsingUnit unit)
{
this.unit = unit;
}
internal override ParsingResult ... | 3.019432 | fa92c4eb1514eb5a97d8cf4c2cdb9bac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7722 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sirithang/UOGBJAM",
"max_stars_repo_path": "Assets/RetroScreen/RoomManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7723"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class RoomManager : MonoBehaviour, ISerializationCallbackReceiver
{
static protected RoomManager s_instance = null;
static public RoomManager Instance { get { return s_instance; } }
[H... | 2.462896 | a16a66c9ec9f3e1d2d83e411fef39217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7723 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jpiquot/ExtenFlow",
"max_stars_repo_path": "ExtenFlow/src/Core/Identity/ExtenFlow.Identity.Roles.Domain.Abstractions/ValueObjects/RoleClaimType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7724"
} | starcoder | using ExtenFlow.Infrastructure;
namespace ExtenFlow.Identity.Roles.Domain.ValueObjects
{
/// <summary>
/// Class ClaimTypeValue
/// </summary>
public class RoleClaimType : ValueObject<string>
{
/// <summary>
/// Initializes a new instance of the <see cref="RoleClaimType"/> class.
... | 2.40178 | 71a9397a5bd6e746f565aec74c278c83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iZakaroN/BlockChainPro",
"max_stars_repo_path": "Model/Serialization/JsonConverters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7725"
} | starcoder | <filename>Model/Serialization/JsonConverters.cs
using System;
using System.Linq;
using Newtonsoft.Json;
namespace BlockChanPro.Model.Serialization
{
/// <inheritdoc />
/// <summary>
/// Source: https://stackoverflow.com/questions/11829035/newton-soft-json-jsonserializersettings-for-object-with-property-as-byte-arr... | 3.092235 | da69a669d9b43cc270b90c2defe41eec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kree1/potw",
"max_stars_repo_path": "Mod/Heroes/JessicaYamada/Characters/JessicaYamadaCharacterCardController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7726"
} | starcoder | <filename>Mod/Heroes/JessicaYamada/Characters/JessicaYamadaCharacterCardController.cs
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Jp.ParahumansOfTheWormv... | 2.586175 | c588433b6ba307af06affdacf390e25c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afraser-lt/lean_tech_backend_test",
"max_stars_repo_path": "lean_tech_backend_test/NoSQL-CRUD/sql-CRUD/Models/Bols.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7727"
} | starcoder | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace nosql_CRUD.Models
{
public partial class Bols
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { ge... | 1.90466 | 76a57054afe5108a0a888270934df311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7727 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "k77torpedo/ForgeECS",
"max_stars_repo_path": "Library/PackageCache/com.unity.test-framework.performance@1.0.9-preview/Runtime/PerformanceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7728"
} | starcoder | #if UNITY_2019_2_OR_NEWER
using System;
using System.Collections.Generic;
using System.Text;
using Unity.PerformanceTesting.Runtime;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using UnityEngine;
using UnityEngine.TestRunner.NUnitExtensions;
namespace Unity.PerformanceTesting
{
[Serializable]
pub... | 2.036151 | d0058997ba27401bc0f0713721d725eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PMExtra/qiniu-sdk-csharp",
"max_stars_repo_path": "src/Qiniu.Tests/TestEnv.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7729"
} | starcoder | using System;
namespace Qiniu.Tests
{
public class TestEnv
{
public string AccessKey;
public string Bucket;
public string Domain;
public string LocalFile;
public string SecretKey;
public TestEnv()
{
var isTravisTest = Environment.GetEnvironme... | 2.350568 | c88975d8ae99729c7376f9494e7f361f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gartenschlaeger/LuaEditor",
"max_stars_repo_path": "LuaEditor/Dialogs/FormBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7730"
} | starcoder | using LuaEditor.Objetcts;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace LuaEditor.Dialogs
{
public class FormBase : Form
{
#region Fields
private EditorSettings _settings;
#endregion
#region Contructor
public ... | 2.785286 | 1fff933544747629e9702f4173580396 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7730 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "EndGameGl/.NetBungieAPI",
"max_stars_repo_path": "DotNetBungieAPI.Generated/Models/Social/Friends/PlatformFriendType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7731"
} | starcoder | <filename>DotNetBungieAPI.Generated/Models/Social/Friends/PlatformFriendType.cs
using System.Text.Json.Serialization;
namespace DotNetBungieAPI.Generated.Models.Social.Friends;
public enum PlatformFriendType : int
{
Unknown = 0,
Xbox = 1,
PSN = 2,
Steam = 3
}
| 1.875536 | faab67a30ab2d0a2615947cba3644cb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7731 | {
"extension": "c-sharp",
"max_stars_count": "4601.0",
"max_stars_repo_name": "MiaHub/xamarin-forms-samples",
"max_stars_repo_path": "UserInterface/VsmDemos/VsmDemos/VsmDemos/VsmValidationPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7732"
} | starcoder | using System.Text.RegularExpressions;
using Xamarin.Forms;
namespace VsmDemos
{
public partial class VsmValidationPage : ContentPage
{
public VsmValidationPage()
{
InitializeComponent();
GoToState(false);
}
void OnTextChanged(object sender, TextChanged... | 2.628662 | 3bc917331c4ecd8c889f3f9dadf15de1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rusmass/wealthland_client",
"max_stars_repo_path": "arpg_prg/Fantasy/Assets/Code/Core/Common/Extensions/ExtendedArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7733"
} | starcoder | <reponame>rusmass/wealthland_client
public static class ExtendedArray
{
public static bool IsNullOrEmptyEx<T>(this T[] array)
{
return null == array || array.Length == 0;
}
}
| 1.672762 | 64ed45ef69989233843bdf266fcbdef2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7733 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "polartron/open-netcode",
"max_stars_repo_path": "Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities/Types/ComponentType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7734"
} | starcoder | using System;
using System.ComponentModel;
using Unity.Collections;
namespace Unity.Entities
{
public struct ExcludeComponent<T>
{
}
public partial struct ComponentType : IEquatable<ComponentType>
{
public enum AccessMode
{
ReadWrite,
ReadOnly,
E... | 2.38413 | 0a58c0ca3cbf2e111f885d98ead46001 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7734 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "globalmiles/airline-net-sdk",
"max_stars_repo_path": "GlobalMilesAirlineAPI.Standard/Models/MemberSearchResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7735"
} | starcoder | <reponame>globalmiles/airline-net-sdk
/*
* GlobalMilesAirlineAPI.Standard
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System... | 1.98965 | e24a5193c69ad5a8b24b2076242dcd0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpboyle1/devtreks2.1",
"max_stars_repo_path": "DevTreks.Models/Models/NetworkClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7736"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace DevTreks.Models
{
public partial class NetworkClass
{
public NetworkClass()
{
Network = new HashSet<Network>();
}
public NetworkClass(bool init)
{
... | 2.368231 | 2e4e79085dbd09fe2e3693d27eb2b1fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pocheshire/AppRopio.Mobile",
"max_stars_repo_path": "src/app-ropio/AppRopio.Base/Settings/Core/ViewModels/Items/Picker/ISettingsPickerVm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7737"
} | starcoder | using System;
namespace AppRopio.Base.Settings.Core.ViewModels.Items.Picker
{
public interface ISettingsPickerVm : ISettingsItemVm
{
string SelectedValueId { get; set; }
string SelectedValueTitle { get; set; }
}
} | 1.310813 | 24e3ac29e1319d4295306c698cafba78 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.