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 | 69233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hectorborges/Wipeout",
"max_stars_repo_path": "Assets/DunGen/Code/Utility/ChanceTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69234"
} | starcoder | <filename>Assets/DunGen/Code/Utility/ChanceTable.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace DunGen
{
#region Helper Class
/// <summary>
/// A value with a weight
/// </summary>
/// <typeparam name="T">The type of value to use</typeparam>
... | 3.562682 | 763cecd69677198142c9a8802f36a082 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69234 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grandtiger/gemini",
"max_stars_repo_path": "src/Gemini.Modules.Xna/Controls/HwndMouse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69235"
} | starcoder | <reponame>grandtiger/gemini
using System.Windows;
using Gemini.Modules.Xna.Util;
namespace Gemini.Modules.Xna.Controls
{
public static class HwndMouse
{
public static Point GetCursorPosition()
{
var point = new NativeMethods.NativePoint();
NativeMethods.GetCursorPos(ref... | 2.237852 | 7631c282bb4ca17a6e06ca05d460e0e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69235 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dmitriyse/ClrCoder",
"max_stars_repo_path": "src/ClrCoder/Threading/Channels/ChannelWriterWithoutBatchMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69236"
} | starcoder | <reponame>dmitriyse/ClrCoder<filename>src/ClrCoder/Threading/Channels/ChannelWriterWithoutBatchMode.cs<gh_stars>1-10
// <copyright file="ChannelWriterWithoutBatchMode.cs" company="ClrCoder project">
// Copyright (c) ClrCoder project. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in th... | 2.17877 | ccb6b76d9d1e6d3c0daa77b00f8bb600 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuriys-kentico/create-kentico-app",
"max_stars_repo_path": "App.Boilerplate.Core/Widgets/UserWidgetInfoProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69237"
} | starcoder | using CMS.DataEngine;
namespace App.Boilerplate.Core.Widgets
{
public class UserWidgetInfoProvider : AbstractInfoProvider<UserWidgetInfo, UserWidgetInfoProvider>
{
public UserWidgetInfoProvider() : base(UserWidgetInfo.TYPEINFO)
{
}
public static ObjectQuery<UserWidgetInfo> Get... | 2.066059 | f33d6f34708b6e2c2d5b0ed73b5c2eb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jvallon/recipe-book",
"max_stars_repo_path": "recipebookserver/Contracts/ILoggerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69238"
} | starcoder | <reponame>jvallon/recipe-book<gh_stars>0
using System;
namespace Contracts
{
public interface ILoggerManager
{
void LogInfo(string msg);
void LogWarn(string msg);
void LogDebug(string msg);
void LogError(string msg);
}
}
| 1.747365 | 3dd98d862bfa5ef2dabe4d789264ece7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SINTEF-9012/EmergencySituationSimulator2014",
"max_stars_repo_path": "EmergencySituationSimulator2014/HereAPI/HereConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69239"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EmergencySituationSimulator2014.HereAPI
{
class HereConfig
{
public static string AppId;
public static string AppCode;
}
}
| 1.06582 | f3b046a18698eb7f6e4d3d5e09550780 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1onepower/WrathMods-TabletopTweaks",
"max_stars_repo_path": "TabletopTweaks/NewComponents/BuffExtraEffectsRequirements.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69240"
} | starcoder |
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Classes;
using Kingmaker.Blueprints.JsonSystem;
using Kingmaker.Enums;
using Kingmaker.PubSubSystem;
using Kingmaker.UnitLogic;
using Kingmaker.UnitLogic.Buffs;
using Kingmaker.UnitLogic.Buffs.Blueprints;
using Newtonsoft.Json;
using UnityEngine;
using UnityEngin... | 1.815094 | 9be38fbc7809e125bd72e676840fe5ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agrc/PLSS",
"max_stars_repo_path": "PLSS/Services/Pdf/PlssPdfService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69241"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using System.IO;
using O2S.Components.PDF4NET;
using O2S.Components.PDF4NET.Graphics;
using O2S.Components.PDF4NET.Graphics.Fonts;
using O2S.Components.PDF4NET.Graphics.Shapes;
using PLSS.Models;
namespace PLSS.Services.Pdf
{
public class PlssPdfService : PdfService... | 2.170635 | 336d0f14bb6130afd7d6bce9eaa475cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69241 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "liamwang/anet",
"max_stars_repo_path": "Anet.Web/Jwt/AuthenticateResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69242"
} | starcoder | using System.Security.Claims;
namespace Anet.Web.Jwt;
public class AuthenticateResult
{
/// <summary>
/// JWT 验证是否通过
/// </summary>
public bool Success { get; set; }
/// <summary>
/// 返回消息
/// </summary>
public string Message { get; set; }
/// <summary>
/// 验证通过后的 Claim 信息
... | 2.069961 | acb9973baf3aaa48e12455016d187aee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69242 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CatinaCupGames/Sharp2D",
"max_stars_repo_path": "Sharp2D/Sharp2D/Common/PhysicsSprite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69243"
} | starcoder | <reponame>CatinaCupGames/Sharp2D
using System;
using System.Collections.Generic;
using System.Linq;
using OpenTK;
using Sharp2D.Core.Interfaces;
namespace Sharp2D
{
public abstract class PhysicsSprite : ModuleSprite, ICollidable
{
public event EventHandler OnCollision;
public override float X
... | 2.562627 | 0bd81b8b5e11692e0778bc08390b6d7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vinesmsuic/VinesMod",
"max_stars_repo_path": "Items/Weapons/Gun/SpectreBook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69244"
} | starcoder | <gh_stars>0
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace VinesMod.Items.Weapons.Gun
{
public class SpectreBook : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Spectre Book");
Tooltip.SetDefault("call wisps out to attack... | 1.719337 | bb4ea831531050886bfd521dcb68197b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69244 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DHSERVICE56/T3000_Building_Automation_System",
"max_stars_repo_path": "Psychrometric Tool/Psychro Tool/WFA_psychometric_chart/WFA_psychometric_chart/FilterDataFromT3000.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69245"
} | starcoder | using System.Collections.Generic;
using System.Data.SQLite;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace WFA_psychometric_chart
{
/// <summary>
/// class helps to filter data from alex database(i.e.T3000)
/// </summary>
public class FilterDataFromT3000
{
... | 2.56283 | ac05efb3b23a1267b78c1b10dd3347d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rolfwessels/Lazy.Authentication",
"max_stars_repo_path": "src/Lazy.Authentication.Shared/Interfaces/Base/ICrudController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69246"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Lazy.Authentication.Shared.Interfaces.Base
{
public interface ICrudController<TModel, TDetailModel>
{
Task<TModel> Get(Guid id);
Task<TModel> Insert(TDetailModel model);
Task<TModel> Update(Guid id, TDetailModel model);
Task... | 2.038076 | 3f5b81be1eb948dccb33b5b28fa3ed66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69246 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "tibel/Weakly",
"max_stars_repo_path": "src/Weakly/Builders/ExpressionOpenFuncBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69247"
} | starcoder | <filename>src/Weakly/Builders/ExpressionOpenFuncBuilder.cs
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace Weakly.Builders
{
/// <summary>
/// <see cref="Expression"/> based <see cref="IOpenFuncBuilder"/>.
/// </summary>
public sealed class ExpressionOpenFuncBuilder : I... | 2.912574 | 45b23dbad8b1f069e962d1ad27e8174b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69247 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "agc93/acmi",
"max_stars_repo_path": "src/PackCreator/Build/BuildInstruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69248"
} | starcoder | using System.Collections.Generic;
using System.IO;
using AceCore;
using BuildEngine.Builder;
namespace PackCreator {
public class BuildInstruction<T> : BuildInstruction where T : Identifier {
public BuildInstruction(T identifier)
{
this.Identifier = identifier;
// this.Sour... | 2.464857 | 84fc4f7c75f7473306570276df4f4571 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexeyShpavda/TasksForCourse",
"max_stars_repo_path": "Task4/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69249"
} | starcoder | <filename>Task4/Program.cs
using System;
using System.Collections.Generic;
namespace Task4
{
class Program
{
static void Main()
{
/*
Создать программу, которая будет подсчитывать количество слов в
предложении и выводить их в отсортированном виде. Предложение... | 3.791175 | 10e1a303bcb64fa58c5def7d7b58b9d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivajlotokiew/CSharp_OOP_Advanced",
"max_stars_repo_path": "High-Quality Code Retake Exam - 10 March 2016/BoatRacingSimulator/Core/Factories/BoatFactory/BoatFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69250"
} | starcoder | using System;
using BoatRacingSimulator.Interfaces;
namespace BoatRacingSimulator.Core.Factories.BoatFactory
{
public abstract class BoatFactory : IBoatFactory
{
public abstract IBoat CreateBoat(string[] parameters);
}
}
| 1.783831 | ea26be7782878a556a42eff958448d98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edmathias/ECS.MemberManager.Core",
"max_stars_repo_path": "ECS.MemberManager.Core.BusinessObjects.xUnitTest/PersonalNote/PersonalNoteER_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69251"
} | starcoder | using System.IO;
using System.Threading.Tasks;
using ECS.MemberManager.Core.DataAccess.ADO;
using ECS.MemberManager.Core.DataAccess.Mock;
using Microsoft.Extensions.Configuration;
using Xunit;
namespace ECS.MemberManager.Core.BusinessObjects.xUnitTest
{
public class PersonalNoteER_Tests : CslaBaseTest
{
... | 1.958332 | fda6787379c4d99f9350b27cd2a67927 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Inseparable7v/Design-Patterns-master",
"max_stars_repo_path": "BehavioralPatterns/Iterator/SequenceNumbers/Models/ConcreteAggregate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69252"
} | starcoder | <gh_stars>1-10
namespace SequenceNumbers.Models
{
using System.Collections.Generic;
using SequenceNumbers.Contracts;
/// <summary>
/// The 'ConcreteAggregate' class
/// </summary>
public class ConcreteAggregate<T> : IAggregate<T>
{
private readonly List<T> items = new List<T>();
... | 3.32277 | 3893192eecd95759a6b87a8cf725db92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69252 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "cornelha/DynamicMVC",
"max_stars_repo_path": "DynamicMVC.ApplicationMetadataLibrary/Interfaces/IApplicationMetadataManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69253"
} | starcoder | using DynamicMVC.ApplicationMetadataLibrary.Models;
namespace DynamicMVC.ApplicationMetadataLibrary.Interfaces
{
public interface IApplicationMetadataManager
{
ApplicationMetadataSummary GetApplicationMetadataSummary();
}
} | 1.343446 | 7f3794c606d6b17ab0337447e600ac3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benday/docker-compose-sample-2019",
"max_stars_repo_path": "dockercompose/Benday.Presidents/src/Benday.Presidents.WebUi/Views/President/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69254"
} | starcoder | <filename>dockercompose/Benday.Presidents/src/Benday.Presidents.WebUi/Views/President/Edit.cshtml
@model Benday.Presidents.Api.Models.President
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>President</h4>
... | 2.196816 | 2a83e441bd98cd3081cc71364c8977eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69254 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "MatteoPiovanelli-Laser/Nwazet.Commerce",
"max_stars_repo_path": "Nwazet.Commerce.Tests/Stubs/FakeCartStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69255"
} | starcoder | <reponame>MatteoPiovanelli-Laser/Nwazet.Commerce
using System.Collections.Generic;
using Nwazet.Commerce.Models;
using Nwazet.Commerce.Services;
namespace Nwazet.Commerce.Tests.Stubs {
public class FakeCartStorage : IShoppingCartStorage {
private readonly List<ShoppingCartItem> _cartItems;
... | 2.152602 | a2382dfc1034441bd3cc8f77c5c53d23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69255 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Rud156/MarioTypeGame",
"max_stars_repo_path": "Assets/Scripts/Generic Scripts/MoveSineWave.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69256"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveSineWave : MonoBehaviour {
public float moveSpeed = 0.7f;
public float amplitude = 1.5f;
private float angle;
// Use this for initialization
void Start() {
angle = 0;
}
// Update is... | 2.284195 | 41fdbc0523612a4c1dc042d563d11c8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69256 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "reignstudios/ReignSDK",
"max_stars_repo_path": "Platforms/Common/Reign.Video.API/Model/SoftwareModel/SoftwareAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69257"
} | starcoder | using System.Collections.Generic;
using Reign.Core;
using System;
namespace Reign.Video.Abstraction
{
public class SoftwareKeyFrame
{
public Vector2 Cordinate {get; private set;}
public InterpolationTypes InterpolationType {get; private set;}
public SoftwareKeyFrame(Vector2 cordinate, InterpolationTypes inte... | 2.396702 | eacf2150281455b6c6df3fda3b815128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69257 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "yoowonyoung/TizenFX",
"max_stars_repo_path": "src/ElmSharp/Interop/Interop.Elementary.Image.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69258"
} | starcoder | <reponame>yoowonyoung/TizenFX
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd 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
*
* http://www.apache.org/licenses/... | 1.890316 | 3ac9375e9fd7ef7b764ebb1049bf2101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Triggs9/Dock",
"max_stars_repo_path": "src/Dock.Avalonia/Internal/DockHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69259"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.VisualTree;
using Dock.Model;
using Dock.Model.Controls;
namespace Dock.Avalonia
{
/// <summary>
/// Dock helpers.
/// </summary>
i... | 2.304713 | 173b368bfdd926710955ca7a11bea273 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AhsanulIslam/Automated_Attendance-_System-CSharp",
"max_stars_repo_path": "AutoAttendance/CourseInfo/SpecificReport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69260"
} | 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;
using System.Data.SqlClient;
namespace CourseInfo
{
public partial class SpecificReport : Form
{... | 2.367374 | 87b42a88a7d29ab496cd3e47e661089e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69260 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "tomp2p/TomP2P-.NET",
"max_stars_repo_path": "TomP2P/TomP2P.Extensions/Netty/Buffer/ByteBufUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69261"
} | starcoder | <reponame>tomp2p/TomP2P-.NET
namespace TomP2P.Extensions.Netty.Buffer
{
public sealed class ByteBufUtil
{
/// <summary>
/// Returns true if and only if the two specified buffers are identical to each
/// other. This method is useful when implementing a new buffer type.
/// </s... | 2.993236 | 6984c39a16bebbb4c6e3e8df2b54073a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinkro/tutorials-unity3d",
"max_stars_repo_path": "GameExamples/Assets/Game 1 - Catch eggs/Scripts/EggScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69262"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class EggScript : MonoBehaviour {
void Awake()
{
//rigidbody.AddForce(new Vector3(0, -100, 0), ForceMode.Force);
}
//Update is called by Unity every frame
void Update () {
float fallSpeed = 2 * Time.deltaTime... | 1.703501 | de9d796f7c4467c10464954b2f463d00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69262 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Routing/IPublishedRouter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69263"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Umbraco.Cms.Core.Models.PublishedContent;
namespace Umbraco.Cms.Core.Routing
{
/// <summary>
/// Routes requests.
/// </summary>
public interface IPublishedRouter
{
/// <summary>
/// Creates a published request.
... | 2.455564 | 7366647a30bc79d0826736f8b8e73390 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arsen006/cshaprtraining-sea-war",
"max_stars_repo_path": "Cell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69264"
} | starcoder | namespace Foundation.Hub256.Seawar
{
/// <summary>
/// Sea field single cell.
/// </summary>
enum Cell : int
{
/// <summary>
/// Position is not hitted yet
/// </summary>
Empty = 0,
/// <summary>
/// if in position is ship
/// </summary>
... | 2.365979 | d64fdcd3b32915efb129667d648a0644 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TataDvd/Git",
"max_stars_repo_path": "2012/Tempo2012/Tempo2012.UI.WPF/ViewModels/ContoManagment/WraperConto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69265"
} | starcoder | <reponame>TataDvd/Git<filename>2012/Tempo2012/Tempo2012.UI.WPF/ViewModels/ContoManagment/WraperConto.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tempo2012.EntityFramework.Models;
namespace Tempo2012.UI.WPF.ViewModels.ContoManagment
{
[Serializable]
public cla... | 2.039547 | 0115406ca0b28b266b40d8c58ed65f2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69265 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mrvcmrvc/MMUIMenu",
"max_stars_repo_path": "UMVVMFramework/Assets/UMVVMFramework/MVVMFramework/Runtime/InputManager/MoveInputManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69266"
} | starcoder | <reponame>mrvcmrvc/MMUIMenu<filename>UMVVMFramework/Assets/UMVVMFramework/MVVMFramework/Runtime/InputManager/MoveInputManager.cs<gh_stars>1-10
using System.Collections.Generic;
using UnityEngine;
namespace MVVM
{
public class MoveInputManager : MonoBehaviour
{
#region Interfaces
public interfa... | 2.445938 | 0c722f9311c3c636a4b4f5ea432c7ad7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69266 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gKev1n/UnityFrameWorkDesign",
"max_stars_repo_path": "Assets/QFramework/Framework/0.PackageKit/Editor/Login/Command/LoginCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69267"
} | starcoder | <filename>Assets/QFramework/Framework/0.PackageKit/Editor/Login/Command/LoginCommand.cs
using QFramework.PackageKit.State;
namespace QFramework.PackageKit
{
public class LoginCommand : IPackageLoginCommand
{
private readonly string mUsername;
private readonly string mPassword;
public ... | 2.454405 | e0f9b2ef54d1a507c0242283c2ddb28e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belykhvd/GrobExp.Mutators",
"max_stars_repo_path": "Mutators.Tests/FunctionalTests/InnerContract/DespatchPartyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69396"
} | starcoder | <reponame>belykhvd/GrobExp.Mutators<filename>Mutators.Tests/FunctionalTests/InnerContract/DespatchPartyInfo.cs
using GrobExp.Mutators.CustomFields;
namespace Mutators.Tests.FunctionalTests.InnerContract
{
public class DespatchPartyInfo
{
[CustomField]
public PartyInfo PartyInfo { get; set; }
... | 1.222658 | f8d98c1d2690eafa9e830230408a9b77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CNinnovation/azureandwebservices",
"max_stars_repo_path": "WCF/DuplexCommunication/MessageClient/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69397"
} | starcoder | using System;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Wrox.ProCSharp.WCF
{
class ClientCallback : IMyMessageCallback
{
public void OnCallback(string message)
{
Console.WriteLine("message from the server: {0}", message);
}
}
class Program
{
static void Main(... | 2.683722 | 1de4bd3c76328c8043e8b27bf0dd922f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vadlit/App",
"max_stars_repo_path": "DotNetRu.UWP/Helpers/AppVersionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69398"
} | starcoder | using DotNetRu.UWP.Helpers;
using Xamarin.Forms;
[assembly: Dependency(typeof(AppVersionProvider))]
namespace DotNetRu.UWP.Helpers
{
using Windows.ApplicationModel;
using DotNetRu.Clients.Portable.Interfaces;
public class AppVersionProvider : IAppVersionProvider
{
public string AppVersion
... | 1.795455 | ea998e79be814e664b1b79a0ec2c0b06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69398 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/WindowsBase/System.IO.Packaging/ZipPackage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69399"
} | starcoder | <filename>mcs/class/WindowsBase/System.IO.Packaging/ZipPackage.cs
// 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, co... | 2.184658 | 5e76a534b0d04d748b64e298d4435eec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69399 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "b1ubb0r/Javi.FFmpeg",
"max_stars_repo_path": "Javi.FFmpeg/Exceptions/FFmpegException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69400"
} | starcoder | using System;
namespace Javi.FFmpeg
{
public class FFmpegException : Exception
{
public FFmpegException()
{
}
public FFmpegException(string message)
: base(message)
{
}
public FFmpegException(string message, Exception inner)
: b... | 2.227645 | 21c5fe38ddc2322e3a778f5bafdd6cd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nadjibus/CrystalAI",
"max_stars_repo_path": "CrystalAI.Tests/Tests/Selectors/MaxUtilitySelectorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69401"
} | starcoder | // GPL v3 License
//
// Copyright (c) 2016-2017 Bismur Studios Ltd.
// Copyright (c) 2016-2017 <NAME>
//
// MaxUtilitySelectorTests.cs is part of Crystal AI.
//
// Crystal AI is free software: you can redistribute it and/or modify
// it under the terms of the MIT License
//
// Crystal AI is distributed in the ... | 2.409956 | 09758813cf1eb22139d8d9fe6513e77f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jo3l17/CodiGo3",
"max_stars_repo_path": "Backend/Semana 10/Dia4/EF Linq/EF Linq/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69402"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EF_Linq
{
class Program
{
static void Main(string[] args)
{
using ( var context = new DBLINQEntities())
{
Console.WriteLine("Cli... | 2.992145 | a1dd30953ac828f08c2962e874fe4a13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69402 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "wmper/learn",
"max_stars_repo_path": "dotnet/Example.NPOI/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69403"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using SDK.Extensions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
namespace Example.NPOI
{
class Program
{
... | 2.581868 | dd6da88f2d45f4c3c7ae1dd41750b894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kassout/unityProject_ReallyTinyStrategies_Scripts",
"max_stars_repo_path": "ReallyTinyStrategies_Script/Assets/Scripts/Networking/RTSNetworkManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69404"
} | starcoder | <filename>ReallyTinyStrategies_Script/Assets/Scripts/Networking/RTSNetworkManager.cs<gh_stars>0
using System;
using System.Collections.Generic;
using Mirror;
using Steamworks;
using UnityEngine;
using UnityEngine.SceneManagement;
using Random = UnityEngine.Random;
/// <summary>
/// Class <c>RTSNetworkManager</c> is a ... | 2.192438 | 8ffc0cbf90ee8e2c03848d373440c025 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69404 | {
"extension": "c-sharp",
"max_stars_count": "2975.0",
"max_stars_repo_name": "hamzarauf007/unity-position-test",
"max_stars_repo_path": "Assets/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69405"
} | starcoder | <reponame>hamzarauf007/unity-position-test
using System;
using UnityEngine;
namespace Cysharp.Threading.Tasks.Internal
{
internal sealed class PlayerLoopRunner
{
const int InitialSize = 16;
readonly PlayerLoopTiming timing;
readonly object runningAndQueueLock = new object();
... | 2.533477 | 84081a96df2fce98d8e553cc7c177d90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69405 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "FedorUporov/gridgain",
"max_stars_repo_path": "modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Affinity/AffinityKeyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69406"
} | starcoder | <reponame>FedorUporov/gridgain
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/pro... | 1.783661 | 893f998d35cb91adc1c19328d8a01ce4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "15110123/X-y-d-ng-chatbot-h-tr-t-h-ng-tr-c-tuy-n",
"max_stars_repo_path": "CutieShop/CutieShop/Models/DAOs/IDAO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69407"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
// ReSharper disable InconsistentNaming
// ReSharper disable TypeParameterCanBeVariant
namespace CutieShop.Models.DAOs
{
internal interface IDAO<TID, TEntity>
{
Task<bool> Create(TEntity entity);
Task<TEntity> Read(TID id, bool isTracking);
... | 2.34075 | 6e7c905a42542623a31a4ba057c3ca0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErikMoczi/EducationGame_BachelorThesis",
"max_stars_repo_path": "Assets/Scripts/Managers/TransitionScene/TransitionSceneManager/TransitionStatusControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69408"
} | starcoder | <filename>Assets/Scripts/Managers/TransitionScene/TransitionSceneManager/TransitionStatusControl.cs<gh_stars>0
using System.Collections;
namespace Bachelor.Managers
{
public partial class TransitionSceneManager
{
private class TransitionStatusControl : ITransitionStatusControl
{
pr... | 2.705455 | 2964e6b20ea7d594b8bbdef71220f18f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69408 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/Testability/Client/Requests/AddUnreliableTransportBehaviorRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69409"
} | starcoder | <filename>src/prod/src/managed/Api/src/System/Fabric/Testability/Client/Requests/AddUnreliableTransportBehaviorRequest.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo roo... | 2.069471 | d1e3797f9c62dd27a910450c51aad870 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69409 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "imperugo/Dexter-Blog-Engine",
"max_stars_repo_path": "src/Dexter.Web.Core/ViewEngine/DexterViewEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69410"
} | starcoder | <filename>src/Dexter.Web.Core/ViewEngine/DexterViewEngine.cs<gh_stars>1-10
#region Disclaimer/Info
// ////////////////////////////////////////////////////////////////////////////////////////////////
// File: DexterViewEngine.cs
// Website: http://dexterblogengine.com/
// Authors: http://dexterblogengine.com/about... | 2.278229 | e138326a78af55a4d44f4ed1ca8be7ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gleblebedev/ImageSharp.Textures",
"max_stars_repo_path": "src/ImageSharp.Textures/Formats/Dds/Processing/BlockFormats/Dxt3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69411"
} | starcoder | // Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Textures.Formats.Dds.Processing
{
using System;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Textures.Formats.Dds;
using SixLabors.ImageSharp.Textures.Forma... | 2.758063 | 0428fb132ed9a0168f538db25f460cda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69411 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Const-me/Vrmac",
"max_stars_repo_path": "VrmacVideo/Containers/MKV/Generated/eMatrixCoefficients.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69412"
} | starcoder | <gh_stars>10-100
namespace VrmacVideo.Containers.MKV
{
/// <summary>The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries. For clarity, the value and meanings for MatrixCoefficients are adopted from Table 4 of ISO/IEC
/// 23001-8:2016 or ITU-T H.273.</sum... | 2.204238 | 6798ef107995b3d1808418548f03af62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jestar342/Rolodex",
"max_stars_repo_path": "Rolodex/Messages/Events/IEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69413"
} | starcoder | <reponame>Jestar342/Rolodex
using System;
namespace Rolodex.Messages.Events {
public interface IEvent
{
Guid EntityId { get; }
DateTimeOffset OccurredOn { get; }
}
} | 1.481041 | d022926595558e06c16d45e9c12bddc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinjaramilloc/FirstPersonShooter",
"max_stars_repo_path": "FPS/Assets/UFPS/Base/Scripts/Gameplay/Player/Local/Interaction/vp_PlatformSwitch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69414"
} | starcoder | /////////////////////////////////////////////////////////////////////////////////
//
// vp_PlatformSwitch.cs
// © VisionPunk. All Rights Reserved.
// https://twitter.com/VisionPunk
// http://www.visionpunk.com
//
// description: This class allows the player to interact with vp_MovingPlatform.
//
///////////////////////... | 2.355588 | 21b2f50f2a4ed7adc2ab8a8ee539aa18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Morasiu/town-bestiary-api",
"max_stars_repo_path": "TownBestiaryApi/TownBestiaryApi/Controllers/ReportsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69415"
} | starcoder | <filename>TownBestiaryApi/TownBestiaryApi/Controllers/ReportsController.cs
using Microsoft.AspNetCore.Mvc;
using TownBestiaryApi.Models.Reports;
namespace TownBestiaryApi.Controllers;
[ApiController]
[Route("[controller]")]
public class ReportsController : ControllerBase {
[HttpPost]
public ActionResult Po... | 1.928543 | 9dc6bec7cc4978304ed08cce934683c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69415 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tianfengs/AbpPractice",
"max_stars_repo_path": "ABPMVCTest/ABPMVCTest.Core/Entities/Donator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69416"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Domain.Entities;
namespace ABPMVCTest.Entities
{
[Table("Donators")]
public class Donat... | 2.146299 | 9bfd8572c8fbfad0998d368c294a003a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69416 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Foxpips/LayeredArchitecture",
"max_stars_repo_path": "Tests.Unit/StructureMapTests/StructureMapTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69417"
} | starcoder | <reponame>Foxpips/LayeredArchitecture<gh_stars>1-10
using Business.Objects.Layer.Interfaces.Startup;
using Dependency.Resolver.Loaders;
using NUnit.Framework;
using Tests.Unit.StructureMapTests.Schedulers;
namespace Tests.Unit.StructureMapTests
{
public class StructureMapTests
{
private... | 2.006342 | 6deec237d6cda89f505830f39935fa4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xBaank/FFWrapper",
"max_stars_repo_path": "FFmpegWrapper/Formats/Format.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69418"
} | starcoder |
using System;
namespace FFmpegWrapper.Formats
{
public class Format : IFormat
{
private string? _mediaFormat;
private string? _args;
public string MediaFormat
{
get => $" -f {_mediaFormat} ";
set => _mediaFormat = value;
}
public string ... | 2.930906 | 1079464458fd02eaea4df74701594075 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69418 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aadesola/sql-server-samples",
"max_stars_repo_path": "samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69419"
} | starcoder | <reponame>aadesola/sql-server-samples<gh_stars>1-10
using Belgrade.SqlClient;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using MsSql.RestApi;
using System;
using System.IO;
using System.Security.Claims;
using System.Threading.Tasks;
namespace wwi_app.Controllers
{
public partial cl... | 2.13675 | 801aff27b7f5951205edaaa23e91b099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69419 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-app-contactus",
"max_stars_repo_path": "DFC.App.ContactUs.UnitTests/ControllerTests/HealthControllerTests/BaseHealthControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69420"
} | starcoder | using DFC.App.ContactUs.Controllers;
using DFC.App.ContactUs.Data.Models;
using DFC.Compui.Cosmos.Contracts;
using FakeItEasy;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Net.Http.Headers;
using System.Collections.Generic;
using System.Net.Mime;
... | 1.617892 | 08b75bf03973183b92ab9b201999122b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69420 | {
"extension": "c-sharp",
"max_stars_count": "279.0",
"max_stars_repo_name": "thatb96/zipkin4net",
"max_stars_repo_path": "Examples/aspnetcore/common/CommonStartup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69421"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Ex... | 1.780962 | ac53b6d62268186f0247d524358fda05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wrrq/vs-bracematch-outline",
"max_stars_repo_path": "ExtentionTest/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69422"
} | starcoder | <reponame>wrrq/vs-bracematch-outline
using System.Windows.Media;
namespace ExtentionTest
{
public class BraceOutlinesSettings
{
public Color Color { get; set; }
public double Thickness { get; set; }
public bool MatchOnlyIfCaretOnBrace { get; set; }
}
}
| 1.349922 | 3b6fb1589974dc1f9a330a8f02bc42de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "s2quake/Ntreev.Crema",
"max_stars_repo_path": "share/JSSoft.Crema.Services.Test.Common/TypeFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69423"
} | starcoder | using JSSoft.Crema.ServiceModel;
using JSSoft.Crema.Services;
using JSSoft.Crema.Services.Random;
using JSSoft.Crema.Services.Test.Common;
using JSSoft.Crema.Services.Test.Common.Extensions;
using JSSoft.Library.Random;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.... | 1.909528 | efd93e78a14512a22b920d8164cb1509 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bamdada/FL-CMS-example",
"max_stars_repo_path": "src/Umbraco.Web/umbraco.presentation/umbraco/LiveEditing/Modules/CreateModule/CreateModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69424"
} | starcoder | using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.cms.businesslogic.web;
using umbraco.presentation.LiveEditing.Controls;
using Content = umbraco.cms.businesslogic.Content;
using umbraco.BusinessLogic.Actions;
using ClientDependency.Core;
using umbraco.IO;
namespace umbraco.pre... | 1.69174 | 2a39e623750a0ee2929470d56fdc7e0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "UserAccounts/UserAccounts_Generated/UserGroupQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69425"
} | starcoder | /*
This file was generated and should not be modified directly
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using Bam.Net.Data;
namespace Bam.Net.UserAccounts.Data
{
public class UserGroupQuery: Query<UserGroupColumns, UserGroup>
{
publi... | 2.078406 | 8696b6bf28107d203f06689fab201b6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matheusamaralima/SENAI-Hamburgueria",
"max_stars_repo_path": "Repositorios/PedidoRepositorio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69426"
} | starcoder | <reponame>matheusamaralima/SENAI-Hamburgueria
using System.Collections.Generic;
using System.IO;
using SENAI_Hamburgueria.Models;
namespace SENAI_Hamburgueria.Repositorios
{
public class PedidoRepositorio
{
private List<Pedido> Pedidos = new List<Pedido>();
public string Path = "DataBase/Pedid... | 2.298538 | 7fc9676e2bc7326c6a3abb1356cfae06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/NetOffice/Exceptions/CreateInstanceException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69427"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NetOffice.Exceptions
{
/// <summary>
/// Indicates NetOffice failed to create an instance
/// </summary>
public class CreateInstanceException : NetOfficeCOMException
{
/// <summary>
/// ... | 2.71669 | f8077de8a8e26927e6c9d6f5a6f3506c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69427 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "xiaoyaocz/AllLive",
"max_stars_repo_path": "AllLive.UWP/Views/SearchPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69428"
} | starcoder | using AllLive.UWP.Controls;
using AllLive.UWP.Helper;
using AllLive.UWP.Models;
using AllLive.UWP.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Wi... | 1.984468 | 895a6e483b586a7e3c830017d85e5a3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "741645596/graph",
"max_stars_repo_path": "Assets/Scripts/Graphics/Transform/Quaternion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69429"
} | starcoder | namespace RayGraphics.Transform
{
public class Quaternion
{
}
} | 0.861054 | 33b6e2824d799e21d53f8468c9c156b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weikio/ApiFramework.SDK.DatabasePlugin",
"max_stars_repo_path": "src/Weikio.ApiFramework.SDK.DatabasePlugin/CodeGeneration/TableApiBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69430"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using DynamicODataToSQL;
using Microsoft.Extensions.Logging;
namespace Weikio.ApiFramework.SDK.DatabasePlugin.CodeGeneration
{
public abstract class TableApiBase<T, TConfigurationType> : ApiBase<T, TConfigurationType> where T : DtoBase, new() where... | 2.361058 | d0aaf7dabce2e0cd9e4fbf0215f91245 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69430 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Librazy/Nethium",
"max_stars_repo_path": "src/Nethium.Abstraction/src/IServerIdentifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69431"
} | starcoder | <gh_stars>1-10
namespace Nethium.Abstraction
{
public interface IServerIdentifier
{
string ServerId { get; }
string BaseUrl { get; }
int? Port { get; }
}
} | 1.665371 | 5483255970575f70f0a8f72e8d06169b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamxi/Neuro",
"max_stars_repo_path": "Neuro/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69432"
} | starcoder | <gh_stars>0
using System;
using DXFramework;
using DXFramework.SceneManagement;
using DXFramework.Util;
using DXPrimitiveFramework;
using SharpDX.Toolkit;
namespace Neuro
{
public class Main: Game
{
private GraphicsDeviceManager graphicsDeviceManager;
private SceneManager sceneManager;
public Main()
{
g... | 2.129146 | 1d37149bdb39522371ad38034d70eb4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prime167/CSharpCodes",
"max_stars_repo_path": "Code/Ninject/Tea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69433"
} | starcoder | <filename>Code/Ninject/Tea.cs
namespace Ninject
{
public class Tea : IDrink
{
public string Drink()
{
return "Drink tea...";
}
}
} | 2.264616 | c9023e465cc1b366580b88d4e84feee0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtmt/study-cafu-roll-a-ball",
"max_stars_repo_path": "study-cafu-roll-a-ball-Unity/Assets/Tests/PlayMode/Scripts/Domain/Entity/CameraEntityTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69434"
} | starcoder | using System.Collections;
using NUnit.Framework;
using StudyCafuRollABall.Domain.Entity;
using UnityEngine;
using UnityEngine.TestTools;
using Zenject;
namespace StudyCafuRollABall.Tests.PlayMode.Scripts.Domain.Entity
{
public class CameraEntityTest : ZenjectIntegrationTestFixture
{
[Inject] ICameraEnt... | 2.222908 | 6b8e88980f20dcd8dacf13163a7a7691 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterthomet/BioPuur",
"max_stars_repo_path": "nopCommerce 4.4/src/Libraries/Nop.Data/DataProviderManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69435"
} | starcoder | using Nop.Core;
using Nop.Core.Infrastructure;
using Nop.Data.DataProviders;
namespace Nop.Data
{
/// <summary>
/// Represents the data provider manager
/// </summary>
public partial class DataProviderManager : IDataProviderManager
{
#region Methods
/// <summary>
/// Gets ... | 2.548094 | a42eda0b5728534c230130f941dbf9a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Azure/azure-cosmos-dotnet",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Routing/PartitionRoutingHelperTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69436"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Tests.Routing
{
using System;
using System.Collections.Generic;
using System.IO;
... | 1.674026 | 73361a743657802912c8f2350e8cc8fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69436 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "alexandrvslv/datawf",
"max_stars_repo_path": "DataWF.Module.Common/StatisticList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69437"
} | starcoder | using System;
using System.ComponentModel;
using DataWF.Data;
namespace DataWF.Module.Common
{
public class StatisticList : DBTableView<Statistic>
{
public StatisticList(string filter, DBViewKeys mode = DBViewKeys.None)
: base(Statistic.DBTable, filter, mode)
{
ApplySor... | 2.037959 | f9b3d19589a3658a2f8e4c8a339faf71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kzrnm/roslyn",
"max_stars_repo_path": "src/EditorFeatures/Core.Wpf/InlineRename/InlineRenameExperimentationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69438"
} | starcoder | <reponame>kzrnm/roslyn
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editor.InlineRename
... | 1.109811 | 9d94493795b0653479701534d7987bd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69438 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ThePiranha/infer",
"max_stars_repo_path": "test/Tests/Operators/GaussianOpTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69439"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Xunit;
using Microsoft.ML.Probabilistic.Factors;
using Microsoft.ML.Probabilistic.Distributions;... | 2.122872 | e8fd499dfe2148bbc48f64957c99050e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69439 | {
"extension": "c-sharp",
"max_stars_count": "265.0",
"max_stars_repo_name": "Lex45x/Grace",
"max_stars_repo_path": "src/Grace/DependencyInjection/ICompiledWrapperStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69440"
} | starcoder | using System;
namespace Grace.DependencyInjection
{
/// <summary>
/// Compiled wrapper
/// </summary>
public interface ICompiledWrapperStrategy : IConfigurableActivationStrategy, IWrapperOrExportActivationStrategy
{
/// <summary>
/// Get type that wrapper wraps
/// </summa... | 2.101958 | b4481b0e50c23ba5d21862f046f4c00a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69440 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "breezeliusong/UWPCommunityToolkit-dev",
"max_stars_repo_path": "Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared/Adaptive/AdaptiveHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69441"
} | starcoder | <filename>Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared/Adaptive/AdaptiveHelper.cs<gh_stars>1-10
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHO... | 2.298707 | 32d936a3643854b969bb37d419adf572 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69441 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "openrasta/openrasta-core",
"max_stars_repo_path": "src/OpenRasta/Configuration/CodecParentDefinitionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69442"
} | starcoder | <gh_stars>10-100
using System;
using OpenRasta.Codecs;
using OpenRasta.Configuration.Fluent;
using ICodec = OpenRasta.Codecs.ICodec;
namespace OpenRasta.Configuration
{
public static class CodecParentDefinitionExtensions
{
public static ICodecDefinition TranscodedBy<TCodec>(this ICodecParentDe... | 1.933378 | b0e9e1f6d41026809a2111fba93ae61c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69442 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tiagov8/SSW.SophieBot",
"max_stars_repo_path": "bots/employee-finder/src/SSW.SophieBot.HttpClientComponents.PersonQuery/Models/ProjectWithEmployeesCountModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69443"
} | starcoder | using Newtonsoft.Json;
namespace SSW.SophieBot.HttpClientComponents.PersonQuery.Models
{
public class ProjectWithEmployeesCountModel
{
[JsonProperty("crmId")]
public string CrmId { get; set; }
[JsonProperty("displayName")]
public string DisplayName { get; set; }
[Json... | 2.211689 | 8ac8127eea1c15b2f555970511994160 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flipthetrain/WaveAccounting.Net",
"max_stars_repo_path": "Wave.Schema/Enums/BusinessSubtypeValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69444"
} | starcoder | <gh_stars>0
namespace Wave.Schema.Enums
{
public enum BusinessSubtypeValue
{
ADVERTISING_PUBLIC_RELATIONS, //Advertising, Public Relations
AGRICULTURE_RANCHING_FARMING, //Agriculture, Ranching and Farming
ARTISTS_PHOTOGRAPHERS_CREATIVE__ACTOR, //Actor
ARTISTS_PHOTOGRAPHERS_CREAT... | 1.418448 | 8559b5afb785a24b2b9f7d790b88b4d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milindur/MdkControlApp",
"max_stars_repo_path": "MDKControl.iOS/DeviceViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69445"
} | starcoder | using System;
using CoreGraphics;
using Foundation;
using GalaSoft.MvvmLight.Helpers;
using GalaSoft.MvvmLight.Views;
using MDKControl.Core.Models;
using MDKControl.Core.ViewModels;
using MDKControl.iOS.Extensions;
using Microsoft.Practices.ServiceLocation;
using UIKit;
namespace MDKControl.iOS
{
inte... | 1.784445 | fb7e52ee48a65aa217cfeec6e03b94ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69445 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "superwalnut/redis-cluster-dotnet-core-template",
"max_stars_repo_path": "RedisDemo/Services/ICacheClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69446"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using RedisDemo.Models;
namespace RedisDemo.Services
{
public interface ICacheClient
{
bool Delete(string key);
T Get<T>(string key) where T : ICacheItem;
bool Set<T>(string key, T value, TimeSpan?... | 2.201473 | f79afc88f59108ffa3b6abc8bcfb3821 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "comnetstud/ARIES-dotnet-lib",
"max_stars_repo_path": "AriesApi/Core/State.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69447"
} | starcoder | namespace Aries.Core
{
/// <summary>
/// State class
/// </summary>
public class State
{
public double? power_rating { get; set; }
public double? power_factor { get; set; }
public double? incoming_power { get; set; }
public BatteryState battery { get; set; }
... | 2.419808 | 5547d17f55564cb95a048dd4fd03d817 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atakankaraca/personal-blog-project",
"max_stars_repo_path": "BlogProject/BlogProject/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69448"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BlogProject.Application;
using BlogProject.Application.Model.DTO;
using BlogTemp.Models;
using Newtonsoft.Json;
using BlogTemp.Models.Helpers;
namespace BlogTemp.Controllers
{
public class ... | 1.722375 | 19b74ae24bb5af10ad3f9632529116d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbaker731/StoreApplication",
"max_stars_repo_path": "StoreApp/StoreApp/Views/Shop/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69449"
} | starcoder | <filename>StoreApp/StoreApp/Views/Shop/Edit.cshtml
@model ModelLayer.ViewModels.StoreInfoViewModel
@{
ViewData["Title"] = "Edit";
}
<div style="color:red;">@Html.ValidationSummary()</div>
<div class="row">
<!--Show details are saved successfully message-->
<div class="col-lg-12">@ViewBag.Message</div>
</... | 2.141156 | a9d16d23550fefd23ae111a4ffeb6ea3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69449 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "xXxTheDarkprogramerxXx/PSPSHARP",
"max_stars_repo_path": "PSP_EMU/HLE/HLEModuleFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69450"
} | starcoder | /*
This file is part of pspsharp.
pspsharp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pspsharp is distributed in the hope that it wil... | 2.185453 | 975bd9d8a5ddc8d8fce4160be3c2b947 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mediaexplorer74/MicroStore",
"max_stars_repo_path": "MicrosoftStore/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69451"
} | starcoder | <gh_stars>0
namespace MicrosoftStore
{
public static class Constants
{
public const string API_HOST = "https://www.microsoft.com/services/api/v3";
public const string STOREFRONT_API_HOST = "https://storeedgefd.dsx.mp.microsoft.com/v8.0";
public const string CLIENT_ID = "7F27B536-CF6B-4... | 1.12276 | 252178d2909ee05e78d2c1e0019f6ac6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69451 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "KevinWG/OS.Common",
"max_stars_repo_path": "OSS.Common/BasicMos/AppConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69452"
} | starcoder | <filename>OSS.Common/BasicMos/AppConfig.cs
#region Copyright (C) 2016 Kevin (OSS开源系列) 公众号:OSSCore
/***************************************************************************
* 文件功能描述:OSSCommon - 通用应用账号配置信息
*
* 创建人: Kevin
* 创建人Email:<EMAIL>
* 创建时间: 2017-5-25
*
**********************************... | 2.447261 | 1c675f4cfd9aaceecd7a7c063eee30ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69452 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NilsPur/firewall-orchestrator",
"max_stars_repo_path": "roles/lib/files/FWO.Api.Client/Data/ObjectStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69453"
} | starcoder | <reponame>NilsPur/firewall-orchestrator
using System.Text.Json.Serialization;
namespace FWO.Api.Data
{
public class ObjectStatistics
{
[JsonPropertyName("aggregate")]
public ObjectAggregate ObjectAggregate { get; set; } = new ObjectAggregate();
}
public class ObjectAggregate
{
... | 1.280137 | 9820354f730af6b5aee6eecc15ea6113 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69453 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "HeatwaveStudios/HLView",
"max_stars_repo_path": "HLView.Graphics/Renderables/IRenderable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69454"
} | starcoder | <reponame>HeatwaveStudios/HLView
using System.Numerics;
using Veldrid;
namespace HLView.Graphics.Renderables
{
public interface IRenderable : IUpdateable
{
int Order { get; }
string Pipeline { get; }
float DistanceFrom(Vector3 location);
void CreateResources(SceneContext sc);
... | 1.710056 | 1434cb2ead932a03aa9cd59b483dd53a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69454 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "oclero/BijouJS",
"max_stars_repo_path": "test/TestBijou.Projected/Utils/CryptoTestUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69455"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.Storage;
using Newtonsoft.Json;
namespace TestBijou.Projected.Utils
{
enum enCryptoAlgo
{
Argon2,
Pbkdf2,
Unknown
}
// FlexibleMarkerTest data model
// used to parse json
intern... | 2.501742 | 0bb58602cc5e16fa8ff3a0fbf028c917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69455 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "fberasategui/dx-dotnet",
"max_stars_repo_path": "px-dotnet/Resources/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69456"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using MercadoPago.DataStructures.Customer;
using Newtonsoft.Json.Linq;
namespace MercadoPago.Resources
{
public sealed partial class Customer : Resource<Customer>
{
#region Actions
/// <summary>
/// Get al... | 2.543647 | 8d4e09e94573b46c57a524ae9faba543 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrSmugleaf/Banter-Bot.NET",
"max_stars_repo_path": "BanterBot.NET/Dependencies/ServiceDependencyAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69457"
} | starcoder | using System;
namespace BanterBot.NET.Dependencies
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class ServiceDependencyAttribute : Attribute
{
}
}
| 1.589819 | f6fb13e068123f61f34da9ea635cd750 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69457 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PsichiX/ggj-2019",
"max_stars_repo_path": "ggj-2019/Assets/ArtBar/StartConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69458"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
namespace GaryMoveOut
{
public class StartConfig : MonoBehaviour
{
public Dictionary<int, Outfit> playersChoosenOutfits = new Dictionary<int, Outfit>();
public OutfitIconsDatabase out... | 2.12575 | 33445d937374c3ee963ba7bac33ded99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69458 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AneeshBose/MAHE-Alumni-Portal",
"max_stars_repo_path": "Alumni Portal/Stud_Reg.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69459"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Web.Configuration;
namespace IT_Project
{
public partial class Stud_Reg : System.Web.UI.Page
{
protect... | 2.064831 | 2dbb9f75a5d63eea1f69454b219080fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69459 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "marcino239/dotnet-angular-bazel-sample",
"max_stars_repo_path": "Integration-Tests/FriendsController/FriendsControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69460"
} | starcoder | using System;
using System.Linq;
using Friends;
using Model;
using Xunit;
namespace IntegrationTests {
public class FriendsControllerTests {
[Fact]
public void FriendsController_Returns_List_Of_Friends () {
var ctrl = new FriendsController ();
var friends = ctrl.Get ().ToList ();
Assert.Eq... | 2.596321 | 2a78bda331e67c0bd37c354c794c1560 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maooson/squidex",
"max_stars_repo_path": "src/Squidex/Controllers/Api/Ping/PingController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69461"
} | starcoder | // ==========================================================================
// PingController.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ========================================================... | 1.901531 | 3889fbcf3f92536b94d28291e4f7ce4d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.