added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrAnh3011/AbondWeb",
"max_stars_repo_path": "applications/MvcWeb/Controllers/CmsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164204"
} | starcoder | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha.core
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Thre... | 1.868296 | abeb7ac8369feaba7e6f68cd38749592 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844985 | {
"extension": "c-sharp",
"max_stars_count": "1575.0",
"max_stars_repo_name": "MyelinsheathXD/mujocoUnrealPlugin",
"max_stars_repo_path": "unity/Tests/Editor/components/MjGeomSettingsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164205"
} | starcoder | // Copyright 2019 DeepMind Technologies Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 1.782332 | aff1db2d8683ea94bb41d9e2c738201a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844986 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "KAL-ATM-Software/KAL_XFS4IoT_SP-Dev",
"max_stars_repo_path": "Framework/ServiceClasses/KeyManagementServiceProvider/KeyManagementServiceClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164206"
} | starcoder | /***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*
\******************************************... | 2.189627 | 315925750291e3d5a5922e7becbbfa17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "albar/AssistantAssignment",
"max_stars_repo_path": "src/Web/Api/Services/GeneticAlgorithmRunnerService/GeneticAlgorithmRunnerExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164207"
} | starcoder | <reponame>albar/AssistantAssignment
using AssistantAssignment.Web.Api.Services.GeneticAlgorithmRunnerService.Abstractions;
using Microsoft.Extensions.DependencyInjection;
namespace AssistantAssignment.Web.Api.Services.GeneticAlgorithmRunnerService
{
public static class GeneticAlgorithmRunnerExtension
{
... | 1.380021 | b4a9a5a1b25f216991bd95337862fbd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saiganov/BizValidators",
"max_stars_repo_path": "build.cake",
"provenance": "train-00027-of-00045.jsonl.gz:164208"
} | starcoder | var target = Argument("target", "Default");
Setup(context =>
{
Information("Validators cake script start!");
});
Teardown(context =>
{
Information("Validators cake script finish!");
});
Task("Default")
.Does(() =>
{
Information("Hello World!");
});
Task("Restore")
.Does(() =>
{
DotNetCoreRestore(... | 2.441534 | a941662a445c0f7b29adef46fa9892d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844989 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "davidwest/TreeCollections",
"max_stars_repo_path": "TreeCollections/src/TreeCollections/Tree/ItemTree/EntityTree/EntityDefinition/Interfaces.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164209"
} | starcoder | <reponame>davidwest/TreeCollections
using System;
using System.Collections.Generic;
namespace TreeCollections
{
/// <summary>
/// Meta info that describes an entity
/// </summary>
/// <typeparam name="TId"></typeparam>
/// <typeparam name="TItem"></typeparam>
public interface IEntityDefinition... | 2.548796 | 956ab4d4fa330ee6bed245af063587d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844990 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.Domain/NotificationAssessment/CompleteNotification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164210"
} | starcoder | <filename>src/EA.Iws.Domain/NotificationAssessment/CompleteNotification.cs<gh_stars>1-10
namespace EA.Iws.Domain.NotificationAssessment
{
using System;
using System.Threading.Tasks;
using Core.ComponentRegistration;
using NotificationApplication;
[AutoRegister]
public class CompleteNotificatio... | 2.158417 | 8c35ece69d8a10bfc55602cd9f9b2ae6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grekssi/Softuni-Courses",
"max_stars_repo_path": "SoftUni/01. .NET Courses/03. C# Advanced/03. Sets And Dictionaries Advanced/07. The V-Logger/VLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164211"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp218
{
class Program
{
static void Main(string[] args)
{
var Vlogger = new Dictionary<string, int[]>();
var vloggerFollowers = new Dicti... | 3.239975 | 1e08b23c921d9d3c822ba80d93ce18a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844992 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "fossabot/RTCV",
"max_stars_repo_path": "Source/Libraries/NetCore/UDPLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164212"
} | starcoder | <filename>Source/Libraries/NetCore/UDPLink.cs<gh_stars>10-100
namespace RTCV.NetCore
{
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
public class UDPLink
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogge... | 2.554666 | 20719dc5e57ac7464657b3b9caa79969 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844993 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "HarryCU/QwLua",
"max_stars_repo_path": "Source/QwScript/Implements/HookManagerPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164213"
} | starcoder | <reponame>HarryCU/QwLua<filename>Source/QwScript/Implements/HookManagerPool.cs
/**
* Copyright (c) 2015, <NAME> 邱允根 (<EMAIL>).
*
* 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.944703 | e8071e08e08e3e7678ec8a747a9094cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Imato/SimpleETL",
"max_stars_repo_path": "SimpleETL.Core/Infrastructure/HttpUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164470"
} | starcoder | <reponame>Imato/SimpleETL
using System;
using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
namespace SimpleETL
{
public static class HttpUtils
{
public static HttpClientHandler GetDefaultHandler()
{
// 1
var handler = new HttpClientHandler()
... | 2.594693 | c6cee52d4b4e81516aefb1fbc2e9e77e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patrick-rt/PortTunnel-old",
"max_stars_repo_path": "PortTunnelDesktop/CSharp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164471"
} | starcoder | /*
MIT License
Copyright (c) 2019 Patrick72762
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CL... | 2.442772 | d140da72ab928f1d87d620be4d99f22b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "06012021-dotnet-uta/AdrianGonzalezP1",
"max_stars_repo_path": "MyEcommerceWebsite/MyEcommerceWebsite/Views/OrderHistory/HistoryByStore.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164472"
} | starcoder | <gh_stars>0
@model IEnumerable<ModelLayer.StoreModel>
@{
ViewData["Title"] = "HistoryByStore";
}
<div class="row pt-4">
<div class="col-6">
<h2 class="text-primary">All Locations</h2>
</div>
<div class="col-6 text-right">
<a asp-action="Index" asp-controller="OrderHistory" ... | 2.028874 | 934ddcade7108d961b5469cc335d4bac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845253 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "mitchelsellers/iis-docs",
"max_stars_repo_path": "iis/web-hosting/microsoft-web-farm-framework-20-for-iis-7/web-farm-framework-20-for-iis-code-sample/samples/sample1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164473"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Microsoft.Web.Farm;
namespace WebFarmSample
{
class Program
{
static void CreateWebFarm()
{
//WebFarmManager is the class that manages several web farms.
WebF... | 3.020977 | 100141c480068d62e1a70f1d6d6057f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gsteinbacher/CardGame",
"max_stars_repo_path": "Obacher.CardGame.Core/Hand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164474"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Obacher.CardGame.Core
{
public sealed class Hand : IEnumerable<Card>
{
private readonly IEnumerable<Card> _cards;
public Hand(params Card[] cards)
{
if (!cards.Any())
... | 3.330667 | 814ebd73ba3952d4cfb1e410992945dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845255 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Ercenk/ContosoAssets",
"max_stars_repo_path": "src/ContosoAssets.WebApp/Areas/Identity/Pages/Account/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164475"
} | starcoder | @using ContosoAssets.WebApp.Areas.Identity.Pages.Account | 0.238694 | 5098921b2a5e74b8e0ce1e000f8543ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirhosoft/PiRhoVariables",
"max_stars_repo_path": "Assets/PiRhoVariables/Runtime/Constraints/ListConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164476"
} | starcoder | <filename>Assets/PiRhoVariables/Runtime/Constraints/ListConstraint.cs<gh_stars>0
using System;
using UnityEngine;
namespace PiRhoSoft.Variables
{
[Serializable]
public class ListConstraint : VariableConstraint
{
public override VariableType Type => VariableType.List;
public VariableType ItemType { get => _ite... | 2.760868 | 4f14ca0d090f1ea0bd43e1fb4fa42682 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845257 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicholas-boyd/Project-Monster",
"max_stars_repo_path": "Assets/Scripts/Controllers/BattleClockController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164477"
} | starcoder | <reponame>nicholas-boyd/Project-Monster<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BattleClockController : MonoBehaviour
{
public const string NewSecondNotification = "NEW_SECOND_NOTIFICATION";
public const string ... | 2.335411 | 9d67f88afb04ad8450640594ecb45ae7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RTshouhu/Garbage",
"max_stars_repo_path": "AndroidProject/IframeDemo/IframeDemo/Controllers/LocalController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164478"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Mvc;
using System.Xml;
using TC.InterVacation.Autotrophy.Common;
using TC.InterVacation.DalLibrary;
namespace IframeDemo.Controllers
{
... | 2.256224 | 1c8e24b93d77368a8a6c18f4493826e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845259 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "cstrahan/codecampserver",
"max_stars_repo_path": "src/UI/ViewNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164479"
} | starcoder | namespace CodeCampServer.UI
{
public static class ViewNames
{
public const string Edit="edit";
public const string Response404 = "404";
public const string Empty = "empty";
public const string Default = "";
}
} | 1.279527 | 776f8603999b39e3bf98f7143ec0fbb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Phoesion/Phoesion.Glow.Samples",
"max_stars_repo_path": "5_Razor/API/Foompany.Services.API.SampleService1/Models/AnotherAssemblyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164480"
} | starcoder | namespace Foompany.Services.API.SampleService1.Models
{
public class AnotherAssemblyModel
{
public bool IsSuccess { get; set; }
public string Message { get; set; }
}
}
| 1.44813 | c235fb22d3a58948507a7aa32c4a468a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LambertW/DesignPattern",
"max_stars_repo_path": "DesignPattern.Mediator/Financial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164481"
} | starcoder | <filename>DesignPattern.Mediator/Financial.cs
using System;
namespace DesignPattern.Mediator
{
public class Financial : Department
{
public Financial(Mediator mediator) : base(mediator)
{
}
public override void Apply()
{
Console.WriteLine("数钱!");
}
... | 2.524087 | 655e7460006d9b61926f556d2e7bdff8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erlimar/E5R.Architecture",
"max_stars_repo_path": "samples/UsingData/BlogStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164482"
} | starcoder | <reponame>erlimar/E5R.Architecture
// Copyright (c) E5R Development Team. All rights reserved.
// This file is a part of E5R.Architecture.
// Licensed under the Apache version 2.0: https://github.com/e5r/licenses/blob/master/license/APACHE-2.0.txt
using System;
using System.Linq;
using E5R.Architecture.Data;
using E5... | 2.315641 | 898364ed5941f50ae89bcf96e70ebf38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845263 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sasa94s/tourseek",
"max_stars_repo_path": "tourseek_backend.services/LoggerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164483"
} | starcoder | <reponame>Sasa94s/tourseek
using System;
using System.Text;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using RT.Comb;
namespace tourseek_backend.services
{
public class LoggerService<T> where T : class
{
private readonly string _controller;
private readonly string _action;
... | 1.983657 | e882c91791e101a64d7a733010518a9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UPipe-Tech/youpipe-blockchain",
"max_stars_repo_path": "WinUPipe/WinUPipe/Util/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164484"
} | starcoder | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using UTech.Controller;
/**
* ┌─────────────... | 2.307075 | 620dc3e286d58f5cc813e81288f970b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmanky/Gopher-In-Unity-Base",
"max_stars_repo_path": "Assets/RosMessages/GopherMoveItConfig/srv/PlanTrajectoryRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164485"
} | starcoder | //Do not edit! This file was generated by Unity-ROS MessageGeneration.
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Unity.Robotics.ROSTCPConnector.MessageGeneration;
namespace RosMessageTypes.GopherMoveItConfig
{
[Serializable]
public class PlanTrajectoryRequest :... | 2.144489 | d59b313f99051181f8764f73e2b62113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845266 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "STARasGAMES/unity-main-scene-auto-loader",
"max_stars_repo_path": "Packages/SaG.MainSceneAutoLoading/Editor/MainSceneAutoLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164486"
} | starcoder | <reponame>STARasGAMES/unity-main-scene-auto-loader
using System;
using System.Linq;
using SaG.MainSceneAutoLoading.Settings;
using SaG.MainSceneAutoLoading.Utilities;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
namespace SaG.MainSceneAutoLoading
{
public static class MainSceneAutoLoad... | 2.016473 | 4f6998c9dee7e5c30c71f9738d1f8246 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NenovaRositsa/CSharp-OOP",
"max_stars_repo_path": "04Polymorphism/01Vehicles/Vehicle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164487"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Vehicles
{
public abstract class Vehicle
{
public Vehicle(double fuel, double letters, int tankCapacity)
{
this.FuelQuantity = fuel;
this.LitersPerKm = letters;
... | 3.576165 | a7b0f8e8edce81a17d5bcfcb2a74ffa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "almahuskovic/eKuharica",
"max_stars_repo_path": "eKuharica/eKuharica/Services/UserRecipeRatings/UserRecipeRatingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164488"
} | starcoder | <filename>eKuharica/eKuharica/Services/UserRecipeRatings/UserRecipeRatingService.cs
using AutoMapper;
using eKuharica.Model.DTO;
using eKuharica.Model.Entities;
using eKuharica.Model.Requests;
using eKuharica.Services.BaseCRUD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.T... | 2.334988 | a180f3b919b66c29b5f9919d75d3fcfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zdeneksejcek/NFabric",
"max_stars_repo_path": "src/NFabric.Samples.Sales/Domain.Model/Credits/CreditLines.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164489"
} | starcoder | <reponame>zdeneksejcek/NFabric
using System;
using System.Collections.Generic;
using NFabric.BoundedContext.Domain;
namespace NFabric.Samples.Sales.Domain.Model.Credits
{
public class CreditLines : EntityCollectionWithES<CreditLine>
{
public CreditLines(Func<AggregateWithES> getAggregate) : ba... | 1.398356 | 302bf19d9812bb7abdd16264abf4cada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845270 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "shllshckd/WeLearn",
"max_stars_repo_path": "src/Services/WeLearn.Services.CronJobs/GetPersonalRecommendationsJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164490"
} | starcoder | <reponame>shllshckd/WeLearn<filename>src/Services/WeLearn.Services.CronJobs/GetPersonalRecommendationsJob.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Hangfire;
using Microsoft.EntityFrameworkCore;
using WeLearn.Data.Common.Repositories;
using WeLearn.Dat... | 2.291283 | 8bd8a27cdf7e936f0dcaa9272a396cfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845271 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "caesuric/familiar-quest",
"max_stars_repo_path": "FamiliarQuestMainGame/Assets/Scripts/Characters/Hitboxes/AOEDealDamage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164491"
} | starcoder | <reponame>caesuric/familiar-quest
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class AOEDealDamage : MonoBehaviour {
public int damage;
public float radius;
public string faction = "Player";
public Character character;
public ... | 2.098716 | 37eb895c945190e0f48fe77c093fb23c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845272 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "googlestadia/vsi-lldb",
"max_stars_repo_path": "YetiVSI/DebugEngine/Variables/RemoteValueChildAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164492"
} | starcoder | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2.227146 | bf17d7a8df5c16504bc24d4cef1ba640 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845273 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "mairaw/eshop-mobile-client",
"max_stars_repo_path": "eShopOnContainers/eShopOnContainers.Core/Views/BasketView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164493"
} | starcoder | <filename>eShopOnContainers/eShopOnContainers.Core/Views/BasketView.xaml.cs
using Xamarin.Forms;
namespace eShopOnContainers.Core.Views
{
public partial class BasketView : ContentPageBase
{
public BasketView()
{
InitializeComponent();
}
}
} | 1.267853 | 2025d77488edb57abd7adde8e439af49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845274 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "saguiitay/CopyRestAPI",
"max_stars_repo_path": "src/CopyRestAPI/ICopyClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164494"
} | starcoder | <filename>src/CopyRestAPI/ICopyClient.cs
using System.Threading.Tasks;
using CopyRestAPI.Authentication;
using CopyRestAPI.Managers;
using CopyRestAPI.Models;
namespace CopyRestAPI
{
public interface ICopyClient
{
IAuthorization Authorization { get; }
IUserManager UserManager { get; }
... | 1.916349 | aef8ff42fe6a71cab193edcf80e0c34a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miyatakoji/magic-leap-distance-checker",
"max_stars_repo_path": "Assets/Conekton/ARUtility/Scripts/UseCase/ARAnchor/Application/ARAnchorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164495"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Zenject;
using Conekton.ARUtility.UseCase.ARAnchor.Domain;
namespace Conekton.ARUtility.UseCase.ARAnchor.Application
{
public class ARAnchorService : IARAnchorService
{
[Inject] private IARAnchorSystem _... | 1.474855 | fc1f65a3292d9bfb837aa18e9f4bb1bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845276 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "jafin/TestStack.ConventionTests",
"max_stars_repo_path": "TestStack.ConventionTests/Reporting/ProjectReferenceFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164496"
} | starcoder | <gh_stars>10-100
namespace TestStack.ConventionTests.Reporting
{
using TestStack.ConventionTests.ConventionData;
public class ProjectReferenceFormatter : IReportDataFormatter
{
public bool CanFormat(object data)
{
return data is ProjectReference;
}
pu... | 1.984851 | 8b746d86e8ebd98b37e7111d250c83a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beatthat/unity-request",
"max_stars_repo_path": "Runtime/requests/Util/RequestConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164497"
} | starcoder | <reponame>beatthat/unity-request<gh_stars>0
using System;
namespace BeatThat.Requests
{
// placeholder do-nothing IDisposible to use when transition debugging is off
class DebugRequestsDisabled : IDisposable
{
public static readonly IDisposable INSTANCE = new DebugRequestsDisabled();
public void Dispo... | 2.694494 | 33615ba93f79ce36c829d4d835fdd3c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shawnzxx/aks-lab",
"max_stars_repo_path": "aks/Start/src/Services/Compute/Compute.Domain/Models/IOperationRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164498"
} | starcoder | <reponame>shawnzxx/aks-lab<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Compute.Domain.Models
{
public interface IOperationRepository
{
Task<bool> SaveChangesAsync();
Operation CreateOp(Operation operation);
Tas... | 1.869605 | bcd5535265c52b387620e02ff1169a05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coojee2012/pm3",
"max_stars_repo_path": "SurveyDesign/KC/ApplyKCXXBA/SaveIdea.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164499"
} | starcoder | <reponame>coojee2012/pm3<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProjectData;
using Tools;
using ProjectBLL;
using System.Data;
using Approve.RuleCenter;
using System.Text;
public partial class KC_Apply... | 1.376444 | be0605d068407c537c734729a992d2b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fibula-MMO/fibula-definitions",
"max_stars_repo_path": "src/Fibula.Definitions/Enumerations/SquareColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164500"
} | starcoder | <gh_stars>0
// -----------------------------------------------------------------
// <copyright file="SquareColor.cs" company="2Dudes">
// Copyright (c) | <NAME> et al.
// https://linkedin.com/in/nunezdecaceres
//
// All Rights Reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license ... | 2.153325 | 53741fa563e2bf02c500d88499582948 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845281 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ebatianoSoftware/CrossX",
"max_stars_repo_path": "Core/CrossX.Framework/Drawables/SplitterDotsDrawable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164501"
} | starcoder | <gh_stars>1-10
using CrossX.Framework.Graphics;
using System;
using System.Numerics;
namespace CrossX.Framework.Drawables
{
public class SplitterDotsDrawable: Drawable
{
public Length Padding { get; set; } = new Length(1);
public Length Spacing { get; set; } = new Length(1);
... | 2.944402 | 876f80213afe36d183438720776f71cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845282 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "StefanOssendorf/SecurityHeadersMiddleware",
"max_stars_repo_path": "src/OwinContrib.SecurityHeaders/XssProtectionOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164502"
} | starcoder | <filename>src/OwinContrib.SecurityHeaders/XssProtectionOption.cs
namespace SecurityHeadersMiddleware {
/// <summary>
/// Specified the allowed options for the X-XSS-Protection header.
/// </summary>
public enum XssProtectionOption {
/// <summary>
/// Represents the option "1; mode=block"... | 2.321767 | 58431991faca8012c7141eff81943517 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845283 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "prosyst/linq2db",
"max_stars_repo_path": "Tests/Linq/UserTests/Issue3257Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164503"
} | starcoder | <filename>Tests/Linq/UserTests/Issue3257Tests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions;
using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue3257Tests ... | 2.490188 | 541538feeec12369e28bc90d68121c9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845284 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_DXGKDDICB_PARTITIONING_EVENT_NOTIFICATION.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164504"
} | starcoder | <gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmddi.h(9375,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public partial struct _DXGKDDICB_PARTITIONING_EVENT_NOTIFI... | 1.45719 | 0c4e9017533b43f93ae639e7f812d1a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AzureDay/2016-WebSite",
"max_stars_repo_path": "TeamSpark.AzureDay.WebSite.Data/Entity/Table/SpeakerTopic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164505"
} | starcoder | <reponame>AzureDay/2016-WebSite<filename>TeamSpark.AzureDay.WebSite.Data/Entity/Table/SpeakerTopic.cs
using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace TeamSpark.AzureDay.WebSite.Data.Entity.Table
{
public sealed class SpeakerTopic : TableEntity
{
[IgnoreProperty]
public Guid SpeakerId
{
... | 2.103449 | ed4f95aaeb96249bc36210c4f05520fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhakulIhnaac/WebProjesi2",
"max_stars_repo_path": "aspnet-core/src/AycProjectBudgeting.Application/CustomConstructs/SearchParam/SearchParamEnums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164506"
} | starcoder | <filename>aspnet-core/src/AycProjectBudgeting.Application/CustomConstructs/SearchParam/SearchParamEnums.cs<gh_stars>0
namespace AYCProjectBudgeting.CustomConstructs.SearchParamEnums
{
public enum ESearchParamOperatorTypes
{
Equal = 1,
NotEqual = 2,
Include = 3,
SmallerThan = 4,
... | 1.968604 | 298bff88d62486eba1e8b19fe796022f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845287 | {
"extension": "c-sharp",
"max_stars_count": "624.0",
"max_stars_repo_name": "bbqchickenrobot/NCache",
"max_stars_repo_path": "Src/NCCommon/Util/JavaClrTypeMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164507"
} | starcoder | // Copyright (c) 2021 Alachisoft
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 1.734401 | 23d120de214a2aee8bddf122618cfa87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feygon/ETLProcess",
"max_stars_repo_path": "ETLProcessFactory/Interfaces/IOutputDetail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164508"
} | starcoder | using ETLProcessFactory.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace ETLProcessFactory.Interfaces
{
public interface IOutputDetail : IOutputDoc
{
public Type GetChildType();
// TO DO... | 1.652189 | 84f613e368d44c6c561cf0516b888486 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845289 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "zwcloud/DWriteSharp",
"max_stars_repo_path": "src/DWriteSharp/DirectWriteMeshTextRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164509"
} | starcoder | <filename>src/DWriteSharp/DirectWriteMeshTextRenderer.cs
using DWriteSharp.Internal;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace DWriteSharp
{
[ComImport]
[Guid("ef8a8135-5cc6-45fe-8825-c5a0724eb819")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
in... | 2.358708 | 9c0cd50ba043e153e89bfb1d45cb87db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajeyaprakash148/Sample",
"max_stars_repo_path": "Common.ApiGateway/src/Common.ApiGateway/Entities/UserEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164510"
} | starcoder |
namespace Common.ApiGateway.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("Users", Schema = "dbo")]
public class UserEntity : BaseWebEntity
{
[Databa... | 1.919362 | 83174583f7cfc4e256cb123a4abe211e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antomys/Parimatch_Academy_Homeworks",
"max_stars_repo_path": "Homework_3/Task_1.3/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164511"
} | starcoder | <reponame>antomys/Parimatch_Academy_Homeworks
using System;
using System.Collections.Generic;
using System.Threading.Channels;
namespace Task_1._3
{
class Program
{
static void Main()
{
Console.WriteLine("Dictionary with Key");
Console.WriteLine("Please enter amount of ... | 3.176578 | c60b268f18073d080ba41e94c4f4e79c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Office/Behind/DispatchInterfaces/PickerDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164512"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.OfficeApi;
namespace NetOffice.OfficeApi.Behind
{
/// <summary>
/// DispatchInterface PickerDialog
/// SupportByVersion Office, 14,15,16
/// </summary>
/// <remarks> MSDN Online... | 1.368109 | 19fd08042df97748ccbcc37191550413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Roman-Dementiev/Dwares",
"max_stars_repo_path": "Trucker/Beylen/ViewModels/Suggestions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164513"
} | starcoder | <reponame>Roman-Dementiev/Dwares<gh_stars>0
using System;
using Dwares.Dwarf;
using Beylen.Models;
using System.Collections;
using System.Collections.Generic;
namespace Beylen.ViewModels
{
internal struct CustomerSuggestion
{
public CustomerSuggestion(Customer customer)
{
Customer = customer;
}
public C... | 2.335847 | b2bcec3888a9980f64ed1b6305f7748d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845294 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "juanluelguerre/Microservices",
"max_stars_repo_path": "src/ElGuerre.Microservices.Billing.Api/Application/Services/IItemsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164514"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ElGuerre.Microservices.Billing.Api.Services
{
public interface IItemsService
{
}
}
| 1.147368 | 02456b1fa937a59dfa7282f177284073 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rayb64/Tipsy",
"max_stars_repo_path": "Tipsy/Tipsy/ViewModels/TodayViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164515"
} | starcoder | // <Copyright>Copyright (c) Birklid Software. All rights reserved.</Copyright>
// <File>TodayViewModel.cs</File>
// <Company>Birklid Software</Company>
// <Author><NAME></Author>
// <Email><EMAIL></Email>
// <Date>11/7/2021 3:14:10 PM</Date>
namespace Com.Gmail.Birklid.Ray.Tipsy.ViewModels
{
using Com.Gmail.Birklid... | 1.913875 | 750f0be1f61d5bba63e0ebba88d8b992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845296 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "WaveEngine/UIWindowSystemsDemo",
"max_stars_repo_path": "UIWindowSystemsDemo/InteractionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164516"
} | starcoder | <filename>UIWindowSystemsDemo/InteractionService.cs<gh_stars>1-10
using System;
using Evergine.Framework.Services;
namespace UIWindowSystemsDemo
{
public class InteractionService : Service
{
public event EventHandler CameraReset;
public float Displacement { get; set; }
public void Res... | 2.238625 | d933e7764ae0d4fc134678f5dbd694fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845297 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "wzl-bxg/NTcc-TransactionCore",
"max_stars_repo_path": "src/NTccTransaction/Internal/MethodMatcherCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164517"
} | starcoder | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using NTccTransaction.Abstractions;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace NTccTransact... | 2.325605 | b3f6bd18b4b5e85fdc8a6abab2e40595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leonard-thieu/daily-leaderboards-service",
"max_stars_repo_path": "test/DailyLeaderboardsService.Tests/LeaderboardsArgsParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164518"
} | starcoder | using System;
using System.IO;
using Moq;
using toofz.Services.DailyLeaderboardsService.Properties;
using Xunit;
namespace toofz.Services.DailyLeaderboardsService.Tests
{
public class LeaderboardsArgsParserTests
{
public class Parse
{
public Parse()
{
in... | 2.74361 | 1c9dc1254387481fce54f87a2097ef84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845299 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "QuinntyneBrown/aspnet-feed",
"max_stars_repo_path": "Providers/Contracts/IRouteParamsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164519"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace AspNetFeed.Web.Providers.Contracts
{
public interface IRouteParamsProvider
{
IDictionary<string, object> Get();
void Set(string key, object value);
}
}
| 1.61043 | b6d4c25b987e20db050eb0c9a1e78765 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Megapop/feed-the-monster",
"max_stars_repo_path": "Assets/Scripts/UI/UIGameCompleteScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164520"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIGameCompleteScreen : MonoBehaviour
{
[Range(3f, 20f)]
public float showFeedBackAfter;
public string FeedBackFile;
public GameObject FeedBackGO;
void Start()
{
if (FeedBackGO != null)
... | 1.850415 | 7997bd6b8e6ab7923613d500ccb93db7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paul-mcinnis/authentication",
"max_stars_repo_path": "Auth/Auth.Library/Interfaces/IModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164521"
} | starcoder | <gh_stars>0
using System;
namespace Auth.Library.Interfaces
{
public interface IModel
{
/// <summary>
/// Unique ID for the model implementing this interface.
/// </summary>
int ModelId { get; set; }
/// <summary>
/// TimeStamp created by the database wh... | 2.074339 | e78e6510f45c4e0baa9012a39434c936 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845302 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "luke-h1/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreEducationStatistics.Content.Model.Tests/Extensions/ReleaseFileExtensionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164522"
} | starcoder | #nullable enable
using System;
using System.Collections.Generic;
using GovUk.Education.ExploreEducationStatistics.Common.Model;
using GovUk.Education.ExploreEducationStatistics.Content.Model.Extensions;
using Xunit;
using static GovUk.Education.ExploreEducationStatistics.Common.Model.FileType;
namespace GovUk.Educati... | 2.021557 | c59c0fa0259c1288d4aa968a8e27e3f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeroByter/GalacticLander",
"max_stars_repo_path": "Assets/Scripts/UI/Main Menu/Level Selection/LevelSelectionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164523"
} | starcoder | <reponame>ZeroByter/GalacticLander
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using System.Text;
using Steamworks;
using System.IO;
public class LevelSelectionManager : MonoBehaviour {
public static int TotalSingleplayerLevels = 0;
public static int TotalCoopLe... | 2.013651 | 2c7fb3eef7f3a1f4dce7576fca0a4940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PetX1996/CODSCRIPT",
"max_stars_repo_path": "CODSCRIPT/Content/Expression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164524"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace CODSCRIPT.Content
{
public class Expression : SimpleTree
{
protected Expression(List<IElement> elems)
: base(elems)
{
}
protected Expres... | 2.607668 | 3e41c9d8423efe8703300547201470bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jorgebaptista/hash-code",
"max_stars_repo_path": "source/2020/qualification_round/Solution/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164525"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Solution
{
class Program
{
public struct Book
{
public int score;
public bool scanned;
}
public class Library
{
public int totalBooks;
public in... | 3.36057 | 75e900a6ac8cc62ed56c398585efbbbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lufengfan/yande.re-Desktop",
"max_stars_repo_path": "src/yandere.core/Data/YandereTagType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yandere.Data
{
public enum YandereTagType
{
Any = 0,
General = 1,
Artist = 2,
Copyright = 3,
Character = 4,
Circle = 5,
Faults =... | 1.702334 | 8def0152a9c0af8200cc291f10ddb79f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845307 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "dsdude123/WaifuLabs.NET",
"max_stars_repo_path": "WaifuLabs.NET/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164527"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using WaifuLabs.NET.Model;
namespace WaifuLabs.NET
{
class Program
{
static readonly string generateUrl = "https://api.waifulabs.com/generate";
static readonly string ... | 2.673355 | d4b17e58e7f4ae40bdeb026bf992dad7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EmapaSA/Cartomatic.Utils",
"max_stars_repo_path": "Cartomatic.Utils/Number/NumberExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164528"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cartomatic.Utils.Number
{
/// <summary>
/// number extensions
/// </summary>
public static class NumberExtensions
{
/// <summary>
/// Fits a number in range... | 3.709968 | 6cb4b9b2919cb1462c2a9e53bdd9c806 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Programming/Data-Structures-and-Algorithms/Homework/11-DynamicProgramming/SuperSumDynamic/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164529"
} | starcoder | <filename>Courses/Programming/Data-Structures-and-Algorithms/Homework/11-DynamicProgramming/SuperSumDynamic/Program.cs
// TASK
// http://bgcoder.com/Contests/Practice/DownloadResource/170
namespace SuperSymDynamic
{
using System;
using System.IO;
internal class Program
{
// expected 6
... | 3.574606 | cddd05f2bf6bc2bb40a1a1297b4d9e97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfjcn/EntityFramework-Reverse-POCO-Code-First-Generator",
"max_stars_repo_path": "Generator/Filtering/IDbContextFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164530"
} | starcoder | using System.Collections.Generic;
namespace Efrpg.Filtering
{
public interface IDbContextFilter
{
string SubNamespace { get; set; }
Tables Tables { get; set; }
List<StoredProcedure> StoredProcs { get; set; }
List<Enumeration> Enums { ... | 1.771928 | f5a6acf5c51a8bedeb40692ee10b1cbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845311 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kip-dk/dynamics-plugin",
"max_stars_repo_path": "Kipon.Xrm.Tools/CodeCopy/CopyXrmCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164531"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kipon.Xrm.Tools.CodeCopy
{
public class CopyXrmCode
{
public static void Copy(string sourcePath, string destinationPath, string newNamespace = null)
{
var s... | 2.629879 | 0935e76ad426b048b4e892d2bbea4dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845312 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "treytomes/ecma_basic",
"max_stars_repo_path": "src/ECMABasic55/ConsoleEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164532"
} | starcoder | <reponame>treytomes/ecma_basic
using ECMABasic.Core;
using ECMABasic.Core.Configuration;
using ECMABasic.Core.Exceptions;
using System;
namespace ECMABasic55
{
public class ConsoleEnvironment : EnvironmentBase
{
public ConsoleEnvironment(Interpreter interpreter = null, IBasicConfiguration config = null)
: base... | 2.419885 | 2998c3b9d6e45db685e96cd7060cc417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bdukes/Engage-Survey",
"max_stars_repo_path": "Source/Engage.Survey/UI/SurveyControlDesigner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164533"
} | starcoder | <gh_stars>0
// <copyright file="SurveyControlDesigner.ascx.cs" company="Engage Software">
// Engage: Survey
// Copyright (c) 2004-2015
// by Engage Software ( http://www.engagesoftware.com )
// </copyright>
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIM... | 2.229435 | a74e402b18bf4ff103a324dd32f76bd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prixladi/expendity-server",
"max_stars_repo_path": "src/Shamyr.Expendity.Server.Service/Graphql/SchemaRoot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164534"
} | starcoder | <reponame>prixladi/expendity-server
using System;
using GraphQL.Types;
using Microsoft.Extensions.DependencyInjection;
namespace Shamyr.Expendity.Server.Service.Graphql
{
public class SchemaRoot: Schema, ISchemaRoot
{
public SchemaRoot(IServiceProvider services)
: base(services)
{
Query = serv... | 1.243513 | 14837e63041c46f1af6071f507327c54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/core/Stride.Core.Design/Transactions/IAsyncTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164535"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
n... | 1.895855 | da14719ce3f7a67e3d49e900e3e51925 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sw1ma/xamarin-samples",
"max_stars_repo_path": "Mvvm/Mvvm/ViewModels/ViewModelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164536"
} | starcoder | using Mvvm.Core;
namespace Mvvm.ViewModels
{
public class ViewModelBase : Observable
{
public ViewModelBase()
{ }
string _pageTitle;
public string PageTitle
{
get => _pageTitle;
set => SetProperty(ref _pageTitle, value);
}
bool ... | 2.371412 | 385b9a8445fabd583f61b3fa8f78ed59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "w7rus/Notes",
"max_stars_repo_path": "backend/NotesWebAPI/Controllers/SharesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164537"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Micros... | 1.963215 | 53d0f57bc54db9257bbc8f8b6738f899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845318 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afrog33k/mobjc",
"max_stars_repo_path": "test/ArgTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164538"
} | starcoder | // Copyright (C) 2008 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// dis... | 2.253688 | 80fc10bd888b0b113efc5b7e048d3a78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "christianspecht/bitbucket-backup",
"max_stars_repo_path": "src/BitbucketBackup/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164539"
} | starcoder | <filename>src/BitbucketBackup/IRepository.cs<gh_stars>0
namespace BitbucketBackup
{
internal interface IRepository
{
/// <summary>
/// Message to display when pulling from the remote repository
/// </summary>
string PullingMessage { get; }
/// <summary>
... | 2.216806 | 30c09bd3e0e8ec6a1385d9fae6c5f327 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgsg1012/Sophomore-cSharp-work",
"max_stars_repo_path": "Assignment2/Simple Factory Pattern/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164540"
} | starcoder | <filename>Assignment2/Simple Factory Pattern/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simple_Factory_Pattern
{
// 抽象产品
public abstract class Shape
{
public bool legal = true;
public abstract dou... | 3.810419 | 9e4fff2134fbd8641033154a116bbadd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845321 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bzquan/GherkinEditor",
"max_stars_repo_path": "GherkinEditor/GherkinEditor/Model/CustomElementGenerator/CurvePlotModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164541"
} | starcoder | <filename>GherkinEditor/GherkinEditor/Model/CustomElementGenerator/CurvePlotModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OxyPlot;
using OxyPlot.Annotations;
using Gherkin.Util.Geometric;
using Gherkin.Util.NURBS;
using Gherkin.Util.... | 2.464453 | d9cf4f0a173abfe57667369f2bf4178d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xclouder/topdown_shooter_demo",
"max_stars_repo_path": "Assets/Scripts/Systems/TouchEntityHandler/TouchTimeBonusHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164542"
} | starcoder | using UnityEngine;
using System.Collections;
public class TouchTimeBonusHandler : ITouchEntityHandler {
#region ITouchEntityHandler implementation
public void Handle (BaseTouchable entity)
{
var bonus = entity as TimeBonus;
var timeSys = SystemMgr.Instance.GetSystem<TimeSystem>();
timeSys.AddLeftTime(bonus... | 2.069157 | 92b94a3a9f11672738f725a44d274d48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GerardSmit/NextRP",
"max_stars_repo_path": "src/NextFramework/Scripting/PluginLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164543"
} | starcoder | <filename>src/NextFramework/Scripting/PluginLoader.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml... | 2.41781 | 46d9e63ade571531b8f61255b519244f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yyosifov/rabbitBus",
"max_stars_repo_path": "src/RabbitBus.Specs/Integration/CorrelationSpecs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164544"
} | starcoder | <filename>src/RabbitBus.Specs/Integration/CorrelationSpecs.cs<gh_stars>1-10
using System;
using Machine.Specifications;
using RabbitBus.Specs.Infrastructure;
using RabbitBus.Specs.TestTypes;
namespace RabbitBus.Specs.Integration
{
[Integration]
[Subject("Correlation")]
public class when_subscribing_to_a_m... | 2.320675 | 70ad559b905f8e9750521fe538613dce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gartenschlaeger/DataAccess",
"max_stars_repo_path": "PureFreak.DataAccess/DataInputQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164545"
} | starcoder | <filename>PureFreak.DataAccess/DataInputQuery.cs
namespace PureFreak.DataAccess
{
public abstract class DataInputQuery<TDataProvider, TInput> : DataQueryBase<TDataProvider>
where TDataProvider : DataProvider
{
public DataInputQuery(TDataProvider dataProvider)
: base(dataProvider)
... | 2.132305 | b82b4a2c76cab21e3e4e9d4fc53873eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Timwi/KTANE-Mods",
"max_stars_repo_path": "Tweaks/TweaksAssembly/Patching.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164546"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using HarmonyLib;
namespace TweaksAssembly.Patching
{
static class Patching
{
private static readonly Dictionary<string, Harmony> instances = new Dictionary<string, Harmony>();
public static bool PatchClasses(string id, out Harmony instanc... | 2.452792 | 300c95a194f0b1222247e8d8b5d21ca2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845327 | {
"extension": "c-sharp",
"max_stars_count": "258.0",
"max_stars_repo_name": "pleumkungzx/GhostRunner",
"max_stars_repo_path": "GhostRunner.Models/GitScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164547"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace GhostRunner.Models
{
public class GitScript : IGhostRunnerScript
{
private Script _script;
private SequenceScript _sequenceScript;
... | 2.675746 | 457c02aadd05a50be745d8764a3cf029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845328 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "alekar/hugs",
"max_stars_repo_path": "src/dotnet/HugsWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164548"
} | starcoder | //
// Helper class for dynamically creating types/classes
// wrapping up Hugs functions/actions.
//
// (c) 2002, sof.
//
using System;
using System.Reflection;
using System.Reflection.Emit;
using Hugs;
//
// Class: HugsWrapper
//
public class HugsWrapper {
// Class: FunctionInfo
//
// Packages up the info... | 2.639935 | 1587f62f489b65ff3eb261a6cbd69b54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845329 | {
"extension": "c-sharp",
"max_stars_count": "425.0",
"max_stars_repo_name": "yeze322/botbuilder-dotnet",
"max_stars_repo_path": "tests/Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime.Tests/TestHostingEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164549"
} | starcoder | <filename>tests/Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime.Tests/TestHostingEnvironment.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.FileProviders;
namespace Microsoft.Bot.Builder.Runtime.Tests
{
... | 1.624728 | 8f1b7f86dcec6afab98e41c19fe3ad52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845330 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "quantum-grit/BELLATRIX",
"max_stars_repo_path": "templates/Bellatrix.Web.GettingStarted/08. Controls/08.2. Complex Controls/Data/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164550"
} | starcoder | <filename>templates/Bellatrix.Web.GettingStarted/08. Controls/08.2. Complex Controls/Data/Employee.cs
namespace Bellatrix.Web.GettingStarted
{
// In order GetItems to be able to work you need to map the properties to headers through the HeaderName attribute
// this is how we handle differences between the prop... | 2.847775 | 1e1f95268839367bb4babe94282bdbce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ronnykarlsson/servicedisc",
"max_stars_repo_path": "ServiceDisc/Networking/ServiceClients/ParameterValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164551"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
namespace ServiceDisc.Networking.ServiceClients
{
internal static class ParameterValidation
{
public static void Validate(IEnumerable<ParameterInfo> parameters)
{
if (parame... | 2.734833 | d785e20497e4425c649b0ed16fde0bb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DocSchlock/Kanka.NET",
"max_stars_repo_path": "Kanka.NET/models/Organisation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164552"
} | starcoder | <reponame>DocSchlock/Kanka.NET<gh_stars>0
using Kanka.NET.models.interfaces;
using System.Text.Json.Serialization;
namespace Kanka.NET.models
{
public class Organisation : EndpointAbstract, ICampaignRequired
{
[JsonPropertyName("organisation_id")]
public int OrganisationId { get; set; }
... | 1.495789 | 32944f8a37682eec2ad3994e42ae7875 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajsuth/Ajsuth.Foundation.Inventory.Engine",
"max_stars_repo_path": "src/Pipelines/Blocks/DoActionSelectInventorySetToAssociateSellableItemBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164553"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DoActionSelectInventorySetToAssociateSellableItemBlock.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2020
// </copyright>
// -------------------... | 1.976118 | 5b696d1830a38f24f1b50941f5645176 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845334 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "prmathur-microsoft/azure-iot-sdk-csharp",
"max_stars_repo_path": "iothub/device/src/Common/ReadOnlyMergeDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164554"
} | starcoder | <filename>iothub/device/src/Common/ReadOnlyMergeDictionary.cs<gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Client.Common
{
using System;
using System.Collect... | 2.565343 | 295658a69618be85727be61cf17a2f05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergeyIlyinFirst/Microservices",
"max_stars_repo_path": "AspNetMicroservices/Services/Catalog/Catalog.API/Repositories/IProductReposirory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164555"
} | starcoder | <filename>AspNetMicroservices/Services/Catalog/Catalog.API/Repositories/IProductReposirory.cs
using Catalog.API.Entitites;
namespace Catalog.API.Repositories
{
public interface IProductReposirory
{
Task<IEnumerable<Product>> GetProductsAsync();
Task<Product> GetProductByIdAsync(string id);
... | 2.332342 | 647a9924312817eb7f786c401fea956b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csf-dev/WebDriverExtras",
"max_stars_repo_path": "CSF.WebDriverExtras/FactoryBuilders/WebDriverFactoryCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164556"
} | starcoder | <filename>CSF.WebDriverExtras/FactoryBuilders/WebDriverFactoryCreator.cs
using System;
namespace CSF.WebDriverExtras.FactoryBuilders
{
/// <summary>
/// Default implementation of <see cref="ICreatesWebDriverFactory"/> which creates web driver factory instances
/// and handles possible errors encountered (by retu... | 3.260106 | 38574d2283532075d734b3a289c72225 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845337 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "wareismymind/peer",
"max_stars_repo_path": "Peer.Domain/Commands/FindError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164557"
} | starcoder | <gh_stars>1-10
namespace Peer.Domain.Commands
{
public enum FindError
{
AmbiguousMatch,
NotFound
}
}
| 1.181152 | c1f9f9f6d0966c06ed61d9724251324e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amz-hjinfeng/ScrapyCore",
"max_stars_repo_path": "ScrapyCpre.Fundamental/Kernel/Extract/SourceObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164558"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ScrapyCore.Fundamental.Kernel.Extract
{
public class SourceObject
{
public string Type { get; set; }
public object Parameters { get; set; }
}
}
| 1.457293 | fe79eee5c0c240642c5c6575abe77b7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndhisrfzs/Unity.LFAsset",
"max_stars_repo_path": "Runtime/Core/Downloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164559"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace LFAsset.Runtime
{
public class Downloader : MonoBehaviour
{
private const float BYTES_2_MB = 1f / (1024 * 1024);
/// <summary>
/// 最大并行数量
/// </summary>
public in... | 2.55636 | f2dff356887bc06c549b70045bf7e10f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.