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 | 89661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lewislun/final-year-project",
"max_stars_repo_path": "Assets/Scriptes/GameControl/LevelProgress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89662"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class LevelProgress {
static string PROGRESS_KEY = "levelProgress";
public static int GetProgress(){
if (!PlayerPrefs.HasKey(PROGRESS_KEY)){
return 0;
} else {
return PlayerPrefs.GetInt(PROGRESS_KEY);
}
}
pu... | 2.439015 | 1b610ef51cf7eeb14440a53b1f745e34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89662 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pvlerick/TimeMachine",
"max_stars_repo_path": "src/LiquidClock/ManuallyPumpedSynchronizationContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89663"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace LiquidClock
{
internal sealed class ManuallyPumpedSynchronizationContext : SynchronizationContext
{
private readonly BlockingCollection<Tuple<SendOrPostCallback, object>> callbacks =
new BlockingCollection... | 2.814306 | 73881d68bb7cff4f2076ef67213f48a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mistakenot/aspnet-customer-demo",
"max_stars_repo_path": "Customer/CustomerSite.Server/Models/CustomerDataContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89664"
} | starcoder | <reponame>mistakenot/aspnet-customer-demo<filename>Customer/CustomerSite.Server/Models/CustomerDataContext.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace CustomerSite.Server.Models
{
public class ... | 2.141035 | 40ec5445ee70e7b1e06267c59f310c62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89664 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bytewizer/microserver",
"max_stars_repo_path": "src/Bytewizer.TinyCLR.Terminal.Telnet/Channel/SecureShellReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89665"
} | starcoder | <filename>src/Bytewizer.TinyCLR.Terminal.Telnet/Channel/SecureShellReader.cs
using System;
using System.IO;
using System.Text;
namespace Bytewizer.TinyCLR.Terminal
{
internal class SecureShellReader : IDisposable
{
protected Stream _stream;
public SecureShellReader(Stream stream)
{
... | 3.042668 | 613d126365c6e9cd9b0b0376ed986509 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "videa-tv/kickstart",
"max_stars_repo_path": "src/Kickstart/Kickstart.Core/Pass2/DataLayerProject/DataLayerServiceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89666"
} | starcoder | using StructureMap;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Kickstart.Utility;
namespace Kickstart.Pass2.DataLayerProject
{
public class DataLayerServiceFactory : IDataLayerServiceFactory
{
private readonly IContainer _c... | 2.314788 | 6f4295c85814d36fc62dd89a0bee11ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sachsi/Accounting_V2",
"max_stars_repo_path": "Accounting/ucOverview.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89667"
} | starcoder | 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;
namespace Accounting
{
public partial class ucOverview : MetroFramework.Controls.MetroUserControl
... | 2.679486 | 2a7b7dc6c4174fa508b54a948f61db53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinwoodward/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.Interop/Com/IClassFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89668"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Runtime.InteropServices;
namespace OpenLiveWriter.Interop.Com
{
/// <summary>
/// The IClassFactory interface contains two methods intended to deal... | 2.59725 | 381aae49e0d130e29fb0a6a3d9fec73e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89668 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "NatsumiFox/AMPS-Sonic-3-Knuckles",
"max_stars_repo_path": "SonLVL INI Files/SOZ/Quicksand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89669"
} | starcoder | <filename>SonLVL INI Files/SOZ/Quicksand.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using SonicRetro.SonLVL.API;
namespace S3KObjectDefinitions.SOZ
{
class Quicksand : ObjectDefinition
{
private PropertySpec[] properties;
private ReadOnlyCollect... | 2.698383 | 2a2fb8d2e2eb14f49963ce2defd140d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89669 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "AramYako/NUnitAndMoqDocumentation",
"max_stars_repo_path": "Module3/Extras/Program3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89670"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Ninject;
using TestableCodeDemos.Module3.Easy;
using TestableCodeDemos.Module3.Shared;
namespace TestableCodeDemos.Module3.Extras
{
public class Program3
{
static void Main(string[] args)
{
var container = new... | 2.186539 | 7a5b2a38d08989982f28af6b1df39c35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javipedrajo/uneat-net",
"max_stars_repo_path": "01_sistemas_distribuidos/DivisaSolution/DivisaSolution.Service/DivisaService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89671"
} | starcoder | <filename>01_sistemas_distribuidos/DivisaSolution/DivisaSolution.Service/DivisaService.cs
using DivisaSolution.DataAccess;
using Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DivisaSolution.Service
{
public class DivisaServi... | 3.168996 | 6b0e6aeb7b95805d4c4273b2bb8b6fde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "campersau/Griffin.Framework",
"max_stars_repo_path": "src/Griffin.Framework/Griffin.Core/ApplicationServices/AppDomains/Controller/VersionFoundEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89672"
} | starcoder | using System;
namespace Griffin.ApplicationServices.AppDomains.Controller
{
/// <summary>
/// Version that was found.
/// </summary>
public class VersionFoundEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="VersionFoundEventArgs"/... | 2.651044 | f11a4c9a671ab812b01844d1865cfd18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89672 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v5/eidss.ram.web/Chart.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89673"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Globalization;
using DevExpress.XtraCharts;
using EIDSS.RAM.Components;
using EIDSS.RAM.Presenters;
using EIDSS.RAM_DB.DBService.Enumerations;
using bv.common.Core;
using bv.common.db;
using ... | 1.546231 | 1270c5179268207c9f767557fc6097d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89673 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "omeaart/Nancy",
"max_stars_repo_path": "src/Nancy.Tests/Fakes/FakeNancyModuleWithPreAndPostHooks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89674"
} | starcoder | <reponame>omeaart/Nancy
namespace Nancy.Tests.Fakes
{
public class FakeNancyModuleWithPreAndPostHooks : NancyModule
{
public FakeNancyModuleWithPreAndPostHooks()
{
this.Before += (c) => null;
this.After += (c) => { };
Get["/PrePost"] = x =>
... | 1.649039 | 22140796b7d09d233f005fc1cecf6ee2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larspl/Expand",
"max_stars_repo_path": "Xpand/Xpand.ExpressApp/Xpand.ExpressApp.Win/Editors/ActionButtonDetailItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89675"
} | starcoder | using System;
using DevExpress.ExpressApp.Editors;
using DevExpress.XtraEditors;
using DevExpress.ExpressApp.Model;
using Xpand.ExpressApp.Editors;
namespace Xpand.ExpressApp.Win.Editors
{
[ViewItem(typeof(IModelActionButton))]
public class ActionButtonDetailItem : ExpressApp.Editors.ActionButtonDetailItem
... | 1.88165 | 627991b24d1180199d3cdca4df61ea48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitolu-goertek/FiiPrograming",
"max_stars_repo_path": "FiiPrograming/CalHelpDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89676"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using FiiPrograming.Utils;
namespace FiiPrograming
{
public partial... | 2.57433 | c774350dd0e362b3ac18391de0382e4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phillrog/curso-is4",
"max_stars_repo_path": "SkyCommerce.Loja/SkyCommerce.Site/Configure/DatabaseChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89677"
} | starcoder | <reponame>phillrog/curso-is4
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Serilog;
using SkyCommerce.Data.Context;
using SkyCommerce.Data.Util;
using SkyCommerce.Interfaces;
using System;
using System.Threading.Tasks;
namespace Sky... | 2.009097 | 0c99bc0b1f3ce8fdd0e39ca121f4623b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89677 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Need4Oxygen/battlefinder",
"max_stars_repo_path": "Assets/Scripts/PF2e/Data Containers/Campaings/NPCData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89678"
} | starcoder | using UnityEngine;
namespace Pathfinder2e.GameData
{
public class NPCData
{
public string guid;
}
}
| 1.198391 | 04d71f94953df4339def1a9aa94f4d70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LanderVe/ReduxRxNET.TestApp",
"max_stars_repo_path": "TestApp/State/Reducers/ListReducer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89679"
} | starcoder | using System;
using ReduxRxNET.Store;
using TestApp.State.Shape;
using System.Collections.Immutable;
using TestApp.State.Actions;
namespace TestApp.State.Reducers
{
public class ListReducer : Reducer<ListState>
{
private ListSearchReducer dataReducer = new ListSearchReducer();
private ListSelectedItemRedu... | 2.568623 | 4af5c5eb915c3354f14832bae39ecc5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89679 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "rushfive/FFDB",
"max_stars_repo_path": "Engine/R5.FFDB.Core/Database/IDatabaseContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89680"
} | starcoder | using R5.FFDB.Core.Entities;
using R5.FFDB.Core.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace R5.FFDB.Core.Database
{
/// <summary>
/// Represents the main (root) database context.
/// It contains a couple methods, and is a container for other categorized contexts.... | 2.797619 | 6bb4d9871a2bdb4ed119c4578b463e06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89680 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dlcs/protagonist",
"max_stars_repo_path": "DLCS.Repository/RegisterDapperMappings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89681"
} | starcoder | using System.Data;
using Dapper;
using DLCS.Core.Enum;
using DLCS.Model.Customers;
namespace DLCS.Repository
{
public static class DapperMappings
{
/// <summary>
/// Register all customer TypeHandlers for Dapper
/// </summary>
public static void Register()
... | 2.569911 | abf313815069537eb9537d1c7049a48a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89681 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grzesieksw/GusApi",
"max_stars_repo_path": "ConsoleUI/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89682"
} | starcoder | <filename>ConsoleUI/Program.cs<gh_stars>1-10
using GusApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleUI
{
class Program
{
static void Main(string[] args)
{
ObslugaGus gus = new ObslugaGus();
... | 2.169724 | 87f1e9936bcbbd12c52e0c0a3ecc3225 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loremipsumdonec/optimizely-cms-models",
"max_stars_repo_path": "posts/ssr_with_react_and_graphql/example/lorem_headless/Features/Navigation/Services/NavigationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89683"
} | starcoder | using EPiServer;
using EPiServer.Core;
using EPiServer.ServiceLocation;
using EPiServer.Web.Routing;
using lorem_headless.Features.Navigation.Models;
using lorem_headless.Models.Pages;
using System.Collections.Generic;
using System.Linq;
namespace lorem_headless.Features.Navigation.Services
{
[ServiceConfiguratio... | 2.293349 | e093105b2ff73695007797579b98f69c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89683 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/cognitiveservices/Vision.Face/src/Generated/Models/IdentifyRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89684"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 2.073264 | 4aec897550521317d12a36a0b54bc796 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89684 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kbaley/Coronado",
"max_stars_repo_path": "Coronado.Web/Controllers/Api/TransactionsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89685"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Coronado.Web.Data;
using Coronado.Web.Models;
using Coronado.Web.Controllers.Dtos;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using AutoMapper;
using System.Threading.Tasks;
namespace Coronado.Web.Controllers.Api
{... | 2.021702 | bbadc3215fc52985ca9833691c7e7130 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89685 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Shazwazza/Umbraco.IoC",
"max_stars_repo_path": "src/Our.Umbraco.IoC.WebTest/App_Start/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89686"
} | starcoder | <reponame>Shazwazza/Umbraco.IoC
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Umbraco.Core;
namespace Our.Umbraco.IoC.WebTest.App_Start
{
public class Startup : ApplicationEventHandler
{
protected override vo... | 1.553777 | 3933f0231e5cbf681e7224629e7a0b9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89686 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "scarecrow87/TardisBank",
"max_stars_repo_path": "server/src/TardisBank.UnitTests/EmailTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89687"
} | starcoder | using TardisBank.Api;
using Xunit;
namespace TardisBank.UnitTests
{
public class EmailTests
{
[Fact]
public void ShouldBeAbleToSendAnEmail()
{
var emailConfiguration = AppConfiguration.LoadFromEnvironment().GetEmailConfiguration();
var message = new ... | 2.264034 | 2ad0a6d59c0f224ede9fac430816f7e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twoutlook/BlazorServerDbContextExample",
"max_stars_repo_path": "BlazorServerEFCoreSample/T001/A000/Adapters/auto/A032Adapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89688"
} | starcoder | <gh_stars>0
namespace DreamAITek.T001.Adapter
{
public class A032Adapter : A000Adapter
{
}
}
| 0.440777 | d1f5b35190778e83c03490a00b75eefe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cliveontoast/SENEC.Home-V2-publisher",
"max_stars_repo_path": "LocalPublisher.Domain/Functions/PersistToRepositoryFunctions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89689"
} | starcoder | <reponame>cliveontoast/SENEC.Home-V2-publisher
using Domain;
using Entities;
using LazyCache;
using MediatR;
using Newtonsoft.Json;
using ReadRepository.Cosmos;
using ReadRepository.ReadModel;
using Repository;
using Repository.Model;
using Serilog;
using Shared;
using System;
using System.Collections.Concurrent;
usin... | 2.155785 | 85037dff64695105e3496f356ccc56e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkant35/MovieApp",
"max_stars_repo_path": "MovieApp.Web/Migrations/20201228190001_ManyToManyRelation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89690"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace MovieApp.Web.Migrations
{
public partial class ManyToManyRelation : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Casts",
col... | 2.240096 | 240f867e3f353241868a0d614a443e1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alwaysmiddle/LifeCycleWorkflowTool",
"max_stars_repo_path": "LifeCycleWorkflowBackend/Settings/OperationSettings/OperationType/OperationTypeComponents/WipReportsSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89691"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LifeCycleWorkflowBackend.Settings.OperationSettings.OperationType.OperationTypeComponents
{
public class WipReportsSettings
{
[JsonProperty]
publ... | 2.013422 | dd0740a97e4f332f723a2f44a20570b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89691 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rintech/OpenTrainSim",
"max_stars_repo_path": "Assets/OpenRailwaysSim/Map/PermanentCoupler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89692"
} | starcoder | using System;
using System.Runtime.Serialization;
using UnityEngine;
/// <summary>
/// 永久連結器
/// </summary>
[Serializable]
public class PermanentCoupler : MapObject
{
public const string KEY_BODY1 = "BODY1";
public const string KEY_BODY2 = "BODY2";
public const string KEY_HEIGHT = "HEIGHT";
public co... | 2.143455 | 7839857f961557d64f91141d380e7863 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cszczepaniak/cribbly-backend",
"max_stars_repo_path": "tests/CribblyBackend.Test.Support/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89693"
} | starcoder | <gh_stars>0
using CribblyBackend.Core.Players.Repositories;
using CribblyBackend.Test.Support.Players.Repositories;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace CribblyBackend.Test.Support.Extensions
{
public static class ServiceCollectionExte... | 1.698619 | 68349df79de0a8723fac0743b5abdf50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89693 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "forki/Nap",
"max_stars_repo_path": "src/Nap/Configuration/EmptyHeaders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89694"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Nap.Configuration
{
/// <summary>
/// An empty implementation of the headers collection, which does not pull from *.config files.
/// </summary>
public class EmptyHeaders : List<IHeader>, IHeaders
{
/// <summary>
... | 3.279093 | f5f13686a78070e5d4b0e508c1415590 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "w199753/SRP_GI_ImpTest",
"max_stars_repo_path": "Assets/K-PostProcessing/Effects/Broken/Scripts/Broken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89695"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.PostProcessing;
using FloatParameter = UnityEngine.Rendering.PostProcessing.FloatParameter;
using BoolParameter = UnityEngine.Rendering.PostProcessing.BoolParameter;
using IntParameter = UnityEngine.Rendering.PostP... | 2.050737 | 510a1f6765a230aabfd9ae071d000aaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryjedo/invadaga",
"max_stars_repo_path": "Assets/Scripts/respawnShield.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89696"
} | starcoder | <gh_stars>0
/// <summary>
/// DEPRICATED !!!DO NOT USE!!!
/// </summary>
using UnityEngine;
using System.Collections;
public class respawnShield : MonoBehaviour {
//public float shieldDecayTimer = 5;
public float shieldOn = 0;
public float shieldFuel = 5;
void Start ()
{
InvokeRepeating("checkFuel"... | 2.025304 | e9d0e62fca070c5aae3e80c2123433ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89696 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "venerakanybekova/software2",
"max_stars_repo_path": "DataModel/Document.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89697"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.855993 | 98809d3541b1d76b2cb694cf71fce30a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89697 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "B1sounours/OpenMMO",
"max_stars_repo_path": "Modules/ChatModule/Scripts/UI/UIWindowChat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89698"
} | starcoder | <reponame>B1sounours/OpenMMO
using System;
using OpenMMO;
using OpenMMO.Network;
using OpenMMO.UI;
using OpenMMO.Chat;
using UnityEngine;
using UnityEngine.UI;
namespace OpenMMO.UI
{
// ===================================================================================
// UIWindowChat
// =========================... | 1.775563 | 3774cd5b02a0bfbddd2851355fbb6574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89698 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Liques/RobotBum",
"max_stars_repo_path": "RobotBumLibCore/Map/Chart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89699"
} | starcoder | <reponame>Liques/RobotBum<filename>RobotBumLibCore/Map/Chart.cs<gh_stars>1-10
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RobotBumFoundationCore;
... | 2.622291 | c8ee4e6b37b062ba72a072c5bedaf617 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89699 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "martincostello/website",
"max_stars_repo_path": "src/Website/Pages/Projects/_GitHubFork.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89700"
} | starcoder | @model string
@{
string[] split = Model!.Split('/');
string user;
string project;
if (split.Length == 2)
{
user = split[0];
project = split[1];
}
else
{
user = "martincostello";
project = Model;
}
}
<a class="github-button" href="https://github.com/@... | 2.53607 | 5a2b6f081d81d0ab624ea5c82f106368 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Casimodo72/Casimodo.Lib",
"max_stars_repo_path": "src/Obsolete/Casimodo.Lib.Mojen.Generators/Objects/Generators/DbContextCreateModelGen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89701"
} | starcoder | using Casimodo.Lib.Data;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Casimodo.Lib.Mojen
{
public class DbContextCreateModelGen : MojenGenerator
{
public DbContextCreateModelGen()
{
Scope = "DataContext";
}
public DataLayerConfig ... | 2.095023 | 4e27d5ab2f0508d385aadf0e78215f62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89701 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fabiankoziolek/medievalIO",
"max_stars_repo_path": "MedievalIO.Domain/Unit/Statistics/IStrength.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89702"
} | starcoder | <reponame>fabiankoziolek/medievalIO<filename>MedievalIO.Domain/Unit/Statistics/IStrength.cs
namespace MedievalIO.Domain.Unit.Statistics
{
public interface IStrength : IStatistic
{
int StrengthPoints { get; }
}
} | 1.67045 | 7da60e948de3fa6168ee3bf8e9e1a841 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codelastnight/neonKUBE",
"max_stars_repo_path": "Lib/Neon.Kube.Resources/Stub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89703"
} | starcoder | <reponame>codelastnight/neonKUBE
//-----------------------------------------------------------------------------
// FILE: Stub.cs
// CONTRIBUTOR: <NAME>
// COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | 0.912298 | f50b0f9853f054416c24925d611f7eb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89703 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stokesy43/UmbracoIdentity.IdentityServer",
"max_stars_repo_path": "src/UmbracoIdentity.IdentityServer/AppBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89704"
} | starcoder | <filename>src/UmbracoIdentity.IdentityServer/AppBuilderExtensions.cs
using IdentityModel;
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.OpenIdConnect;
using Owin;
using System.Security.Claims;
namespace UmbracoIdentity.IdentityServer
{
public static class AppBuilder... | 2.449306 | a99679cf68e083c53e6d1a6f82ab461c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cxw3292008/Samples-WinForms-CSharp",
"max_stars_repo_path": "Using a Custom Data Adapter/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89705"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Stimulsoft.Base;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Components;
using... | 2.112727 | 7fc5779f909ee7aaebe20914eac095b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89705 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xeais/Smarty-Cars",
"max_stars_repo_path": "Assets/Plugins/NEATPack/NEAT/Scripts/Evolution/Mutator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89706"
} | starcoder | <reponame>Xeais/Smarty-Cars
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace NEAT
{
/// <summary>
/// A helper-class for genomes
/// </summary>
public class Mutator
{
/// <summary>
/// Mutates the given genome.
/// First, try to mutate the structure. Only one structural muta... | 2.939041 | e2c4db025d9b3a9def86d83b5feb71f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lazy-Solutions/advanced-instance-manager",
"max_stars_repo_path": "AdvancedInstanceManager/System/Editor/InstanceManagerWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89707"
} | starcoder | using System.Linq;
using InstanceManager.Models;
using InstanceManager.Utility;
using UnityEditor;
using UnityEngine;
namespace InstanceManager.Editor
{
/// <summary>The instance manager window.</summary>
public partial class InstanceManagerWindow : EditorWindow
{
/// <summary>Opens the <see cre... | 1.938533 | bfbb9a68544b6e9e8d5486cf68661d74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steele123/Trials-Of-Titan",
"max_stars_repo_path": "Library/TitanCore/Core/SoulGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89708"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TitanCore.Core
{
public enum SoulGroup
{
OceanBeach = 0,
Grasslands = 1,
DarkForest = 2,
Desert = 3,
Lake = 4,
Mountains = 5,
Tundra = 6,
ValdoksForge = 7,
Dumir... | 1.817951 | 47ad31bb8109f41a9814bbbcd1843514 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gmYusuf/firebase-wrapper",
"max_stars_repo_path": "FirebaseUnityWrapper/FirebaseUnityWrapper/Database/Event/EventUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89709"
} | starcoder | <reponame>gmYusuf/firebase-wrapper
using UnityEngine;
using System.Collections;
using AndroidUtils;
using GMSTasks;
namespace FirebaseUnityWrapper.Database.Event
{
internal static class EventUtils
{
public static IEvent<T> AsIEvent<T>(this AndroidJavaObject javaObject) where T : JavaObjectWrapper => ... | 1.930515 | 2e075651c312d1f1df33c879946a5c50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntonioZanini/VNFramework",
"max_stars_repo_path": "Assets/Scripts/VNFramework.Interfaces/Character/IMoveTransition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89710"
} | starcoder | using UnityEngine;
namespace VNFramework.Interfaces.Character
{
public interface IMoveTransition
{
void MoveTo(Vector2 target, float speed, bool smooth = true);
void StopMoving(bool arriveTargetPositionImmediately = false);
}
}
| 1.893356 | bf1ef6d9d0787300a31249d62e2822ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89710 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Source/DigitalRune.Mathematics.Tests/Algebra/MatrixDTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89711"
} | starcoder | <reponame>Drul1337/DigitalRune<filename>Source/DigitalRune.Mathematics.Tests/Algebra/MatrixDTest.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization.Json;
using ... | 2.748588 | cdeca3d6124d8b662e320576650afe7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wellengineered-us/cruisecontrol",
"max_stars_repo_path": "src/WellEngineered.CruiseControl.Core/SourceControl/StarTeamHistoryParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89712"
} | starcoder | <filename>src/WellEngineered.CruiseControl.Core/SourceControl/StarTeamHistoryParser.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
namespace WellEngineered.CruiseControl.Core.SourceControl
{
/// <summary>
/// Implementation of IHi... | 2.794493 | 42d4e64024278f92d0127bc5d19bbee9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89712 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "xigadee/Microservice",
"max_stars_repo_path": "Src/Xigadee.Abstractions/ServiceHandler/Exceptions/ServiceHandlerDuplicationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89713"
} | starcoder | using System;
namespace Xigadee
{
/// <summary>
/// THis exception is thrown when a duplicate service handler is added to a collection
/// </summary>
public class ServiceHandlerDuplicationException:Exception
{
/// <summary>
/// This is the default constructor.
/// </summary... | 2.656417 | 0372ee1ed6fa61bebd3a52a9d9d5705d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.HSSF.Record.Chart/CrtMlFrtContinueRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89714"
} | starcoder | <reponame>iNeverSleeeeep/NPOI-For-Unity<filename>NPOI.HSSF.Record.Chart/CrtMlFrtContinueRecord.cs
using NPOI.Util;
namespace NPOI.HSSF.Record.Chart
{
/// <summary>
/// The CrtMlFrtContinue record specifies additional data for a CrtMlFrt record, as specified in the CrtMlFrt record.
/// </summary>
/// <remarks>
///... | 1.991355 | a29fc703f0f18d4fcf1e65d8d48b1b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benlee0202/DebugConsole",
"max_stars_repo_path": "Assets/Scripts/DebugConsole/Commands/TestDebugCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89715"
} | starcoder | using EventHandler.Events;
using EventHandler.Interfaces;
namespace DebugConsole.Commands
{
public class TestDebugCommand : DebugCommandBase
{
public override string CommandToken => "Test";
public sealed override string CommandLog { get; protected set; }
public TestDebugCommand(IEventB... | 2.102588 | e263ea9d783d9cdc22f2e40a9d8732c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89715 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jeenlee/Aoite",
"max_stars_repo_path": "src/core/Aoite.Tests/Aoite/Reflection/Invocation/GenericTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89716"
} | starcoder | <reponame>jeenlee/Aoite<gh_stars>1-10
using System;
using System.Reflection;
using Aoite.Reflection;
using System.Collections.Generic;
using Aoite.Reflection.Emitter;
using Xunit;
namespace Aoite.ReflectionTest.Invocation
{
public class GenericTest
{
[Fact()]
public void Test_instantiate_gene... | 2.693534 | 5854423df19d99ce27581e86efc7d3be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89716 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "E-K/IceMilkTea",
"max_stars_repo_path": "Packages/HotMilkTea/Editor/Window/SceneStackDumpWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89717"
} | starcoder | <filename>Packages/HotMilkTea/Editor/Window/SceneStackDumpWindow.cs<gh_stars>10-100
// zlib/libpng License
//
// Copyright (c) 2020 Sinoa
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this so... | 2.065802 | bda105ab42b93ec034976e4bf50cfed9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89717 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "polycular/oekogotschi",
"max_stars_repo_path": "snipnogotchi/Assets/ToolbAR/Scripts/Math/Shapes/Rectangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89718"
} | starcoder | <filename>snipnogotchi/Assets/ToolbAR/Scripts/Math/Shapes/Rectangle.cs<gh_stars>1-10
using UnityEngine;
using System.Collections;
namespace ToolbAR.Math.Shapes
{
/************************************************************************/
/* Helper Class for rectangle shapes ... | 2.978052 | ed171f7cc10815e69adc12168d5320a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Khatami/aspnetcore-microservice",
"max_stars_repo_path": "src/Services/Catalog/Catalog.API/Data/CatalogContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89719"
} | starcoder | <gh_stars>0
using Catalog.API.Entities;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace Catalog.API.Data
{
public class CatalogContext : ICatalogContext
{
public CatalogContext(IConfiguration configuration)
{
var databaseSetting = configuration.GetSection("DatabaseSettings");
var... | 2.382715 | 0809d4432e5c8239a977c534fe576de0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89719 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VirtualPhotonics/Vts.Gui.Wpf",
"max_stars_repo_path": "Vts.Gui.Wpf/Converters/BooleanToVisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89720"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Vts.Gui.Wpf.Converters
{
/// Converts a boolean to visibility value.
public class BooleanToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object paramet... | 2.770573 | 7bdd716d2995b1554d1948df69ad5090 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89720 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OctopusDeploy/azure-sdk-tools",
"max_stars_repo_path": "WindowsAzurePowershell/src/Management.ScenarioTest/WebsitesTests/WebsitesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89721"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | 1.612912 | d6e32c942ee1163f501aaf11bf951c2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "flubu-core/FlubuCore.Azure",
"max_stars_repo_path": "FlubuCore.Azure/Tasks/Iot/AzureIotHubGenerateSasTokenTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89722"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Iot
{
public partial class AzureIotHubGenerateSasTokenTask : ExternalProcessTaskBase<AzureIotHubGenerateSasTokenTask>
{
... | 2.305253 | 7b11ea3365441c4bed6cc5cc62ce5659 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EhsanPeymani/Matlab_Csharp_PerformanceTest",
"max_stars_repo_path": "GasBubble.Common/MatlabDataTypes/RheologyPipe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89723"
} | starcoder | <gh_stars>0
namespace GasBubble.Common.MatlabDataTypes
{
public struct RheologyPipe
{
public double xi;
public double sigma;
public double psi;
public double PT;
public double Omega;
public double SmoothFactor;
}
} | 0.846707 | bef0671e6db3ba6c5d0599189513746e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89723 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Tsiou/Harlow",
"max_stars_repo_path": "Harlow/HarlowUnitTests/LineTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89724"
} | starcoder | using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Harlow;
namespace HarlowUnitTests
{
[TestClass]
public class LineTest
{
string lineFile = String.Format("..{0}..{0}Shapefiles{0}Line{0}tl_2014_06075_roads.shp", Path.DirectorySeparatorChar);
[TestMeth... | 2.543164 | 9c2190bc59f4901a891aebce10eb3163 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89724 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "0x00null/covid-pass-verifier",
"max_stars_repo_path": "NHSCovidPassVerifier/Enums/CertificateType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89725"
} | starcoder | using System.Collections.Generic;
namespace NHSCovidPassVerifier.Enums
{
public enum CertificateType
{
International,
Domestic
}
public static class CertificateTypeExtension
{
private static readonly Dictionary<string, CertificateType> TokenTypeDictionary = new Diction... | 2.75299 | df37197a1ce1355ee476f847b2c1a134 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amilivojevic/ComplexityPasswordEnforcer",
"max_stars_repo_path": "PasswordEnforcer/dialogs/CustomizeEnforcedTopology.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89726"
} | starcoder | <reponame>amilivojevic/ComplexityPasswordEnforcer
using PasswordEnforcer.model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
namespace PasswordEnforcer
{
/// <summary>
/// Interaction logic for CustomizeEnforcedTopology.xaml
/// </summary>
... | 2.368934 | 03e57be1f112711856efc15775dad0dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OSADP/IDTO",
"max_stars_repo_path": "IDTO Azure Hosted Systems/IDTO.DataProcessor/WorkerRole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89727"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using IDTO.Data;
using IDTO.DataProcessor.Common;
using IDTO.Common;
using IDTO.DataProcessor.TConnectMonitor;
using IDTO.DataProcessor.TravelerMon... | 1.953559 | 3e56495847d62d1c1e8b2bbda4af2ac4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89727 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "tgiachi/Neon.HomeControl",
"max_stars_repo_path": "Neon.HomeControl.Api/Core/Events/MqttMessageEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89728"
} | starcoder | using MediatR;
namespace Neon.HomeControl.Api.Core.Events
{
public class MqttMessageEvent : INotification
{
public string Topic { get; set; }
public string Message { get; set; }
}
} | 1.404794 | 09c281d34eed5c8a9276da12a0763859 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89728 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JoshuaFolkerts/Blend.Optimizely",
"max_stars_repo_path": "Rendering/AbstractTemplateCoordinator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89729"
} | starcoder | <gh_stars>1-10
using EPiServer.DataAbstraction;
using EPiServer.Framework.Web;
using EPiServer.Web.Mvc;
namespace Blend.Optimizely.Rendering
{
public abstract class AbstractTemplateCoordinator : IViewTemplateModelRegistrator
{
public virtual string BlockFolder { get; } = "~/Views/Blocks/";
pu... | 1.987693 | 32c806426a16d53fd6a4f79d2bccddf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89729 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PiemP/OrchardCore",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.Infrastructure/Security/Services/DefaultPermissionsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89730"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using OrchardCore.Security.Permissions;
namespace OrchardCore.Security.Services
{
public class DefaultPermissionsService : IPermissionsService
{
private readonly IEnumerable<IPermissionProvider> _permissionProviders;
public Defau... | 2.533466 | cd033f223be30173e601b90ca151317b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89730 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Renatafsouza/api-wiz-template",
"max_stars_repo_path": "src/Wiz.Template.Infra/Services/ViaCEPService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89731"
} | starcoder | <gh_stars>10-100
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Wiz.Template.Domain.Interfaces.Services;
using Wiz.Template.Domain.Models.Services;
namespace Wiz.Template.Infra.Services
{
public class ViaCEPService : IViaCEPService
{
private readonly HttpClient _htt... | 2.60054 | a115d2fe49bd3090e1b1b45f66c0c2d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RTGS-OpenSource/rtgs-dotnet-sdk",
"max_stars_repo_path": "src/RTGS.DotNetSDK/RTGS.DotNetSDK/Subscriber/Handlers/IEarmarkCompleteV1Handler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89732"
} | starcoder | using RTGS.Public.Messages.Subscriber;
namespace RTGS.DotNetSDK.Subscriber.Handlers;
/// <summary>
/// Interface to define an <see cref="EarmarkCompleteV1"/> handler.
/// </summary>
public interface IEarmarkCompleteV1Handler : IHandler<EarmarkCompleteV1> { }
| 1.437289 | b4a22de21225bea45359f971d55daaeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89732 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-apprenticeship-programs-indexer",
"max_stars_repo_path": "src/Sfa.Das.Sas.Indexer.Core/AssessmentOrgs/Models/Organisation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89733"
} | starcoder | <gh_stars>1-10
namespace Sfa.Das.Sas.Indexer.Core.AssessmentOrgs.Models
{
public class Organisation
{
public string EpaOrganisationIdentifier { get; set; }
public string EpaOrganisation { get; set; }
public string OrganisationType { get; set; }
public string WebsiteLink { get... | 1.181965 | 62e71d078a1bfe03d479ef52c77529a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MossieuLeblanc/EdBPrepareCarefully-fr",
"max_stars_repo_path": "Source/Version3/SaveRecordInjuryV3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89734"
} | starcoder | using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Verse;
namespace EdB.PrepareCarefully
{
public class SaveRecordInjuryV3 : IExposable
{
public string bodyPart = null;
public string hediffDef = null;
public string severity = null;
public SaveRecordI... | 2.068447 | 48fb8d5f66970dc1daa02d9acaa95199 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89734 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrGoner/BrowserHistoryExporter",
"max_stars_repo_path": "WpfExportApp/WizardWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89735"
} | starcoder | <reponame>mrGoner/BrowserHistoryExporter<gh_stars>1-10
using System.Windows;
namespace WpfExportApp
{
public partial class WizardWindow : Window
{
public WizardWindow()
{
InitializeComponent();
}
}
}
| 1.019674 | 26597b909ff307b31731f899ce367830 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89735 | {
"extension": "c-sharp",
"max_stars_count": "451.0",
"max_stars_repo_name": "Li-Yanzhi/app-crm",
"max_stars_repo_path": "src/MobileApp/XamarinCRM.UITest/Pages/PLA3DPrinterKitsPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89736"
} | starcoder | using Xamarin.UITest;
namespace XamarinCRM.UITest
{
public class PLA3DPrinterKitsPage : BasePage
{
public PLA3DPrinterKitsPage(IApp app, Platform platform)
: base(app, platform, "PLA-JEWEL", "PLA 3D Printer Kits")
{
}
public void SelectItem(string itemName)
... | 2.009608 | e7b8fb00e9fce2e423d28252b82161ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danjfreit/manic-mansion",
"max_stars_repo_path": "ManicMansion/Assets/Scripts/NewScripts/ToolComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89737"
} | starcoder | <reponame>danjfreit/manic-mansion
using UnityEngine;
using Tools;
public class ToolComponent : MonoBehaviour {
public ToolEnum tool;
}
| 0.629085 | 290256031dabc9e0c02140bde2f04b8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrendanErquiaga/CardGameTester",
"max_stars_repo_path": "Assets/Scripts/Cards/Card.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89738"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Card : MonoBehaviour
{
[SerializeField]
private string cardName;
public string CardName
{
get
{
return cardName;
}
set
{
cardName = value;
... | 2.484849 | 45a460e7c89c8f71385f67fafb526cd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruzgarustu/design-patterns-pofur",
"max_stars_repo_path": "AdapterPattern/NorwegianForestAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89739"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AdapterPattern
{
public class NorwegianForestAdapter : IBarberCat
{
private NorwegianForest forestCat;
public NorwegianForestAdapter(NorwegianForest forestCat)
{
this.forestCat = forestCat;
... | 2.977495 | 7577cc7d872db344aa49f39aff9cfaf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89867 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kiho/BlazorMonaco",
"max_stars_repo_path": "src/MonacoTest/Pages/Editor.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89868"
} | starcoder | <reponame>Kiho/BlazorMonaco<gh_stars>1-10
@page "/editor"
@using BlazorMonaco
@using BlazorMonaco.Shared
<h2>Monaco using Blazor</h2>
<div>
<button class="btn btn-primary" onclick="@Reset">Clear</button>
<button class="btn btn-primary" onclick="@Update">Read</button>
</div>
<p>
</p>
<MonacoEditor ref="_editor... | 2.327332 | e36305ee677308d9bc1797a30bd70dbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89868 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "puerts-tsc/startup",
"max_stars_repo_path": "Assets/App/Tetris/Plugins/Tween/Runtime/TweenValue/TweenVector2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89869"
} | starcoder | using UnityEngine;
namespace Saro {
public abstract partial class TweenVector2 : TweenFormTo<Vector2> {
protected override void OnInterpolate (float f) {
var t = Current;
t.x = (to.x - from.x) * f + from.x;
t.y = (to.y - from.y) * f + from.y;
Current = t;
... | 2.3255 | 71f06a62abb30cf85900066b5daa7bc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "morskibg/CS_TrainingAtHome",
"max_stars_repo_path": "List/n2_2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89870"
} | starcoder | <reponame>morskibg/CS_TrainingAtHome
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PF___2.Track_Downloader
{
class Program
{
static void Main(string[] args)
{
List<string> BlacklistedWords = Console.Rea... | 2.780166 | 38a63ccba0c46fb3be53169f82d18724 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tball40/RaynMaker",
"max_stars_repo_path": "src/RaynMaker.Modules.Analysis.Tests/AnalysisSpec/Providers/GenericJoinProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89871"
} | starcoder | using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using RaynMaker.Modules.Analysis.AnalysisSpec.Providers;
using RaynMaker.Modules.Analysis.Engine;
using RaynMaker.Entities;
using RaynMaker.Entities.Tests.Fakes;
namespace RaynMaker.Modules.Analysis.Tests.AnalysisSpec.Providers
{
[TestF... | 2.450358 | ffc80b0d856c71423dbc4ac34f9bd04c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89871 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AsenPlesnev/NetBook-C-",
"max_stars_repo_path": "Web/NetBook.Web/Views/Class/GradesPerSubject.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89872"
} | starcoder | @using Microsoft.CodeAnalysis.CSharp.Syntax
@using NetBook.Common
@model NetBook.Web.Paging.PaginatedList<NetBook.Web.ViewModels.Grade.GradeAllViewModel>
@{
this.ViewData["Title"] = $"Oценки на {ViewBag.StudentName}";
}
<main id="main">
<div class="container">
<div class="row">
<div class... | 2.636742 | 95835c5ff11806e5c785384967b3ac01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RinSer/infer",
"max_stars_repo_path": "BayesianNetworkApp/CreditNet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89873"
} | starcoder | using System;
using System.Linq;
using Microsoft.ML.Probabilistic.Models;
using Microsoft.ML.Probabilistic.Distributions;
using Microsoft.ML.Probabilistic.Math;
using Range = Microsoft.ML.Probabilistic.Models.Range;
namespace BayesianNetworkApp
{
public class CreditNetModel
{
// Primary random variabl... | 2.680866 | 712fdd4818be5fc01af755ddb835b49c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89873 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vbfox/AssemblyVersionReader",
"max_stars_repo_path": "ConsoleApp1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89874"
} | starcoder | <filename>ConsoleApp1/Program.cs
using PEFile;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
var f = @"G:\Code\vbfox-blog\paket.exe";
UsingEx... | 2.782603 | a99cb91e38d0f923f639a10d706fa409 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TxN/LD43",
"max_stars_repo_path": "Assets/Scripts/PreGameScene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89875"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PreGameScene : MonoBehaviour {
public FadeScreen Fader = null;
bool _locked = true;
void Start() {
Fader.FadeWhite(0.5f);
Invoke("Unlock", 1f);
}
void U... | 2.07829 | ed768a9eae3fb7e0d27ba91dc9c184cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89875 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fgreinacher/kanga-modeling",
"max_stars_repo_path": "Source/KangaModeling.Visuals/SequenceDiagrams/SignalVisual.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89876"
} | starcoder | <gh_stars>1-10
using KangaModeling.Compiler.SequenceDiagrams;
using KangaModeling.Graphics;
using KangaModeling.Graphics.Primitives;
using KangaModeling.Visuals.SequenceDiagrams.Styles;
namespace KangaModeling.Visuals.SequenceDiagrams
{
internal class SignalVisual : SignalVisualBase
{
private readonly... | 2.3222 | 149efce2a8719ba4cbcd4adede1902ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89876 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "eznew-net/EZNEW.Develop",
"max_stars_repo_path": "EZNEW/Cache/SortedSet/Response/SortedSetIncrementResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89877"
} | starcoder | <filename>EZNEW/Cache/SortedSet/Response/SortedSetIncrementResponse.cs<gh_stars>100-1000
namespace EZNEW.Cache.SortedSet
{
/// <summary>
/// Sorted set increment response
/// </summary>
public class SortedSetIncrementResponse : CacheResponse
{
/// <summary>
/// Gets or sets ... | 2.203914 | f0ff049cc2a515f61709e4b46004effd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloudsdaleapp/cloudsdale-wp7",
"max_stars_repo_path": "Legacy-7.1/FayeConnector/ResponseTypes/HandshakeResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89878"
} | starcoder | <gh_stars>0
namespace Cloudsdale.FayeConnector.ResponseTypes {
public class HandshakeResponse : Response {
public bool successful;
public string version;
public string[] supportedConnectionTypes;
public string clientId;
public ConnectAdvice advice;
}
public class Co... | 1.039696 | 9039a8a1cf4acae036d8352d2e3d2d7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cs/source.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89879"
} | starcoder | // <Snippet1>
using System;
using System.Runtime.InteropServices;
public class LibWrap
{
// C# doesn't support varargs so all arguments must be explicitly defined.
// CallingConvention.Cdecl must be used since the stack is
// cleaned up by the caller.
// int printf(const char *format [, argument]...)
... | 2.945749 | 04b516b7bc7ae703b2ff5e45de7e5ebb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89879 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "dchandia/MarsRover",
"max_stars_repo_path": "MarsRover/MarsRover.Core/Domain/ValueTypes/Identity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89880"
} | starcoder | using EventFlow.Core;
namespace MarsRover.Core.Domain.ValueTypes
{
public class Identity : Identity<Identity>
{
public Identity(string value)
: base(value)
{
}
}
}
| 1.714355 | 882c435fb9bc8d14938ecba78e906d48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "s30n4/online-designers",
"max_stars_repo_path": "src/OD.DomainClasses/Entities/Profile/ProfileFavorite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89881"
} | starcoder | using System.ComponentModel.DataAnnotations.Schema;
using OD.DomainClasses.Entities.Common;
using SGE.Framework.Domain.Entities;
namespace OD.DomainClasses.Entities.Profile
{
[Table("ProfileFavorites", Schema = "Profile")]
public class ProfileFavorite : Entity
{
public virtual Profile Profile { ge... | 1.738714 | ff24dcd1a1aafa8383bd1f1589c8180e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89881 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "CslaGenFork/CslaGenFork",
"max_stars_repo_path": "trunk/Samples/DeepLoad/DAL-DTO/SelfLoadSoftDelete.DataAccess/ERLevel/IG04_SubContinentDal.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89882"
} | starcoder | <filename>trunk/Samples/DeepLoad/DAL-DTO/SelfLoadSoftDelete.DataAccess/ERLevel/IG04_SubContinentDal.Designer.cs
using System;
using System.Collections.Generic;
using Csla;
namespace SelfLoadSoftDelete.DataAccess.ERLevel
{
/// <summary>
/// DAL Interface for G04_SubContinent type
/// </summary>
... | 2.410375 | af452e255c588d51601fc42d8480b906 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fubineva/NOps.Migrator",
"max_stars_repo_path": "NOps.Migrator/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89883"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
[assembly:InternalsVisibleTo("NOps.Migrator.Tests")]
| 0.873436 | db060f8ad18c91f97e460f416762d365 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kursa2018/School_Repo_XII",
"max_stars_repo_path": "ColaPodNaem_FINAL/ColaPodNaem/Migrations/20200308082850_CreateDb.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89884"
} | starcoder | // <auto-generated />
using System;
using ColaPodNaem;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ColaPodNa... | 1.951414 | cb426d4b06422f1c457cfe0fb8b4bc4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GraySchofield/rgpModelEngine",
"max_stars_repo_path": "RPG Model Engine - Current/Assets/GSSTORM/Scripts/Controllers/BaseCharacterController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89885"
} | starcoder | <filename>RPG Model Engine - Current/Assets/GSSTORM/Scripts/Controllers/BaseCharacterController.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GSStorm.RPG.Engine;
using UnityEngine.UI;
namespace GSStorm.RPG.Game{
/// <summary>
/// Base character controller.
/// ... | 2.503441 | fa0fcd994ad0a693255406b20a2ff0bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hunnysharma3/Projects",
"max_stars_repo_path": "Chess/Assets/Scripts/TileSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89886"
} | starcoder | using UnityEngine;
using UnityEngine.UIElements;
public class TileSelector : MonoBehaviour
{
public GameObject tileHighlightPrefab;
private GameObject tileHighlight;
private GameObject selectedPiece;
// Start is called before the first frame update
void Start()
{
Vector2In... | 2.395983 | 188df2a640666f933ce066a7282eed4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89886 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "huysentruitw/AggregatR",
"max_stars_repo_path": "samples/KanbanStyle/src/KanbanStyle.Messages/Events/BoardEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89887"
} | starcoder | using System;
namespace KanbanStyle.Domain.Messages
{
public sealed class BoardCreated
{
public Guid Id { get; set; }
public string Name { get; set; }
public DateTime DateCreatedUtc { get; set; }
}
public sealed class BoardNameUpdated
{
public Guid Id { get; set;... | 1.954995 | 489db8f40b44ca4718dfe951426ed6c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edenlandpl/PrologMVC",
"max_stars_repo_path": "PrologMVC/Models/UserLogin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89888"
} | starcoder | <filename>PrologMVC/Models/UserLogin.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PrologMVC.Models
{
public class UserLogin
{
public int ID { get; set; }
public string LoginUser { get; set; }
public string Pass... | 2.184346 | 73fe0f42f425078d9f6e7a69c73de3dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89888 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dlech/ReactiveUI",
"max_stars_repo_path": "Playground-WP8/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89889"
} | starcoder | using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using MobileSample_WP8.Resources;
using MobileSample_WP8.ViewModels;
using ReactiveUI;
using ReactiveUI.Mobile... | 2.174298 | d25db614a43a40c71de0f277eda3a331 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.