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 | 92133 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "antoniotorresz/C-Sharp-Bicicletas-Windows-Forms",
"max_stars_repo_path": "Controlador/ControladorVenta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92134"
} | starcoder | <filename>Controlador/ControladorVenta.cs<gh_stars>1-10
using Datos;
using Modelo;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Controlador
{
public class ControladorVenta
{
public static DataTable List... | 2.415344 | f7221632cab72d31064431af5ddc3b6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisAshtear/EUIDatasources",
"max_stars_repo_path": "Runtime/Menu/DataSource/DatabaseSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92135"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Linq;
using System;
public enum DataInputType { Asset, Moddable, Remote }
[System.Serializable]
public class DatabaseSource : ScriptableObject
{
protected bool dataReady = false;
[HideInInspector]
... | 2.110059 | 5710ac94a35ce18559b9c48ce335220c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juniorgasparotto/spent-book",
"max_stars_repo_path": "src_old/DotNet.Highcharts/Options/ChartOptions3dFrameBack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92136"
} | starcoder | using System;
using System.Drawing;
using DotNet.Highcharts.Enums;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Helpers;
namespace DotNet.Highcharts.Options
{
/// <summary>
/// Defines the back panel of the frame around 3D charts.
/// </summary>
public class ChartOptions3dFrameBack
{
/// <summary... | 2.076653 | 74c89070e02ced0e5ef27cc5fcc095bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92136 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emagers/GuardianApi",
"max_stars_repo_path": "GuardianApiTest/Models/Responses/ContentResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92137"
} | starcoder | namespace GuardianApi.Models.Responses
{
public class ContentResponse
{
public Content Content { get; set; }
}
}
| 1.428249 | 1ac21b18ba796b4af6d3a7ed58605303 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lixiong24/IPS2.1",
"max_stars_repo_path": "JXIPS/JX.EF/Repository/WorkCategoryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92138"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JX.Core;
using JX.Core.Entity;
namespace JX.EF.Repository
{
/// <summary>
/// 数据库表:WorkCategory 的仓储实现类.
/// </summary>
public partial class WorkCategoryRepository : Repository<WorkCategory>, IWorkCat... | 1.61938 | fcb61e525a5ca582923ea5cd04d0886c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92138 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "appkins/SimpleIdentityServer",
"max_stars_repo_path": "SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/Validators/RefreshTokenGrantTypeParameterValidatorFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92139"
... | starcoder | using SimpleIdentityServer.Core.Errors;
using SimpleIdentityServer.Core.Exceptions;
using SimpleIdentityServer.Core.Parameters;
using SimpleIdentityServer.Core.Validators;
using Xunit;
namespace SimpleIdentityServer.Core.UnitTests.Validators
{
public sealed class RefreshTokenGrantTypeParameterValidatorFixture
... | 2.188956 | 0f2d5763ccb2e7b7d96405d0f104241b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lehitoskin/Classing",
"max_stars_repo_path": "Classing/Laptop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92140"
} | starcoder | <gh_stars>0
// Laptop.cs
using System;
namespace Classing
{
public class Laptop : Computer
{
private int size;
public Laptop(int pn, string model, string man, string os, int s)
: base(pn, model, man, os)
{
size = s;
}
public int GetSize() { ret... | 3.428669 | 626ab942a087ce2f2b9eaf62f03e0d25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "oxysoft/PokeSharp",
"max_stars_repo_path": "src/GameEngine.Data/Scripting/UserInterface/UIContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92141"
} | starcoder | <filename>src/GameEngine.Data/Scripting/UserInterface/UIContainer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using General.Common;
using General.Encoding;
namespace GameEngine.Data.Scripting.UserInterface {
public class UIContainer : List<UI... | 2.969316 | bec708c8ed1ccb2063967e4492795aae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SelectiveHouse/space-station-14",
"max_stars_repo_path": "Content.Server/Toilet/ToiletComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92142"
} | starcoder | <gh_stars>0
using Content.Server.Act;
using Content.Server.Chat.Managers;
using Content.Shared.Sound;
using Content.Shared.Tools;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.... | 1.700886 | 79b57d488cc4425e833c470a662dd6fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gODeaLoAple/Kontur.IES.Test",
"max_stars_repo_path": "Third/RandomVariable/Tokens/Entities/Operator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92143"
} | starcoder | <filename>Third/RandomVariable/Tokens/Entities/Operator.cs
namespace RandomVariable.Tokens.Entities
{
using RandomVariable.Tokens.Enums;
using System;
using System.Collections.Generic;
public class Operator : Token
{
private static readonly Dictionary<string, Operators> Operators = new()
... | 3.062502 | 18454be38d7315ac4613e1295cfdf666 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92143 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "PinBack23/nonkyo",
"max_stars_repo_path": "src/NOnkyo.ISCP/Models/InputSelectorItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92144"
} | starcoder | <gh_stars>10-100
using NOnkyo.ISCP;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NOnkyo.ISCP.Models
{
public class InputSelectorItem
{
private static List<InputSelectorItem> moAllItems = null;
public static List<InputSelectorItem> AllItems
... | 2.358302 | 1103d098a65055b2e4c2a5200cb83b65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92144 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ScriptBox99/chequer-PrimarSql.Data",
"max_stars_repo_path": "PrimarSql.Data/Models/Conditions/HashKeyCondition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92145"
} | starcoder | <reponame>ScriptBox99/chequer-PrimarSql.Data<gh_stars>1-10
using PrimarSql.Data.Utilities;
namespace PrimarSql.Data.Models.Conditions
{
internal sealed class HashKeyCondition : ICondition
{
public HashKey HashKey { get; }
public bool IsActivated { get; set; } = true;
public string ToE... | 2.240416 | 64cdd9be487fabeb4363f195f2dc35cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cdzhoubin/Infrastructure.Net.Core",
"max_stars_repo_path": "Source/Common/Extent/StringBuilderExtent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92146"
} | starcoder | using System;
using System.Linq;
using System.Text;
namespace Zhoubin.Infrastructure.Common.Extent
{
/// <summary>Extension methods that add some functionality of <c>string</c> to <c>StringBuilder</c>.</summary>
public static class StringBuilderExt
{
/// <summary>Extracts a substring from the spec... | 3.47235 | 68ed1313900898f3cc87545df913c5c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92146 | {
"extension": "c-sharp",
"max_stars_count": "1390.0",
"max_stars_repo_name": "samrumley88/Brighter",
"max_stars_repo_path": "src/Paramore.Brighter.MessagingGateway.RESTMS/Pipe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92147"
} | starcoder | #region Licence
/* The MIT License (MIT)
Copyright © 2014 <NAME> <<EMAIL>>
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.181511 | b8fa414b2f978b0de5efda7bbc953cf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mschr/ASP.NET-MVC5.MySql-Extended-Bootstrap",
"max_stars_repo_path": "my.ns.client/Areas/Admin/Views/Users/ViewAllRoles.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92148"
} | starcoder | @model IEnumerable<my.ns.entities.dto.identity.Role>
@using my.ns.client.Helpers
@{
Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
ViewBag.Title = "Roles";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ButtonBack("Index")
@Html.ButtonCreate("AddRole")
</p>
@Html.ValidationSummary(true, "", new { @class ... | 2.303494 | c7eefa29f0cfa6d86ee90efd1e086b29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92148 | {
"extension": "c-sharp",
"max_stars_count": "1060.0",
"max_stars_repo_name": "bgrainger/RepoDb",
"max_stars_repo_path": "RepoDb/RepoDb.Tests/RepoDb.UnitTests/QueryGroups/QueryGroupParseExpressionForDateTimeTypeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92149"
} | starcoder | <reponame>bgrainger/RepoDb<filename>RepoDb/RepoDb.Tests/RepoDb.UnitTests/QueryGroups/QueryGroupParseExpressionForDateTimeTypeTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace RepoDb.UnitTests
{
public partial class QueryGroupTest
{
// DateTime
[TestMethod]
... | 2.232111 | 16f383cbd65cfd8f106d3fe09c13ebc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92149 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fossabot/XtraUpload",
"max_stars_repo_path": "XtraUpload.Domain/Identity/RoleClaim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92150"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Identity;
namespace XtraUpload.Domain
{
public class RoleClaim : IdentityRoleClaim<string>
{
public virtual Role Role { get; set; }
}
}
| 1.608529 | b00dbc80b3afbf46aedbe719afb3a95b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92150 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexRos101/QURAS_CORE",
"max_stars_repo_path": "Quras-gui-SP/Controls/SideTxItem.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92151"
} | starcoder | <filename>Quras-gui-SP/Controls/SideTxItem.Designer.cs
namespace Quras_gui_SP.Controls
{
partial class SideTxItem
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean... | 2.044209 | 3fcbad4bb7a15651ea1a37fe88544369 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dymanoid/webcam-settings",
"max_stars_repo_path": "src/SetOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92152"
} | starcoder | using CommandLine;
namespace WebcamSettings
{
[Verb("set", HelpText = "Set camera settings from specified file.")]
internal sealed class SetOptions
{
public SetOptions(string sourceFile)
{
SourceFile = sourceFile;
}
[Value(0, MetaName = "source file", Required ... | 2.625067 | 297007c14512afc614eff47f1069829c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92152 | {
"extension": "c-sharp",
"max_stars_count": "3215.0",
"max_stars_repo_name": "jamiehankins/docfx",
"max_stars_repo_path": "src/Microsoft.DocAsCode.Plugins/TreeNavigator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92153"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Plugins
{
using System;
using System.Collections.Generic;
public class TreeNavigator
{
private Navigat... | 2.809973 | 0c5fa21e99bd833a6e82caeed855f0ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92153 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mehdiakar/VerneMQNet",
"max_stars_repo_path": "VerneMQnet.AspNetCore/Hooks/ErrorResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92154"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace VerneMQNet.AspNetCore.Hooks
{
public sealed class ErrorResult:HookResult
{
public string Error { get; set; }
}
}
| 1.481937 | c05803b7e93660f604ef3a3ffef840ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92154 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bruce-dunwiddie/ReflectionPresentation",
"max_stars_repo_path": "NinjectSimulation/Simulated/SimulatedBindableContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92155"
} | starcoder | <reponame>bruce-dunwiddie/ReflectionPresentation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NinjectSimulation.Simulated
{
public class SimulatedBindableContract
{
private Type contract;
private SimulatedNinjectM... | 2.123599 | 3bf30bfc5e9e50727cbae083046ea277 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SveGeorgiev/OpenJudgeSystem",
"max_stars_repo_path": "Open Judge System/Web/OJS.Web/Areas/Contests/Views/List/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92156"
} | starcoder | @using OJS.Web.Areas.Contests.ViewModels.Contests
@using Resource = Resources.Areas.Contests.Views.ListIndex
@model IEnumerable<ContestViewModel>
@{
ViewBag.Title = Resource.Title;
}
<ol class="breadcrumb">
<li><a href="/">@Resource.Home</a></li>
<li class="active">@Resource.Contests</li>
</ol>
@section... | 1.914424 | 310827469acdb11d0c5f336f9b044fc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92156 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gpandrei/code-reaction",
"max_stars_repo_path": "Tests/Services/CommentServiceFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92157"
} | starcoder | using CodeReaction.Domain;
using CodeReaction.Domain.Entities;
using CodeReaction.Domain.Services;
using CodeReaction.Tests.Services.Helpers;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CodeReaction.Tests.Likes
{
[TestFixture]
public class CommentService... | 2.354349 | 4cc318098b5922f84f3477785b2bdbfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidbetz/netrouter",
"max_stars_repo_path": "NetInterop.Routing/IHasStandardFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92158"
} | starcoder | <gh_stars>0
using System;
namespace NetInterop.Routing
{
public interface IHasStandardFormat
{
String StandardFormat { get; }
}
} | 1.073503 | 0a031e48bf225171659a37cb37b81f58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sidneys1/MinecraftMultitool",
"max_stars_repo_path": "StackingEntities.Model/Objects/SimpleTypes/SimpleDouble.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92159"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
namespace StackingEntities.Model.Objects.SimpleTypes
{
[Serializable]
public class SimpleDouble
{
public SimpleDouble(string name = null)
{
Name = name;
}
[DisplayName("Value")]
public double Value { get; set; }
public string Name { get; set; }... | 2.00274 | a3ae667b20f599b379cc78938405a170 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GooRain/Cyber-Infection",
"max_stars_repo_path": "Cyber Infection/Assets/CyberInfection/Scripts/GameMechanics/Entity/Units/EnemyController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92160"
} | starcoder | <reponame>GooRain/Cyber-Infection
using System.Collections;
using Photon.Pun;
using UnityEngine;
using UnityEngine.Serialization;
namespace CyberInfection.GameMechanics.Entity.Units
{
public class EnemyController : UnitController
{
[FormerlySerializedAs("followSpeed")]
[SerializeField]
... | 2.456321 | a3bb7bdb6688b7f56beabdc9a79902a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92160 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kou-yeung/MMO-Chat",
"max_stars_repo_path": "Assets/Domain/Network/PacketHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92161"
} | starcoder | <reponame>kou-yeung/MMO-Chat<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Network
{
class PacketHelper
{
static public readonly int BufferSize = 1024;
int? available; // 残りデータ量
Stream stream;
byt... | 3.002918 | dbcda54959467d153dcf0a742857637b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "casper-a-hansen/CodeSignal",
"max_stars_repo_path": "CodeSignalSolutions/TheCore/LabyrinthOfNestedLoops/isPowerClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92162"
} | starcoder | /*
Status: Solved
Imported: 2020-05-02 12:13
By: Casper
Url: https://app.codesignal.com/arcade/code-arcade/labyrinth-of-nested-loops/yBFfNv5fTqhcacZ7w
Description:
Determine if the given number is a power of some non-negative integer.
Example
For n = 125, the ou... | 3.288733 | ff83626235ad48ca9166102105125e30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92162 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "merijndejonge/WebApiGenerator",
"max_stars_repo_path": "src/WebApiGenerator/CodeGenerator/ControllerFactory.Create.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92163"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging;
using OpenSoftware.WebApiClient;
namespace OpenSoftware.WebApiGenerator.CodeGenerator
{
public static partial class ControllerFactory
{
... | 2.297068 | 0dcffa21bb0e2d0acc9496ac8db78cde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ManagedIrbis",
"max_stars_repo_path": "Source/Classic/Apps/Bulletin2017/Source/Model.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92164"
} | starcoder | <reponame>fossabot/ManagedIrbis<filename>Source/Classic/Apps/Bulletin2017/Source/Model.cs
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* Model.cs --
* Ars Magna project, http://arsmagna.ru
* --------... | 1.926639 | a6ebd6f4f23d331a7f8cbd87424b54da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EugeneLevchenkov/Learn-ASP.NET-Core",
"max_stars_repo_path": "SocialNetwork/src/SocialNetwork.Data.Contracts/Repositories/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92165"
} | starcoder | using SocialNetwork.Data.Contracts.Entities;
using System;
using System.Collections.Generic;
namespace SocialNetwork.Data.Contracts.Repositories
{
public interface IRepository<TEntity>
where TEntity : BaseEntity
{
TEntity GetById(int id);
IEnumerable<TEntity> Get(Func<TEnti... | 2.261362 | b51b99e23e745ffd0861f9d6d6fe08e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yornstei/EncompassRest",
"max_stars_repo_path": "src/EncompassRest/Loans/UpdateLoanOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92166"
} | starcoder | <filename>src/EncompassRest/Loans/UpdateLoanOptions.cs
using EncompassRest.Utilities;
namespace EncompassRest.Loans
{
/// <summary>
/// The loan update options.
/// </summary>
public sealed class UpdateLoanOptions : LoanOptions
{
/// <summary>
/// When applying a loan template, set... | 2.819895 | d135a44c0683b1cd26c13e6a1eba8c35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "designsbyjuan/UnityLib",
"max_stars_repo_path": "MusicManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92167"
} | starcoder | <reponame>designsbyjuan/UnityLib
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class MusicManager : MonoBehaviour {
private AudioSource audioSource;
public AudioClip[] levelMusicArray;
void Awake()
{
DontDestroyOnLoad(gameObject);
}
// Use this for initialization
void... | 1.98338 | 9eec227ddb923364322b3f983b40432c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cundalf/Stalhvik",
"max_stars_repo_path": "Assets/Scripts/Enemy/EnemyRespawn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92168"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyRespawn : MonoBehaviour
{
public GameObject enemyPrefab;
public float timeToStart = 20f;
public float respawnDelay = 5f;
void Start()
{
InvokeRepeating("respawn", timeToStart, respawnDelay);
... | 2.213279 | 4de932cee93c470a54710153c2b905ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LarryKapija/XamarinServices",
"max_stars_repo_path": "XamarinServices/XamarinServices/ViewModels/EffectViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92169"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace XamarinServices.ViewModels
{
class EffectViewModel
{
}
}
| 0.810977 | 97ec61a73be9824e1faafa26c238b632 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dakotajunkman/csharp-searchlight",
"max_stars_repo_path": "src/Searchlight/Exceptions/DuplicateName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92170"
} | starcoder | namespace Searchlight
{
public class DuplicateName : SearchlightException
{
/// <summary>
/// This is the table that had the conflicting field name
/// </summary>
public string Table { get; set; }
public string ConflictingName { get; set; }
public string Existing... | 2.049479 | 1d91a5402fd3e246b7b5056419c74c4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "comagnan/ludum-dare-48",
"max_stars_repo_path": "LD48/Framework/TextBox/Box.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92171"
} | starcoder | using System;
using System.Collections.Generic;
using LD48.Framework.Input;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace LD48.Framework.TextBox
{
public class Box
{
private string m_Clipboard;... | 2.512385 | 6c3940af80be0da7a440f8d0a04557d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92299 | {
"extension": "c-sharp",
"max_stars_count": "1984.0",
"max_stars_repo_name": "pavel-petrenko/nodejstools",
"max_stars_repo_path": "Nodejs/Product/Npm/SPI/NodeModulesProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92300"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.NodejsTools.Npm.SPI
{
internal class NodeModulesProxy : AbstractNodeModules
{
public new void AddMo... | 1.833177 | e425b6ac3b4d0bde8ade69f0ce2cd968 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-developer-web",
"max_stars_repo_path": "src/SFA.DAS.Apim.Developer.Web.UnitTests/Controllers/Home/WhenGettingTheHomePage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92301"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using FluentAssertions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Moq;
using NUnit.Framework;
using SFA.DAS.Apim.Developer.Application.Subscriptions.Queries.GetAvailab... | 1.711558 | e527eecf0494e1e262698c03ad4789fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xyaneon/Weapons-of-Mass-Domination",
"max_stars_repo_path": "src/wmd-core/State/Data/SecretBases/SecretBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92302"
} | starcoder | using System;
namespace WMD.Game.State.Data.SecretBases
{
/// <summary>
/// Represents a player's secret base of operations.
/// </summary>
public record SecretBase
{
/// <summary>
/// The price to pay for building a new secret base.
/// </summary>
public const deci... | 3.47842 | 5942bca4968f061339d7ef0dd2ab5e50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "armandvanderwalt/ice3x-api",
"max_stars_repo_path": "ice3x-api/GetMarketDepthBtcavResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92303"
} | starcoder | using System.Collections.Generic;
namespace ice3x_api
{
public class GetMarketDepthBtcavResponse
{
public List<GetMarketDepthBtcavEntity> Entities { get; set; }
}
} | 1.460943 | 9d7f238b6a0cf47a044889030d4fb070 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92303 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "microsoftgraph/msgraph-sdk-dotnet-contrib",
"max_stars_repo_path": "src/Requests/SiteScript/SiteScriptCollectionPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92304"
} | starcoder | <reponame>microsoftgraph/msgraph-sdk-dotnet-contrib
using Microsoft.Graph;
namespace Graph.Community
{
public class SiteScriptCollectionPage : CollectionPage<SiteScriptMetadata>, ISiteScriptCollectionPage
{
}
}
| 0.918377 | 54450cfa9d4b3897d959e31974e5cf09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "strebern/TheGameIsALiar",
"max_stars_repo_path": "Assets/Scripts/Dialog/DialogSkipper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92305"
} | starcoder | using System;
using UnityEngine;
namespace Game.Dialog
{
public class DialogSkipper : MonoBehaviour
{
[Header("References")]
[SerializeField] private DialogDisplayer _dialogDisplayer;
private void Update()
{
if (Input.GetButtonDown("SkipDialog") && _dialogD... | 1.920273 | ea7e0bd223817baca4b82ace564e4020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92305 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "univesp/magia-cigana",
"max_stars_repo_path": "Show de Magicas/Assets/_Scripts/Gameplay Mechanics/Feedback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92306"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
public class Feedback : MonoBehaviour
{
[SerializeField] private FeedbackLines[] _feedbackDialogue;
[SerializeField] private UnityEvent[] _actions;
[SerializeField] private DialogueActions _dialogueActions;
private void Start()
{
FeedbackResult... | 2.246011 | ffcf88710cf9064eeb292f400bbe2d5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92306 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidorbelian/MicroNetCore.Rest",
"max_stars_repo_path": "src/MicroNetCore.Rest.MediaTypes.Hypermedia/Services/HypermediaFieldService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92307"
} | starcoder | <filename>src/MicroNetCore.Rest.MediaTypes.Hypermedia/Services/HypermediaFieldService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using MicroNetCore.Models.Markup.Extensions;
using MicroNetCore.Rest.MediaTypes.Hypermedia.Models;
namespace MicroNetCore.Rest.MediaTypes... | 2.477121 | 32076a70dec8411474a526d3c3196b30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92307 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jgeurten/WDAC-Toolkit",
"max_stars_repo_path": "WDAC-Policy-Wizard/app/src/ConfigTemplate_Control.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92308"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// jogeurte 11/19
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Syste... | 2.233891 | a0aa86758a07ea1bd471ec5f86c1f1db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92308 | {
"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/Tests/Runtime/Database/Performance/Condition/TagConditionRatingPerformance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9... | starcoder | <reponame>bsides44/MARSGeofencing
#if UNITY_EDITOR
using Unity.MARS.Conditions;
using Unity.MARS.Query;
using UnityEngine;
namespace Unity.MARS.Data.Tests
{
[AddComponentMenu("")]
class TagConditionRatingPerformance : TimedConditionPerformanceTest<SemanticTagCondition, bool>
{
public virtual Seman... | 1.598559 | ad6429992f8701fe1414abeb87e4c730 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vassildinev/Data-Structures-and-Algorithms",
"max_stars_repo_path": "00.TreesAndTreeTraversal/01.MaxSum/MaxSum/MaxSumFacade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92310"
} | starcoder | <reponame>vassildinev/Data-Structures-and-Algorithms
namespace MaxSum
{
using System.Collections.Generic;
using InputReaders;
using Searchers;
using TreeComponents.Contracts;
using TreeComponents;
using System.Linq;
using System;
public class MaxSumFacade
{
private static ... | 2.712193 | 737aa424d2994864537911ea0d246110 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gshri67/S.i.-Systems---Client-App",
"max_stars_repo_path": "source/AccountExecutiveApp/AccountExecutiveApp.iOS/Search/SearchManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92311"
} | starcoder | <filename>source/AccountExecutiveApp/AccountExecutiveApp.iOS/Search/SearchManager.cs<gh_stars>0
using System;
using AccountExecutiveApp.Core.ViewModel;
using Foundation;
using Microsoft.Practices.Unity;
using UIKit;
namespace AccountExecutiveApp.iOS
{
public class SearchManager
{
//private readonly LogoutViewM... | 2.064904 | 58ed1ef2a0acec27cde109f6188ec962 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "auxua/MensaApp",
"max_stars_repo_path": "MensaAppWin/MensaAppWin/Localization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92312"
} | starcoder | <filename>MensaAppWin/MensaAppWin/Localization.cs
using System;
using System.Collections.Generic;
using System.Globalization;
//using System.Resources;
using System.Text;
using Xamarin.Forms;
using System.Reflection;
using Windows.ApplicationModel.Resources.Core;
namespace MensaAppWin
{
public class Localization
... | 2.490319 | 95e9e348ae9e3abe50be1208134d4d95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92312 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "philbir/magic-media",
"max_stars_repo_path": "src/Services/Store.MongoDb/PersonStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92313"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using MagicMedia.Search;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
namespace MagicMedia.Store.MongoDb
{
public class PersonStore ... | 2.547429 | ceca61e1685bf51f7b08e0282ac2d838 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucianodonati/IntowerviewDefense",
"max_stars_repo_path": "Assets/Scripts/Core/Editor/TileEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92314"
} | starcoder | <reponame>lucianodonati/IntowerviewDefense<gh_stars>0
using Core.Grid.Tiles;
using UnityEditor;
namespace Core.Editor
{
[CustomEditor(typeof(Tile)), CanEditMultipleObjects]
public class TileEditor : UnityEditor.Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGU... | 1.164431 | 4bb45fbad43bf6d45f7076b8b26fbae3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bazile/Training",
"max_stars_repo_path": "CSharp/L04-S04-GetApplicationDirectory/ApplicatonDirectory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92315"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace TrainingCenter.LessonIO
{
public static partial class ApplicationDirectory
{
public static List<Tuple<string, string>> GetAll()
{
var directoryInfo = GetApplicationAgnosticInfo();
... | 2.788468 | 7f161ff8eda98c5f0dade7c0f275483d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neptuo/Recollections",
"max_stars_repo_path": "src/Recollections.Api/Sharing/ShareDeleter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92316"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Neptuo;
using Neptuo.Recollections.Entries;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Neptuo.Recollections.Sharing
{
public class ShareDeleter
{
... | 2.314034 | e708062fce9481eba2b71018e8aaa011 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gursharan001/LargeJsApps",
"max_stars_repo_path": "RetrosApi/RetrosApi/App_Start/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92317"
} | starcoder | using System.Web.Http;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(RetrosApi.Startup))]
namespace RetrosApi
{
public class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
appBuilder.ConfigureSignalr();
ConfigureWebApi(appBuilder)... | 1.675435 | f4d98e8d8b98c1a475266e5f1ad67360 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grzfidler/marketfinance-code-test-backend",
"max_stars_repo_path": "SlothEnterprise.ProductApplication.Tests/ProductApplicationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92318"
} | starcoder | <filename>SlothEnterprise.ProductApplication.Tests/ProductApplicationTests.cs<gh_stars>0
using AutoFixture;
using NSubstitute;
using SlothEnterprise.External;
using SlothEnterprise.External.V1;
using SlothEnterprise.ProductApplication.DTOs.Applications;
using SlothEnterprise.ProductApplication.DTOs.Products;
using Slo... | 1.830794 | ccff69eb2e5438feac79891b46068d4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonnguyen/Litium.GraphQL",
"max_stars_repo_path": "Src/Litium.Accelerator/ViewModels/PageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92319"
} | starcoder | using System;
using Litium.Accelerator.Builders;
namespace Litium.Accelerator.ViewModels
{
public abstract class PageViewModel : IViewModel
{
public Guid SystemId { get; set; }
}
}
| 1.378007 | ada4dc78c49287ad5a474e04abffec9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92319 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "notherealmarco/Switchando",
"max_stars_repo_path": "Cloud/SwitchandoCloud.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92320"
} | starcoder | using HomeAutomation.Network;
using HomeAutomation.Utilities;
using HomeAutomationCore;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WebSocke... | 2.311774 | 57d849e2a7b1b3c954a4d5a056733471 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92320 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daviddw/Kinsky",
"max_stars_repo_path": "Kinsky/Ios/KinskyDesktop/Ios/CellPlaylist.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92321"
} | starcoder | <filename>Kinsky/Ios/KinskyDesktop/Ios/CellPlaylist.cs<gh_stars>1-10
using System;
using Foundation;
using UIKit;
using CoreGraphics;
namespace KinskyTouch
{
public partial class CellPlaylistFactory : NSObject
{
public CellPlaylistFactory()
{
}
public CellPlaylistFactory(IntPt... | 2.188517 | 361ff6738b9a183c26bbdb468bdae39f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/OWC10/DispatchInterfaces/DropSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92322"
} | starcoder | <filename>Source/OWC10/DispatchInterfaces/DropSource.cs
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OWC10Api
{
/// <summary>
/// DispatchInterface DropSource
/// SupportByVersion OWC10, 1
/// </summary>
[SupportByVersion("OWC10", 1)... | 1.281296 | df954249dd82f7a9f51e0f0b9068998d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92322 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iyomumx/MiniTwitter-Mod",
"max_stars_repo_path": "MiniTwitter/Net/Twitter/ITwitterItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92323"
} | starcoder | <reponame>iyomumx/MiniTwitter-Mod
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace MiniTwitter.Net.Twitter
{
public interface ITwitterItem : INotifyPropertyChanged, IEquatable<ITwitterItem>
{
DateTime CreatedAt { get; set; }
... | 1.771613 | ecfabcfd8339887ce40770d29f779237 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92323 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Nexus-Advanced-Technologies/CalendarGenerator",
"max_stars_repo_path": "Nexusat.Utils.CalendarGenerator.Tests/ModuloNumberMatcherTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92324"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nexusat.Utils.CalendarGenerator.Tests
{
[TestClass]
public class ModuloNumberMatcherTests
{
[TestMethod]
public void CtorTests()
{
var obj = new ModuloNumberMatcher(null, null, 2);... | 2.819119 | b3ed9a4aa9bad6263ace0dac3d017292 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92324 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "OpenNefia/OpenNefia",
"max_stars_repo_path": "OpenNefia.Core/UI/Wisp/Styling/StylesheetManager.Loader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92325"
} | starcoder | using NLua;
using OpenNefia.Core.Log;
using OpenNefia.Core.Maths;
using OpenNefia.Core.Rendering;
using OpenNefia.Core.Utility;
namespace OpenNefia.Core.UI.Wisp.Styling
{
public sealed partial class StylesheetManager
{
private Lua CreateLuaEnv()
{
var lua = new Lua();
l... | 2.143375 | f432b848e40decb1006c3c7803f0acb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92325 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "lorthe/MongaDex",
"max_stars_repo_path": "PokedexApp/Models/PokemonDetailViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92326"
} | starcoder | using Pokedex.Common;
using System;
using System.ComponentModel.DataAnnotations;
namespace PokedexApp.Models
{
public class PokemonDetailViewModel
{
public string Ability { get; set; }
public string Category { get; set; }
[DataType(DataType.DateTime)]
[DisplayFormat(DataForma... | 2.285615 | 3c5d6dbd198595025060b158be1c98a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92326 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Sageframe/Sageframe",
"max_stars_repo_path": "SageFrame/Modules/HTML/HTMLView.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92327"
} | starcoder | #region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SageFrame.Web;
using S... | 1.790823 | 6a71fa990bb9d80ecfe54073117ab178 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laurohen/netcore-fuel-control",
"max_stars_repo_path": "FuelControl/Migrations/20210628115847_InitialCreate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92328"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace FuelControl.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Accounts",
... | 2.06493 | ef6c007d00b745ec84e09bde21f3854e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92328 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Vddicted/Solid-Rascal",
"max_stars_repo_path": "Solid Rascal/Solid Rascal/UI/Stats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92329"
} | starcoder | <reponame>Vddicted/Solid-Rascal
using System;
using Solid_Rascal.Items;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solid_Rascal.Characters.Player;
namespace Solid_Rascal.UI
{
class Stats
{
int UIHeight;
Player PLAYER;
pu... | 2.587462 | ef7e9c189c16116498d14a42f9dcb860 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeFuller/music-library-api",
"max_stars_repo_path": "src/MusicLibraryApi.Logic/Extensions/NotFoundExceptionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92330"
} | starcoder | using Microsoft.Extensions.Logging;
using MusicLibraryApi.Abstractions.Exceptions;
using static System.FormattableString;
namespace MusicLibraryApi.Logic.Extensions
{
public static class NotFoundExceptionExtensions
{
public static ServiceOperationFailedException Handle(this FolderNotFoundException e, int?... | 2.691317 | b5b4550243494a99abf03a2e8e3379fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wslyvh/MS-Enterprise-patterns-practices",
"max_stars_repo_path": "wslyvh.Core/Extensions/Builder/MoqBuilderStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92331"
} | starcoder | using System;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity;
using Moq;
namespace wslyvh.Core.Extensions.Builder
{
public class MoqBuilderStrategy : BuilderStrategy
{
private readonly IUnityContainer _container;
public MoqBuilderStrategy(IUnityContainer container)
... | 2.326717 | 39b5367575b831573f3defdedb80b478 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iomac/SDKGenerator",
"max_stars_repo_path": "targets/unity-v2/source/Shared/Models/SharedModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92332"
} | starcoder | <filename>targets/unity-v2/source/Shared/Models/SharedModels.cs
namespace PlayFab.SharedModels
{
public class HttpResponseObject
{
public int code;
public string status;
public object data;
}
public class PlayFabRequestCommon
{
}
public class PlayFabResultCommon
... | 2.04675 | a46e5789c92d05e79d70b4ae03ce0c9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92332 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "epri-dev/OpenADR-Virtual-End-Node",
"max_stars_repo_path": "oadr2b-ven/UserControls/Log/WebLogView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92333"
} | starcoder | //////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014, Electric Power Research Institute (EPRI)
// All rights reserved.
//
// oadr2b-ven, oadrlib, and oadr-test ("this software") are licensed under the
// BSD 3-Clause license.
//
// Redistribution and use in sour... | 2.150661 | ccd529dcd6ac6e7adc241eba70df53ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spectre-team/platform-components",
"max_stars_repo_path": "src/Spectre.Service.Tests/DataRootConfigTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92334"
} | starcoder | <filename>src/Spectre.Service.Tests/DataRootConfigTest.cs
/*
* DataRootConfigTest.cs
* Tests for data directory root configuration.
*
Copyright 2017 <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 c... | 2.360804 | ebde73e07af4f46c3d8179410bdf4db3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ldalzotto/ProjectUndefined-TrainingGround",
"max_stars_repo_path": "Assets/Editor/InteractiveObjectEditorV2/VisualElementFromClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92335"
} | starcoder | <reponame>ldalzotto/ProjectUndefined-TrainingGround
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using InteractiveObjects;
using RangeObjects;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
public static class VisualElementFrom... | 2.270376 | e7b8f06e1e15c5a3695521224ca825be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NestedWorld/NestedWorld-Windows-10",
"max_stars_repo_path": "NestedWorld/Classes/Exception/InvalideMapKeyException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92336"
} | starcoder | <reponame>NestedWorld/NestedWorld-Windows-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NestedWorld.Classes.Exception
{
public class InvalideMapKeyException : System.Exception
{
private const string MESSAGE = "Invalid K... | 2.405974 | 4d8e3892c8aecbb231a61ebe6c2d765e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92336 | {
"extension": "c-sharp",
"max_stars_count": "618.0",
"max_stars_repo_name": "valuex/OneMore",
"max_stars_repo_path": "OneMore/Helpers/Extensions/FormExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92337"
} | starcoder | <gh_stars>100-1000
namespace River.OneMoreAddIn
{
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
internal static class FormExtensions
{
private static readonly IntPtr HWND_TOPMOST = new IntPtr(-1);
private const uint SWP_NOSIZE = 0x0001;
private const uint SWP_NOMOVE = ... | 2.232327 | fdcbaa44770c5b06bbd4b5f38deb94df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92337 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/tests/test-null-operator-08.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92338"
} | starcoder | using System;
interface I
{
void Foo (bool expected);
}
struct S : I
{
bool flag;
public void Foo (bool expected)
{
Console.WriteLine (flag);
if (expected != flag)
throw new ApplicationException ();
flag = true;
}
}
class Program
{
static void M<T> (T x)
{
object s = x?.ToString ();
System.Cons... | 3.032017 | c9b89aec2dc2e3d321f570e41837c412 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92338 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Abrissirba/GraphIoT",
"max_stars_repo_path": "src/GraphIoT.App/Migrations/20190905131635_Solar_v2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92339"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace PhilipDaubmeier.GraphIoT.App.Migrations
{
public partial class Solar_v2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Viessma... | 2.03085 | 66040b07c6fe5331d23f54f6f11552b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92339 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "c3dr0x/kinetix",
"max_stars_repo_path": "Kinetix/Kinetix.ServiceModel/IResourceLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92340"
} | starcoder | <filename>Kinetix/Kinetix.ServiceModel/IResourceLoader.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.ServiceModel;
namespace Kinetix.ServiceModel {
/// <summary>
/// Interface de chargement des ressources.
/// </summary>
[ServiceContract]
p... | 2.448122 | f0e3881d63af680e0d7a5b3ff77ff1ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92340 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cmstar/Serialization",
"max_stars_repo_path": "src/cmstar/Serialization/Json/Contracts/DataRowContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92341"
} | starcoder | <gh_stars>1-10
using System;
using System.Data;
namespace cmstar.Serialization.Json.Contracts
{
/// <summary>
/// The contract for <see cref="DataRow"/>.
/// Serialize DataRows like POCOs.
/// </summary>
public class DataRowContract : JsonContract
{
public DataRowContract()
... | 2.602719 | 5dc283e653203c3ec25f16da46cc764a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92341 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "zaknet/magentoAccess",
"max_stars_repo_path": "src/MagentoAccess/Models/GetMagentoCoreInfo/PingSoapInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92342"
} | starcoder | <reponame>zaknet/magentoAccess
using MagentoAccess.Misc;
namespace MagentoAccess.Models.GetMagentoCoreInfo
{
public class PingSoapInfo
{
public string StoreVersion { get; private set; }
public string StoreEdition { get; private set; }
public bool SoapWorks { get; private set; }
public string ServiceUsedVers... | 2.046063 | 2e63245b6eb25724a02db3860ddc9f1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guolefeng/Stealth",
"max_stars_repo_path": "MyStealth/Assets/Scripts/GameController/LastPlayerSighting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92343"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LastPlayerSighting : MonoBehaviour {
public Vector3 position = new Vector3(1000f, 1000f, 1000f); // 敌人或摄像机最后发现玩家的位置
public Vector3 resetPosition = new Vector3(1000f, 1000f, 1000f); // 重置坐标为默认位置 也就是说玩家没... | 2.112468 | 17e49905c348543da6ae1c1426a39ec8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toxaris-/CreateEpub",
"max_stars_repo_path": "CreateEpub/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92344"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Epub {
internal class Item {
private readonly string _name;
private readonly string _value;
internal Item(string name, string value) {
... | 2.68318 | 812812a278eb6b670bd5e21f76f27c5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92344 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "curiosity-ai/tesserae",
"max_stars_repo_path": "Tesserae/src/Helpers/PossibleObservableHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92345"
} | starcoder | <reponame>curiosity-ai/tesserae<gh_stars>10-100
using System;
using System.Reflection;
namespace Tesserae
{
internal static class PossibleObservableHelpers
{
/// <summary>
/// Is this type one that either is directly an IObservable<T> or one that is derived from one?
/// </summary... | 2.80888 | 640e8b9b81289bd0709d3227ea7daa4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92345 | {
"extension": "c-sharp",
"max_stars_count": "329.0",
"max_stars_repo_name": "endel/Phalanger",
"max_stars_repo_path": "Source/Extensions/PDO/PDOCaseConversion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92346"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PHP.Core;
namespace PHP.Library.Data
{
public enum PDOCaseConversion
{
[ImplementsConstant("PDO_CASE_NATURAL")]
PDO_CASE_NATURAL,
[ImplementsConstant("PDO_CASE_UPPER")]
PDO_CASE_UPPER,
... | 1.749264 | 1cb82b9fd41c0d733bfaebdadefb3c6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-login-service",
"max_stars_repo_path": "src/SFA.DAS.LoginService.Web/Views/ResetPassword/ExpiredLink.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92347"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-login-service
<main class="govuk-main-wrapper " id="main-content" role="main">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">Expired link</h1>
<p class="govuk-body">
... | 1.318124 | 33eae443c643d8c208a2b0295228178b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keekekx/uiautobinder",
"max_stars_repo_path": "Scripts/Runtime/IUIUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92348"
} | starcoder | <gh_stars>0
namespace KUI
{
public interface IUIUpdate
{
public void OnUpdate(float delta);
}
} | 1.24814 | 194e2965f09527e5d7e4b59242148db3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92348 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fudiwei/DotNetCore.SKIT.FlurlHttpClient.Upyun",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Upyun.Uss/UpyunUssEndpoints.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92349"
} | starcoder | namespace SKIT.FlurlHttpClient.Upyun.Uss
{
/// <summary>
/// 又拍云云存储服务 API 接口域名。
/// </summary>
public static class UpyunUssEndpoints
{
/// <summary>
/// 默认域名。
/// </summary>
public const string DEFAULT = "https://v0.api.upyun.com";
/// <summary>
/// ... | 1.836804 | e23c9295431b64aefa06a35f8364a9fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shalelol/Extensions",
"max_stars_repo_path": "src/RestClient/Authenticators/OAuth/src/TokenStore/ITokenStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92350"
} | starcoder | <gh_stars>0
namespace ClickView.Extensions.RestClient.Authenticators.OAuth.TokenStore
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Tokens;
public interface ITokenStore
{
Task<Token> GetTokenAsync(TokenType tokenType);
Task StoreTokensAsync(IEnumerable<Tok... | 1.395861 | 813b54d06a961598f99f5d0ef3dfcb81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92350 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kidrabit/Data-Visualization-Lab-RND",
"max_stars_repo_path": "VR/dance_co/VR Dance Ver.3/Assets/Scripts/Final/Collider/colorCollider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92351"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class colorCollider : MonoBehaviour
{
ColorFiercing Cf;
private void Start()
{
Cf = GameObject.Find("ColorManager").GetComponent<ColorFiercing>();
}
private void OnTriggerEnter(Collider other)
{
... | 1.892376 | 7d6d3b6029e42d01fe7c7bfe78509a5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92351 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BlackGad/PS.Build",
"max_stars_repo_path": "PS.Build.Tasks.Tests/TestReferences/Projects/GenericProject/UsageOrderingLibrary/Module.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92352"
} | starcoder | <reponame>BlackGad/PS.Build
[module: DefinitionLibrary.Module.All] | 0.831619 | 8a39bb765820f03b6bf6602604130234 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92352 | {
"extension": "c-sharp",
"max_stars_count": "123.0",
"max_stars_repo_name": "flo0705/Keycloak.Net",
"max_stars_repo_path": "src/Keycloak.Net/Models/Root/HostnameProviders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92353"
} | starcoder | <reponame>flo0705/Keycloak.Net<filename>src/Keycloak.Net/Models/Root/HostnameProviders.cs<gh_stars>100-1000
using Newtonsoft.Json;
namespace Keycloak.Net.Models.Root
{
public class HostnameProviders
{
[JsonProperty("request")]
public HasOrder Request { get; set; }
}
} | 1.469912 | 12746b19706431702635d92c572662ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92353 | {
"extension": "c-sharp",
"max_stars_count": "420.0",
"max_stars_repo_name": "HugoDoyon/pact-net",
"max_stars_repo_path": "PactNet/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92354"
} | starcoder | namespace PactNet.Extensions
{
public static class StringExtensions
{
public static string ToLowerSnakeCase(this string input)
{
return !string.IsNullOrEmpty(input) ?
input.Replace(' ', '_').ToLower() :
string.Empty;
}
}
} | 2.896731 | acab328f784bdf64a74d330ca6b86f24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILRLegacy-DataStore",
"max_stars_repo_path": "ESFA.DC.ILRLegacy.DataStore.Interfaces/Repositories/IFileDetailsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92355"
} | starcoder | <reponame>SkillsFundingAgency/DC-ILRLegacy-DataStore
using System.Threading;
using System.Threading.Tasks;
using ESFA.DC.ILRLegacy.DataStore.Models;
using ESFA.DC.ILRLegacy.Models;
namespace ESFA.DC.ILRLegacy.DataStore.Interfaces.Repositories
{
public interface IFileDetailsRepository
{
Task<ILRFileDet... | 1.221676 | 2367476b1552e7081213e522b928b090 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92355 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "vijayraavi/peek",
"max_stars_repo_path": "AzureBillingAnalytics/BillingWebJob/BillingDataApi/Models/AzureInstanceData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92356"
} | starcoder | <filename>AzureBillingAnalytics/BillingWebJob/BillingDataApi/Models/AzureInstanceData.cs
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace BillingWebJob.Models
{
using System;
using Syste... | 1.96904 | 0673dd5fe6a0e391075eab198d14b341 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92356 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thinkAmi-sandbox/CsvHelperSample",
"max_stars_repo_path": "FunctionSharingSample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92357"
} | starcoder | using System;
namespace FunctionSharingSample
{
class Program
{
static void Main(string[] args)
{
var runDir = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
var datePath = System.IO.Path.Combine(runDir, @"date.csv"... | 2.829949 | cfd4917d095ab4de68ca3651f8f7e907 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92357 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "Wuschli/WampSharp",
"max_stars_repo_path": "src/netstandard/WampSharp/WAMP2/V2/PubSub/Interfaces/EventArgs/WampTopicEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92358"
} | starcoder | using System;
namespace WampSharp.V2.PubSub
{
public class WampTopicEventArgs : EventArgs
{
public WampTopicEventArgs(IWampTopic topic)
{
Topic = topic;
}
/// <summary>
/// Gets the relevant topic.
/// </summary>
public IWampTopic Topic { ge... | 2.083341 | 94043001c4849d283ddf85ead70a358c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IManfis/ConceptualThinking",
"max_stars_repo_path": "ConceptualThinking/ConceptualThinking/Teacher/Form14.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92359"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Windows.Forms;
using ConceptualThinking.Model;
namespace ConceptualThinking.Teacher
{
public partial class Form14 : Form
{
public Form14()
{
InitializeComponent();
WriteToDataGrid();
}
private vo... | 2.346241 | 6ce73649ef9b6dbfa84a9f6efc9fbf01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92359 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Axaia/slimCat",
"max_stars_repo_path": "slimCat/Utilities/Enums/BbCodeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92360"
} | starcoder | <gh_stars>10-100
#region Copyright
// <copyright file="BbCodeType.cs">
// Copyright (c) 2013-2015, <NAME>, All rights reserved.
//
// This source is subject to the Simplified BSD License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND IN... | 1.990991 | f9c2cac576142b4e3eb9e4719cdc8b01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92360 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryuuguu/Electoral-Cartogram-Unity",
"max_stars_repo_path": "Assets/Common/HexGrid/MonoBehaviousbased/Example/UIHexGrid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92361"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
using Com.Ryuuguu.HexGridCC;
using UnityEngine.Serialization;
using UnityEngine.UI;
public class UIHexGrid : MonoBehaviour {
public RectTransform holder;
... | 1.978591 | 5bbeb39083e6fde02f2a6736cdb2bf49 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.