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 | 4637 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "soulslicer/ToDoPlusPlus",
"max_stars_repo_path": "ToDo++/UI/Components/CustomPopUps/CustomMessageBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4638"
} | starcoder | //@raaj A0081202Y
using System.Drawing;
using System.Windows.Forms;
namespace ToDo
{
public static class UserInputBox
{
private static UserInputForm popUp = new UserInputForm();
/// <summary>
/// Shows the UserInputBox
/// </summary>
/// <param name="title">Specify the... | 3.100605 | cd15158e46d8aa4ac8abc1b7516f4758 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4638 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnnyontheweb/AutoUpdater.NET",
"max_stars_repo_path": "AutoUpdater.NET/DownloadUpdateDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4639"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Mime;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using AutoUpdaterDotNET.Properties;
namespace AutoUpdaterDotNET
{
... | 2.112431 | a753178e18a464d405c4fe523d5a4aed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nunit/nunit3-vs-adapter.issues",
"max_stars_repo_path": "Issue871/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4640"
} | starcoder | <gh_stars>0
using NUnit.Framework;
namespace Issue871
{
[TestFixture]
public class Tests
{
bool b1 = true;
bool b2 = false;
[Test]
public void NUnitTest()
{
b1 = true;
b2 = false;
}
[TearDown]
public void TearDownTest... | 1.781554 | 8a801dc766be34e1fe329f81cb615f93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4640 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/AssignmentGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4641"
} | starcoder | <filename>Managed/main/AssignmentGroup.cs
using System.Collections.Generic;
using System.Collections.ObjectModel;
public class AssignmentGroup : IAssignableIdentity
{
private List<IAssignableIdentity> members = new List<IAssignableIdentity>();
public List<Ownables> current_owners = new List<Ownables>();
public st... | 2.590465 | 58303a5b7b2bfd26f0d7244e735d0782 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4641 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BillBaird/aries-framework-dotnet",
"max_stars_repo_path": "src/AgentFramework.Core.Handlers/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4642"
} | starcoder | <filename>src/AgentFramework.Core.Handlers/ServiceCollectionExtensions.cs
using AgentFramework.Core.Handlers;
using AgentFramework.Core.Handlers.Agents;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Service collection extensio... | 2.381396 | 9f5fade2d8d92fdfa0b3862358813624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "linweiyen/edu_apps",
"max_stars_repo_path": "english_learning/Word.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4643"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace english_learning
{
public class Word
{
public String English
{
get { return this._English; }
set { this._English=value; }
}
private String _English;
public String Chines... | 2.848196 | f28e5fb2f17f75ba082e9ddcdd9f3aae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4643 | {
"extension": "c-sharp",
"max_stars_count": "624.0",
"max_stars_repo_name": "bbqchickenrobot/NCache",
"max_stars_repo_path": "Src/NCRuntime/Exceptions/MaintenanceException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4644"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Text;
namespace Alachisoft.NCache.Runtime.Exceptions
{
/// <summary>
/// Thrown when the cluster is under maintenance
/// </summary>
... | 2.49932 | 109818ca761ccb54a9af2af74e693b02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "poseen/GeneticAlgorithmPlayground",
"max_stars_repo_path": "src/TestApplication.GeneticAlgorithm/Interfaces/IEvolutionRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4645"
} | starcoder | <filename>src/TestApplication.GeneticAlgorithm/Interfaces/IEvolutionRunner.cs
using System.Collections.Generic;
namespace TestApplication.GeneticAlgorithm.Interfaces
{
public interface IEvolutionRunner<TSpecimen>
{
void Initialize(int starterPopulationSize);
void Iterate();
... | 2.430669 | d1422e1ccf07c466df5ced7983dfc29f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renee0506/band-tracker",
"max_stars_repo_path": "Views/index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4646"
} | starcoder | @{
Layout="Shared/_Layout.cshtml";
}
<div class="col l6 valign">
<div class="card-panel hoverable card">
@Html.Partial("bands.cshtml", Model)
</div>
</div>
<div class="col l6 valign">
<div class="card-panel hoverable card">
@Html.Partial("venues.cshtml", Model)
</div>
</div>
| 1.530016 | d8d3eb234535b94405e2464c8af45848 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KScl/KtaneTwitchPlays",
"max_stars_repo_path": "TwitchPlaysAssembly/Src/Commands/MissionBinderCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4647"
} | starcoder | <filename>TwitchPlaysAssembly/Src/Commands/MissionBinderCommands.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Assets.Scripts.BombBinder;
using Assets.Scripts.Missions;
using UnityEngine;
/// <summary>Commands that can be used in the bomb binder.</summary>
/// <... | 2.378655 | 4fcf0430cc6446d5787c36a616b41530 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4647 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "tuxuan5200/-Core",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.WeChatPay/Response/WeChatPayGetHBInfoResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4648"
} | starcoder | using Essensoft.AspNetCore.Payment.WeChatPay.Domain;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.WeChatPay.Response
{
[XmlRoot("xml")]
public class WeChatPayGetHBInfoResponse : WeChatPayResponse
{
/// <summary>
/// 返回状态码
... | 1.689964 | 63fa2099765183f7b61bdb14836774d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DJJA/MW2_Statistics",
"max_stars_repo_path": "MW2 Statistics/MW2_Statistics/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4649"
} | starcoder | namespace MW2_Statistics
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | 2.083068 | 40c3810b9cb552af1802649c3666a78d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4649 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OpenDataNorway/OpenData",
"max_stars_repo_path": "backend/Persistence/Repositories/CommentRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4650"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using OpenData.Domain.Models;
using OpenData.Domain.Repositories;
using OpenData.Persistence.Contexts;
using System.Web;
using System;
using System.Linq;
namespace OpenData.Persistence.Repositories
{
public class ... | 2.425351 | a4b0dfa6c94fdd615920cc4c0aaa48c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dolittle-security/Gateway",
"max_stars_repo_path": "Source/Core/Pages/SignIn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4651"
} | starcoder | /*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------... | 1.604682 | 6a7f985d0825ca6b753cabdff20070bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nlioxa/C-Labs-Term-2nd",
"max_stars_repo_path": "Lab-1-Task-2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4652"
} | starcoder | using System;
using System.Collections;
using System.Linq;
namespace newTest
{
class Program
{
static void EnterArray(out string[][] array)
{
Console.Write("First dimension size >>> ");
int rowsNum = Int32.Parse(Console.ReadLine());
Console.Wri... | 3.586117 | 3122cb16e07b8dae5d6cf7bcd67ac401 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KarlClinckspoor/UnderworldExporter",
"max_stars_repo_path": "UnityScripts/scripts/Traps/a_hack_trap_class_item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4653"
} | starcoder | <filename>UnityScripts/scripts/Traps/a_hack_trap_class_item.cs<gh_stars>0
using UnityEngine;
using System.Collections;
public class a_hack_trap_class_item : a_hack_trap
{
//Turns the item at index 995 in britannia castle into a class specific item.
public override void ExecuteTrap(object_base src, int... | 2.198533 | 596a3aea40d2a4e61bff4d8b750febfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrasadSahana/Implementation-of-Scalar-Encoders-in-HTM",
"max_stars_repo_path": "Source/Generics/Types.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4654"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Generics
{
public class MyGenericClass<T> : MyClassBase
{
public MyGenericClass()
{
}
public MyGenericClass(T someType)
{
this.m_SomeType = someType;
... | 2.384658 | fcb71cf88736c5fc2c685fd907656662 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4654 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GEOTEST-AG/BioDivCollector",
"max_stars_repo_path": "Server/BioDivCollector.Connector/Controllers/TestController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4655"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading.Tasks;
//using BioDivCollector.DB.Models.Domain;
//using Microsoft.AspNetCore.Authorization;
//using Microsoft.AspNetCore.Mvc;
//using Microsoft.EntityFrameworkCore;
//using Microsoft.Extensions.Logging;
//using NetTopolo... | 2.120391 | bb05322d55d8b0d433975d7129a4a03b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4655 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "heroboy/XUnity.AutoTranslator",
"max_stars_repo_path": "src/XUnity.AutoTranslator.Plugin.Core/UIResize/ChangeFontSizeByPercentage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4656"
} | starcoder | using System;
using System.Globalization;
namespace XUnity.AutoTranslator.Plugin.Core.UIResize
{
class ChangeFontSizeByPercentage : IFontResizeCommand
{
private double _perc;
public ChangeFontSizeByPercentage( string[] args )
{
if( args.Length != 1 ) throw new ArgumentException( "Cha... | 2.440622 | 51613bb2600f85dc861a3dcdd3efab52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "T-Alex/PowerCalc.Desktop",
"max_stars_repo_path": "PowerCalc/Commands/CopyToClipboardCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4657"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using TAlex.MathCore;
using TAlex.MathCore.LinearAlgebra;
namespace TAlex.PowerCalc.Commands
{
public cla... | 2.651101 | 2dd39544c9c38f9f8c2696469962a62b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4657 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JustinCanton/Geo.NET",
"max_stars_repo_path": "src/Geo.Bing/DependencyInjection/BingDI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4658"
} | starcoder | // <copyright file="BingDI.cs" company="Geo.NET">
// Copyright (c) Geo.NET.
// Licensed under the MIT license. See the LICENSE file in the solution root for full license information.
// </copyright>
namespace Geo.Bing.DependencyInjection
{
using System;
using Geo.Bing.Abstractions;
using Geo.Bing.Models;
... | 1.96868 | 9fcea39200ca94ef702ce7e05ecc77a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4658 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "bcmon/ActivityMonitor",
"max_stars_repo_path": "ActivityMonitor/Abstract/IApplicationUsage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4659"
} | starcoder | using System;
namespace ActivityMonitor.Collections
{
public interface IApplicationUsage
{
DateTime BeginTime { get; }
DateTime EndTime { get; }
void Start();
void End();
TimeSpan Total { get; }
bool IsClosed { get; }
}
} | 2.03258 | 730fa0acf094e84f1de6b029304d06d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4659 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zigurous/unity-animation-tweening",
"max_stars_repo_path": "Runtime/Extensions/Rendering/OcclusionAreaTweens.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4660"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Zigurous.Tweening
{
public static class OcclusionAreaTweens
{
public static Tween TweenCenter(this OcclusionArea area, Vector3 to, float duration) =>
Tweening.To(getter: () => area.center,
setter: center => area.center = c... | 2.241514 | 79ac496f2e66dd90b8175335beecc47c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4660 | {
"extension": "c-sharp",
"max_stars_count": "1034.0",
"max_stars_repo_name": "mk0sojo/allReady",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/OrganizationApiControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4661"
} | starcoder | <filename>AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/OrganizationApiControllerTests.cs
using System.Linq;
using System.Threading.Tasks;
using AllReady.Areas.Admin.Controllers;
using AllReady.Areas.Admin.Features.Organizations;
using AllReady.Areas.Admin.ViewModels.OrganizationApi;
using AllReady.Con... | 2.199586 | 502535163db63a1de7366d981f65909d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zechsu/OpenNefia",
"max_stars_repo_path": "OpenNefia.Core/Maps/ITileDefinitionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4662"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenNefia.Core.Prototypes;
namespace OpenNefia.Core.Maps
{
/// <summary>
/// This manages tile definitions for grid tiles.
/// </summary>
public interface ITileDefinitionManage... | 2.713739 | e8441fa1d0c4722dd2851454792dc509 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4662 | {
"extension": "c-sharp",
"max_stars_count": "232.0",
"max_stars_repo_name": "iwanovich/20468D",
"max_stars_repo_path": "Allfiles/Mod11/Democode/02_AuthorizeExample_begin/IdentityExample/Controllers/AccountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4663"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using IdentityExample.Models;
using IdentityExample.ViewModels;
using Microsoft.AspNetCore.Identity;
namespace IdentityExample.Controllers
{
public class AccountController : Controller
... | 2.434343 | 04ca16c48d7a93f12db5c6f11b2dba56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4663 | {
"extension": "c-sharp",
"max_stars_count": "1356.0",
"max_stars_repo_name": "Silastu/Windsor",
"max_stars_repo_path": "src/Castle.Facilities.AspNet.WebApi.Tests/AspNetWebApiFacilitySelfHostTestCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4664"
} | starcoder | <reponame>Silastu/Windsor
// Copyright 2004-2017 Castle Project - http://www.castleproject.org/
//
// 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.748349 | 7c5914e54491a00dea86ee295613365f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pedro-octavio/TODOList",
"max_stars_repo_path": "TODOList.Shared.IOC/Configurations/AutomapperIOC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4665"
} | starcoder | using Autofac;
using AutoMapper.Contrib.Autofac.DependencyInjection;
using TODOList.Domain.Mappers;
namespace TODOList.Shared.IOC.Configurations
{
internal class AutomapperIOC
{
/// <summary>
/// function for apply ioc configuration of Automapper
/// </summary>
/// <param name=... | 1.645839 | 83f31bc0ccc94b5184029f5ed835dd2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edluo1/sisj-gamejam-2020-beast",
"max_stars_repo_path": "Assets/Scripts/Mechanics/PlayerInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4666"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInput : MonoBehaviour
{
Rigidbody2D body;
Animator animator;
SpriteRenderer spriteRenderer;
float horizontal;
float vertical;
bool attackOrder;
bool dodgeOrder;
bool Dashing;
public ... | 2.443012 | 5bc14fb3c8eefc8d82a1ade6c48a5ff0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IrakliLomidze/CodexDS15",
"max_stars_repo_path": "CodexCommon15/CodexDSLinksListBox/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4667"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.917189 | 68358312f0f6c0f82bc1c2e5f0f46e49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4667 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Twinvision/BolRetailerApi",
"max_stars_repo_path": "Twinvision.BolRetailerApi/Categories/Returns.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4668"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Twinvision.BolRetailerApi.Containers;
using Twinvision.BolRetailerApi.ObjectDefinitions;
namespace Twinvision.BolRetailerApi
{
/// <summary>
/// Contains all possible interactions with bol about Returns
... | 2.673556 | 3de41913dedde8078fc1380f7ae11af5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4668 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcod30/Lector-Excel",
"max_stars_repo_path": "Lector Excel/Util/ExportManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4669"
} | starcoder | <reponame>marcod30/Lector-Excel
using Reader_347;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Lector_Excel
{
/... | 2.394462 | 927ecc533c64f31cb2fbe8a35a9c1db4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kasanami/EnvironmentalSensor",
"max_stars_repo_path": "EnvironmentalSensor/EnvironmentalSensor/Usb/Payloads/LatestDataLongCommandPayload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4670"
} | starcoder | namespace EnvironmentalSensor.Usb.Payloads
{
/// <summary>
/// 最新データを要求するペイロード
/// </summary>
public class LatestDataLongCommandPayload : CommandPayload
{
public override FrameCommand Command { get => FrameCommand.Read; }
public override FrameAddress Address { get => FrameAddress.La... | 2.286907 | d45b49ef2fd95712656504e80da56a96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhengkai2001/Lyrik",
"max_stars_repo_path": "Lyrik/LyricHelpers/LyricHelperName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4671"
} | starcoder | namespace Lyrik.LyricHelpers
{
public enum LyricHelperName
{
Azlyrics, Baidu
}
} | 1.285037 | 3b4944bcef55d88c8c0248e6550c7e31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4671 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SummerBatch/SummerBatchCore",
"max_stars_repo_path": "Summer.Batch.Extra/DummyItemReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4672"
} | starcoder | <reponame>SummerBatch/SummerBatchCore
//
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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/li... | 2.397852 | 3f08ca3350ed463b32a637e64f8d4a24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4672 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Inseparable7v/Design-Patterns-master",
"max_stars_repo_path": "BehavioralPatterns/TemplateMethod/TeaHouse/Models/Tea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4673"
} | starcoder | <gh_stars>1-10
namespace TeaHouse.Models
{
using System;
using TemplateMethod.Common;
/// <summary>
/// A 'ConcreteClass' class
/// </summary>
public class Tea : HotDrink
{
public override void AddSpices()
{
Console.WriteLine(PrintMessages.AddSugar);
}
... | 2.723789 | 0b33c713414759bc999d042817f94d94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AymanGaafar/RepairShop",
"max_stars_repo_path": "Code/RepairShop/Controllers/OData/ModelsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4674"
} | starcoder | <filename>Code/RepairShop/Controllers/OData/ModelsController.cs
namespace RepairShop.Controllers
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.... | 2.310813 | 83f510a8833f6694370bad235ca30a71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonnguyen/Litium.GraphQL",
"max_stars_repo_path": "Src/Litium.Accelerator/Searchers/CategorySearcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4675"
} | starcoder | <filename>Src/Litium.Accelerator/Searchers/CategorySearcher.cs
using System.Threading.Tasks;
using Litium.Accelerator.Routing;
using Litium.Accelerator.Search;
using Litium.Accelerator.ViewModels.Search;
namespace Litium.Accelerator.Searchers
{
public class CategorySearcher : BaseSearcher<CategorySearchResult>
... | 2.15242 | db6a7267a5dcdf2dccae1368dd8faa7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4675 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Calabonga/Facts",
"max_stars_repo_path": "src/Calabonga.Facts/Calabonga.Facts.Web/Views/Site/About.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4676"
} | starcoder | @{
ViewData["Title"] = "О проекте";
}
<h1>@ViewData["Title"]</h1>
<p>
Самые интересные и невероятные факты со всего света. Весь список тем можно посмотреть в облаке меток. Факты нам присылают наши читатели, а мы проверяем и публикуем их. Чтобы отправить свой факт, воспользуйтесь формой обратной связи.
</p>
<... | 2.790827 | 43d27789fadcb44e975b9d4daddc5ca8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4676 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "spring-operator/Samples",
"max_stars_repo_path": "Configuration/src/AspDotNet4/SimpleCloudFoundry/Views/Home/ConfigServerSettings.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4677"
} | starcoder | @{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag.FailFast</h4>
<h4>spring:cloud:config:name = @V... | 1.638966 | e7ddb84436d2279ec757c6a4fd05975e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maynek/Notesvel",
"max_stars_repo_path": "Library/src/Source.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4678"
} | starcoder | //********************************
// (c) 2021 <NAME>
// This software is released under the MIT License.
//********************************
using System;
using System.Collections.Generic;
using System.Text;
namespace Maynek.Notesvel.Library
{
public class SourceTable: ElementTableBase<Source> { }
... | 1.537003 | 4b548b0915d94a32f900347eeb24e057 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LagoVista/DroneBaseStation",
"max_stars_repo_path": "src/common/LagoVista.DroneBaseStation.Core/Interfaces/IChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4679"
} | starcoder | <gh_stars>0
using LagoVista.Core.PlatformSupport;
using System;
using System.Collections.Generic;
using System.Text;
namespace LagoVista.DroneBaseStation.Core.Interfaces
{
public interface IChannel : ISerialPort
{
}
}
| 0.700695 | 2238e6826f5056bf693d5e3fb33a7dce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4679 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/Sql/Sql/Elastic Jobs/Cmdlet/JobStep/RemoveAzureSqlElasticJobStep.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4680"
} | starcoder | <filename>src/Sql/Sql/Elastic Jobs/Cmdlet/JobStep/RemoveAzureSqlElasticJobStep.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in com... | 1.932989 | 130e1a56b86d36509267429c725e08fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4680 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "CodeStix/Beat-360fyer",
"max_stars_repo_path": "Beat-360fyer/FormGeneratorSettings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4681"
} | starcoder | namespace Stx.ThreeSixtyfyer
{
partial class FormGeneratorSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 2.485831 | a846002da11c8d91999f31f651f70389 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4681 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Simnico99/MicaWPF",
"max_stars_repo_path": "src/MicaWPF/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4682"
} | starcoder | namespace MicaWPF;
public enum WindowsTheme
{
Light,
Dark,
Auto
}
public enum OsVersion
{
WindowsOld,
Windows10,
Windows11Before22523, // Before 22523
Windows11After22523 // After 22523
}
public enum BackdropType
{
None = 1,
Mica = 2,
Acrylic = 3,
Tabbed = 4
}
public enu... | 1.783464 | e36593a62ab877176e01c207c8f2ce74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sphinxlogic/Singularity-RDK-2.0",
"max_stars_repo_path": "base/Windows/BuildTasks/TaskBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4683"
} | starcoder | <gh_stars>0
// ----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
us... | 1.947648 | ef693f037ad37372b895abd9abe07f8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4683 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Web.Common/Extensions/MetadataExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4684"
} | starcoder | <filename>src/SFA.Apprenticeships.Web.Common/Extensions/MetadataExtensions.cs
namespace SFA.Apprenticeships.Web.Common.Extensions
{
using System;
using System.Linq.Expressions;
using System.Web.Mvc;
public static class MetadataExtensions
{
public static ModelMetadata GetMetadata<TViewModel... | 2.281412 | 674bb7ecf640b5a00f8de00b36555f65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matt-psaltis/ExRam.Gremlinq",
"max_stars_repo_path": "ExRam.Gremlinq.Core/Queries/Steps/MeanStep.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4685"
} | starcoder | using Gremlin.Net.Process.Traversal;
namespace ExRam.Gremlinq.Core
{
public sealed class MeanStep : Step
{
public static readonly MeanStep Local = new MeanStep(Scope.Local);
public static readonly MeanStep Global = new MeanStep(Scope.Global);
public MeanStep(Scope scope)
{
... | 2.135553 | 66776859912037f7c05d126e4e39f489 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DuLovell/Battle-Simulator",
"max_stars_repo_path": "Assets/Scripts/UnitFSM/IdleState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4686"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class IdleState : BaseState
{
public IdleState(BaseUnit unit) : base(unit)
{
}
public override bool CheckIfBehaviourActive(UnitFSM unitFSM)
{
return true;
}
public override... | 2.490379 | 8d3705e8687156ca8a3e86097a9667f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4686 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wrido/wrido",
"max_stars_repo_path": "src/Wrido.Plugin.Wikipedia/WikipediaResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4687"
} | starcoder | <reponame>wrido/wrido
using System;
using System.Collections.Generic;
using System.Linq;
using Wrido.Plugin.Wikipedia.Common;
using Wrido.Queries;
using Wrido.Resources;
namespace Wrido.Plugin.Wikipedia
{
public class WikipediaResult : WebResult
{
private static readonly Image _wikiLogo = new Image
{
... | 2.131078 | 8116851e675f281c9db8bb75d59b7f2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnotherEpigone/rl2",
"max_stars_repo_path": "Roguelike2/GameMechanics/EntityInteractionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4688"
} | starcoder | using Roguelike2.Entities;
using Roguelike2.GameMechanics.Combat;
using Roguelike2.Maps;
using System.Linq;
namespace Roguelike2.GameMechanics
{
public class EntityInteractionManager
{
public EntityInteractionManager(IDungeonMaster dm, WorldMap map)
{
Dm = dm;
Map = map... | 2.290394 | cf868ff39c4070257551ecd6cf1bc1a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4688 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "Toysoft/spectnetide",
"max_stars_repo_path": "v2/Tests/Spect.Net.Assembler.Test/Assembler/IoOperationEmitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4689"
} | starcoder | <reponame>Toysoft/spectnetide
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spect.Net.Assembler.Assembler;
namespace Spect.Net.Assembler.Test.Assembler
{
[TestClass]
public class IoOperationEmitTests : AssemblerTestBed
{
[TestMethod]
public void InOpsWorkAsExpected()
{
... | 1.714344 | bab21d2148297803c88c9b0719fcc108 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4689 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WesleyAS-BR/Forms9Patch",
"max_stars_repo_path": "Forms9Patch/Forms9Patch/Models/ImageSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4690"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using Xamarin.Forms;
using System.ComponentModel;
using System.Text;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Forms9Patch
{
/// <summary>
/// Forms9Patch ImageSource.
/// </summa... | 2.431472 | 83faedd6be39e8e0f93881f99b168e1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4690 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joehanna/TK.CustomMap",
"max_stars_repo_path": "Source/TK.CustomMap/Api/Google/GmsDirection/GmsDirection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4691"
} | starcoder | <filename>Source/TK.CustomMap/Api/Google/GmsDirection/GmsDirection.cs<gh_stars>1-10
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TK.CustomMap.Api.Google
{
/// <summary>
/// Calls the Google Maps Directions API to get a route
/// </s... | 3.181209 | 6c1ed3ebe1b475cffedba4213517c2e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4691 | {
"extension": "c-sharp",
"max_stars_count": "107.0",
"max_stars_repo_name": "spadapet/xaml-binding-tool",
"max_stars_repo_path": "XamlBinding/ToolWindow/Entries/CountedTableEntryComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4692"
} | starcoder | <reponame>spadapet/xaml-binding-tool
using System.Collections.Generic;
namespace XamlBinding.ToolWindow.Entries
{
internal sealed class CountedTableEntryComparer : IEqualityComparer<ICountedTableEntry>
{
bool IEqualityComparer<ICountedTableEntry>.Equals(ICountedTableEntry x, ICountedTableEntry y)
... | 2.344683 | a8523665952581c2a022113f952b2285 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4692 | {
"extension": "c-sharp",
"max_stars_count": "460.0",
"max_stars_repo_name": "NSqda/XCoinTrader",
"max_stars_repo_path": "ConvNetSharp/ConvNetSharp.Flow/Ops/Log.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4693"
} | starcoder | using System;
using System.Collections.Generic;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Flow.Ops
{
public class Log<T> : Op<T> where T : struct, IEquatable<T>, IFormattable
{
public Log(ConvNetSharp<T> graph, Dictionary<string, object> data) : base(graph)
{
}
public L... | 2.402247 | 1d322f44a907dcbafb56eb267f134656 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4693 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreeApophis/Funcky",
"max_stars_repo_path": "Funcky.Test/Extensions/EnumerableExtensions/MemoizeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4694"
} | starcoder | <filename>Funcky.Test/Extensions/EnumerableExtensions/MemoizeTest.cs
using Funcky.Test.TestUtils;
namespace Funcky.Test;
public sealed class MemoizeTest
{
[Fact]
public void MemoizeIsEnumeratedLazily()
{
var doNotEnumerate = new FailOnEnumerationSequence<object>();
using var memoized = do... | 2.896729 | 673bc32180a41ecf34c8bc0f79a49582 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GTSupplyChainAR/Magic-Leap-Sparse-Navigation",
"max_stars_repo_path": "Assets/Libraries/SpriteSheet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4695"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class SpriteSheet : MonoBehaviour
{
/// <summary> The number of columns of the texture </summary>
[Tooltip("The number of columns of the texture")]
public int _columns = 2;
/// <summary> The number of rows of the text... | 2.597135 | 420653506d88473dbe449f662e69f7f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4695 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JakuJ/mandelbrot-set-explorer",
"max_stars_repo_path": "Mandelbrot/Rendering/ParallelMandelbrot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4696"
} | starcoder | <filename>Mandelbrot/Rendering/ParallelMandelbrot.cs
using System;
using System.Drawing;
using System.Threading.Tasks;
namespace Mandelbrot.Rendering
{
public class ParallelMandelbrot : MandelbrotSet
{
/// <summary>
/// Returns a <see cref="Color"/> for a complex number (<paramref name="cRe"/> ... | 3.417092 | 28346f6a8c154e3deffbbaf9df686d8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thor1824/Test_ReadyApi_Jenkins",
"max_stars_repo_path": "InBusinessForTests/Data/Managers/Facade/ICustomerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4697"
} | starcoder | using System.Threading.Tasks;
using InBusinessForTests.Data.Model;
namespace InBusinessForTests.Data.Managers.Facade
{
public interface ICustomerManager
{
Task<BusinessResponse<Customer>> DeleteAsync(int id);
Task<BusinessResponse<Customer>> CreateAsync(string name);
}
} | 1.729179 | fd894a9b7284302949a11ff7bc8ab8a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickell-andrew/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/MainMenu/Model/OptionsValueController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4698"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OptionsValueController : MonoBehaviour
{
private float uiScale;
public void Start()
{
uiScale = GameObject.Find("UI").transform.localScale.x;
SetValue(PlayerPrefs.GetFloat(thi... | 2.222611 | 9f0f6943f3c93bf63b4c503f1c5e8f1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiepTieuDieu98/DigitalAssetBC",
"max_stars_repo_path": "MusicServer/MusicServer/Models/Database/OwnerPrivateKeyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4699"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MusicServer.Models.Database
{
public class OwnerPrivateKeyInfo
{
public int UserID { get; set; }
public string OwnerPrivateKey { get; set; }
}
}
| 1.457772 | 94fe1b3f139d66339a544f155ce3ef21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gman8r/PrideBot",
"max_stars_repo_path": "PrideBot/TypeReaders/IEmoteTypeReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4700"
} | starcoder | <gh_stars>0
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Microsoft.Extensions.Configuration;
using System;
using System.Reflection;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Immutable;
using... | 2.525937 | 7f59c1a6ad8a809ddfc4196242532f5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stu43005/KanColleViewer",
"max_stars_repo_path": "Plugins/Logger/LoggerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4701"
} | starcoder | using Livet;
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
namespace Logger
{
public class LoggerViewModel : ViewModel
{
#region Loggers 変更通知プロパティ
private ObservableCollection<LoggerBase> _Loggers;
public Ob... | 2.227505 | 0e322f7bcc3ffbe959a82e1dc73d77db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MircoBabin/GitNoob",
"max_stars_repo_path": "src/GitNoob.Gui.Program/Action/ExecuteGetLatest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4702"
} | starcoder | <reponame>MircoBabin/GitNoob<gh_stars>0
using System.Collections.Generic;
using System.Drawing;
namespace GitNoob.Gui.Program.Action
{
public class ExecuteGetLatest : Action, IAction
{
public ExecuteGetLatest(StepsExecutor.StepConfig Config) : base(Config) { }
public Icon icon()
{
... | 1.902162 | 978e788757e8d88468c7e88a90872f10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4702 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "tcplomp/budoco",
"max_stars_repo_path": "Pages/App/Reports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4703"
} | starcoder | @page
@model ReportsModel
@{
ViewData["Title"] = "Reports";
}
<h1>@ViewData["Title"]</h1>
<partial name="_FlashPartial" />
<div class="data_table_div crud_table">
<table class="dt">
@{
<tr>
@{
for (int i = 0; i < Model.dt.Columns.Count; i++)
... | 2.263175 | bc74ec22816195f99577c37f62c012b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aaliyah6022/Fake-CS-GO-HACK",
"max_stars_repo_path": "ScriptKid code/Gma.System.MouseKeyHook/ScriptKidAntiCheat - CSGO Edition/Classes/Utils/Offsets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4704"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
namespace ScriptKidAntiCheat.Utils
{
/*
* Credit: https://github.com/rciworks/RCi.Tutorials.Csgo.Cheat.External
*/
public static class Offsets
{
// My own offset repo
pu... | 2.060973 | 150289c8098492237f5c12b963b29765 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/VanillaFriendlyTraitExpansion",
"max_stars_repo_path": "Source/More Traits/GMT_DefOf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4705"
} | starcoder | <reponame>emipa606/VanillaFriendlyTraitExpansion<gh_stars>0
using RimWorld;
using Verse;
namespace Garthor_More_Traits
{
// Token: 0x02000004 RID: 4
[DefOf]
public static class GMT_DefOf
{
// Token: 0x04000003 RID: 3
public static TraitDef GMT_Animal_Friend;
// Token: 0x040000... | 1.35472 | 0bc02b2432881472c2c33ba1459b77f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beatthat/requests-graphql",
"max_stars_repo_path": "Runtime/requests-graphql/ConnectionType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4706"
} | starcoder | <gh_stars>0
using System;
namespace BeatThat.Requests.GraphQL
{
[Serializable]
public class ConnectionType<T>
{
public EdgeType<T>[] edges { get; set; }
public PageInfo pageInfo { get; set; }
}
} | 1.40245 | 03f938b7c00b9b55dd08fb777ef483ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShassBeleth/MessagingApiExample",
"max_stars_repo_path": "MessagingApiExample/MessagingApiTemplate/Models/Requests/SendMessage/TemplateMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4707"
} | starcoder | using MessagingApiTemplate.Models.Requests.SendMessage.Template;
namespace MessagingApiTemplate.Models.Requests.SendMessage {
/// <summary>
/// テンプレートメッセージ
/// </summary>
public class TemplateMessage : MessageBase {
/// <summary>
/// メッセージ種別
/// </summary>
public string type = "type";
/// <summary>
... | 2.04312 | 0ec1cdb689f0f6ac534d7da2d1f34a36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4707 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qifei2012/MessageBus",
"max_stars_repo_path": "Sources/Core2/SubscriberBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4708"
} | starcoder | using System.Collections.Generic;
using MessageBus.Core.API;
using RabbitMQ.Client;
namespace MessageBus.Core
{
public class SubscriberBase : ISubscription
{
private readonly IModel _model;
private readonly string _queue;
private readonly IBasicConsumer _consumer;
pri... | 2.196949 | 12711c75f7384d3c74e83fe876154f1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharedsafe/SharedSafe.Toolbox",
"max_stars_repo_path": "Serialization/Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4709"
} | starcoder | <reponame>sharedsafe/SharedSafe.Toolbox
using System.IO;
namespace Toolbox.Serialization
{
public static class Serialization
{
#region Serialization
// todo: implement some kind of TypeTraits, so that we don't
// need to instantiate the context and the serializer all the time.
// todo: check the... | 2.661356 | daf8aa70820bd03222e5b41b2095a252 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LightosLimited/RailML",
"max_stars_repo_path": "v3.1/Models/DB/TpassengerFlowSpeed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4710"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Models.DB
{
public partial class TpassengerFlowSpeed
{
public TpassengerFlowSpeed()
{
Edoors = new HashSet<Edoors>();
}
public long TpassengerFlowSpeedId { get; set; }
public decimal Flow... | 1.560478 | 4dd35edba41233636e33f441e41b8894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Konstantin-Todorov/CSharpOOP",
"max_stars_repo_path": "C#OOP-Exams/Infestation/Infestation/Parasite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4711"
} | starcoder | namespace Infestation
{
public class Parasite : InfestUnit
{
public Parasite(string id)
:base(id,UnitClassification.Psionic,30,1,1)
{
}
}
}
| 1.957847 | 94fab4e8f71ded88518c1556f456d4ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cyclopunk/Rigger",
"max_stars_repo_path": "Drone.Configuration/Validation/AbstractConfigurationValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4712"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Rigger.Configuration;
using Rigger.Configuration.Validation;
namespace Drone.Configuration.Validation
{
/// <summary>
/// Configuration Validator abstract class.
/// </summary>
public abstract class AbstractConfigurationValidator : IConfigu... | 2.422877 | c90d8c149062ecf20eb528f20669630d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microsoft-teams-cc/ccbotv5ce",
"max_stars_repo_path": "Source/Test/CompanyCommunicator.Send.Func.Test/Services/NotificationServiceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4713"
} | starcoder | // <copyright file="NotificationServiceTest.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// </copyright>
namespace Microsoft.Teams.Apps.CompanyCommunicator.Send.Func.Test
{
using System;
using System.Net;
using System.Threading.Tasks;
using Fluent... | 1.916312 | 690a00d44e09e63d4670c01009f54219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4713 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cratis/cratis",
"max_stars_repo_path": "Source/Clients/DotNET/Integration/Adapters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4714"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Aksio.Cratis.Execution;
using Aksio.Cratis.Types;
using AutoMapper;
namespace Aksio.Cratis.Integration;
/// <summary>
/// Represents an im... | 2.09251 | 4a6486bc6c75140b16c0b7a251309ef5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4714 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "erhan0/aop",
"max_stars_repo_path": "SheepAspect/Runtime/PropertyJointPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4715"
} | starcoder | <reponame>erhan0/aop
using System.Reflection;
namespace SheepAspect.Runtime
{
public abstract class PropertyJointPoint : MemberJointPointBase
{
protected PropertyJointPoint(PropertyInfo property, AdviceCallback callback, object thisInstance, object[] args)
: base(property, callback, thisIns... | 1.692856 | e3dd292c62eac3f1b6b50083dca135aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vagisha/pwiz",
"max_stars_repo_path": "pwiz_tools/Skyline/TestData/Results/WatersCalcurveTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4716"
} | starcoder | /*
* Original author: <NAME> <<EMAIL>ndanx .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2009 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian... | 1.83431 | 390c0e3ee7659866da4405e0c79349e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4716 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPlugins/ChaCha/Helper/GetAmountOfDigits.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4717"
} | starcoder | namespace CrypTool.Plugins.ChaCha.Helper
{
internal static class Digits
{
/// <summary>
/// Return the amount of digits this number has in the decimal system.
/// For example, 154 has 3 digits.
/// </summary>
public static int GetAmountOfDigits(int n)
{
... | 3.073138 | 55758c95c24ef3ecd08e40e3081b4014 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rndthoughts/parsle",
"max_stars_repo_path": "Parsle.SendInBlue/MailService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4718"
} | starcoder | <filename>Parsle.SendInBlue/MailService.cs
using Parsle.Models;
using System.Collections.Generic;
using System.Linq;
using Light.GuardClauses;
using Parsle.Interfaces;
namespace Parsle.SendInBlue
{
/// <summary>
/// Sends mail using SendInBlue
/// </summary>
public class MailService : IParsleService
... | 2.724705 | a21b63a571496c497d5afe065afcb93e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KatsumiTakei/TohoJam4",
"max_stars_repo_path": "Assets/#Game/Scripts/MainScene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4719"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class MainScene : MonoBehaviour
{
[SerializeField]
GameObject[] ui = null;
[SerializeField]
ScoreManager scoreManager = null;
bool[] startQuest = new bool[] { false, true };
bool[] backHome = new bool[] { true, false };
... | 1.807771 | d78de5e1c3c2d852e92ca612fbd72bd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.Bitcoin.Api",
"max_stars_repo_path": "src/Lykke.Service.Bitcoin.Api.Core/Domain/Transactions/IUnconfirmedTransaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4720"
} | starcoder | using System;
namespace Lykke.Service.Bitcoin.Api.Core.Domain.Transactions
{
public interface IUnconfirmedTransaction
{
string TxHash { get; }
Guid OperationId { get; }
}
}
| 1.234629 | a9cdc07abc2e67575dbe8b2214aa5cf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MariBotOfficial/MariGlobals",
"max_stars_repo_path": "src/MariGlobals/Logger/Entities/MariEventLogMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4721"
} | starcoder | <filename>src/MariGlobals/Logger/Entities/MariEventLogMessage.cs<gh_stars>0
using Microsoft.Extensions.Logging;
using System;
namespace MariGlobals.Logger.Entities
{
public readonly struct MariEventLogMessage
{
internal MariEventLogMessage(string message, string sectionName, LogLevel logLevel, Excepti... | 2.34144 | f0872c5a74bb8adda50391bd3ccbd1e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ApocDev/CSLAPI",
"max_stars_repo_path": "CSLAPI/Utils/ReflectionUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4722"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace CSLAPI.Utils
{
// The copy/pasta is strong in this one. No real way to do simple static/nonstatic methods without copying code.
// This entire class wouldn't be needed if Unity would update it's version of Mono to ... | 2.995708 | d13c2b1f64c21da16a52e927d3e87bcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "107295472/DaprHost",
"max_stars_repo_path": "Public/Remote/IApplicationService/AccountService/Dtos/Output/GetAccountListResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4723"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IApplicationService.AccountService.Dtos.Output
{
public class GetAccountListResponse
{
public long Id { get; set; }
public string LoginName { get; set; }
public... | 2.158481 | 69d6b63de92408f17ed7445f184c2c33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinaschrepfer/vs-streamjsonrpc",
"max_stars_repo_path": "src/StreamJsonRpc.Tests/JsonRpcTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4724"
} | starcoder | <filename>src/StreamJsonRpc.Tests/JsonRpcTests.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
usi... | 1.961345 | 355b6bc92cd43eaf7a25afc59caa10d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkStephenPearce/CircuitBreaker",
"max_stars_repo_path": "CircuitBreaker/src/Interfaces/ICircuit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4725"
} | starcoder | <reponame>MarkStephenPearce/CircuitBreaker<filename>CircuitBreaker/src/Interfaces/ICircuit.cs
using System;
using System.Threading.Tasks;
namespace Sleeksoft.CB
{
internal interface ICircuit
{
ICircuitState CurrentState { get; }
bool IsOpen { get; }
bool IsHalfOpen { get; }
boo... | 2.37568 | 2a5c9559c6a00838c57911cc0eb1195d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4725 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matheusmughrabi/SimpleStore",
"max_stars_repo_path": "SimpleStore.ConsoleUI/MenusLogic/RegistrationLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4726"
} | starcoder | <filename>SimpleStore.ConsoleUI/MenusLogic/RegistrationLogic.cs
using SimpleStore.Utils.Services;
using SimpleStore.Domain.UsersAuthenticator.Authenticator.UserRegistration;
using SimpleStore.Models.Models;
using System;
using System.Collections.Generic;
namespace SimpleStore.ConsoleUI.MenusAction
{
public class ... | 2.808664 | 27e56602b1d75132afc8871879961c18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pontusi/Code128",
"max_stars_repo_path": "Code128/BarcodeOptimizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4727"
} | starcoder | <reponame>pontusi/Code128<filename>Code128/BarcodeOptimizer.cs
namespace Code128
{
/// <summary>
/// Takes text and for each character chooses code set so that the final barcode will be as short as possible.
/// </summary>
internal sealed class BarcodeOptimizer
{
private string Text { get; }
private int[,] C... | 3.063661 | 172ed627a8950a29085c37ce3b48b404 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4727 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "pashcovich/mptanks2d",
"max_stars_repo_path": "DesignToolkit/DesignToolkit/ResizingAdorner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4728"
} | starcoder | <gh_stars>1-10
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
namespace Toolkit
{
public class ResizingAdorner : Adorner
{
// Resizing adorner uses Thum... | 2.653484 | 49678f874cb7dcd212be9f84699beed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liukonen/Dif",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4729"
} | starcoder | <reponame>liukonen/Dif
using System;
using System.IO;
using System.Threading.Tasks;
namespace dif
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 2)
{
Console.WriteLine("Command Line usage. dif [source] [destination] - App uses Ge... | 3.186389 | c68b9a0536718470f75f9db96e59aa27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4729 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "henriktao/pulumi-azure",
"max_stars_repo_path": "sdk/dotnet/SiteRecovery/Inputs/ReplicatedVMNetworkInterfaceGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4730"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.583791 | f09c79cd9f9c8257ad3782c699ef3c55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeanErvinson/TextFormatter",
"max_stars_repo_path": "TextFormatter.Test/Helpers/StringHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4731"
} | starcoder | <reponame>SeanErvinson/TextFormatter
using System.Threading.Tasks;
using TextFormatter.Utilities;
using Xunit;
namespace TextFormatter.Test.Helpers
{
public class StringHelperTests
{
[Theory]
[InlineData("a b", "ab")]
[InlineData("ab ", "ab")]
[InlineData(" ab ", "ab")]
... | 3.043332 | 701333405fc661f8b6cd469d34663f2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4731 | {
"extension": "c-sharp",
"max_stars_count": "321.0",
"max_stars_repo_name": "panjea/open-brush",
"max_stars_repo_path": "Assets/Scripts/SwitchAppName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4732"
} | starcoder | // Copyright 2020 The Tilt Brush Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2.049749 | 0633679ee0ed839b0fd6712d0bf0c2ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chornomorets/vinagro",
"max_stars_repo_path": "src/AspNetCoreDemoApp/Migrations/20190223162314_Project_MentorFK_set_nullable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4733"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace AspNetCoreDemoApp.Migrations
{
public partial class Project_MentorFK_set_nullable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Proje... | 1.795299 | f6e09dfc8e74d8e0ba4f2f1837981dc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4733 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "DatCodingGuy/Klip",
"max_stars_repo_path": "KlipCompiler/KlipCompiler/Lexer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4734"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace KlipCompiler
{
public class Lexer
{
private readonly Dictionary<Tokens, string> _tokens;
private readonly Dictionary<T... | 2.826203 | 85b95d9c8dfcfce5065e1e2ccb018241 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4734 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Lokukarawita/YifyLib",
"max_stars_repo_path": "src/YifyLib/Api/Util/UriBuilderWithQuerySupport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4735"
} | starcoder | <reponame>Lokukarawita/YifyLib
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Web;
namespace YifyLib.Api.Util
{
/// <summary>
/// Uri builder with easy query string modification support.
/// </summary>
internal c... | 2.909332 | 3a5e343076428464fb9aaf4c4427391e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-08-aspnetmvc",
"max_stars_repo_path": "g5/PizzaApp/PizzaApp/PizzaApp/Models/ViewModels/OrderViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4736"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace PizzaApp.Models.ViewModels
{
public class OrderViewModel
{
public int Id { get; set; }
public string OrderNumber { get; set; }
public int CustomerId { get; set; }
public List<OrderItemViewModel> OrderItems { get; se... | 2.380929 | b5d688a38a2c737b6d9e7c037a4ea0b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4736 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chundot/kings-and-pigs",
"max_stars_repo_path": "Scripts/UI/LevelBtn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4737"
} | starcoder | <gh_stars>1-10
using System;
using Godot;
using kingsandpigs.Scripts.Common;
public class LevelBtn : Button
{
public int Level = 1;
public event Action<int> OnBtnClick;
private SfxMgr _sfx;
public override void _Ready()
{
Text = Level.ToString();
Disabled = Level > GlobalVar.Unlocke... | 2.070873 | d266e18d393f196f650afee3c93529da |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.