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 | 3937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "habib535/KitchenSink-SortableList",
"max_stars_repo_path": "src/KitchenSink/PersonTestData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3938"
} | starcoder | using Starcounter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KitchenSink
{
static class PersonTestData
{
public static bool Exists()
{
var exists = Db.SQL<Person>("SELECT p FROM Person p FETCH ?", 1... | 2.756623 | 0d4ac7f5f0d2732e409944074cdeb981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajkfds/pluginVerilog",
"max_stars_repo_path": "Data/IVerilogRelatedFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3939"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace pluginVerilog.Data
{
public interface IVerilogRelatedFile : codeEditor.Data.ITextFile
{
Verilog.ParsedDocument VerilogParsedDocument { get; }
ProjectPrope... | 0.931969 | b6f5156f13f7f5d73243652213910de1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3939 | {
"extension": "c-sharp",
"max_stars_count": "727.0",
"max_stars_repo_name": "Mu-L/luban-1",
"max_stars_repo_path": "src/Luban.Job.Cfg/Source/TypeVisitors/EditorUeCppLoadVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3940"
} | starcoder | <reponame>Mu-L/luban-1
using Luban.Job.Common.Types;
using Luban.Job.Common.TypeVisitors;
using System;
namespace Luban.Job.Cfg.TypeVisitors
{
class EditorUeCppLoadVisitor : ITypeFuncVisitor<string, string, string>
{
public static EditorUeCppLoadVisitor Ins { get; } = new EditorUeCppLoadVisitor();
... | 2.014097 | 1783353db8da73c2645fe1baf7aa4a59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3940 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jorik041/MatomoDeviceDetector.NET",
"max_stars_repo_path": "MatomoDeviceDetector.NET/Class/Client/MobileApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3941"
} | starcoder | <gh_stars>1-10
using YamlDotNet.Serialization;
namespace MatomoDeviceDetectorNET.Class.Client
{
public class MobileApp: IClientParseLibrary
{
[YamlMember(Alias = "regex")]
public string Regex { get; set; }
[YamlMember(Alias = "name")]
public string Name { get; set; }
[Ya... | 1.586824 | 9ae0764726711569fd9c1cdce968788f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mu-L/SHFB",
"max_stars_repo_path": "SHFB/Source/ReflectionDataManager/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3942"
} | starcoder | //===============================================================================================================
// System : Sandcastle Reflection Data Manager
// File : App.xaml.cs
// Author : <NAME> (<EMAIL>)
// Updated : 05/27/2021
// Note : Copyright 2015-2021, <NAME>, All rights reserved
//
// Th... | 2.257238 | dbd8f838754adf1440085fd013c8f753 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3942 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "GabrielFrigo4/SDL-Sharp",
"max_stars_repo_path": "Exemples/SDL_PLUS_EXTENSIONS/SDL_PLUS_EXTENSIONS/SDL-Sharp/SDL_image/IMG.Animation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3943"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace SDL_Sharp.Img
{
[StructLayout(LayoutKind.Sequential)]
public struct Animation
{
public int Width;
public int Height;
public IntPtr Frames; /* SDL_Surface** */
public IntPtr Delays; /* int* */
}
public static unsafe partial class IMG
{
#... | 2.313457 | 30501c85cc7cb9d48c1c515ddabea354 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kapusch/Plugin.Firebase",
"max_stars_repo_path": "src/iOS/Extensions/DictionaryExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3944"
} | starcoder | <filename>src/iOS/Extensions/DictionaryExtension.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using Plugin.Firebase.Firestore;
namespace Plugin.Firebase.iOS.Extensions
{
public static class DictionaryExtension
{
public static NSDictio... | 2.951361 | 2844d9f73b1ac1420cc47a3cfd3eead9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronnysuero/license-app",
"max_stars_repo_path": "Domain/Interfaces/Cubicacion/ICubicacionMesaService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3945"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Sigede.Domain.Models;
namespace Sigede.Domain.Interfaces.Cubicacion
{
public interface ICubicacionMesaService
{
CubicacionMesaModel GetMesa(int idCubicacion, short idProceso);
int PostMesa(CubicacionMesaModel data);
List<CubicacionMes... | 1.256723 | 589f4b31c44bfa916f17143465239b28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3945 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "RadicalFx/Radical",
"max_stars_repo_path": "src/Radical/Extensions/Reflection/ObjectExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3946"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Reflection;
namespace Radical.Reflection
{
/// <summary>
/// Defines a delegate.
/// </summary>
/// <returns>A value.</returns>
public delegate object Function();
/// <summary>
/// Object extensions for Fast property getters based ... | 3.209604 | 4c3c88fc7c5f4560946118cd3af2f50a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jennyxiaqc/SuperMarket",
"max_stars_repo_path": "Xy.SuperMarket/Xy.SuperMarket.WebApp/Views/Shared/ProductSummary.Mobile.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3947"
} | starcoder | @model Xy.SuperMarket.Domain.Entities.Product
<div data-role="collapsible" data-collapsed="false" data-content-theme="c">
<h2>
@Model.Name
</h2>
<div class="ui-grid-b">
<img class="img-thumbnail" width="50" height="50"
src="@Url.Action("GetImage", "Product",new { Model.Product... | 2.452799 | fff292f25d9947c7964080ec29214888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martincooper/ThreadSpark",
"max_stars_repo_path": "src/ThreadSpark.Core.Tests/ThreadSpark.Core.Tests/ConcurrentFunctionRunnerExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3948"
} | starcoder | using NUnit.Framework;
using ThreadSpark.Core.Extensions;
namespace ThreadSpark.Core.Tests
{
[TestFixture]
public class ConcurrentFunctionRunnerExtensionsTests
{
[Test]
public void TestThreeTupleResultsAreInCorrectOrder()
{
var runner = new ConcurrentFunctionRunner(3);... | 2.886809 | b79201517fb57d005d74bfe1a1538b7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3948 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DiyanPalov/C-SHARP-Advanced-Problems",
"max_stars_repo_path": "StacksAndQueues/WeightedUniformStrings/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3949"
} | starcoder | <filename>StacksAndQueues/WeightedUniformStrings/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
namespace WeightedUniformStrings
{
class Program
{
static void Main(string[] args)
{
string s = Console.ReadLine();
int queriesCount = Convert.ToIn... | 3.745754 | 7d69b63555ffd4c5422ec12d53811afc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3949 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ajlopez/AjTalk",
"max_stars_repo_path": "Src/AjTalk/Language/DotNetObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3950"
} | starcoder | namespace AjTalk.Language
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
public class DotNetObject
{
private static Dictionary<string, IMethod> binaryMethods = new Dictionary<string, IMethod>();
... | 2.823682 | e372a2eedcc670fa922d54d6fc447b96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3950 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Buffes/ecosystem",
"max_stars_repo_path": "Assets/Scripts/CameraControl/CameraMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3951"
} | starcoder | using Unity.Entities;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.InputSystem;
namespace Ecosystem.CameraControl
{
public class CameraMovement : MonoBehaviour
{
[SerializeField]
[Tooltip("How fast the camera moves around with the keyboard controls")]
private fl... | 2.402924 | bc1e2a9a1cd7fc48b67d89dbc0ca1674 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Refsa/CustomWorlds_ECS",
"max_stars_repo_path": "Runtime/Examples/CustomWorldBootstrapExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3952"
} | starcoder | <gh_stars>1-10
#define CREATE_DEAFULT_WORLD
namespace Refsa.CustomWorld.Examples
{
public class CustomWorldBootstrapExample : CustomBootstrapBase<CustomWorldType, CustomWorldTypeAttribute>
{
}
} | 1.079811 | c48e6e88afa3bba1cc781db55e87bfc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karamem0/Kanpuchi",
"max_stars_repo_path": "source/Kanpuchi.Universal/Interactivity/MessangerBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3953"
} | starcoder | <gh_stars>0
using Karamem0.Kanpuchi.Infrastructure;
using Microsoft.Xaml.Interactivity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
namespace Karamem0.Kanpuchi.Interactivity {
/// <summary... | 2.147758 | 767d15bd649ffd07b7aa139a1ec2da71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3953 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JulianWolfgangVonRoete/MATE",
"max_stars_repo_path": "Mate.DataCore/Interfaces/ISimulationProductionOrderWorkSchedule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3954"
} | starcoder | using Mate.DataCore.DataModel;
namespace Mate.DataCore.Interfaces
{
public interface ISimulationProductionOrderWorkSchedule
{
int HierarchyNumber { get; set; }
int Start { get; set; }
int End { get; set; }
int? ProductionOrderId { get; set; }
T_ProductionOrder Productio... | 1.496024 | db197bbdccbf74792cbb24848ada8e2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enisn/devnot-mentor-back-end",
"max_stars_repo_path": "Devnot.Mentor.Api/Controllers/MenteeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3955"
} | starcoder | using DevnotMentor.Api.ActionFilters;
using DevnotMentor.Api.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using DevnotMentor.Api.CustomEntities.Request.MenteeRequest;
using DevnotMentor.Api.Helpers.Extensions;
namespace DevnotMentor.Api.Controllers
{
[ValidateModelState]
... | 1.993772 | c6aa690a1568e7e4e68e997e2692f084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3955 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NHS111Online/nhs111-online",
"max_stars_repo_path": "NHS111/NHS111.Web/App_Start/RouteConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3956"
} | starcoder | using System.Web.Mvc;
using System.Web.Routing;
namespace NHS111.Web
{
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapMvcAttributeRoutes();
routes.Ma... | 1.996755 | 1f5f879b16ad4d1ee1d152bf3e75d0ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3956 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jtschuster/runtime",
"max_stars_repo_path": "src/libraries/System.Private.CoreLib/src/System/Numerics/IFloatingPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3957"
} | starcoder | <filename>src/libraries/System.Private.CoreLib/src/System/Numerics/IFloatingPoint.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Numerics
{
/// <summary>Defines a floating-point type.</summary>
/// <ty... | 2.883139 | a6d709c3bb37334fd0c99f362dae730e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markjackmilian/spaf101",
"max_stars_repo_path": "spaf101/awesomeapp.spaf/Spaf/Navigation/Abstraction/IAmLoadable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3958"
} | starcoder | using System.Collections.Generic;
namespace Bridge.Navigation
{
public interface IAmLoadable
{
/// <summary>
/// Called when navigate to this controller
/// </summary>
/// <param name="parameters"></param>
void OnLoad(Dictionary<string, object> parameters);
/// ... | 2.335056 | 5527862c45e1b5b3367bfdb33a651cb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3958 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Viridovics/pinvoke",
"max_stars_repo_path": "src/User32/User32+MapVirtualKeyTranslation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3959"
} | starcoder | <reponame>Viridovics/pinvoke
// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="MapVirtualKeyTranslation"/> nested type.
/// </content>
... | 2.128315 | 01d8cdb2fd3da29e40522b04cdee4829 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamessmckay/Ed-Fi-ODS",
"max_stars_repo_path": "Application/EdFi.Ods.Tests/EdFi.Ods.Entities.Common/Models/ProfileResourceModelProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3960"
} | starcoder | <reponame>jamessmckay/Ed-Fi-ODS
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Col... | 1.726759 | 21f1311ab9c5d7a345d82f1085c36f95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philipbawn/MudBlazor",
"max_stars_repo_path": "src/MudBlazor/Components/NavMenu/MudNavLink.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3961"
} | starcoder | <reponame>philipbawn/MudBlazor<filename>src/MudBlazor/Components/NavMenu/MudNavLink.razor.cs
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using MudBlazor.Interfaces;
using MudBlazor.Utilities;
namespace M... | 2.038894 | 91aa78f1b9f4e5156ff5da26c206023d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DumanBG/Selenium_Homeworks",
"max_stars_repo_path": "LastEditionalHomeWorkPageObjectModel/GoogleSeachSeleniumFirstResult/Tests/SoftUniQaTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3962"
} | starcoder |
using GoogleSeachFirstResult.Pages.SoftUniQA;
using GoogleSeachFirstResult.Tests;
using NUnit.Framework;
using OpenQA.Selenium;
using System;
using System.Net.Http.Headers;
using System.Threading;
namespace SoftUniQaTest.Tests
{
public class SoftUniQaTest : BaseTest
{
[SetUp]
public void... | 1.806262 | 27e169395cd23175217d0273187a2df1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3962 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "huruiyi/CSharpExample",
"max_stars_repo_path": "CSharpExample/CSharpBasic/HuUtils/Model/Student.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3963"
} | starcoder | <gh_stars>1-10
namespace HuUtils.Model
{
internal class Student
{
public string Name { get; set; }
public string Sex { get; set; }
public int Age { get; set; }
public string Address { get; set; }
public Student(string name, string sex, int age, string address)
... | 2.384938 | 729e7c8c6d2d6adf3c0b89be629ec5ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Tools.ChainalysisHistoryExporter",
"max_stars_repo_path": "src/Lykke.Job.ChainalysisHistoryExporter/Common/IBlockchainsProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3964"
} | starcoder | namespace Lykke.Job.ChainalysisHistoryExporter.Common
{
public interface IBlockchainsProvider
{
Blockchain GetByBilIdOrDefault(string bilId);
Blockchain GetBitcoin();
Blockchain GetEthereum();
Blockchain GetLiteCoin();
Blockchain GetBitcoinCash();
Blockchain GetR... | 1.334302 | 4ca78a8d0690826c5f78775f1f20bc58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3964 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "alexandrebl/DesignPatternsGoF",
"max_stars_repo_path": "BuilderDesignPattern/Processors/CalculaValor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3965"
} | starcoder | using System;
using System.Linq;
namespace BuilderDesignPattern.Processors
{
using Domain;
using Domain.ValueObject;
public class CalculaValor : ICalculaValor
{
public void DefineValor(Pizza pizza)
{
var totalIngradientes = Enum.GetValues(typeof(IngredientesType)).Cast<Enu... | 3.247826 | 928beb7aef1a58a8ad1eff41d4953b79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sandro98-ctrl/Sistema-Gerenciamento-Processos",
"max_stars_repo_path": "Gerenciador.Processos/Gerenciador.Processos.Data/Pagination/PageableFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3966"
} | starcoder | namespace Gerenciador.Processos.Data.Pagination
{
public class PageableFilter
{
public int PageNumber { get; init; }
public int PageSize { get; init; }
}
}
| 1.715702 | d9961899f6155619d2acbb53ba26a901 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3966 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "SimHacker/UnityJS",
"max_stars_repo_path": "Libraries/UnityJS/Libraries/UnityJS/Scripts/Bridge/BridgeTransportWebView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3967"
} | starcoder | <reponame>SimHacker/UnityJS
////////////////////////////////////////////////////////////////////////
// BridgeTransportWebView.cs
// Copyright (C) 2018 by <NAME>, Ground Up Software.
#if !(UNITY_EDITOR && USE_CEF) && !(UNITY_WEBGL && !UNITY_EDITOR)
using System.Collections;
using System.Collections.Generic;
using S... | 1.715941 | 376b3593c91e0db6e6b8fe738b1c5e6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3967 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "chinayou25/Seal-Report",
"max_stars_repo_path": "Projects/SealReportDesigner/Control/RestrictionsPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3968"
} | starcoder | //
// Copyright (c) <NAME>, <NAME> (<EMAIL>), http://www.sealreport.org.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0..
//
using System;
using System.Collections.Generic;
using System.Compo... | 1.725304 | ac825fee540ab2a9d236ec4ad13c1c26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rusty-Shackleford/MonoGame.Forms",
"max_stars_repo_path": "Monogame.Forms/Services/KVM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3969"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.Input.InputListeners;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// NOTE: I am not sure if this class needs to exist at this time, or
// if KVM will j... | 2.257505 | e14f0307e0d34d729de31bdfabb98501 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3969 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Cascadia-Connections/gybitg",
"max_stars_repo_path": "gybitg/Models/Repositories/IAthleteRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3970"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace gybitg.Models.Repositories
{
public interface IAthleteRepository
{
IQueryable<AthleteProfile> athleteProfiles { get; }
IQueryable<AthleteStats> athleteStats { get; }
}
}
| 1.705342 | f55e0f8a16dd78c0bae56d2e0c32a20f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dennis-Koch/ambeth",
"max_stars_repo_path": "ambeth/Ambeth.Persistence.API/ambeth/persistence/IPermissionGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3971"
} | starcoder | using System;
namespace De.Osthus.Ambeth.Persistence
{
public interface IPermissionGroup
{
ITable Table { get; }
ITable TargetTable { get; }
IFieldMetaData PermissionGroupFieldOnTarget { get; }
IFieldMetaData UserField { get; }
IFieldMetaData PermissionGroupField { g... | 1.319956 | 9e7241ede128c5963e427ae364f5f43c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3971 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Memoyu/elsa-core",
"max_stars_repo_path": "src/activities/Elsa.Activities.Http/Bookmarks/HttpEndpointBookmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3972"
} | starcoder | <filename>src/activities/Elsa.Activities.Http/Bookmarks/HttpEndpointBookmark.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Elsa.Bookmarks;
using Microsoft.AspNetCore.Http;
namespace Elsa.Activities.Http.Bookmarks
{
public record HttpEndpointBoo... | 2.491744 | c05acb85e45bbd3899ea4e6ebcc04d44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3972 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SimonCropp/NServiceBus.Utf8Json",
"max_stars_repo_path": "src/NServiceBus.Utf8Json/JsonMessageSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3973"
} | starcoder | <reponame>SimonCropp/NServiceBus.Utf8Json
using NServiceBus;
using NServiceBus.MessageInterfaces;
using NServiceBus.Serialization;
using Utf8Json;
class JsonMessageSerializer :
IMessageSerializer
{
IMessageMapper messageMapper;
public JsonMessageSerializer(
IMessageMapper messageMapper,
I... | 2.490785 | afc4022926abbf51246f49d9c1defbc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timmyreilly/draco",
"max_stars_repo_path": "src/draco/core/Core.Execution/Interfaces/IInputObjectOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3974"
} | starcoder | <reponame>timmyreilly/draco<gh_stars>0
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Draco.Core.Execution.Interfaces
{
/// <summary>
/// Defines common options for creating input object accessors.
/// For more information on input objects, see /doc/arch... | 2.010761 | cab020ac3eea76c46b4788f7794294da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rougemeilland/SevenZip.Compression.Wrapper.NET",
"max_stars_repo_path": "SevenZip.Compression/Deflate64/Deflate64Encoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3975"
} | starcoder | <reponame>rougemeilland/SevenZip.Compression.Wrapper.NET
using SevenZip.IO;
using SevenZip.NativeInterface;
using SevenZip.NativeInterface.Compression;
using System;
using System.IO;
namespace SevenZip.Compression.Deflate64
{
/// <summary>
/// A class of Deflate64 encoders.
/// </summary>
public class... | 2.385286 | 75897a2a09c9c95f8481f340e9e401fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ronaldoasevedo/safeleads.multitenant",
"max_stars_repo_path": "samples/ASP.NET Core 3/HttpRemoteStoreSample/HttpRemoteStoreSample/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3976"
} | starcoder | @model TenantInfo
@{
ViewData["Title"] = "Http Remote Store Sample";
}
@if(Model != null)
{
<h3 class="mt-4">TenantInfo Values</h3>
<table class="table">
<thead>
<tr>
<th style="width:25%">Property</th>
<th>Value</th>
</tr>
</thead>... | 2.932213 | f9d228bb11440edf6e193dc2ddaf3f44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "042020-dotnet-uta/kingsleyOnonachi_repo1",
"max_stars_repo_path": "Project1/Models/AdmCustomerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3977"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Mvc.Rendering;
using MvcProject1.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace MvcProject1.Models
{
... | 1.530729 | 17744d34f9c6b7c8468b86fb399ea381 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshwingreene/Revature-Dev-Tribune-Continued",
"max_stars_repo_path": "rdt_api_mvc_angular/aspnet_mvc/MvcApp.Client/Controllers/AuthorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3978"
} | starcoder | <reponame>joshwingreene/Revature-Dev-Tribune-Continued
using System;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net.Http.Json;
using MvcApp.Client.Models.Author;
using System.Collections.Generic;
using Newtonsoft.Json;
using MvcApp.Client.Models.Shared;
using Micro... | 2.18975 | 0b0920f323381e9c54376200ec21430f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stack-overflow/word_automaton",
"max_stars_repo_path": "WordAutomationSharp/WordAutomationSharp/SentenceFileReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3979"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WordAutomationSharp {
public class SentenceFileReader{
//private readonly StreamReader ifs;
private Queue<string> sentenceBuffer;
priva... | 3.030023 | 84d5305570b8b300855ffb3833b88e17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3979 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "GalacticGlum/GlumEngine2D",
"max_stars_repo_path": "GlumEngine2D/Transform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3980"
} | starcoder | using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlumEngine2D
{
public class Transform
{
public Vector2 Position { get; set; }
public float Rotation { get; set; }
public Vector2 LocalScale { get;... | 2.893613 | 58f91426d88704e68a9d7385f0353bb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3980 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "jayj/mixpanel-csharp",
"max_stars_repo_path": "src/Mixpanel/Mixpanel.Tests/MixpanelClient/MixpanelClientSendJsonTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3981"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace Mixpanel.Tests.MixpanelClient
{
[TestFixture]
public class MixpanelClientSendJsonTests : MixpanelClientTestsBase
{
[Test]
public void When_SendSync_Then_Corr... | 2.312416 | 8c92ac6340ab81fd4c2a402b16840c44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3981 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "isukces/EfCore.Shaman",
"max_stars_repo_path": "src/EfCore.Shaman/_backCompat/RelationalCompatibility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3982"
} | starcoder | <reponame>isukces/EfCore.Shaman
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace EfCore.Shaman
{
public sealed class RelationalCompatibility
{
public RelationalCompatibility(IEntityType entity)
{
_entity = entity;
}
... | 2.265893 | 34592611882c8d93388a9b70fe345af2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3982 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brenpike/Chatter",
"max_stars_repo_path": "src/Chatter.CQRS/tests/Queries/UsingQueryDispatcher/WhenDispatchingGenericQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3983"
} | starcoder | using Chatter.CQRS.Queries;
using Chatter.Testing.Core.Creators.Common;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
using System;
using System.Threading.Tasks;
using Xunit;
namespace Chatter.CQRS.Tests.Queries.UsingQueryDispatcher
{
public class WhenDispatchingGenericQuery : Testing.Cor... | 2.167504 | f8d4a53e6625401bee31195d8b2746d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kreuzhofer/homeautomation",
"max_stars_repo_path": "src/DevicePortal/W10Home.NetCoreDevicePortal/Controllers/api/DeviceFunctionApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3984"
} | starcoder | <filename>src/DevicePortal/W10Home.NetCoreDevicePortal/Controllers/api/DeviceFunctionApiController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using W10Home.NetCoreDevicePortal.DataAccess;
using W10... | 2.033273 | c8dd40664bf894c79daa7dfc6a166ac5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maximvegorov/YaJS.NET",
"max_stars_repo_path": "src/Compiler/Exceptions/UnsupportedCaseClauseExpressionException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3985"
} | starcoder | using System;
namespace YaJS.Compiler.Exceptions {
/// <summary>
/// Данное выражение не поддерживается в Selector-а для CaseClause
/// </summary>
[Serializable]
public sealed class UnsupportedCaseClauseExpressionException : ParserException {
public UnsupportedCaseClauseExpressionException() {
}
public Un... | 2.179417 | 1eabb33977ab8332f261788b76d37927 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Customs/XmlSockets_20_v108a/Augments/crystals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3986"
} | starcoder | <filename>Scripts/Customs/XmlSockets_20_v108a/Augments/crystals.cs<gh_stars>0
using System;
using Server;
using Server.Mobiles;
using Server.Engines.XmlSpawner2;
namespace Server.Items
{
// --------------------------------------------------
// Fen Crystal
// ------------------------------------------------... | 2.354482 | 23ebd1b427c72743fbb20fd197d3728a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3986 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PetroslavGochev/CSharpFundamentalModule",
"max_stars_repo_path": "08.Text Processing/Text Processing - Exercise/03. Extract File/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3987"
} | starcoder | using System;
using System.Linq;
using System.Text;
namespace _03._Extract_File
{
class Program
{
static void Main(string[] args)
{
string[] url = Console.ReadLine()
.Split("\\")
.ToArray();
Console.WriteLine(ReturnExtractFile(url));
... | 3.286923 | 9778aea31743b22951b0eace362d96fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3987 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "nsgomez/SharpZipLib",
"max_stars_repo_path": "src/ICSharpCode.SharpZipLib/Zip/ZipStrings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3988"
} | starcoder | using System;
using System.Text;
namespace ICSharpCode.SharpZipLib.Zip
{
/// <summary>
/// This static class contains functions for encoding and decoding zip file strings
/// </summary>
public static class ZipStrings
{
static ZipStrings()
{
try
{
var platformCodepage = Encoding.GetEncoding(0).CodeP... | 2.894134 | 83ff12871ba063ef0823aed3adebd8e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3988 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Lombiq/Associativy-Frontend-Engines",
"max_stars_repo_path": "Views/DisplayTemplates/Pages/Frontends/Engines/Dracula/AddNodes.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3989"
} | starcoder | <gh_stars>1-10
@using Orchard.ContentManagement
@model Associativy.Frontends.Models.IGraphAspect
@foreach (var node in Model.As<Associativy.Frontends.Engines.Dracula.Models.DraculaPart>().Nodes)
{
@Html.Raw("graph.addNode(\"" + node.Value.ContentItem.Id + "\", { label : \"" + HttpUtility.JavaScrip... | 2.26458 | d510f7c5fa9b9737053acfe2a0d73457 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TrutzX/9nations",
"max_stars_repo_path": "Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3990"
} | starcoder | using System;
using UnityEngine;
namespace ES3Types
{
[UnityEngine.Scripting.Preserve]
[ES3PropertiesAttribute("sharedMesh", "convex", "inflateMesh", "skinWidth", "enabled", "isTrigger", "contactOffset", "sharedMaterial")]
public class ES3Type_MeshCollider : ES3ComponentType
{
public static ES3Type Inst... | 2.101326 | 377efe2e474373cd19f1462a6c86faf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3990 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "johnmbaughman/InplaceEditBoxLib",
"max_stars_repo_path": "source/Solution/SolutionLibModels/Interfaces/ISolutionModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3991"
} | starcoder | <gh_stars>10-100
namespace SolutionModelsLib.Interfaces
{
using SolutionModelsLib.Enums;
using System.Xml.Serialization;
/// <summary>
/// Implements an interface to the root model class that manages the complete
/// tree model data structure that is mainly used for reading and writing data
//... | 2.639884 | 0de3b35419832fd1f75dc74294568999 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3991 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Patrikkk/Open-Terraria-API",
"max_stars_repo_path": "OTAPI.Modifications/OTAPI.Modifications.Console/Modifications/WriteLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3992"
} | starcoder | <filename>OTAPI.Modifications/OTAPI.Modifications.Console/Modifications/WriteLine.cs
using Mono.Cecil;
using OTAPI.Patcher.Engine.Extensions;
using OTAPI.Patcher.Engine.Modification;
using System;
using System.Linq;
namespace OTAPI.Patcher.Engine.Modifications.Patches
{
public class ConsoleWrites : ModificationBase
... | 2.371896 | c244c6338391a4ef8553e8c6bdc99935 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3992 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "tralivali1234/FakeItEasy",
"max_stars_repo_path": "src/FakeItEasy/Core/IInterceptedFakeObjectCall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3993"
} | starcoder | namespace FakeItEasy.Core
{
/// <summary>
/// Represents a call to a fake object at interception time.
/// </summary>
public interface IInterceptedFakeObjectCall : IFakeObjectCall
{
/// <summary>
/// Sets the return value of the call.
/// </summary>
/// <par... | 2.959941 | 3663103b87cb66a4d9bb096fc2de8295 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3993 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Reapism/Curio",
"max_stars_repo_path": "tests/Curio.UnitTests/Core/Extensions/ApiResponseExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3994"
} | starcoder | namespace Curio.UnitTests.Core.Extensions
{
public class ApiResponseExtensionsTests
{
}
}
| 0.718558 | 1bc55fa5560124aee98680c5d4ebc625 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3994 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "devedse/DeveImageOptimizer",
"max_stars_repo_path": "DeveImageOptimizer.Tests/VariousTests/BmpFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3995"
} | starcoder | <reponame>devedse/DeveImageOptimizer
using DeveImageOptimizer.Helpers;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.PixelFormats;
using System.IO;
using System.Threading.Tasks;
using Xunit;
namespace DeveImageOptimizer.Tests.VariousTests
{
public class BmpFacts
... | 2.426299 | 06f94a7f566c94d0f2e4fc350147c23f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3995 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/standalone/identity/DefaultPasswordPolicyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3996"
} | starcoder | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; ... | 1.582303 | b5c35832630bc1b185141d96e1a9c30c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omarwasfi/CM",
"max_stars_repo_path": "ProtoType/CM/CM/Library/Events/CarBrand/AddNewCarBrandCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3997"
} | starcoder | <gh_stars>0
using CM.Library.DataModels.BusinessModels;
using CM.Library.DataModels.Events;
using CM.Library.DBContexts;
using MediatR;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CM.Librar... | 2.297417 | e954b8382693ffa5526b485d9dfe38bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gycsaba-csarp-desktop-exam-template/exam-relationship",
"max_stars_repo_path": "Kreta/ViewModel/StudentViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3998"
} | starcoder | using Kreta.Models;
using Kreta.Repositories;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kreta.ViewModel
{
public class StudentViewModel
{
private StudentsRepo students;
pri... | 2.378287 | f08ad00849ad22d4e99e2ddbd736e0d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3998 | {
"extension": "c-sharp",
"max_stars_count": "1970.0",
"max_stars_repo_name": "SystematixIndore/googleVoiceRecorder",
"max_stars_repo_path": "CSCore/DMO/Effects/ChorusParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3999"
} | starcoder | <reponame>SystematixIndore/googleVoiceRecorder
using System.Runtime.InteropServices;
namespace CSCore.DMO.Effects
{
/// <summary>
/// Internal parameter structure for the <see cref="DirectSoundFXChorus"/> effect.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct ChorusParameters
... | 1.646409 | a118aed1bea9b5cf490c5f0d5231b592 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hlebushek2020/DiscordFileLoader-Bot-v2",
"max_stars_repo_path": "YukoBot/Interfaces/IBaseRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4000"
} | starcoder | <reponame>Hlebushek2020/DiscordFileLoader-Bot-v2<filename>YukoBot/Interfaces/IBaseRequest.cs
using YukoBot.Enums;
namespace YukoBot.Interfaces
{
public interface IBaseRequest
{
string Token { get; set; }
RequestType Type { get; set; }
}
}
| 1.322471 | 7b7717b1bc466835aa4174953ac04c8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4000 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidsteinar/Microsoft-commercial-marketplace-transactable-SaaS-offer-SDK",
"max_stars_repo_path": "src/SaaS.SDK.Client/WebHook/WebhookAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4001"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace Microsoft.Marketplace.SaasKit.WebHook
{
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
/// <summary>
/// En... | 2.150495 | 3058ec571acf963d88461cb9f150c1c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4001 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ReguMaster/Fox-Radio",
"max_stars_repo_path": "Fox Radio/AlbumArtViewer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4002"
} | starcoder | <filename>Fox Radio/AlbumArtViewer.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Fox_Radio
{
public partial class AlbumArtVi... | 2.51365 | 160b27857a28ab34bd46f490ae68dd85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4002 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Devidence7/Fuxion",
"max_stars_repo_path": "src/core/Application/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4003"
} | starcoder | using Fuxion.Domain;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Fuxion.Application
{
public interface IRepository<TAggregate> : IDisposable where TAggregate : Aggregate
{
Task<TAggregate> GetAsync(Guid aggregateId);
Task AddAsync(TAggregate aggrega... | 1.889876 | 1ad823d9342c64387b488b094bd5ead6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4003 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bondsbw/FakeItEasy",
"max_stars_repo_path": "Source/FakeItEasy/Configuration/IArgumentValidationConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4004"
} | starcoder | <filename>Source/FakeItEasy/Configuration/IArgumentValidationConfiguration.cs
namespace FakeItEasy.Configuration
{
using System;
/// <summary>
/// Provides configurations to validate arguments of a fake object call.
/// </summary>
/// <typeparam name="TInterface">The type of interface to ret... | 2.597593 | 1e84c1803187824f898ef74feb58c812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "domp47/ClamAvApi",
"max_stars_repo_path": "ClamAvProxy/ClamAvProxy/Services/ClamAv.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4005"
} | starcoder | <reponame>domp47/ClamAvApi
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using nClam;
namespace ClamAvProxy.Services
{
public class ClamAv : IClamAv
{
private readonly ClamClient _clam;
public Cla... | 2.696797 | a1a4387dbe7fba122e0c8b548b34c80e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoyfulReaper/ProASPNETCore3",
"max_stars_repo_path": "Ch7 - SportsStore/SportsStore/SportsStore/Models/IdentitySeedData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4006"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SportsStore.Models
{
public class IdentitySeedDat... | 2.421474 | 1e2744ad80e2e4dc20e7b565bbe0c092 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/Microsoft.Extensions.DependencyInjection/src/ServiceLookup/DynamicServiceProviderEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4007"
} | starcoder | <reponame>belav/runtime<filename>src/libraries/Microsoft.Extensions.DependencyInjection/src/ServiceLookup/DynamicServiceProviderEngine.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Gener... | 1.797529 | a7fb871672115a7022c191163ade1790 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4007 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "ConfusedHorse/BlurryControls",
"max_stars_repo_path": "BlurryControls/DialogFactory/BlurBehindMessageBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4008"
} | starcoder | <gh_stars>100-1000
using System.Windows;
using BlurryControls.Controls;
using BlurryControls.Helpers;
using BlurryControls.Internals;
namespace BlurryControls.DialogFactory
{
/// <summary>
/// Provides a variety of overloads for displaying a <see cref="BlurBehindDialogWindow"/>
/// to show a prompt or inf... | 2.850363 | 1ee1dd525bd6f408792db836a9fd439b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamie-davis/validatinator",
"max_stars_repo_path": "Validatinator/Validatinator/RuleParsing/ApplyIfRuleClause.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4009"
} | starcoder | using System.Collections.Generic;
namespace Validatinator.RuleParsing
{
internal abstract class ApplyIfRuleClause
{
internal abstract string Describe();
internal abstract bool GetRequireFirstError();
internal abstract bool GetRequireCleanInput();
internal abstract IEnumerable<... | 1.708644 | 83a3a4c224a102de36552343a012c665 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4009 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "knocte/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2951.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4010"
} | starcoder | <reponame>knocte/Xamarin.Forms
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using System.Collections.ObjectModel;
using System.ComponentModel;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest.Queries;
using NUnit.Framework;
#endif
namespace... | 2.009659 | a1456a23d177aa6f7a0ca14d2c422d51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shchahrykovich/Integrator",
"max_stars_repo_path": "TDS/TDS/RPC/TDSRPCRequestTokenProcID.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4011"
} | starcoder | namespace TDS.RPC
{
public enum TDSRPCRequestTokenProcID
{
Sp_Cursor = 1,
Sp_CursorOpen = 2,
Sp_CursorPrepare = 3,
Sp_CursorExecute = 4,
Sp_CursorPrepExec = 5,
Sp_CursorUnprepare = 6,
Sp_CursorFetch = 7,
Sp_CursorOption = 8,
Sp_CursorClose ... | 1.18757 | bd96f7500cc810b7379d2e073b19d485 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yudawei1230/angular.net",
"max_stars_repo_path": "highsunMobileOA/WebSite.DbProxy/SQLResource.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4012"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.18444
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
... | 1.93338 | b407ca006c74667e50ff0d3553b601b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "originalmoose/TypescriptGen",
"max_stars_repo_path": "TypescriptGen/FileTypes/Properties/TypedClassProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4013"
} | starcoder | <gh_stars>0
using System.Reflection;
namespace TypescriptGen.FileTypes.Properties
{
public class TypedClassProperty : ClassProperty
{
public TypedClassProperty(TypeBuilder builder, PropertyInfo propertyInfo)
{
PropertyInfo = propertyInfo;
Name = PropertyInfo.Na... | 2.115854 | 4622fce962360ce58b884208dc1ad6b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/schannel/SecPkgContext_ClientCertPolicyResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4014"
} | starcoder | <reponame>JeremyKuhne/terrafx.interop.windows<filename>sources/Interop/Windows/Windows/um/schannel/SecPkgContext_ClientCertPolicyResult.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/schannel.h in the Windows SD... | 1.414637 | 72c08f8ed2d64f1c8a7d1eb459b70207 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexandresmoraes/todo",
"max_stars_repo_path": "src/Todo.Application/Validations/Auth/LoginCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4015"
} | starcoder | <reponame>alexandresmoraes/todo<filename>src/Todo.Application/Validations/Auth/LoginCommandValidator.cs
using FluentValidation;
using Todo.Domain.Commands.Requests.Auth;
namespace Todo.Application.Validations.Auth
{
public class LoginCommandValidator : AbstractValidator<LoginCommand>
{
public LoginCommandVali... | 2.110376 | c067a9528e15d1ac56d9d5cf41154e54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzattack/cnc-buffer-spy",
"max_stars_repo_path": "CncBufferSpyClient/PipeProto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4016"
} | starcoder | using System.Runtime.InteropServices;
namespace CncBufferSpyClient {
public enum PipeMessageType : uint {
FrameAvailable,
FrameRequest,
FrameRequestFailed,
}
public enum DestinationBuffer : uint {
Buffer1,
Buffer2
}
public struct PipeRequest {
public DestinationBuffer DestinationBu... | 2.128079 | 72f5fae670cc974e63e877eba1256deb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErenToktas/Otel_Rezervasyon_Otomasyonu",
"max_stars_repo_path": "Otel_App/Otel_App/Forms/FrmTanimlamaYonlendir.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4017"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Otel_App.Forms
{
public partial class FrmTanimlamaYonlendir : Form
{
public Fr... | 1.736766 | 035333be2bd66b056fa73e8b899c3d15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4017 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jeern/Managed-Menu-Extensions-Historic-",
"max_stars_repo_path": "ManagedMenuContracts/ContextLevels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4018"
} | starcoder | <gh_stars>1-10
using System;
namespace ManagedMenuContracts
{
[Flags]
public enum ContextLevels
{
None = 0,
Solution = 1,
Project = 2,
SolutionFolder = 4,
Folder = 8,
References = 32,
WebReferences = 64,
AssemblyInfo = 128,
... | 1.573518 | 8eb8af31f1d57d8eb77748a8948eb90f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4018 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "leandromoh/CloneExtensions",
"max_stars_repo_path": "src/CloneExtensions.UnitTests/CollectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4019"
} | starcoder | <reponame>leandromoh/CloneExtensions
using System;
using System.Collections.Generic;
using System.Linq;
using CloneExtensions.UnitTests.Base;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CloneExtensions.UnitTests
{
[TestClass]
public class CollectionTests : TestBase
{
[... | 2.679321 | b3db81565eddb226d99d2156e2a38bbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4019 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "WadeBarnes/healthgateway",
"max_stars_repo_path": "Apps/AdminWebClient/src/Server/Controllers/UserFeedbackController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4020"
} | starcoder | <filename>Apps/AdminWebClient/src/Server/Controllers/UserFeedbackController.cs
// -------------------------------------------------------------------------
// Copyright © 2019 Province of British Columbia
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | 1.986529 | aeabc9de19da7e1e367995aa4f7aa3ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4020 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pwnoz0r/TidalSharp",
"max_stars_repo_path": "TidalSharp/Models/UsersSubscriptionsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4021"
} | starcoder | <filename>TidalSharp/Models/UsersSubscriptionsModel.cs
// Visual Studio Extension "JsonUtilsToolbar" created by Jonathan "Pwnoz0r" Rainier - Initial Servers LLC. - 2016
// Generated using Xamasoft JSON Class Generator Lib - http://www.xamasoft.com/json-class-generator
/*
URL: /users/{UserId}/subscription?countryC... | 2.122014 | 82e81584ee6e2e2cf9b4366e262364bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4021 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "radicalgraphics/unityassets",
"max_stars_repo_path": "CombatText/Assets/BattleText/Demo/Scripts/DemoCamera.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4022"
} | starcoder | using UnityEngine;
public class DemoCamera : MonoBehaviour
{
[SerializeField]
float rotationSpeed = 0f;
void Update()
{
transform.RotateAround(Vector3.zero, Vector3.up, rotationSpeed);
}
}
| 1.964283 | 1c351de87dae09802bc23197b4b796e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4022 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HankiDesign/EmotionEngineDisassembler",
"max_stars_repo_path": "PS2Disassembler.Core/IDisassembler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4023"
} | starcoder | <reponame>HankiDesign/EmotionEngineDisassembler
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace PS2Disassembler.Core
{
public interface IDisassembler
{
string Disassemble(uint hexInput);
string Disassemble(List<uint> hexInput);
... | 2.235335 | a9d7634806d567b8008bf7c820b5e0ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4023 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "UPBIoT/renode-iot",
"max_stars_repo_path": "src/Infrastructure/src/Emulator/Main/Peripherals/Bus/AllowedTranslation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4024"
} | starcoder | <reponame>UPBIoT/renode-iot
//
// Copyright (c) 2010-2018 Antmicro
// Copyright (c) 2011-2015 Realtime Embedded
//
// This file is licensed under the MIT License.
// Full license text is available in 'licenses/MIT.txt'.
//
using System;
namespace Antmicro.Renode.Peripherals.Bus
{
[Flags]
public enum AllowedTra... | 1.349825 | cc128b9d9ef2be8d691fdad9b0498483 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4024 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "iliantrifonov/TelerikAcademy",
"max_stars_repo_path": "JavaScriptApps/JSExamPrep-Promises/BullsAndCows/BullsAndCows/Controllers/BaseApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4025"
} | starcoder | using BullsAndCows.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
namespace BullsAndCows.Controllers
{
public class BaseApiController : Api... | 1.997343 | 568b8fd276ec91b466e7c71fa689cad0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4025 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/RSAFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4026"
} | starcoder | <reponame>vkvenkat/corefx<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Security.Cryptography.Rsa.Tests
{
public interface IRSA... | 1.713986 | 39af0aabcfd9f7ac1d64095f14ccec8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zpqrtbnk-alt/hazelcast-csharp-client",
"max_stars_repo_path": "src/Hazelcast.Net/Protocol/BuiltInCodecs/StringCodec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4027"
} | starcoder | <filename>src/Hazelcast.Net/Protocol/BuiltInCodecs/StringCodec.cs
// Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ht... | 2.170434 | 8745c626d3f64fa82c8470057ce55be3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matcom-compilers-2019/cool-compiler-oliva-sheila-emmanuel",
"max_stars_repo_path": "src/Logic/CheckSemantic/SymbolsChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4028"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AST;
namespace Logic.CheckSemantic
{
public class SymCheckerVisitor : IVisitorAST<bool>
{
ContextType Context;
public string Logger;
public SymCheckerVisitor(Con... | 2.683559 | f1285c4941e1e23fc6925e02ff06c82e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Demy/caturday",
"max_stars_repo_path": "Assets/Scripts/UI/JobBubble.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4029"
} | starcoder | <reponame>Demy/caturday
using UnityEngine;
using UnityEngine.UI;
public class JobBubble : MonoBehaviour
{
private GameObject panel;
private Image icon;
public GameObject exitArrow;
void Start()
{
panel = transform.GetChild(0).gameObject;
icon = panel.transform.GetChild... | 2.098605 | 5d876788b74472ea0abbe2fb03ae6dc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-rik/Rik.StatusPage",
"max_stars_repo_path": "src/Shared/Providers/DatabaseStatusProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4030"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Rik.StatusPage.Configuration;
using Rik.StatusPage.Internal;
using Rik.StatusPage.Schema;
namespace Rik.StatusPage.Providers
{
public abstract class DatabaseStatusProvider : StatusProvider<DatabaseStatusProviderOptions>
... | 2.414465 | cdfb5a6c7830d6b44f944aa33995819f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Raquellcesar/Raquellcesar.Stardew",
"max_stars_repo_path": "ClickToMove.New/Framework/PathFindingManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4031"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright company="Raquellcesar" file="PathFindingManager.cs">
// Copyright (c) 2021 Raquellcesar
//
// Use of this source code is governed by an MIT-style license that can be found in th... | 2.165308 | ffa022b12baf6c678ed42e05964163d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4031 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jdemeuse1204/OR-M-Data-Entities",
"max_stars_repo_path": "OR-M Data Entities/OR-M Data Entities.Compare/EntityFrameworkContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4032"
} | starcoder | using System.Data.Entity;
using System.Linq;
using OR_M_Data_Entities.Compare.EFTables;
namespace OR_M_Data_Entities.Compare
{
public class EntityFrameworkContext : DbContext
{
static EntityFrameworkContext()
{
Database.SetInitializer<EntityFrameworkContext>(null);
... | 2.090943 | d8ca9d572a9e0af5bebe56ad315c942d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dewb/Machina",
"max_stars_repo_path": "BRobot/DataTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4033"
} | starcoder | <filename>BRobot/DataTypes.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
//██████╗ █████╗ ████████╗ █████╗ ████████╗██╗ ██╗██████╗ ███████╗███████╗
//██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗╚══██╔══╝╚██╗ ██╔╝██╔══██╗██╔════╝██╔════╝
//██║ ██║███████║ ██║ ███████║ ██║ ╚████╔╝ ██████╔╝█████╗ ... | 3.023765 | 7bd83982aa1f7bc95007f14166693951 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProgrammerManstein/UnityRPG",
"max_stars_repo_path": "Assets/Scripts/Buff/BuffData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4034"
} | starcoder |
public class BuffData
{
public int ID;
public string Name;
public int HpChange;//血量变化
public double HpChange_p;//血量百分比变化
public int AttackChange;//攻击力变化
public double AttackChange_p;//攻击力百分比变化
public double AttSpeedChange_p;//攻击速度百分比变化
public double SpeedChange_p;//速度百分比变化
public i... | 1.932925 | 1d591241d009d43d7b52baa59ace10ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4034 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "msrao83/Telerik",
"max_stars_repo_path": "Controls/Primitives/Primitives.UWP/Common/Services/Commands/ControlCommandBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4035"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Telerik.UI.Xaml.Controls.Primitives
{
/// <summary>
/// Represents a command abstraction that is associated with a particular <see cref="ICommand"/> instanc... | 2.847611 | d4798aae38d14edb4ea0b25ef3a6aa26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Invvard/DotNetExamples",
"max_stars_repo_path": "dotnet/InvvardDev.Examples.PluginApp/InvvardDev.Examples.PluginApp.MainApp/ViewModel/ViewModelLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4036"
} | starcoder | <filename>dotnet/InvvardDev.Examples.PluginApp/InvvardDev.Examples.PluginApp.MainApp/ViewModel/ViewModelLocator.cs
/*
In App.xaml:
<Application.Resources>
<vm:ViewModelLocator xmlns:vm="clr-namespace:InvvardDev.Examples.PluginApp.MainApp"
x:Key="Locator" />
</Application.Resources... | 2.1086 | 0cddd5cb078408353b9fac61b4088b8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shashinma/CSEB-Windows",
"max_stars_repo_path": "SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/WirelessNetworkControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4037"
} | starcoder | /*
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using System... | 2.072374 | aaf777b0e7e32b2fc300bb76e70d853a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.