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 | 69133 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "andydandy74/Monito",
"max_stars_repo_path": "src/_IsolateInPreview/IsolateInPreviewWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69134"
} | starcoder | using Dynamo.ViewModels;
using System.Windows;
using System.Windows.Controls;
namespace Monito
{
/// <summary>
/// Interaction logic for IsolateInPreviewWindow.xaml
/// </summary>
public partial class IsolateInPreviewWindow : Window
{
public IsolateInPreviewWindow()
{
... | 2.021846 | fb3cff420c8a3f724325dbffb46ff5eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boop5/EzSurvey",
"max_stars_repo_path": "src/EzSurvey.Infrastructure.Persistence/Repositories/UserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69135"
} | starcoder | <reponame>boop5/EzSurvey
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EzSurvey.Core.Application.Interfaces;
using EzSurvey.Core.Domain.Entities;
using Microsoft.Extensions.Logging;
namespace EzSurvey.Infrastructure.Persistence.Repositories
{
inte... | 2.165218 | f3dddefa91c05ef5cce93b05c2a23862 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69135 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "inputfalken/Lemonad",
"max_stars_repo_path": "test/Lemonad.ErrorHandling.Unit/ExtensionTests/Result/ToMaybeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69136"
} | starcoder | <filename>test/Lemonad.ErrorHandling.Unit/ExtensionTests/Result/ToMaybeTests.cs
using System;
using Assertion;
using Lemonad.ErrorHandling.Extensions.Result;
using Xunit;
namespace Lemonad.ErrorHandling.Unit.ExtensionTests.Result {
public class ToMaybeTests {
[Fact]
public void Passing_Null_Source_... | 2.35483 | be6cd470f69349245d2746f319990034 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IamFlashUser/blazorboilerplate",
"max_stars_repo_path": "src/Shared/BlazorBoilerplate.Shared/Dto/Admin/TenantDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69137"
} | starcoder | namespace BlazorBoilerplate.Shared.Dto.Admin
{
public class TenantDto : BaseDto
{
public string Id { get; set; }
public string Identifier { get; set; }
public string Name { get; set; }
public IDictionary<string, object> Items { get; }
public string ConnectionString { get... | 1.463667 | 040d868b0577208f91bdcd481606f91e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/DFE-Digital.get-into-teaching-api",
"max_stars_repo_path": "GetIntoTeachingApi/Controllers/TeachingEventBuildingsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69138"
} | starcoder | using System.Collections.Generic;
using GetIntoTeachingApi.Attributes;
using GetIntoTeachingApi.Models;
using GetIntoTeachingApi.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
namespace GetIntoTeachingApi.Controllers
{
[Route("api/teac... | 2.180156 | 3040cf19e0777f67ded565549ba574ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69138 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BarryCao-2009/eventbus",
"max_stars_repo_path": "src/Tingle.EventBus.Transports.Azure.Abstractions/AzureTransportOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69139"
} | starcoder | using Tingle.EventBus.Transports;
namespace Microsoft.Extensions.DependencyInjection;
/// <summary>
/// Abstraction for options of Azure-based transports
/// </summary>
public abstract class AzureTransportOptions<TCredential> : EventBusTransportOptionsBase where TCredential : AzureTransportCredentials
{
/// <sum... | 2.044153 | 1233c1ad1323b33d198ce36085f74f68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69139 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ycarowr/UnityDesignPatterns",
"max_stars_repo_path": "Assets/Behavioral/Strategy/Examples/Sort/Scripts/SortClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69140"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
namespace Strategy
{
/*
* The class provides to different algorithms a list to be sorted and
* it logs the time spent to sort the list. This way, for the same set
* of ele... | 3.164432 | 257f62668b7e97e8c11ec611b502930c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OpenChargingCloud/WWCP_eMIP",
"max_stars_repo_path": "WWCP_eMIP/CPO/CPOClient/ICPOClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69141"
} | starcoder | /*
* Copyright (c) 2014-2021 GraphDefined GmbH
* This file is part of WWCP eMIP <https://github.com/OpenChargingCloud/WWCP_eMIP>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 1.659588 | 401c4bb55a13caca0732fc50f7ab982f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69141 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Asixa/RayTracing-TheNextWeek",
"max_stars_repo_path": "ALight/Render/Primitives/Sphere.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69142"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ALight.Render.Components;
using ALight.Render.Materials;
using ALight.Render.Mathematics;
namespace ALight.Render.Primitives
{
public class Sphere : Hitable
{
public... | 2.77984 | 65b6e1aad2a8c16bc8c63454a7364128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69142 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PrasadHonrao/Learn.CSharp",
"max_stars_repo_path": "Language/Threading/Thread Parameters/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69143"
} | starcoder | using System;
using System.Threading;
namespace Learn.CSharp.Language
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Starting Main thread with Id {0}", Thread.CurrentThread.ManagedThreadId);
var T1 = new Thread(PrintMessage); // static method
... | 3.835034 | cfe62be4c6dcc195501c38bda69084bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ayhanaksel/WebProgramming",
"max_stars_repo_path": "Source/MVCProject/Controllers/AuthController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69144"
} | starcoder | <reponame>ayhanaksel/WebProgramming
using MVCProject.Models;
using MVCProject.ViewModels;
using NHibernate.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace MVCProject.Controllers
{
public class AuthController : Co... | 2.105567 | c2237792573992b2a24c7c124462e226 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69144 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "illay1994/opentelemetry-dotnet",
"max_stars_repo_path": "benchmarks/Exporter/ZipkinExporterBenchmarks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69145"
} | starcoder | // <copyright file="ZipkinExporterBenchmarks.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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://... | 1.719493 | 3d708ed168026aa0ef57177d718b5de1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69145 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dop4398/Through-the-Lens-Prototypes",
"max_stars_repo_path": "Prototype URP and Sound/Assets/Plugins/HoudiniEngineUnity/Scripts/Asset/HEU_Curve.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69146"
} | starcoder | /*
* Copyright (c) <2020> Side Effects Software Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list o... | 2.02503 | 8fda198cd8730e6462e1f77a27416554 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liubiaoyong/OwinMVC",
"max_stars_repo_path": "OwinMvc.View/CompilerServiceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69147"
} | starcoder |
namespace OwinMvc.View
{
internal static class CompilerServiceFactory
{
public static CompilerServiceBase CreateService()
{
return new CodeDomCompilerService();
}
}
}
| 1.270747 | 92ed81ce07bd3316d5e51c5a097b980c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eXpl0it3r/Advent-of-Code",
"max_stars_repo_path": "2021/Day05/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69148"
} | starcoder | <reponame>eXpl0it3r/Advent-of-Code
namespace Day05;
public class Point
{
public int X { get; set; }
public int Y { get; set; }
}
public class Line
{
public Point Start { get; set; } = new() {X = 0, Y = 0};
public Point End { get; set; } = new() {X = 0, Y = 0};
}
public static class Program
{
pub... | 3.281937 | 3fde0ee7ae99c86fe68ff86329bfa3d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weak-head/twink",
"max_stars_repo_path": "src/twink.Infrastructure.Tests/Model/TagFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69149"
} | starcoder | <filename>src/twink.Infrastructure.Tests/Model/TagFixture.cs<gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestExtensions;
using twink.Model;
namespace twink.Model.Tests
{
[TestClass]
public class TagFixture
{
[TestClass]
public class Newly_Created_Tag
{
... | 2.649052 | fc8fa2cebaab942104678b9d237bc204 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ycbbcy/EasyCMS",
"max_stars_repo_path": "Atlass.Framework.Common/Log/LoggerHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69150"
} | starcoder | <reponame>ycbbcy/EasyCMS<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Atlass.Framework.Common.Log
{
public class LoggerHelper
{
//private static Logger logger = LogManager.GetCurrentClassLogger();
//private static Logger logger =null;
sta... | 2.319293 | 0c836e7dba13448b391eb0cd9ef75bd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panosen/panosen-codedom-javascript",
"max_stars_repo_path": "Panosen.CodeDom.JavaScript.Engine/JsCodeEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69151"
} | starcoder | <reponame>panosen/panosen-codedom-javascript<filename>Panosen.CodeDom.JavaScript.Engine/JsCodeEngine.cs<gh_stars>0
using System;
namespace Panosen.CodeDom.JavaScript.Engine
{
public partial class JsCodeEngine
{
private const string KEYWORD_IF = "if";
private const string KEYWORD_ELSE = "else";... | 2.394841 | 7ba829ee6f9da22092ddeb1ed1c907fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salisafi/Salimeh-Safi-INT-Works",
"max_stars_repo_path": "Week_11-JavaScript and Ajax in our web apps/PlaylistFiltering/PlaylistFiltering/Views/Playlists/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69152"
} | starcoder | <filename>Week_11-JavaScript and Ajax in our web apps/PlaylistFiltering/PlaylistFiltering/Views/Playlists/Edit.cshtml
@model PlaylistFiltering.Controllers.PlaylistEditTracksForm
@{
ViewBag.Title = "Edit playlist";
}
<h2>Edit playlist <span class="bg-info"> @(Model.Name) </span></h2>
@using (Html.Begin... | 2.336726 | 4c9184752d3acd3c44a1d197ed31f6e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69152 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "CHeavyarms/ZstdSharp",
"max_stars_repo_path": "src/ZstdSharp/Unsafe/ZSTD_dParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69153"
} | starcoder | using System;
namespace ZstdSharp.Unsafe
{
public enum ZSTD_dParameter
{
ZSTD_d_windowLogMax = 100,
ZSTD_d_experimentalParam1 = 1000,
ZSTD_d_experimentalParam2 = 1001,
ZSTD_d_experimentalParam3 = 1002,
ZSTD_d_experimentalParam4 = 1003,
}
}
| 1.234785 | 3b393771f228f52a0bc32992bc8fbbba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wolfreak99/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/Services/EarTrumpetAudioSessionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69154"
} | starcoder | <reponame>wolfreak99/EarTrumpet
using EarTrumpet.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace EarTrumpet.Services
{
public class EarTrumpetAudioSessionService
{
static class Interop
{
[DllImport("EarTrump... | 2.628694 | 1b8908635712c383f2cf201d0662429f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69154 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SoliaRdi/TeraCompass",
"max_stars_repo_path": "TeraCompass/Capture/TeraModule/Hook/SigScan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69155"
} | starcoder | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
//
// sigScan C# Implementation - Written by atom0s [aka Wiccaan]
// Class Version: 2.0.0
//
// [ CHANGE LOG ] -------------------------------------------------------------------------
//
// 2.0.0
// - Updated to no lon... | 2.645616 | 4de2ae7f665752bf353d1a8656b2bbfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69155 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "cime/CoreSharp",
"max_stars_repo_path": "CoreSharp.Cqrs/SimpleInjector/ContainerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69156"
} | starcoder | <reponame>cime/CoreSharp
using System;
using System.Linq;
using System.Reflection;
using CoreSharp.Common.Exceptions;
using CoreSharp.Common.Extensions;
using CoreSharp.Cqrs.Command;
using CoreSharp.Cqrs.Events;
using CoreSharp.Cqrs.Query;
#nullable disable
// ReSharper disable once CheckNamespace
namespace SimpleIn... | 2.148719 | 2bc87a0ea8996c28b2e050f5da1e41af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69156 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "GiadaNox/MediaPipeUnityPlugin",
"max_stars_repo_path": "Assets/Mediapipe/Samples/Graphs/IrisTracking/Scripts/IrisTrackingValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69157"
} | starcoder | <filename>Assets/Mediapipe/Samples/Graphs/IrisTracking/Scripts/IrisTrackingValue.cs
using Mediapipe;
using System.Collections.Generic;
class IrisTrackingValue {
public readonly NormalizedLandmarkList FaceLandmarksWithIris;
public readonly NormalizedRect FaceRect;
public readonly List<Detection> FaceDetections;
... | 1.979204 | bcfcfb6ce9669bcf0b08c5e00467fa13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Rex-Guo/Bing.NetCore",
"max_stars_repo_path": "src/Bing/Security/AuthorizationStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69158"
} | starcoder | using System.ComponentModel;
namespace Bing.Security
{
/// <summary>
/// 权限检查结果状态
/// </summary>
public enum AuthorizationStatus
{
/// <summary>
/// 权限检查通过
/// </summary>
[Description("权限检查通过")]
Ok = 200,
/// <summary>
/// 未登录而被拒绝
///... | 2.676855 | fc49c49255a350e1daaf7745065827cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evilvegetarian/StudentsList",
"max_stars_repo_path": "StudentsList/Views/Home/Home.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69159"
} | starcoder | @model IEnumerable<Group>
@{
ViewData["Title"] = "Home Page";
}
<a asp-controller="Home" asp-action="AddOrEdit">Add student</a>
@foreach (var group in Model)
{
<p>
<b>@group.Id - @group.GroupName (@group.Students?.Count)</b>
@foreach (var student in group.Students)
{
<p>... | 2.796346 | 3663e258e733764eab28ea8235c92186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sac16controllertester/ControllerTester",
"max_stars_repo_path": "WPFGUI/Workflow/Workers/SimulationWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69160"
} | starcoder | using FM4CC.ExecutionEngine;
using FM4CC.FaultModels;
using FM4CC.Simulation;
using FM4CC.WPFGUI.Configuration;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Reg... | 2.08816 | 8187c898655baa4354c044d6a3e371c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69160 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "radioegor146/mw-parallel",
"max_stars_repo_path": "Worker/SimplePacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Worker
{
class SimplePacket
{
public PacketType Type;
public byte[] Data;
public byte[] GetBytes()
{
if (D... | 2.395348 | 909b212b39d971adec333a287b2125fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69161 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Prin53/MvvmCross.Plugins.PlatformTask",
"max_stars_repo_path": "MvvmCross.Plugins.PlatformTask.Sample.Core/ViewModels/TaskViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69162"
} | starcoder | using System;
using System.Threading.Tasks;
using System.Windows.Input;
using MvvmCross.Core.ViewModels;
using MvvmCross.Platform;
using System.Threading;
namespace MvvmCross.Plugins.PlatformTask.Sample.Core.ViewModels
{
public class TaskViewModel : MvxViewModel
{
protected string Tag => typeof(TaskVi... | 2.574418 | b966ec7d209f21ca3021743fcff7cb52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chochohtunn/santedb",
"max_stars_repo_path": "SanteDB.Messaging.FHIR/DataTypes/ScheduleRepeat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69163"
} | starcoder | <gh_stars>0
/*
* Based on OpenIZ - Based on OpenIZ, Copyright (C) 2015 - 2019 Mohawk College of Applied Arts and Technology
* Portions Copyright 2019-2020, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this f... | 1.57577 | baa8031f199125acb435ad48de784856 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ondreu/Hotel",
"max_stars_repo_path": "Domain/Double.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69164"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain
{
public class Double : Room
{
public Double(int number) : base(number)
{ }
public override int Price => 3000;
}
}
| 1.849009 | 0cb03c30cd1a9a72fe8d111a1d9fb71e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69164 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RaiderSoap/Warband",
"max_stars_repo_path": "Nez.Portable/UI/Containers/Table.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69165"
} | starcoder | <filename>Nez.Portable/UI/Containers/Table.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
namespace Nez.UI
{
/// <summary>
/// A group that sizes and positions children using table constraints. By default, {@link #getTouchable()} is
/// {@link Touchab... | 2.127798 | 110dc6de3daa08f089c9bd605e0f98b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69165 | {
"extension": "c-sharp",
"max_stars_count": "2179.0",
"max_stars_repo_name": "singhashish-wpf/WPF-Samples",
"max_stars_repo_path": "Sample Applications/CustomComboBox/ExpandableToggleButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69166"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace CustomComboBox
{
public clas... | 2.553468 | 0358b69dcadbddbd19bb22d28091aca2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69166 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "En3Tho/Something-obviously-useless",
"max_stars_repo_path": "SomethingObviouslyUseless/Benchmarks/Benchmarks/JsonBenchmarks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69167"
} | starcoder | using System;
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.Json;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using En3Tho.HelperClasses;
using En3Tho.HelperClasses.Json;
namespace Benchmarks.Benchm... | 2.143312 | db49f0100ab937aed368bd179a4f4342 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkuryakov/itext7-dotnet",
"max_stars_repo_path": "itext.tests/itext.styledxmlparser.tests/itext/styledxmlparser/css/selector/item/CssPseudoClassDisabledSelectorItemTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69168"
} | starcoder | <reponame>vkuryakov/itext7-dotnet
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software F... | 1.612088 | 46f39dbb7cbb5bf1bc2ceebeafe77b11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69168 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Dusty-Meg/ESIConnectionLibrary",
"max_stars_repo_path": "ESIConnectionLibrary/ESIConnectionLibrary/PublicModels/V1ContractsCharacterItems.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69169"
} | starcoder | namespace ESIConnectionLibrary.PublicModels
{
public class V1ContractsCharacterItems
{
public bool IsIncluded { get; set; }
public bool IsSingleton { get; set; }
public int Quantity { get; set; }
public int? RawQuantity { get; set; }
public long RecordId { get; set; }
... | 1.416147 | 5b81d70c04db6a2cb529852f7db1a7f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsantoss/ServerASMX",
"max_stars_repo_path": "ServerASMX/ServerASMX.Test.Base/Mocks/IntegrationTests/Customers/Requests/CustomerDeleteRequestMock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69170"
} | starcoder | using ServerASMX.Test.Base.CustomerService;
namespace ServerASMX.Test.Base.Mocks.IntegrationTests.Customers.Requests
{
public static class CustomerDeleteRequestMock
{
public static CustomerDeleteCommand GetCustomerDeleteCommand() => new CustomerDeleteCommand()
{
Id = 1
};
... | 1.326621 | 558e7e6b7feebe24d616cbd6892385a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "declard/consuldotnet",
"max_stars_repo_path": "Consul.Test/TestHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69171"
} | starcoder | <filename>Consul.Test/TestHelper.cs
// -----------------------------------------------------------------------
// <copyright file="TestHelper.cs" company="G-Research Limited">
// Copyright 2020 G-Research Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fil... | 2.151991 | d94ee0d6f1eee878a4862865c6bc93bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aolivava/ContractAuditBlockchain",
"max_stars_repo_path": "ContractAuditBlockchain.ClientApp/Views/Account/SetPassword.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69172"
} | starcoder | @model ResetPasswordViewModel
@{
ViewBag.Title = Model.IsReset ? "Set password" : "Create password";
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Change Password</title>
@Styles.Render("~/Content/css")
</head>
<body>
<div class="ce... | 2.304685 | 92251f7fe6b5f44080550077fe9a6677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoogerHaze89/PrimeSonicSubnauticaMods",
"max_stars_repo_path": "MoreCyclopsUpgrades/Managers/ChargeManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69173"
} | starcoder | <gh_stars>0
namespace MoreCyclopsUpgrades.Managers
{
using System.Collections.Generic;
using Common;
using MoreCyclopsUpgrades.API;
using MoreCyclopsUpgrades.API.Charging;
using MoreCyclopsUpgrades.Config;
using MoreCyclopsUpgrades.VanillaModules;
using UnityEngine;
internal class Char... | 1.848584 | 470ffcf2a5438b713dc478f1bec564f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pflausino/backend-challenge",
"max_stars_repo_path": "SquareMetersValue.Domain/Handlers/CalculateSquareMeterAverageByCityQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69174"
} | starcoder | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CSharpFunctionalExtensions;
using MediatR;
using SquareMetersValue.Domain.Core;
using SquareMetersValue.Domain.Infra.Interfaces;
using SquareMetersValue.Domain.Models;
using SquareMetersValue.Domain.Queries;
using SquareMetersValue.Domain.V... | 2.442882 | df7b957bda7a593abec8cd2594689265 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joseluishl123/Ordenes",
"max_stars_repo_path": "XFFurniture/XFFurniture/Models/Subcategorium.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69175"
} | starcoder | <reponame>joseluishl123/Ordenes
using SQLite;
using SwipeMenu.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace XFFurniture.Models
{
public class Subcategorium
{
[PrimaryKey, AutoIncrement]
public int SubcatId { get; set; }
public string SubcatDescrip... | 1.491726 | b1555c62cd9841a9ec7d6348b9287a7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69175 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SuperCables/Mirror",
"max_stars_repo_path": "Assets/Mirror/Runtime/UNetwork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69176"
} | starcoder | <reponame>SuperCables/Mirror<filename>Assets/Mirror/Runtime/UNetwork.cs
using System;
using UnityEngine;
namespace Mirror
{
// Handles network messages on client and server
public delegate void NetworkMessageDelegate(NetworkMessage netMsg);
// Handles requests to spawn objects on the client
public del... | 2.262298 | a127facd5c7e739dfb004f53b063236d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69176 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "covierob/ZurigAR",
"max_stars_repo_path": "Assets/NRSDK/Demos/Input/Scripts/CustomVirtualControlerUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69177"
} | starcoder | /****************************************************************************
* Copyright 2019 Nreal Techonology Limited. All rights reserved.
*
* This file is part ... | 2.188737 | f4d996d2c0a2693b84223f92dad9c3ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/ToolGood.Algorithm",
"max_stars_repo_path": "ToolGood.Algorithm/LitJson/JsonException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69178"
} | starcoder | using System;
namespace ToolGood.Algorithm.LitJson
{
class JsonException : ApplicationException
{
public JsonException() : base()
{
}
internal JsonException(ParserToken token,
Exception inner_exception) :
base(String.Format(
... | 2.832327 | 6814c22a75c14e56947941fc3b138034 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xprasoulas/DinnerApp",
"max_stars_repo_path": "DinnerApp/DinnerApp/Controllers/EntreeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69179"
} | starcoder | using DinnerApp.HelperClasses;
using System;
using System.Linq;
using System.Web.Mvc;
namespace DinnerApp.Controllers
{
public class EntreeController : Controller
{
// GET: Entree
public ActionResult Index()
{
var entree = EntreeManager.GetAll();
return View(ent... | 2.588089 | 20d5afbaa95a71829928c400a18ee393 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69179 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Morasiu/HelloWorldEnterprizeEdition",
"max_stars_repo_path": "HelloWorldEnterpriseEdition/HelloWorldLib/Factories/PrinterFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69180"
} | starcoder | <reponame>Morasiu/HelloWorldEnterprizeEdition<gh_stars>1-10
using System;
using HelloWorldLib.Consoles;
namespace HelloWorldLib.Factories {
/// <summary>
/// Creates different printers
/// </summary>
public class PrinterFactory : IPrinterFactory {
public ConsolePrinter CreateConsolePrinter(ConsoleColor backgrou... | 2.561985 | dcd240ca412bb1ada4f32cc9abd257dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69180 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "johannes-fetz/JoMapEditor",
"max_stars_repo_path": "Silver.UI.ToolBox/ToolBoxItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69181"
} | starcoder | <gh_stars>1-10
//----------------------------------------------------------------------------
// File : ToolBoxItem.cs
// Date : 17/09/2004
// Author : <NAME>
// Email : <EMAIL> ; <EMAIL>
//
// Updates :
// See ToolBox.cs
//
// Legal : See ToolBox.cs
//---------------------------------------------... | 2.146828 | af7006f652889f765708f06492daffea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gcbento/obras-bibliograficas",
"max_stars_repo_path": "ObrasBibliograficas.API/ObrasBibliograficas.Application/Models/Response/PessoaResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69182"
} | starcoder | <reponame>gcbento/obras-bibliograficas<filename>ObrasBibliograficas.API/ObrasBibliograficas.Application/Models/Response/PessoaResponse.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ObrasBibliograficas.Application.Models.Response
{
public class PessoaResponse : BaseModelResponse
... | 1.472719 | d042731c3e69bbcc2aa46ab8159090ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69182 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "garlicsuter/VRBasicBytes-Practice",
"max_stars_repo_path": "Assets/Plugins/WebView/Editor/WebViewPostProcessBuild.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69183"
} | starcoder | #if UNITY_EDITOR
using System.IO;
using System.Xml;
using UnityEditor;
using System.Text;
using UnityEditor.Android;
using UnityEditor.Callbacks;
#if UNITY_IOS
using UnityEditor.iOS.Xcode;
#endif
public class WebViewPostProcessBuild : IPostGenerateGradleAndroidProject
{
public int callbackOrder => 1;
pub... | 1.997079 | ddda6cbb291429a0a9acc236c9d50065 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69183 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "akpaevj/OneSTools.TechLog",
"max_stars_repo_path": "OneSTools.TechLog/LocksInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69184"
} | starcoder | <reponame>akpaevj/OneSTools.TechLog<filename>OneSTools.TechLog/LocksInfo.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text.RegularExpressions;
namespace OneSTools.TechLog
{
public class LocksInfo
{
public ReadOnlyCollection<LocksInfoRegion> Regi... | 2.562768 | 66e58a5e9acfe699d964980810e60fea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69184 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mrtristan/DotNet",
"max_stars_repo_path": "src/Org.Simple/Signature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69185"
} | starcoder | <reponame>mrtristan/DotNet<filename>src/Org.Simple/Signature.cs
using System;
using System.Text;
using System.Security.Cryptography;
namespace Org.Simple
{
public class Signature
{
private String apiKey;
private String apiSecret;
private String clientRequestId;
public String Cli... | 2.86284 | 659ed0764e4981d62930b2e74bf2273f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eProw/Console",
"max_stars_repo_path": "Linear programming/Simplex algorithm/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69186"
} | starcoder | using System;
using System.Text;
namespace LinearProgramming
{
public struct Result
{
public double[,] Table;
public bool[] BasicSolution;
public Result(double[,] table, bool[] basicSolution)
{
Table = table;
BasicSolution = basicSolution;
}
... | 3.301036 | bd7c739988892b6cfbd5836c2b061713 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EG-BRS/Xena.Contracts",
"max_stars_repo_path": "src/Xena.Contracts/ApiRoutes/Chart/SubscriptionChartRoutes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69187"
} | starcoder | namespace Xena.Contracts.ApiRoutes.Chart
{
public class SubscriptionChartRoutes
{
/// <summary>"Fiscal/{fiscalId}/Chart/Subscription/{id}"</summary>
public const string Base = "Fiscal/{fiscalId}/Chart/Subscription";
/// <summary>"ArticleGroupTotals"</summary>
public const strin... | 1.654001 | ab2c294faea23696380346d3ac11413b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeppPenner/blazor-ui",
"max_stars_repo_path": "grid/batch-editing/Pages/Index.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using Microsoft.AspNetCore.Components;
using Telerik.Blazor.Components;
using Telerik.Blazor;
using BatchEditingMimic.Data;
namespace BatchEditingMimic.Pages
{
public class IndexB... | 2.469357 | 702eff63e545e80aae5e76f4532bb65f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akshays2112/SrinokanDreams",
"max_stars_repo_path": "AnimationAux/AnimationClipReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69189"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
namespace AnimationAux
{
public class AnimationClipReader : ContentTypeReader<AnimationClip>
{
protected override AnimationClip Read(C... | 2.208952 | 15fcef4b6c656e909cf919f59f4a77c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69189 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "yavor87/sharpvectors",
"max_stars_repo_path": "Main/Source/Core/SharpVectorCore/Svg/Coordinates/ISvgMatrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69190"
} | starcoder | // <developer><EMAIL></developer>
// <developer><EMAIL></developer>
// <completed>100</completed>
namespace SharpVectors.Dom.Svg
{
/// <summary>
/// Interface for matrix operations used within the SVG DOM
/// </summary>
public interface ISvgMatrix
{
double A { get; set; }
double B { get; set; }
... | 2.472366 | ec1f892d27722f7e62dc44330c75aa67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69190 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/Package/GetVideoFromScene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69191"
} | starcoder | <reponame>moto2002/tianqi_src
using NetWork.Utilities;
using ProtoBuf;
using System;
using System.Collections.Generic;
namespace Package
{
[ForRecv(158), ForSend(158), ProtoContract(Name = "GetVideoFromScene")]
[Serializable]
public class GetVideoFromScene : IExtensible
{
public static readonly short OP = 158;
... | 1.798736 | a1160b44da877a4af9469f5e5aa53e2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69191 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin",
"max_stars_repo_path": "src/Presentation/Nop.Web/Areas/Admin/Models/ShoppingCart/ShoppingCartItemListModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69192"
} | starcoder | using Nop.Web.Framework.Models;
namespace Nop.Web.Areas.Admin.Models.ShoppingCart
{
/// <summary>
/// Represents a shopping cart item list model
/// </summary>
public partial class ShoppingCartItemListModel : BasePagedListModel<ShoppingCartItemModel>
{
}
} | 1.24153 | fecac5e9eaa5d61baae4602ffbf2843c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dongocquy/SlackNet",
"max_stars_repo_path": "SlackNet/SocketMode/CoreSocketModeClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69193"
} | starcoder | <gh_stars>0
using System;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reactive.Threading.Tasks;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using WebSocket4Net;
namespace SlackNet.SocketMode
{
p... | 2.081541 | 3874cf441876a6a6222c403ad310b9e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnnyOneSpeed/SpaceSim",
"max_stars_repo_path": "src/SpaceSim/Spacecrafts/Electron/ElectronS1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69194"
} | starcoder | using System;
using System.Drawing;
using SpaceSim.Engines;
using SpaceSim.Physics;
using VectorMath;
using SpaceSim.Common;
using SpaceSim.Drawing;
using SpaceSim.Spacecrafts.FalconCommon;
namespace SpaceSim.Spacecrafts.Electron
{
class ElectronS1 : SpaceCraftBase
{
public override strin... | 2.082946 | a18a50bd2270573e836493f15fdcc4df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69194 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "ecjtuseclab/Athean",
"max_stars_repo_path": "code/mydal/mydalModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69195"
} | starcoder | <reponame>ecjtuseclab/Athean<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Athena.Idal;
using Ninject;
using Ninject.Modules;
//项目名称:Athena标准开发框架
//版本:0.0.1
//开发团队成员:周庆 王露 张婷婷 陈祚松 张梦丽 艾美珍 胡凯雨 陈兰兰 夏萍萍 康文洋 易传佳
//模块及代码页功能描述:IOC依赖... | 1.350488 | cf7f182718fd19fac29e79f6234b6328 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TemporalWars/TWEngine",
"max_stars_repo_path": "TemporalWars 3D Engine/Dev/XNA_RTS2008/Particles/Enums/ProjectileType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69196"
} | starcoder | #region File Description
//-----------------------------------------------------------------------------
// ProjectileType.cs
//
// <NAME> - XNA Community Game Platform
// Copyright (C) Image-Nexus, LLC. All rights reserved.
//-----------------------------------------------------------------------------
#endregi... | 2.333664 | d6b92fca23b700666b0e6b18d0368c7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69196 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "joch0a/coding-exercises",
"max_stars_repo_path": "InterviewPreparation/MicrosoftExcercises/Easy/FactorialTralingZeroes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69197"
} | starcoder | <reponame>joch0a/coding-exercises<filename>InterviewPreparation/MicrosoftExcercises/Easy/FactorialTralingZeroes.cs
namespace InterviewPreparation.MicrosoftExcercises.Easy
{
class FactorialTralingZeroes
{
public int TrailingZeroes(int n)
{
var total = 0;
while (n > 0)
... | 2.840827 | 56cab05417ba19bf5f998265646dd540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69197 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JoeShook/FusionCacheEventCounters",
"max_stars_repo_path": "src/FusionCache.Plugins.Metrics.Core/ISemanticConventions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69198"
} | starcoder | <reponame>JoeShook/FusionCacheEventCounters
using System.Dynamic;
namespace ZiggyCreatures.Caching.Fusion.Plugins.Metrics.Core
{
/// <summary>
/// Implement this interface to change cache measurement semantics
/// </summary>
public interface ISemanticConventions
{
string MeasurementName { ... | 1.848354 | 6f12062eb3440928bb72c4da6a461e59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VSAlmeida/CriarClasses",
"max_stars_repo_path": "CriarClasses/CriadorBLL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CriarClasses
{
class CriadorBLL
{
public static void validaDados(Criador corrigir)
{
Erro.... | 3.005061 | a540c253de0af427f55cc4e855a3400f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69199 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Web/App_Start/Areas/EarlyWarning/Views/GiftCertificate/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69200"
} | starcoder | @using Cats.Helpers
@using Cats.Security
@using Cats.Services.Security
@using Kendo.Mvc.UI
@model IEnumerable<Cats.Areas.GiftCertificate.Models.GiftCertificateViewModel>
@{
Layout = "~/Views/Shared/_CATSLayout.cshtml";
var user = UserAccountHelper.GetUser(HttpContext.Current.User.Identity.Name);
}
@section... | 2.198004 | 28c0110ba4a7b7dcf38cc1027dd88624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69200 | {
"extension": "c-sharp",
"max_stars_count": "510.0",
"max_stars_repo_name": "Platformus/Platformus",
"max_stars_repo_path": "src/Platformus.Website.Backend/Areas/Backend/Views/Endpoints/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69201"
} | starcoder | <reponame>Platformus/Platformus<filename>src/Platformus.Website.Backend/Areas/Backend/Views/Endpoints/Index.cshtml
@* Copyright © 2020 <NAME>. All rights reserved. *@
@* Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. *@
@model Platformus.Website.Backend.Vie... | 1.836399 | 5730562972b4694b348d569d0f12aa4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xcitestudios/csharp-network",
"max_stars_repo_path": "com/xcitestudios/Network/Server/Connection/AMQPConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69202"
} | starcoder | <filename>com/xcitestudios/Network/Server/Connection/AMQPConnection.cs
namespace com.xcitestudios.Network.Server.Connection
{
using com.xcitestudios.Network.Server.Configuration.Interfaces;
using RabbitMQ.Client;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Tex... | 2.41169 | fd23c5a824dc970aa8870731124c400e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nodegem/nodegem",
"max_stars_repo_path": "Data/Dto/EmailDtos/ResetPasswordEmailDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69203"
} | starcoder | <gh_stars>1-10
namespace Nodegem.Data.Dto.EmailDtos
{
public class ResetPasswordEmailDto
{
public string Username { get; set; }
public string Email { get; set; }
}
} | 1.32439 | ecd82525b849fa07408b60b83751b93d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kryptand/frugaltastic",
"max_stars_repo_path": "Services/APIGateway/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69204"
} | starcoder | using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Ocelot.DependencyInjection;
using Ocelot.Middleware;
using CacheManager.Core;
namespace APIGateway
{
public cla... | 2.074192 | d88fa0d9debb099a06443ad9c235c4d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69204 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abdul-qadirdeveloper/fluentpos",
"max_stars_repo_path": "src/server/Modules/People/Modules.People.Core/Entities/ExtendedAttributes/CartItemExtendedAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69205"
} | starcoder | <reponame>abdul-qadirdeveloper/fluentpos
using System;
using FluentPOS.Shared.Core.Domain;
namespace FluentPOS.Modules.People.Core.Entities.ExtendedAttributes
{
public class CartItemExtendedAttribute : ExtendedAttribute<Guid, CartItem> { }
} | 0.911938 | 6bafa2c96331984422561a1a0d62816c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scoriani/graphql-serverless",
"max_stars_repo_path": "src/graphql-serverless-func/Model/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69206"
} | starcoder | <filename>src/graphql-serverless-func/Model/Customer.cs
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace grapql_serverless
{
public class Customer
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Ident... | 2.268795 | 823762d32ba4f80843bf7b27e7e7a4d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69206 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "YersonSolano/CocosSharp",
"max_stars_repo_path": "tests/tests/classes/tests/Box2DTestBet/Tests/DestructibleTerrainYuPengTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69207"
} | starcoder | #if NETFX_CORE
using System.Collections.Generic;
#endif
using System.Linq;
using FarseerPhysics.Collision;
using FarseerPhysics.Collision.Shapes;
using FarseerPhysics.Common;
using FarseerPhysics.Common.Decomposition;
using FarseerPhysics.Common.PolygonManipulation;
using FarseerPhysics.Dynamics;
using FarseerPhysics.F... | 2.040493 | ed41f7f0f0defb512bc4a1ee8396a98d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69207 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "erenpinaz/Blogfolio",
"max_stars_repo_path": "ErenPinaz.Common/Services/Email/IEmailService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69208"
} | starcoder | using System.Net.Mail;
using System.Threading.Tasks;
/* Credits: https://github.com/andrewdavey/postal */
namespace ErenPinaz.Common.Services.Email
{
public interface IEmailService
{
/// <summary>
/// Sends a <see cref="MailMessage" />
/// </summary>
/// <param name="email"></... | 2.376576 | e81e1290fffc900d92e579f604894a90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69208 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "sergioruizdeveloper/Aspose.Cells-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Articles/WorkingWithCalculationEngine/ReturnRangeOfValuesUsingAbstractCalculationEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69209"
} | starcoder | <reponame>sergioruizdeveloper/Aspose.Cells-for-.NET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace Aspose.Cells.Examples.CSharp.Articles.WorkingWithCalculationEngine
{
// ExStart:CustomFunctionStaticValue
public class CustomFu... | 3.002544 | 1bc94de99e44b63bcafec03f56fa2304 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69209 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LazyTarget/Lux",
"max_stars_repo_path": "src/Lux/Model/Interfaces/IArrayModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69210"
} | starcoder | using System.Collections;
using System.Collections.Generic;
namespace Lux.Model
{
public interface IArrayModel : IModel
{
IEnumerable<object> Items();
void AddItem(object item);
void ClearItems();
}
public interface IArrayModel<TItem> : IArrayModel
{
new ... | 2.245061 | 9e34265a2e4116d688281eb805580dba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickell-andrew/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/Model/Content/Core/Upgrade/UpgradeCardRestrictions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69211"
} | starcoder | using Ship;
using System.Collections.Generic;
using System.Linq;
using Actions;
using Arcs;
using System;
namespace Upgrade
{
public abstract class UpgradeCardRestriction
{
public abstract bool IsAllowedForShip(GenericShip ship);
}
public class FactionRestriction: UpgradeCardRestriction
{... | 2.834463 | 99483cf418fafb8f7c2c159a2a288c84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FahadSProgramming/BugLog",
"max_stars_repo_path": "BugLog.Application/Infrastructure/CasesEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69212"
} | starcoder |
using System.Text.Json.Serialization;
namespace BugLog.Application.Infrastructure
{
public enum CaseStatusEnum
{
Draft = 1,
Active = 2,
InProgress = 3,
OnHold = 4,
Canceled = 5,
Resolved = 6
}
public enum CasePriorityEnum {
Low = 1,
Medi... | 1.866999 | ac5606d67d4330d872aefd6763867c9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69212 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "toycode/WPF-Blocky",
"max_stars_repo_path": "ScratchNet/util/Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69213"
} | starcoder | <filename>ScratchNet/util/Serialization.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Xml;
namespace ScratchNet
{
class Serialization
{
private static XmlNode C... | 2.97204 | cc055cc5da8ab1b83c07f4c51e414c71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69213 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elzin/SentimentAnalysisService",
"max_stars_repo_path": "Sources/TextMining/TonalityMarking/Implementation/TonalityMarking.WcfService/Dictionaries/(backupII)/MultiWordDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69214"... | starcoder | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
namespace TonalityMarking
{
internal class MultiWordDictionary
{
private Dictionary< string, IList< string[] > > _Dictionary;
public MultiWordDictionary( string fileName )
{
fileName.Throw... | 3.39992 | c1cb0146d1b92f954ee8c49dfb18fc19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69214 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "PC-Axis/PxStat",
"max_stars_repo_path": "server/PxStat/Entities/System/Navigation/Alert/BSO/Alert_BSO_Update.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69215"
} | starcoder | <reponame>PC-Axis/PxStat
using API;
using PxStat.Entities.System.Navigation.AlertLanguage;
using PxStat.Security;
using PxStat.Template;
namespace PxStat.System.Navigation
{
/// <summary>
/// Update an alert
/// </summary>
internal class Alert_BSO_Update : BaseTemplate_Update<Alert_DTO, Alert_VLD_Upda... | 1.937443 | 6ffb894a55aa2039551dea3a93710a13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikebmcl/ReactiveUIUnoSample",
"max_stars_repo_path": "Uno.UITest.Helpers/AppDataMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69216"
} | starcoder | <gh_stars>0
namespace Uno.UITest.Helpers
{
public enum AppDataMode
{
//
// Summary:
// Default behavior depending on platform.
Auto,
//
// Summary:
// Always clear app data.
Clear,
//
// Summary:
// Never clear app data.
DoNotClear
}
}
| 1.365669 | 5f130afe6d2df9dc274e5070ef7eb7c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69216 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MagiZile/Acadiverse",
"max_stars_repo_path": "windows-desktop/MagiZile.CustomUI/CustomTitleBar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69217"
} | 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 MagiZile.CustomUI
{
public partial class CustomTitleBar : UserControl
{
public... | 2.161189 | 81dcad0b02202a5c11ba61a1dd420a1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69217 | {
"extension": "c-sharp",
"max_stars_count": "1182.0",
"max_stars_repo_name": "Unroll-Me/DotNetOpenAuth",
"max_stars_repo_path": "src/DotNetOpenAuth.Test/Messaging/Reflection/MessagePartTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69218"
} | starcoder | <gh_stars>1000+
//-----------------------------------------------------------------------
// <copyright file="MessagePartTests.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
... | 2.065573 | 63b19e3b1f08fcd6d904b0aa695d1b99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emmanuel-karanja/KibeberiUniversity",
"max_stars_repo_path": "Infrastructure/Tags/DefaultDisplayLabelBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69219"
} | starcoder | <reponame>emmanuel-karanja/KibeberiUniversity
using System.Linq;
using System.Text.RegularExpressions;
using HtmlTags;
using HtmlTags.Conventions;
using HtmlTags.Conventions.Elements;
namespace KibeberiUniversity.Infrastructure.Tags
{
public class DefaultDisplayLabelBuilder : IElementBuilder
{
public b... | 2.502503 | a0b7a120ab44b3200c42b05518155071 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69219 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "commonprovider/CommonProvider",
"max_stars_repo_path": "Examples/CommonProvider.Example/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69220"
} | starcoder | <reponame>commonprovider/CommonProvider<filename>Examples/CommonProvider.Example/Program.cs
using System;
using CommonProvider.Example.Lib;
using CommonProvider.Example.Lib.ZeroConfigProviders;
using CommonProvider.Example.Lib.Providers;
namespace CommonProvider.Example
{
class Program
{
static void M... | 3.067923 | 82d3fc3305a2ab754eb567141ec89820 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "testandattack/HttpWebTester",
"max_stars_repo_path": "WebTestRules/ExtractCreationId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69221"
} | starcoder | <filename>WebTestRules/ExtractCreationId.cs
using GTC.Extensions;
using HttpWebTesting.CoreObjects;
using HttpWebTesting.Enums;
using HttpWebTesting.Rules;
using Serilog;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace WebTestRules
{
public class ExtractCreationId... | 2.666618 | dd34aa8f86ed57c11bf425a6ea7d2010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69221 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/TriggerBindings/SignalRTriggerEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69222"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Azure.WebJobs.Extensions.SignalRService
{
/// <summary>
/// A class contains constant strings that represents different trigger event type.
/// </summary>
public static class SignalRTrig... | 2.028225 | 36b8dc1bb79616ff89f12f3f0f89056a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69222 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "ITfoxtec/FoxIDs",
"max_stars_repo_path": "src/FoxIDs.ControlClient/Models/ViewModels/Parties/FilterPartyViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69223"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace FoxIDs.Client.Models.ViewModels
{
public class FilterPartyViewModel
{
/// <summary>
/// Search by party name.
/// </summary>
[MaxLength(Constants.Models.Party.NameLength)]
[Display(Name = "Search party")]
pu... | 1.890987 | 5fd2f829ec22ac6fa42a40b31ff8cabd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashokapol/inferno4proteomics",
"max_stars_repo_path": "Inferno/DataIO/frmSelectExcelSheet.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69224"
} | starcoder | <gh_stars>0
namespace DAnTE.Tools
{
partial class frmSelectExcelSheet
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </sum... | 1.557599 | aac43ce7b1c769df755b57e12b3b2ff0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69224 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hyeongukryu/WaterTurret",
"max_stars_repo_path": "host/WaterTurret/WaterTurret.Module/Services/CoreService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69225"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using AForge;
using System.IO;
using WaterTurret.Module.Models;
using System.Runtime.InteropServices;
using OpenCvSharp;
namespace WaterTurret.Module.Services
{
public class CoreService :... | 2.196016 | 6c9c2b9364ca0d1af11ed40d2447c039 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69225 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Potapy4/Pacco.APIGateway",
"max_stars_repo_path": "src/Pacco.APIGateway/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69226"
} | starcoder | <reponame>Potapy4/Pacco.APIGateway<gh_stars>10-100
using System;
using System.Linq;
using System.Threading.Tasks;
using Convey;
using Convey.Logging;
using Convey.Metrics.AppMetrics;
using Convey.Security;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions... | 1.706744 | 6a241dc89fd56e725308ecdcf0154075 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtt129/LeetCode",
"max_stars_repo_path": "C#/GroupAnagrams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69227"
} | starcoder | <gh_stars>0
public class Solution {
public IList<IList<string>> GroupAnagrams(string[] strs) {
if( null == strs || strs.Length == 0) return null;
IList<IList<string>> ans = new List<IList<string>>();
Dictionary<string, int> index = new Dictionary<string, int>();
int count = 0;
... | 3.260657 | e5814cf3e99321152abf278895e7f2ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69227 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "fernandoescolar/RoutingRecords",
"max_stars_repo_path": "tests/RoutingRecords.IntegrationTests/TestServer/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69228"
} | starcoder | <filename>tests/RoutingRecords.IntegrationTests/TestServer/Startup.cs<gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
namespace RoutingRecords.IntegrationTests.TestServer
{
public class Start... | 1.866637 | 8fb412fe36dbadf0c3e86e83bf3a17e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jnm2/PropertyChangedAnalyzers",
"max_stars_repo_path": "PropertyChangedAnalyzers.Test/INPC007MissingInvokerTests/CodeFix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69229"
} | starcoder | namespace PropertyChangedAnalyzers.Test.INPC007MissingInvokerTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public static class CodeFix
{
private static readonly DiagnosticAnalyzer Analyzer = new ... | 1.932949 | b7a21721394d5cad0767418bb2f91f53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechnologicalPizza/MonoGame",
"max_stars_repo_path": "MonoGame.Framework/Graphics/States/DepthFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69230"
} | starcoder | // MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
namespace MonoGame.Framework.Graphics
{
/// <summary>
/// Defines formats for depth-stencil buffer.
/// </summary>
publ... | 2.690452 | 35148bd924272460c082728b85f85a5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tpiotrowski/PodiumClock",
"max_stars_repo_path": "Client/src/ClockClient.Common/StartClockClientTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69231"
} | starcoder | <reponame>tpiotrowski/PodiumClock
namespace ClockClient
{
public class StartClockClientTask
{
}
public class StopClockClientTask
{
}
public class ClientConnectionStatus
{
public bool IsConnected { get; set; }
}
} | 1.356765 | 519dce894c959eb1c46842d865972599 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69231 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "khtan/Hands-On-Microservices-with-CSharp",
"max_stars_repo_path": "MicroServiceEcoSystem/TrelloMicroService/TrelloIds.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69232"
} | starcoder | <filename>MicroServiceEcoSystem/TrelloMicroService/TrelloIds.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrelloMicroService
{
/// <summary> A trello identifiers. </summary>
public static class TrelloIds
{
//////... | 2.212475 | b6372db78bebc85b89d374c4310dc703 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69232 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "JTOne123/FatturaElettronica.NET",
"max_stars_repo_path": "Test/Ordinaria/DatiConvenzioneValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69233"
} | starcoder | <filename>Test/Ordinaria/DatiConvenzioneValidator.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FatturaElettronica.Ordinaria.FatturaElettronicaBody.DatiGenerali;
namespace FatturaElettronica.Test.Ordinaria
{
[TestClass]
public class DatiConvenzioneValidator
: BaseDatiDocumentoValidator<... | 1.324987 | d99a9e6283d55924f0d5d628e5e5991f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.