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 | 73733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jlion001/sqlautodoc",
"max_stars_repo_path": "SQLAutoDocLib/BLL/Function/FunctionHistory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73734"
} | starcoder | <reponame>jlion001/sqlautodoc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SQLAutoDocLib.BLL
{
class FunctionHistory : shared.BLLbase
{
public FunctionHistory(Guid FunctionHistoryID)
{
this.FunctionHistoryID = FunctionHistoryID;
... | 2.26364 | 76ce3a5b76ccbd28d9b591a77ca795e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logjointfork/logjoint",
"max_stars_repo_path": "trunk/model/postprocessing/common/Interfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73735"
} | starcoder | <gh_stars>0
using System;
using System.Xml.Linq;
namespace LogJoint.Postprocessing
{
public interface IPostprocessorRunSummary
{
bool HasErrors { get; }
bool HasWarnings { get; }
string Report { get; }
IPostprocessorRunSummary GetLogSpecificSummary(ILogSource ls);
};
}
| 1.392203 | 16e7fd36d1b19c8b47e3a82df49dbbec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderSemenyak/ZetaLongPaths",
"max_stars_repo_path": "Source/Runtime/ZlpSimpleFileAccessProtectorInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73736"
} | starcoder | namespace ZetaLongPaths;
public class ZlpSimpleFileAccessProtectorInformation
{
[PublicAPI] public static ZlpSimpleFileAccessProtectorInformation Default => new();
[PublicAPI]
public static int DefaultRetryCount =>
ZlpSimpleFileAccessProtector.GetConfigIntOrDef(@"zlp.sfap.retryCount", 3);
[P... | 1.895518 | 4ac5dbc66d43e5b78e197c75a546a09b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jgraniero52/HeroesProfile.Uploader",
"max_stars_repo_path": "Heroesprofile.Uploader.Common.Test/ManagerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73737"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Heroesprofile.Uploader.Common.Test
{
[TestClass]
public partial class ManagerTests
{
private Task ShortRandomDelay()
{
var r = ... | 2.194233 | d7a57fa046b1385b5635a5ea495752cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73737 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bytewizer/runtime",
"max_stars_repo_path": "src/Bytewizer.TinyCLR.Logging.Abstractions/Logging/ILoggerProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73738"
} | starcoder | <reponame>bytewizer/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Bytewizer.TinyCLR.Logging
{
/// <summary>
/// Represents a type that can create instances of <see cref="ILogger"/>.
/... | 1.886648 | 785dbb27e05e0c171abbc69abdfe1fc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbomhold3/BlazorStyled",
"max_stars_repo_path": "src/BlazorStyled/Internal/FontFace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73739"
} | starcoder | <filename>src/BlazorStyled/Internal/FontFace.cs
using BlazorStyled.Stylesheets;
using System.Text;
namespace BlazorStyled.Internal
{
internal class FontFace : BaseRule
{
public override RuleType RuleType => RuleType.FontFace;
public override string ToString()
{
StringBuilde... | 2.312784 | 5474e03a186d893bf520fa2b2d6dba04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scroollocker/TsKgViewerEngine_sharp",
"max_stars_repo_path": "TSkgViewer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73740"
} | starcoder | using System;
namespace TSkgViewer
{
class MainClass
{
public static void Main (string[] args)
{
/* fast category test
var cat = TsCategory.Instance;
var catLis = cat.Categories;
foreach (var item in catLis) {
Console.Write ("Val "+item.CategoryIndex);
Console.WriteLine (" text "+item.Categ... | 2.71404 | 3467e5019f697426cfbb4b444a6c4e81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.Requests/AddressBook/AddAddressBookEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73741"
} | starcoder | <reponame>DEFRA/prsd-iws
namespace EA.Iws.Requests.AddressBook
{
using Core.AddressBook;
using Core.Authorization;
using Core.Authorization.Permissions;
using Core.Shared;
using Prsd.Core.Mediator;
[RequestAuthorization(GeneralPermissions.CanEditAddressBook)]
public class AddAddressBookEnt... | 1.276731 | d24871c79f2a73e943997efa7e07a7d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "samples/Tutorials/CSharpBeginner/CSharpBeginner/CSharpBeginner.Game/Code/LerpDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73742"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// See the LICENSE.md file in the project root for full license information.
using System;
using Stride.Core.Mathematics;
using Stride.Engine;
namespace CShar... | 2.938184 | 94675ec4f8ef5a58ce56481b71805d0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73742 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "budcribar/RemoteBlazorWebView",
"max_stars_repo_path": "src/Photino.Blazor/DesktopNavigationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73743"
} | starcoder | <reponame>budcribar/RemoteBlazorWebView
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
namespace Photino.Blazor
{
internal class DesktopNavigationManager : NavigationManager
{
public static readonly DesktopNavigationManager Instance = new DesktopNavigationManager();
private... | 1.778126 | 060aaf1df79adcb6b10a6a49012abbf9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidwhitney/HttpContextFake",
"max_stars_repo_path": "src/HttpContextFake/ToStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73744"
} | starcoder | <gh_stars>0
using System.IO;
namespace HttpContextFake
{
public static class ToStream
{
public static Stream FromText(string text)
{
var stream = new MemoryStream();
var writer = new StreamWriter(stream);
writer.Write(text);
writer.Flush();
... | 2.127988 | 521f0880113fc512406ed88c104d3b3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamespettigrew/eggsclaim-app",
"max_stars_repo_path": "Eggsclaim/Models/EggsStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73745"
} | starcoder | using System;
using SQLite;
namespace Eggsclaim.Models
{
public class EggsStatus
{
[PrimaryKey, AutoIncrement]
public int SequenceId { get; set; }
public DateTime Timestamp { get; set; }
public bool EggsPresent { get; set; }
public EggsStatus... | 1.772344 | a36e685455be2c82c3d1673145950d31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Beywer/retail-ui",
"max_stars_repo_path": "packages/react-ui-testing/SeleniumTesting/Controls/InternalCompoundControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73746"
} | starcoder | <reponame>Beywer/retail-ui
namespace SKBKontur.SeleniumTesting.Controls
{
public class InternalCompoundControl : ControlBase
{
protected InternalCompoundControl(ISearchContainer container, ISelector selector)
: base(container, selector)
{
}
}
} | 1.13567 | 32ff05b4277d072d29fb4463eedb5232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73746 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Igor1306/sitecore-headless-commerce-accelerator",
"max_stars_repo_path": "tests/API/HcaApiTestAutomationFramework/HcaApiTestAutomationFramework/GraphQlDTO/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73747"
} | starcoder | namespace HcaApiTestAutomationFramework.GraphQlDTO
{
public class Extensions
{
public string requestId { get; set; }
}
}
| 1.225932 | 22e1fe2a91762465da8bbcebf477571e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73747 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "aliyun/dingtalk-sdk",
"max_stars_repo_path": "dingtalk/csharp/core/trajectory_1_0/Models/QueryPageTraceDataRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73748"
} | starcoder | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalktrajectory_1_0.Models
{
public class QueryPageTraceDataRequest : TeaModel {
/// <summary>
/// 终止时间
/// </summary>
[... | 1.38475 | 675236484f28730b8911581008afdd1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmrath/Highlander.Net",
"max_stars_repo_path": "Utilities/Util/Logging/MemoryLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73749"
} | starcoder | <reponame>mmrath/Highlander.Net
/*
Copyright (C) 2019 <NAME> and <NAME> (<EMAIL>)
This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net
Highlander is free software: you can redistribute it and/or modify it
under the terms of the Highlander license. You should have received a
c... | 2.242375 | 1a027a41042d04901d8c04dde9cf2ac6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berausch/SuperVillainCider.Net.SalesTracker",
"max_stars_repo_path": "src/SalesTracker/Views/Account/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73750"
} | starcoder | @{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using System.Security.Claims
<script type="text/javascript">
$(document).ready(function () {
$('.register-view').click(function () {
$.ajax({
type: 'GET',
dataType: 'html',
... | 2.040148 | 86373199392daac4f50c92d751f2917d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73750 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tomlane/RailDataEngine",
"max_stars_repo_path": "RailDataEngine.Data.Schedule/Migrations/201502091928180_InitialMigration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73751"
} | starcoder | <gh_stars>1-10
namespace RailDataEngine.Data.Schedule.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialMigration : DbMigration
{
public override void Up()
{
CreateTable(
"Schedules.Association",
c... | 1.951151 | 36cf87420efaced334172ba9b8470d5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "foens/OpenCVR",
"max_stars_repo_path": "OpenCVR/Persistence/PersistenceUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73752"
} | starcoder | <reponame>foens/OpenCVR
using System;
using System.Collections.Generic;
using System.Data.Common;
using Mono.Data.Sqlite;
using System.Data.SQLite;
namespace OpenCVR.Persistence
{
internal class PersistenceUtil
{
public static DbConnection CreateConnection(string connectionString)
{
... | 2.620854 | 79f6fbdfe4b06c1abe3427252651e932 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73752 | {
"extension": "c-sharp",
"max_stars_count": "140.0",
"max_stars_repo_name": "BlacktopSoftwareStudios/ExRam.Gremlinq",
"max_stars_repo_path": "src/ExRam.Gremlinq.Core/Queries/Interfaces/IInOrOutEdgeGremlinQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73753"
} | starcoder | <reponame>BlacktopSoftwareStudios/ExRam.Gremlinq<gh_stars>100-1000
using System;
namespace ExRam.Gremlinq.Core
{
public interface IInOrOutEdgeGremlinQueryBase : IEdgeGremlinQueryBase
{
new IEdgeOrVertexGremlinQuery<object> Lower();
}
public interface IInOrOutEdgeGremlinQueryBase<TEdge, TAdjac... | 2.096066 | a4e3f64b680e088c5c655baf13428d09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73753 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "jeffmaley/PerpetuumServer",
"max_stars_repo_path": "src/Perpetuum.RequestHandlers/TeleportConnectColumns.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73754"
} | starcoder | <reponame>jeffmaley/PerpetuumServer<filename>src/Perpetuum.RequestHandlers/TeleportConnectColumns.cs
using System.Transactions;
using Perpetuum.Data;
using Perpetuum.Host.Requests;
using Perpetuum.Zones.Teleporting;
namespace Perpetuum.RequestHandlers
{
public class TeleportConnectColumns : IRequestHandler
{
... | 2.082686 | 60d636f2bef644b72825cb71be546103 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsedlak/count-monster",
"max_stars_repo_path": "CountMonster/Services/AppStateManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73755"
} | starcoder | <filename>CountMonster/Services/AppStateManager.cs<gh_stars>0
using Blazored.LocalStorage;
using CountMonster.Model;
namespace CountMonster.Services
{
public class AppStateManager
{
public static class StorageKeys
{
public static readonly string TrackedItems = "trackeditems";
... | 2.644883 | ac3ce0e0b485288f2fe2abf875c69324 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73755 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OliverMBathurst/Security-Tools",
"max_stars_repo_path": "SharpEncrypt/SharpEncrypt.Tasks/File Tasks/ContainerizeFileTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73756"
} | starcoder | <reponame>OliverMBathurst/Security-Tools
using System;
using System.IO;
using System.Threading.Tasks;
using AesLibrary;
using FileGeneratorLibrary;
using SharpEncrypt.Enums;
using SharpEncrypt.Helpers;
using SharpEncrypt.Models;
namespace SharpEncrypt.Tasks.File_Tasks
{
public sealed class ContainerizeFileTask : ... | 2.236426 | 3add2e17709df3ca7c9b0cb09f6ca845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73756 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "trungnt2910/ToastNotification.Uno",
"max_stars_repo_path": "ToastNotification.LogoSourceTests/Given_LogoSourceFromStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73757"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Uno.Extras;
using Windows.UI.Xaml.Media.Imaging;
namespace ToastNotification.LogoSourceTests
{
class Given_LogoSourceFromStream
{
... | 2.221603 | d250684bb285c12c715a5d1b8f18e8f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73757 | {
"extension": "c-sharp",
"max_stars_count": "518.0",
"max_stars_repo_name": "ganqiyin/xms",
"max_stars_repo_path": "Libraries/WebResource/Xms.WebResource/Data/IWebResourceRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73758"
} | starcoder | <gh_stars>100-1000
using System;
using Xms.Core.Context;
using Xms.Core.Data;
namespace Xms.WebResource.Data
{
public interface IWebResourceRepository : IRepository<Domain.WebResource>
{
PagedList<Domain.WebResource> QueryPaged(QueryDescriptor<Domain.WebResource> q, int solutionComponentType, Guid sol... | 1.350665 | 46a145659e6e167e9e486f0833af4dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattgwagner/Battery-Commander",
"max_stars_repo_path": "Battery-Commander.Web/Views/Reports/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73759"
} | starcoder | @model Unit
@{
ViewBag.Title = "Reports";
}
<h2>@ViewBag.Reports</h2>
@Html.ActionLink("Add", "Add", new { ViewBag.UnitId })
<div>
<table class="table table striped">
@foreach (var report in Model.ReportSettings)
{
<tr>
<td>@report.Type</td>
<td><a... | 2.343082 | e3e7ee847ea5e0c9f86a01769d64aac0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73759 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "henrikfroehling/Trakt.NET",
"max_stars_repo_path": "Source/Tests/Trakt.NET.Objects.Get.Tests/Watched/Json/Reader/WatchedMovieObjectJsonReader/WatchedMovieObjectJsonReader_Reader_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | namespace TraktNet.Objects.Get.Tests.Watched.Json.Reader
{
using FluentAssertions;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Threading.Tasks;
using Trakt.NET.Tests.Utility.Traits;
using TraktNet.Objects.Get.Watched;
using TraktNet.Objects.Get.Watched.Json.Reader... | 2.237506 | c12d031d3ce7f2a94a7f20b82814d39d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73760 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "piquark6046/FilterLists",
"max_stars_repo_path": "services/Directory/FilterLists.Directory.Infrastructure/Persistence/Queries/Entities/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73761"
} | starcoder | <gh_stars>1-10
namespace FilterLists.Directory.Infrastructure.Persistence.Queries.Entities;
public abstract record Entity
{
public long Id { get; init; }
}
| 1.373984 | 6ff2f7d810203f5fe3138e5a2a35aaf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kibnet/Avalonia",
"max_stars_repo_path": "src/Avalonia.X11/X11IconLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73762"
} | starcoder | using System;
using System.IO;
using System.Runtime.InteropServices;
using Avalonia.Controls.Platform.Surfaces;
using Avalonia.Media.Imaging;
using Avalonia.Platform;
namespace Avalonia.X11
{
class X11IconLoader : IPlatformIconLoader
{
private readonly X11Info _x11;
public X11IconLoader(X11Inf... | 2.303205 | 116832e03090cd065c1654c52d4a5b8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mardevmil/UnityDevTest",
"max_stars_repo_path": "Assets/mardevmil/Scripts/ISaveable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73763"
} | starcoder | <reponame>mardevmil/UnityDevTest<gh_stars>0
namespace mardevmil
{
public interface ISaveable
{
string SaveableIdStr { get; set; }
int SaveableId { get; set; }
void Introduce();
}
}
| 1.840462 | 8eccbc686f6c9b608743c63325ab4475 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73763 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ashopson/asp-net-core-samples",
"max_stars_repo_path": "src/5.Tests/App/Services/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73764"
} | starcoder | <reponame>ashopson/asp-net-core-samples<filename>src/5.Tests/App/Services/IUserService.cs<gh_stars>100-1000
using System.Threading.Tasks;
using App.Models;
namespace App.Services
{
public interface IUserService
{
Task<User> GetAsync(string email);
Task CreateAsync(string email, string password)... | 1.970306 | fe48724dca8673ee609a31323648d79e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73764 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "pulumi/pulumi-hcloud",
"max_stars_repo_path": "sdk/dotnet/Outputs/GetServerTypesServerTypeResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73765"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Seri... | 1.31727 | 3e90123eb76413cce8521c7f6d9e4795 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73765 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kleon6436/KcharyPhotoViewer",
"max_stars_repo_path": "PhotoViewer/Model/ExifParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73766"
} | starcoder | using MetadataExtractor;
using MetadataExtractor.Formats.Exif;
using MetadataExtractor.Formats.Jpeg;
using MetadataExtractor.Formats.Bmp;
using MetadataExtractor.Formats.Png;
using MetadataExtractor.Formats.Tiff;
using MetadataExtractor.Formats.Gif;
using System;
using System.Collections.Generic;
using System... | 2.454871 | b98fb0d14b5f87a63d1cdcecc54bfa6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73766 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SeedTactics/fms-insight",
"max_stars_repo_path": "server/lib/BlackMaple.MachineFramework/db/EventLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73767"
} | starcoder | /* Copyright (c) 2021, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the followin... | 2.055514 | 448127e027591f9b90b083eca6cd2fcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FluiTec/FluiTec.AppFx.AspNetCore",
"max_stars_repo_path": "src/FluiTec.AppFx.AspNetCore.Examples.AuthExample/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73768"
} | starcoder | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace FluiTec.AppFx.AspNetCore.Examples.AuthExample
{
/// <sum... | 2.0946 | 013d7106cba3a20712345f08ac537b3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robmasango/phonebookapp",
"max_stars_repo_path": "PhoneBookApp.Model/Entities/PhoneBook/PHB_PhoneNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73769"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace PhoneBookApp.Model.Entities.PhoneBook
{
public class PHB_PhoneNumber : IEntityBase
{
[Key]
public int Id { get; set; }
public int PhoneBookId { get; set; }
[Required]
public string Email { get; set; }
[Required]
public string Name ... | 2.154823 | 2e6f25726f5efd8a543f73c3125f0fc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73769 | {
"extension": "c-sharp",
"max_stars_count": "223.0",
"max_stars_repo_name": "KenitoInc/AspNetCoreOData",
"max_stars_repo_path": "src/Microsoft.AspNetCore.OData/Deltas/IDeltaLinkBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73770"
} | starcoder | <reponame>KenitoInc/AspNetCoreOData
//-----------------------------------------------------------------------------
// <copyright file="IDeltaLinkBase.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license infor... | 2.02982 | b936eff3a68ef032ca32d9f4a0d3e9e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73770 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "yangbingqi155/Nagrace",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.Migrations/Commands/DatabaseUpdateCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73771"
} | starcoder | using System;
using System.Linq;
using Orchard.Commands;
using Orchard.Data.Migration.Generator;
using Orchard.Data.Migration.Interpreters;
using Orchard.Environment.Extensions;
namespace Orchard.Migrations.Commands {
[OrchardFeature("DatabaseUpdate")]
public class DatabaseUpdateCommands : DefaultOrchardComma... | 2.578064 | 36e368e7db2edab5b5e4eda96bdd0067 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ka7/selenium",
"max_stars_repo_path": "dotnet/src/webdriver/Interactions/Interaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73772"
} | starcoder | // <copyright file="Interaction.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to ... | 2.669684 | 9594f1b4676c952cf06720fb7186e52f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73772 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PeppaPigHS/PeppaPig-s-Editor",
"max_stars_repo_path": "PeppaPig's Editor/Func.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73773"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Text;
using System.Drawing;
namespace PeppaPig.Function
{
class Func
{
public static string rom = "";
public static bool canSave = fa... | 2.687239 | aa385bf2645a5147c8e7e6bf8f2ebee5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Walker2pac/NetHands",
"max_stars_repo_path": "Assets/Scripts/Interfaces/IBulletInteractable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73774"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NetHands
{
public interface IBulletInteractable
{
bool IsInteractable { get; }
void Interact();
Transform GetTransform();
}
} | 1.794512 | 924959bd4e5769c6143cf617e84b76d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73774 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vostok/configuration",
"max_stars_repo_path": "Vostok.Configuration/Binders/DefaultSettingsBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73775"
} | starcoder | <reponame>vostok/configuration
using System;
using JetBrains.Annotations;
using Vostok.Configuration.Abstractions;
using Vostok.Configuration.Abstractions.SettingsTree;
using Vostok.Configuration.Binders.Extensions;
using Vostok.Configuration.Parsers;
namespace Vostok.Configuration.Binders
{
/// <summary>
///... | 2.542607 | d99961b14dd0a65d261e3221bce8019e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73775 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/MybankCreditSceneprodLoanConfirmModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73776"
} | starcoder | <gh_stars>100-1000
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// MybankCreditSceneprodLoanConfirmModel Data Structure.
/// </summary>
[Serializable]
public class MybankCreditSceneprodLoanConfirmModel : AopObject
{
/// <summary>
... | 1.672213 | 7ec010013911a06b2dd3bdb75252c3ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73776 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "ExterminatorX99/DissonanceEngine",
"max_stars_repo_path": "Src/Graphics/Enums/FilterMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73777"
} | starcoder | namespace Dissonance.Engine.Graphics
{
public enum FilterMode
{
Point,
Bilinear,
Trilinear
}
}
| 1.636781 | 958bf124dbc346b37d2a966286c6956d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73777 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "IxxyXR/wythoff-polyhedra",
"max_stars_repo_path": "Assets/_3rdParty/zCode/zDynamics/Constraints/TangentialSmooth.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73778"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using zCode.zCore;
/*
* Notes
*/
namespace zCode.zDynamics
{
using H = ParticleHandle;
/// <summary>
///
/// </summary>
[Serializable]
public class TangentialSmooth : Constraint, IConstraint
{
#... | 2.733711 | 13eb1a8028f00a4a2eff1e3b60fdf91c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SnowmanTackler/SamSeifert.Utilities",
"max_stars_repo_path": "SamSeifert.GLE.Forms/ScreenShot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73779"
} | starcoder | <reponame>SnowmanTackler/SamSeifert.Utilities<filename>SamSeifert.GLE.Forms/ScreenShot.cs
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using System.Drawing;
namespace SamSeifert.GLE {
public static class ScreenShot {
/// <summary>
/// Example Usage:
/// GL.Finish();
//... | 2.803922 | 90b7eae4e27ad76cffbd758996141e0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73779 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-EAS-2021",
"max_stars_repo_path": "src/Database/ESFA.DC.EAS2021.EF/EasContextPartial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73780"
} | starcoder | using ESFA.DC.EAS2021.EF.Interface;
namespace ESFA.DC.EAS2021.EF
{
public partial class EasContext : IEasdbContext
{
}
}
| 0.750786 | 0a96c9cd0f14da840b37ea5cae24ba80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73780 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marartz/Gastromio",
"max_stars_repo_path": "test/Gastromio.Domain.TestKit/AutoFixture/IgnoreVirtualMembers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73781"
} | starcoder | using System;
using System.Reflection;
using AutoFixture.Kernel;
namespace Gastromio.Domain.TestKit.AutoFixture
{
/// <summary>
/// Customisation to ignore the virtual members in the class - helps ignoring the navigational
/// properties and makes it quicker to generate objects when you don't care about th... | 2.65697 | fe1aa1dbe6d24bcfce8923f88258e57c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeneshPohar/Seq2SeqSharp",
"max_stars_repo_path": "Seq2SeqSharp/Layers/PositionwiseFeedForward.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73782"
} | starcoder | <gh_stars>0
using Seq2SeqSharp.Tools;
using System;
using System.Collections.Generic;
using System.IO;
namespace Seq2SeqSharp
{
internal class PositionwiseFeedForward
{
private readonly LayerNormalization layerNorm2;
private readonly FeedForwardLayer feedForwardLayer1;
private readonly... | 2.140191 | 43da7dbb966427b524e2d287d4fafc4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muttenthaler/DomainDrivenDesign",
"max_stars_repo_path": "tests/EntityEqualityTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73783"
} | starcoder | using System;
using Xunit;
namespace Muttenthaler.DomainDrivenDesign.Tests
{
public class EntityEqualityTests
{
[Fact]
public void NullIsEqualToNull()
{
//Given
Entity x = null;
Entity y = null;
//When
//Then
Asse... | 3.113835 | 3ab64bcf4d2a4f58e526b6bea297afac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Logs",
"max_stars_repo_path": "src/Lykke.Logs/Loggers/LykkeSlack/SlackLogEntriesSender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73784"
} | starcoder | <filename>src/Lykke.Logs/Loggers/LykkeSlack/SlackLogEntriesSender.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Common;
using JetBrains.Annotations;
using Lykke.AzureQueueIntegration;
using Lykke.AzureQueueIntegration.Publisher;
using Lykke... | 2.174864 | a9ea0aae39e21b72435bb206ecca7e04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73784 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "alas/s2geometry",
"max_stars_repo_path": "S2GeometryTests/Utils/S2BuilderUtil_Testing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73785"
} | starcoder | <filename>S2GeometryTests/Utils/S2BuilderUtil_Testing.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Edge = S2Geometry.KeyKey<System.Int32, System.Int32>; // Defines an output edge.
namespace S2Geometry
{
// A class that copies an Graph and owns the underlying data
/... | 2.654341 | f2bcf041762e56c85cd198f75f280747 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73785 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MagiZile/Acadiverse",
"max_stars_repo_path": "windows-desktop/MagiZile.CustomUI/EnhancedFileSelection/frmfileoperationprogress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73786"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MagiZile.CustomUI.EnhancedFileSelection
{
public partial c... | 2.530161 | 2878d205a1630f904f907e01af900280 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73786 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Node/O10.Node.DataLayer/Specific/Synchronization/DataAccessService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73787"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using O10.Transactions.Core.Enums;
using O10.Node.DataLayer.DataAccess;
using O10.Node.DataLayer.Specific.Synchronization.DataContexts;
using O10.Node.DataLayer.Specific.Synchronizati... | 1.929971 | e5cfbb9b05089bac13525c716ba62ecc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cmberryau/maps",
"max_stars_repo_path": "Solution/Maps/Geographical/Filtering/AreaPassthroughFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73788"
} | starcoder | <filename>Solution/Maps/Geographical/Filtering/AreaPassthroughFilter.cs
using Maps.Geographical.Features;
namespace Maps.Geographical.Filtering
{
/// <summary>
/// Performs no filtering
/// </summary>
public class AreaPassthroughFilter : FeatureFilter<Area>
{
/// <inheritdoc />
publ... | 2.225859 | 8046ff32d83a5f28a28d8ad0501fb43a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NamefulTeam/PortoGameJam2016",
"max_stars_repo_path": "PortoGameJam2016/Assets/Scripts/ExitSideScrollerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73789"
} | starcoder | using UnityEngine;
using System.Collections;
public class ExitSideScrollerController : MonoBehaviour {
void OnTriggerEnter2D(Collider2D other)
{
gameObject.GetComponentInParent<ExitController>().HandleCollision(other.gameObject);
}
}
| 1.458565 | e4ce554e07c78649d2986a9350ba2415 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Presst0n/GuildDashBot",
"max_stars_repo_path": "DiscordBot.Server/Data/ContextServices/TwitchStreamersService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73790"
} | starcoder | using Abstractions.Db;
using DiscordBot.LibraryData.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DiscordBot.Server.Data.ContextServices
{
public class TwitchStreamersService : ITwitchStreamers
{
private ApplicationDbContext _context;
pub... | 2.631276 | e401110672a2c37f07cbc1f7abbe5b59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chungmcl/BizQuiz",
"max_stars_repo_path": "appFBLA2019/appFBLA2019/IntroPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73791"
} | starcoder | <filename>appFBLA2019/appFBLA2019/IntroPage.xaml.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace appFBLA2019
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public parti... | 2.18086 | b53fb9f61f34480a085065e21f1412de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73791 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Magiczne/JD-XI-Editori",
"max_stars_repo_path": "JD-XI Editor/ViewModels/Effects/DelayViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73792"
} | starcoder | using Caliburn.Micro;
using JD_XI_Editor.Models.Enums.Program.Effects.Delay;
using JD_XI_Editor.Models.Patches.Program.Effects.Delay;
namespace JD_XI_Editor.ViewModels.Effects
{
internal class DelayViewModel : Screen
{
/// <inheritdoc />
/// <summary>
/// Create new instance of Del... | 2.511217 | f9872db93857e196ad434efd18da51f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73792 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "joebhaktiarDOL/Section14C",
"max_stars_repo_path": "DOL.WHD.Section14c.Business/Validators/IEmployeeValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73793"
} | starcoder | using DOL.WHD.Section14c.Domain.Models.Submission;
using FluentValidation;
namespace DOL.WHD.Section14c.Business.Validators
{
public interface IEmployeeValidator : IValidator<Employee>
{
}
}
| 1.352104 | 6e67a15d8b2e3f58d0cd77cbc45905d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "craigwardman/CwCodeLib",
"max_stars_repo_path": "CSharpCode/Encryption/SHA512.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73794"
} | starcoder | <filename>CSharpCode/Encryption/SHA512.cs
using System.Linq;
using System.Text;
namespace CwCodeLib.Encryption
{
public static class SHA512
{
public static string GetHashString(string input)
{
var hasher = System.Security.Cryptography.SHA512.Create();
return string.Join... | 2.86626 | 52e8414faddb48c496289d1fbff0d80a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmopcode/ShinraMeter_beta_kr",
"max_stars_repo_path": "DamageMeter.UI/HUD/Converters/ClassToSvgConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73795"
} | starcoder | <reponame>tmopcode/ShinraMeter_beta_kr<filename>DamageMeter.UI/HUD/Converters/ClassToSvgConverter.cs<gh_stars>0
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using Tera.Game;
namespace DamageMeter.UI.HUD.Converters
{
public class ClassToSvgC... | 2.521197 | a9b28748ead55b37186a697fdb108bed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73795 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alta-sh/HallamBot",
"max_stars_repo_path": "HallamBot/src/data/TopicData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73796"
} | starcoder | <filename>HallamBot/src/data/TopicData.cs
using HallamBot.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace HallamBot.Data
{
public static class TopicData
{
public static TopicList CsTopics { get; set; }
public static TopicList SoftEngTopics { get; set; }
... | 1.486351 | a84d7c5d3143363921ffcc5a32a578a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xin2015/NAQRPD",
"max_stars_repo_path": "NAQRPD/NAQRPD.Common/DataTableHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73797"
} | starcoder | <gh_stars>0
using Common.Logging;
using NAQRPD.Common.FastReflection;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace NAQRPD.Common
{
/// <summary>
/// 数据库表与实体类转换类
/// </summary>
p... | 2.525134 | d75931f20ca045ff5bcd3b5cc2e7097f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanyta78/Algorithms",
"max_stars_repo_path": "Graph-Algorithms-Lab/Graphs/02. Topological-Sorting/TopologicalSorter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73798"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
public class TopologicalSorter
{
private Dictionary<string, List<string>> graph;
private HashSet<string> visited;
private HashSet<string> cycleNodes;
public TopologicalSorter(Dictionary<string, List<string>> graph)
{... | 2.975227 | d9c2ace3f7c125b5cb935f636630f385 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73798 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "rafysanchez/sample-ng2-mvc",
"max_stars_repo_path": "Candor.Sample/Mocks/MockTripProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73799"
} | starcoder | <reponame>rafysanchez/sample-ng2-mvc
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
namespace Candor.Sample.Mocks
{
/// <summary>
/// A sample data implementation, not for production use, data does not persist be... | 2.804627 | 2e1771e6df09c6e7fbb296743b6c3ae2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73799 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "LNagyFAttilaC/LINQ-to-Gremlin",
"max_stars_repo_path": "LINQ-to-Gremlin/Core/Storage/Internal/IGDbContextTransactionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73800"
} | starcoder | <reponame>LNagyFAttilaC/LINQ-to-Gremlin
namespace LINQtoGremlin.Core.Storage.Internal
{
public interface IGDbContextTransactionManager
{
}
}
| 1.008208 | 718b660f7ee99474d33a68efa68a0f1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73800 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "darvell/Coremero",
"max_stars_repo_path": "Coremero/Coremero/Messages/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73801"
} | starcoder | <reponame>darvell/Coremero
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Coremero.Attachments;
using Coremero.Utilities;
namespace Coremero.Messages
{
public class Message : IMessage
{
public string Text {... | 2.584462 | 0eb9ae47ef3680ce84bfc9230bf1aded |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73801 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/matisco",
"max_stars_repo_path": "Example.BusinessApp.ItAdmin/ViewModels/UserViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73802"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Threading;
using System.Threading.Tasks;
using Example.BusinessApp.Infrastructure.Models;
using Example.BusinessApp.Infrastructure.Services;
using Matisco.Wpf.Services;
using Prism.Regions;
using Example.BusinessApp.Infrastructure.Screens;
using Matisco.... | 2.230668 | bc3272acab52833e59ea65516849b233 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rtsonneveld/Ray1Map",
"max_stars_repo_path": "Assets/Scripts/Unity/EventBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73803"
} | starcoder | using UnityEngine;
namespace R1Engine {
public class EventBehaviour : MonoBehaviour {
public static GameObject resource { get {
if (_resource == null) _resource = Resources.Load<GameObject>("Event");
return _resource;
} }
static GameObject _resource;
... | 2.044314 | 9e0ee6a0fdbeb07fac976f95f2cab345 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73803 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BigETI/UnityGameEvents",
"max_stars_repo_path": "Runtime/Controllers/GameEventInvokerControllerScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73804"
} | starcoder | using UnityEngine;
using UnityGameEvents.Objects;
using UnityPatterns.Controllers;
/// <summary>
/// Unity game events controllers namespace
/// </summary>
namespace UnityGameEvents.Controllers
{
/// <summary>
/// A class that describes a game event invoker controller script
/// </summary>
public clas... | 2.817612 | f97c4a5b618c159f0c2e681cf1dbd930 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.D0008",
"max_stars_repo_path": "source/R5T.D0008.Standard/Code/Services/Extensions/IServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73805"
} | starcoder | using System;
using Microsoft.Extensions.DependencyInjection;
using R5T.Dacia;
using R5T.D0008.Default;
namespace R5T.D0008.Standard
{
public static class IServiceCollectionExtensions
{
/// <summary>
/// Adds the <see cref="ITimestampUtcDirectoryNameProvider"/> service.
... | 1.956807 | 9652dd4b6efce3aca5866f53dc7a2b5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csf-dev/CSF.Specifications",
"max_stars_repo_path": "CSF.Specifications/ParameterRebinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73806"
} | starcoder | //
// PredicateBuilder.cs
//
// Authors:
// <NAME> https://petemontgomery.wordpress.com
// <NAME> <<EMAIL>>
//
// Copyright (c) 2011 <NAME>, further work 2018 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (th... | 2.499842 | 041fa013c3055d1bf490ebae438139b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73806 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "ReneNyffenegger/DbgShell",
"max_stars_repo_path": "DbgProvider/public/Debugger/TypeInfo/DbgDataMemberTypeInfoBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73807"
} | starcoder | <reponame>ReneNyffenegger/DbgShell<gh_stars>100-1000
using System.Diagnostics;
namespace MS.Dbg
{
[DebuggerDisplay( "Data Member: Id {TypeId}: {Name}" )]
public abstract class DbgDataMemberTypeInfoBase : DbgDataTypeInfo
{
internal readonly uint m_owningTypeId;
// TODO: Can we scope this to ... | 2.037693 | 0be1e375ac628cf32b6fa43feae8852a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73807 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "nathan-alden/ntlmproxy",
"max_stars_repo_path": "src/Proxy/HttpClient/HttpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73808"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using NathanAlden.Proxy.Http;
using NathanAlden.Proxy.Tcp;
namespace NathanAlden.Proxy.HttpClient
{
public class HttpClient : IHttpClient
{
private readonly ArraySegmentsToHttpHeaderLines _arraySegmentsToHt... | 2.650806 | 05c7057454ba29694c45b0bc8825d531 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73808 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "rivantsov/vita",
"max_stars_repo_path": "src/1.Framework/Vita/4.Internals/Data/Data.Runtime/Batching/DbBatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73809"
} | starcoder | <reponame>rivantsov/vita
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Vita.Data.Sql;
using Vita.Entities.Runtime;
namespace Vita.Data.Runtime {
public class DbBatch {
public DbUpdateSet UpdateSet;
public List<DataCommand> Commands = new List<DataCommand>();
... | 1.092299 | 89235150edb404a89901d26ac19ec3ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73809 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "corefan/ProceduralToolkit",
"max_stars_repo_path": "Examples/ChairGenerator/Stretchers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73810"
} | starcoder | using UnityEngine;
namespace ProceduralToolkit.Examples
{
public static class Stretchers
{
public static MeshDraft XStretchers(Vector3[] legCenters, float legWidth, float legHeight)
{
var draft = new MeshDraft();
legWidth = RandomE.Range(legWidth/2, legWidth*3/4, 2);
... | 2.598878 | ab87d0eadd18560f7eef0ced907429ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michaellandi/eventmapr",
"max_stars_repo_path": "src/EventMapr/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73811"
} | starcoder | using System;
namespace EventMapr
{
public class Constants
{
public static readonly Tuple<float, float>[] DEMO_COORDINATES = new []
{
new Tuple<float, float>(34.0522342f, -118.2436849f),
new Tuple<float, float>(29.7604267f, -95.3698028f),
new Tuple<float, f... | 2.171505 | 7d5657c8bfdad4e572ce54fb719cea17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TjMott/TjMott.Writer",
"max_stars_repo_path": "src/TjMott.Writer/ViewModel/TicketTrackerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73812"
} | starcoder | using System;
using System.ComponentModel;
using System.Linq;
using System.Windows.Input;
using TjMott.Writer.Model.SQLiteClasses;
namespace TjMott.Writer.ViewModel
{
public class TicketTrackerViewModel : ViewModelBase
{
#region Static stuff
private static BindingList<string> _statuses;
... | 2.639037 | afcf0c4f9f893e638ff866bc7fd818b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swift-kim/clrmd",
"max_stars_repo_path": "src/Microsoft.Diagnostics.Runtime.Tests/src/DataTargetTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73813"
} | starcoder | // 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 Microsoft.Diagnostics.Runtime.DacInterface;
using System;
using System.Diagnostics;
using System.Linq;
using ... | 1.947165 | 3b99fce9abb4637cffbdee9e6cb1a2f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "holonsoft/FastProtocolConverter",
"max_stars_repo_path": "holonsoft.FastProtocolConverter.Test/TestProtocolConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73814"
} | starcoder | <reponame>holonsoft/FastProtocolConverter
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using Xunit;
using holonsoft.FastProtocolConverter.Abstractions.Enums;
using holonsoft.FastProtocolConverter.Abs... | 2.467097 | cdf437e4b6050d1f627ac9d2a5f0a20e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JegorRysskin/boektquizt-jordydriesjegor_enterprisemobile",
"max_stars_repo_path": "Frontend/JuryApp/JuryApp.Core/Models/Collections/Teams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73815"
} | starcoder | using System.Collections.ObjectModel;
namespace JuryApp.Core.Models.Collections
{
public class Teams : ObservableCollection<Team>
{
}
}
| 1.473998 | 15a6e17e15199f762374283dbec0c559 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChavdarSpasov/Programing-Fundamentals",
"max_stars_repo_path": "(21.02.2017)Array and List Algorithms/03. Reverse Array In-place/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73816"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Reverse_Array_In_place
{
class Program
{
static void Main(string[] args)
{
var arr = Console.ReadLine().Split();
for (int i = 0; i < arr.Le... | 3.224373 | 4bddeb65d63c0ef5ad7082a692519de2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73816 | {
"extension": "c-sharp",
"max_stars_count": "422.0",
"max_stars_repo_name": "SimonDarksideJ/XNAGameStudio",
"max_stars_repo_path": "Samples/VectorRumble_ARCHIVE_2_0/VectorRumble/VectorRumble/Simulation/PowerUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73817"
} | starcoder | <filename>Samples/VectorRumble_ARCHIVE_2_0/VectorRumble/VectorRumble/Simulation/PowerUp.cs
#region File Description
//-----------------------------------------------------------------------------
// PowerUp.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//---... | 2.674137 | 36d588d6c176216a4fbee48fc30ba640 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lowedown/ContentHubTalkDemo",
"max_stars_repo_path": "src/ContentHubFacade/ContentHubFacade/Models/PublicLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73818"
} | starcoder | using System;
namespace ContentHubFacade.Models
{
public class PublicLink
{
public long Id { get; set; }
public string Url { get; set; }
public string ContentType { get; set; }
public string FileSizeBytes { get; set; }
public string Width { get; set; }
public string Height { get; set; }
public Date... | 1.806411 | 99a8a72235d6851c99014d8fe902f6db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73818 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "cohero/IdParser",
"max_stars_repo_path": "IdParser/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73819"
} | starcoder | using System;
using System.Reflection;
using System.Text;
using IdParser.Attributes;
namespace IdParser
{
public static class Extensions
{
/// <summary>
/// Gets the value of the <see cref="DescriptionAttribute"/> on the <see cref="Enum"/>.
/// </summary>
public static string G... | 3.191845 | 7f522fffb9b3c29169fb963aaeaab0ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73819 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "barsgroup/ClickHouseClient",
"max_stars_repo_path": "src/Octonica.ClickHouseClient/Utils/IndexedCollectionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73820"
} | starcoder | #region License Apache 2.0
/* Copyright 2021 Octonica
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 2.636983 | 04c94a11c0dcb7197536adad60904858 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GerHobbelt/GraphView",
"max_stars_repo_path": "GraphView/Transaction/PartitionedCassandraVersionDbVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73821"
} | starcoder |
namespace GraphView.Transaction
{
using Cassandra;
using System;
internal partial class PartitionedCassandraVersionDbVisitor : VersionDbVisitor
{
private CassandraSessionManager SessionManager
{
get
{
return CassandraSessionManager.Instance;
... | 2.303353 | 6c1cbfe1ea5c1e6258c3aa0c93effa43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HapaxL/pingine",
"max_stars_repo_path": "pingine/Game/Util/IdGen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73822"
} | starcoder | <reponame>HapaxL/pingine
namespace pingine.Game.Util
{
public class IdGen
{
private ulong currentId;
public IdGen()
{
currentId = 0;
}
public ulong Get()
{
return currentId++;
}
}
}
| 2.010967 | b8281b650a4e3971b24abf08bde31cdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73822 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "cyotek/MantisSharp",
"max_stars_repo_path": "src/ReferenceCollection.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73823"
} | starcoder |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-... | 2.410312 | d5068c324352cb5292a84b292a36bb59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73823 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "AspxCommerce/AspxCommerce2.7",
"max_stars_repo_path": "AspxCommerce.Core/Controller/ItemsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73824"
} | starcoder | /*
AspxCommerce® - http://www.aspxcommerce.com
Copyright (c) 2011-2015 by AspxCommerce
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... | 1.755123 | e1fd75511c73cb179713d9f1932dc43d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73824 | {
"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.Application.UnitTests/Login/ProcessLogin/When_Process_Login_called.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73825"
} | starcoder | <filename>src/SFA.DAS.LoginService.Application.UnitTests/Login/ProcessLogin/When_Process_Login_called.cs
using System.Threading;
using System.Threading.Tasks;
using IdentityServer4.Models;
using Microsoft.AspNetCore.Identity;
using NSubstitute;
using NUnit.Framework;
using SFA.DAS.LoginService.Application.ProcessLogin;... | 2.057228 | f71d8ab102322c3ade0a11b853d1f14a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73825 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "interactionlab/pointing-in-vr-hands",
"max_stars_repo_path": "Assets/Scripts/Eye3D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73826"
} | starcoder | using UnityEngine;
using System.Collections;
public class Eye3D : MonoBehaviour
{
public GameObject HMD;
public PupilListener pupil_listener_;
Pupil.PupilData3D data_ = new Pupil.PupilData3D();
Vector3 pos = new Vector3();
Quaternion q = new Quaternion();
// Use this for initialization
... | 1.781873 | df80684b28eb1112eeddece463dd2d6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Novacta/analytics",
"max_stars_repo_path": "tests/Novacta.Analytics.Tests/TestableItems/Matrices/TestableDoubleMatrix15.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73827"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Novacta.Analytics.Tests.TestableItems.Matrices
{
/// <summary>
/// Provides methods to test implementations of matrix
/// <para />
/// 0 4 -7... | 2.672848 | 3540088735c9219797a433263a181e55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "L3Z4/Axway.ApiGateway.Model",
"max_stars_repo_path": "Sources/Axway.ApiGateway.Model/ExternalClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73828"
} | starcoder | <reponame>L3Z4/Axway.ApiGateway.Model
namespace Axway.ApiGateway.Model
{
/// <summary>API Manager external client</summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "9.7.3.0 (Newtonsoft.Json v9.0.0.0)")]
public partial class ExternalClient
{
/// <summary>The ID of the externa... | 2.131316 | d94147ffaf3aebfcbfede8085b0713a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickPolyder/PublishSubscribe",
"max_stars_repo_path": "MessagingService/Message/MessageItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73829"
} | starcoder | using System;
using System.Threading.Tasks;
namespace PublishSubscribe.Message
{
public sealed class MessageItem : IMessageItemWithoutArgs
{
private Action _callback;
public MessageItem(Action callback)
{
_callback = callback;
}
/// <inheritdoc />
pu... | 2.817474 | aa2d3bcded5703e7da9d85a882afa934 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73829 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "firoball/Morbius",
"max_stars_repo_path": "Assets/Scripts/Events/CustomId1009Event.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73830"
} | starcoder | <filename>Assets/Scripts/Events/CustomId1009Event.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Morbius.Scripts.Items;
using Morbius.Scripts.Messages;
namespace Morbius.Scripts.Events
{
[RequireComponent(typeof(AudioSource))]
public cl... | 2.245313 | 0c30d370b78012f1890e19e5a89f50d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73830 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sbomer/xamarin-macios",
"max_stars_repo_path": "tests/monotouch-test/Asserts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73831"
} | starcoder | using System;
#if !__WATCHOS__
using ModelIO;
using MetalPerformanceShaders;
#endif
using OpenTK;
using MatrixFloat2x2 = global::OpenTK.NMatrix2;
using MatrixFloat3x3 = global::OpenTK.NMatrix3;
using MatrixFloat4x3 = global::OpenTK.NMatrix4x3;
using MatrixFloat4x4 = global::OpenTK.NMatrix4;
using VectorFloat3 = global... | 2.188898 | 6e7f64225adabe83fa39a246251316aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ImNotARobot742/DofusProtocol",
"max_stars_repo_path": "DofusProtocol/D2Parser/Protocol/Data/challenges/Challenge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73832"
} | starcoder |
// Generated on 03/23/2022 09:51:48
using System;
using System.Collections.Generic;
using AmaknaProxy.API.GameData.D2O;
namespace AmaknaProxy.API.Protocol.Data
{
[D2oClass("Challenges")]
public class Challenge : IDataObject
{
public const String MODULE = "Challenges";
public int id;
... | 1.540738 | 9c1bfdd2b53f3344fa5e9a5f0d7b28d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73832 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SZarrow/CPI",
"max_stars_repo_path": "src/CPI.Data.PostgreSQL/TransactionScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73833"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading;
using CPI.Common;
using ATBase.Core;
using ATBase.Logging;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage;
namespace CPI.D... | 2.188258 | 4bd8ea5838cbcdbd9dfa04a265ba0da7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.