added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hristo-R/SoftUni-ProgrammingBasicsHomeworks",
"max_stars_repo_path": "Homework.05.OperatorsExpressionsAndStatements/03.DivideBy7And5/DivideBy7And5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168232"
} | starcoder | <reponame>Hristo-R/SoftUni-ProgrammingBasicsHomeworks
using System;
public class DivideBy7And5
{
public static void Main()
{
Console.Write("n = ");
int n = int.Parse(Console.ReadLine());
bool checkZero = n == 0;
if (checkZero)
{
Console.WriteLine("false");
... | 3.303567 | 733aaeb1125d34c49b335e1d3473712b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfogliatto/s3-undeleter",
"max_stars_repo_path": "src/S3Batcher/Operations/OperationOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168233"
} | starcoder | <filename>src/S3Batcher/Operations/OperationOptions.cs<gh_stars>0
using Amazon;
namespace S3Batcher.Operations
{
public sealed class OperationOptions
{
public string BucketName { get; }
public string Prefix { get; }
public int MaxKeys { get; }
public bool DryRun { get; }
... | 2.473047 | 9834bae238b8e094f2ae71f8b67e6e24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RafaelFreita/MCTAXX76",
"max_stars_repo_path": "Assets/Scripts/States/NormalSceneState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168234"
} | starcoder | <filename>Assets/Scripts/States/NormalSceneState.cs<gh_stars>0
using UnityEngine;
public class NormalSceneState : StateMachineBehaviour {
public AudioClip enterAudio;
private bool enterAudioEnded = false;
// OnStateEnter is called when a transition starts and the state machine starts to evaluate this s... | 2.646552 | 777e8e990c76c26ea6570d66c9c9bf57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849015 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SoundMetrics/aris-integration-sdk",
"max_stars_repo_path": "common/platform-dotnet/SoundMetrics.Aris.SimplifiedProtocol.UT/FrameAccumulatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168235"
} | starcoder | using SoundMetrics.Aris.Headers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace SoundMetrics.Aris.SimplifiedProtocol.UT
{
using static SerializationHelpers;
[TestC... | 2.56294 | e18f9af6be1edd8e1c802c1d5a73395a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hiroki-kitahara/GL",
"max_stars_repo_path": "Assets/GL/Scripts/DeveloperTools/Importer/EquipmentImporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168236"
} | starcoder | <reponame>hiroki-kitahara/GL<filename>Assets/GL/Scripts/DeveloperTools/Importer/EquipmentImporter.cs<gh_stars>0
using UnityEngine;
using UnityEngine.Assertions;
using System;
using System.Collections.Generic;
using GL.Database;
using GL.Extensions;
using GL.Battle.Commands;
using HK.Framework.Text;
using GL.Battle;
#... | 1.936896 | e0b5f79350bbec33cc077eeaec4482aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OnlineMenu-StartUp/OnlineMenu.Api",
"max_stars_repo_path": "OnlineMenu.Api/ViewModel/Topping/ToppingShallowResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168237"
} | starcoder | <reponame>OnlineMenu-StartUp/OnlineMenu.Api
namespace OnlineMenu.Api.ViewModel.Topping
{
public class ToppingShallowResponseModel
{
public ToppingShallowResponseModel(int id, string name, decimal price) // TODO: add constructors to all response models
{
Id = id;
Name = n... | 2.237786 | 2fbbe56f36dd3e561358e15faef5053c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davelopware/txtmnu",
"max_stars_repo_path": "Davelopware/TxtMnu/TelnetConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168238"
} | starcoder | <gh_stars>0
/*
* Copyright 2008 Davelopware Ltd
*
* http://www.davelopware.com/txtmnu/
*
* 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/LICEN... | 1.977944 | 7df8303b7411895aca2565eccd4fc26d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MertYumer/CSharp-Web-January-2020",
"max_stars_repo_path": "C# Web Basics - January 2020/SIS-May-2019/Exams/IRunes/IRunes.App/ViewModels/Albums/AlbumDetailsInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168239"
} | starcoder | <reponame>MertYumer/CSharp-Web-January-2020
namespace IRunes.App.ViewModels.Albums
{
using SIS.MvcFramework.Attributes.Validation;
public class AlbumDetailsInputModel
{
[RequiredSis]
public string Id { get; set; }
}
}
| 1.416858 | aa6a5886a70418fcf04558bcd2f13693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iospectar/UniVDOM",
"max_stars_repo_path": "Assets/io.spectar.UniVDOM/Tests/Runtime/TestPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168240"
} | starcoder | using System.Collections;
using io.spectar.UniVDOM.Tests.Fixtures;
using NUnit.Framework;
using Spectar.Scripts.VirtualDom;
using UnityEngine;
using UnityEngine.TestTools;
namespace io.spectar.UniVDOM.Tests.Runtime
{
public class TestPatch
{
private readonly TagMap tagMap = new TagMap();
priva... | 2.247609 | 8816f3e3f325342827a98a64b1f54488 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849021 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Nethereum/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "src/PlaygroundSamples/LogProcessing_OneContractManyEventsAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168241"
} | starcoder | <reponame>Nethereum/Nethereum.BlockchainProcessing
using Nethereum.ABI.FunctionEncoding.Attributes;
using Nethereum.BlockchainProcessing.Processor;
using Nethereum.Contracts;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.Web3;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Threadin... | 2.352185 | 7e1e97d28a5175e1c4c3f7c51ac7072a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "US-EPA-CAMD/easey-quartz-scheduler",
"max_stars_repo_path": "CheckEngine/QA/Categories/Screen/HGLMEDefaultRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168242"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ECMPS.Checks.CheckEngine;
using ECMPS.Checks.Parameters;
using ECMPS.Checks.TypeUtilities;
namespace ECMPS.Checks.QAScreenEvaluation
{
public class cHGLMEDefaultRow : cCategory
{
#region... | 2.127893 | e683adbb92d4c9557324c06898f5b92b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849023 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/mvc/overview/older-versions/getting-started-with-aspnet-mvc4/adding-a-new-field-to-the-movie-model-and-table/samples/sample6.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168... | starcoder | <gh_stars>100-1000
<div class="editor-label">
@Html.LabelFor(model => model.Rating)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Rating)
@Html.ValidationMessageFor(model => model.Rating)
</div> | 2.058546 | 089bcb2351cef5518243d4c9e41a7a3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snr4978/DotNetService4",
"max_stars_repo_path": "Kean.Domain.Seedwork/Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168244"
} | starcoder | using System;
namespace Kean.Domain
{
/// <summary>
/// 实体对象
/// </summary>
public abstract class Entity<T> where T : struct
{
/// <summary>
/// 唯一标识
/// </summary>
public T Id { get; protected set; }
/// <summary>
/// 相等运算符
/// </summary>
... | 3.377726 | 348fb9276808dbc6d9496090e16b50d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849025 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yu3mars/procon",
"max_stars_repo_path": "aoj/10000s/10001/10001/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168245"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _10001
{
class Program
{
static void Main(string[] args)
{
double a, b;
a = int.Parse(Console.ReadLine());
b = Math.Pow(a,3);
Console.WriteLine((int)b... | 2.824102 | 9b8e4ea2ec9b7a4ed0f2d7b21a82606c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849026 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xytabich/Glassmaking",
"max_stars_repo_path": "src/Workbench/ICollectibleWorkbenchTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168246"
} | starcoder | <reponame>Xytabich/Glassmaking<gh_stars>1-10
using Vintagestory.API.Common;
using Vintagestory.API.MathTools;
namespace GlassMaking.Workbench
{
public interface ICollectibleWorkbenchTool
{
string GetToolCode(IWorldAccessor world, ItemStack itemStack);
Cuboidf[] GetToolBoundingBoxes(IWorldAccessor world, ItemSt... | 1.39714 | b57d7b383af4ed0a1edbc5396710baed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruineto/portfolio",
"max_stars_repo_path": "dotNet/EDC FinalProject/FinalProject/Models/HouseDatabaseInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168247"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace FinalProject.Models
{
public class HouseDatabaseInitializer :
DropCreateDatabaseIfModelChanges<HouseContext>
{
protected override void Seed
(HouseContext context)
... | 2.80168 | d3341d4bf4dd3afab105e8f5b0c7b751 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toshetoo/friendly-fisherman-api",
"max_stars_repo_path": "FriendlyFisherman/Users.Tests/Fixtures/RepositoryFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168248"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Moq;
using System.Linq;
using Users.Domain.Entities;
using Users.Domain.Repositories;
namespace Users.Tests.Fixtures
{
public class RepositoryFixture
{
public IUserRepository CreateUsersRepository(DbContext context)
{
var dbSet = context.S... | 2.731262 | 46b8633f4f501cabd71c034e0f31d664 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NenovaRositsa/CSharp-Advanced",
"max_stars_repo_path": "05DefiningClasses/07RawData/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168249"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace DefiningClasses
{
public class StartUp
{
static void Main(string[] args)
{
List<Car> cars = new List<Car>();
int n = int.Parse(Console.ReadLine());
for (int i = ... | 3.50375 | 2e2410e6dba85d9f7bab8d1a59bd2c59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849030 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "augustoproiete-forks/ServiceStack--ServiceStack.OrmLite",
"max_stars_repo_path": "tests/ServiceStack.OrmLite.FirebirdTests/Northwind.Common/Northwind.Common.DataModel/NorthwindData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168... | starcoder | using System;
using System.Collections.Generic;
using Northwind.Common;
namespace Northwind.Common.DataModel{
public static class NorthwindData
{
public static List<Category> Categories
{
get;set;
}
public static List<CustomerCustomerDemo> CustomerCustomerDemos
{
get;set;
}... | 2.109631 | 6edd4bf5475e1b6573aadcaea38d096a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Procuret/procuret-dotnet",
"max_stars_repo_path": "ProcuretAPI/src/QueryParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168251"
} | starcoder | using System;
namespace ProcuretAPI
{
internal struct QueryParameter
{
private readonly String key;
private readonly String value;
internal String Pair
{
get { return this.key + "=" + this.value; }
}
internal QueryParameter(String value, String key... | 2.955529 | 768556d5f536069e42b9c2f34b997fca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849032 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dmitrykolchev/d2dsharp",
"max_stars_repo_path": "D2DSharp/Managed.D2DSharp.Circles/MainWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168252"
} | starcoder | /*
* MainWindow.cs
*
* Authors:
* <NAME> <<EMAIL>>
*
* Copyright (C) 2018 <NAME>
*
* This sourcecode is licenced under The GNU Lesser General Public License
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PR... | 2.194283 | 1262004ef210ba3c2b105e950a1b5fd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849033 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hunsteve/RobotNavigation",
"max_stars_repo_path": "NavigationSimulator/GRAPHICSMODEL/FinishState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168253"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace OnlabNeuralis
{
public class FinishState
{
private PointD position;
private PointD orientation;//origo koruli egysegvektor
public static explicit operator double[](FinishState fs)
{
... | 2.980077 | 07500137a560edcf8413f572cb713e0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849034 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mecvillarina/Vider",
"max_stars_repo_path": "src/backend/Application/Common/Dtos/Response/XrplNFTSellOfferResultDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168254"
} | starcoder | <reponame>mecvillarina/Vider<gh_stars>1-10
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Application.Common.Dtos.Response
{
public class XrplNFTSellOfferResultDto : XrplBaseResultDto
{
[JsonProperty("offers")]
public List<XrplNFTSellOfferItemDto> Offers { get; set; }
... | 1.064934 | 37a911a1b776ca1365f906b84fe8c50c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849035 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "bseltz-cohesity/cohesity-powershell-module",
"max_stars_repo_path": "src/Cohesity.Powershell.Models/MongoDBCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168255"
} | starcoder | // Copyright 2019 Cohesity Inc.
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.C... | 2.735695 | 034e820dc03d1dbf47bf521de3cda2a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cameos/Bluegrass_Assesment",
"max_stars_repo_path": "UI/Models/ContactFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168256"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UI.Models
{
public class ContactFilter
{
public string First { get; set; }
public string CountryId { get; set; }
public string ProvinceId { get; set; }
public string CityId { get; set... | 1.676846 | 52b3527e573d483cadadd9f0b1812c9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849037 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "topotam/Group3r",
"max_stars_repo_path": "Group3r/Assessment/Analysers/Folder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168257"
} | starcoder | using Group3r.Options.AssessmentOptions;
using LibSnaffle.ActiveDirectory;
namespace Group3r.Assessment.Analysers
{
public class FolderAnalyser : Analyser
{
public FolderSetting setting { get; set; }
public override SettingResult Analyse(AssessmentOptions assessmentOptions)
{
... | 2.136573 | 3b28b08700ceed67b48f88f3e2f98c79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhangZexiao/CollectPhoto",
"max_stars_repo_path": "TagLibSharp/TagLib/IFD/Tags/NikonIsoInfoEntryTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168258"
} | starcoder | <reponame>ZhangZexiao/CollectPhoto<filename>TagLibSharp/TagLib/IFD/Tags/NikonIsoInfoEntryTag.cs
namespace TagLib.IFD.Tags
{
public enum NikonIsoInfoEntryTag:
ushort
{
ISO=0,ISOExpansion=4,ISO2=6,ISOExpansion2=10,
}
}
| 1.42672 | 3f963f553b784b0dfa055e6454a783a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849039 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "gothos-folly/TeraDataTools",
"max_stars_repo_path": "TeraEmulatorData/Data/Enums/PlayerClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168259"
} | starcoder | using System;
namespace Data.Enums
{
public enum PlayerClass
{
Common = -1,
Warrior = 0,
Lancer = 1,
Slayer = 2,
Berserker = 3,
Sorcerer = 4,
Archer = 5,
Priest = 6,
Mystic = 7,
Reaper = 8,
Gunner = 9,
... | 3.174712 | 6c94e6acb68fed10686029512913cbb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "romanov-is-here/orleans",
"max_stars_repo_path": "src/Orleans.CodeGenerator/Analyzers/RefAssemblyBaseTypeDiagnosticAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168260"
} | starcoder | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Orleans.CodeGenerator.Analyzers
{
public class RefAssemblyBaseTypeDiagnosticAnalyzer
{
public const string DiagnosticId = "ORLEANS0100";
public const string Title = "Types which have a base type belonging to a r... | 2.175718 | 6628655b8898cd14d6f95f80e3da0593 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roydejong/chip8emu",
"max_stars_repo_path": "FakeEight/Ram.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168261"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FakeEight
{
/// <summary>
/// Virtual RAM.
/// </summary>
public class Ram
{
public const int DEFAULT_CAPACITY = 4096;
protected byte[] memory;
pro... | 3.482777 | 73e67ae89751642df64d32f08117ab56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849042 | {
"extension": "c-sharp",
"max_stars_count": "304.0",
"max_stars_repo_name": "nibblersrevenge/Meziantou.Framework",
"max_stars_repo_path": "src/Meziantou.AspNetCore.Components/ClipboardServiceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168262"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
namespace Meziantou.AspNetCore.Components
{
public static class ClipboardServiceExtensions
{
public static IServiceCollection AddClipboard(this IServiceCollection serviceCollection)
{
return serviceCollection.AddScoped<ClipboardServi... | 1.737777 | 1e6967f2652d6a6212c7bb3f707aed8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carbonfrost/f-core",
"max_stars_repo_path": "dotnet/src/Carbonfrost.Commons.Core/Runtime/TextSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168263"
} | starcoder | <reponame>Carbonfrost/f-core<gh_stars>0
//
// Copyright 2013, 2019 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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.... | 2.020947 | 3c9bb25200aca8e000205e0e68785f45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustafasaaed/MedicalMarket",
"max_stars_repo_path": "MedicalMarket/MedicalMarket/Views/Shared/Components/Nav/NavViewComponent.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168264"
} | starcoder | <gh_stars>0
@model List<MedicalMarket.Models.App.Category>
<a class="toggleMenu" href="#">القائمه</a>
<ul class="nav">
<li>
<a class="menu-items" asp-controller="Home" asp-action="Index">الرئيسية</a>
</li>
@foreach (var item in Model)
{
<li>
<a class="menu-items" asp-cont... | 2.033568 | b1ee229135893a24cffa9b586fa7ff66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tzarnal/Advent-of-Code-2020",
"max_stars_repo_path": "2020 All Days, Every Day/Day 15/Part1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168265"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Serilog;
using Advent;
namespace Day_15
{
//https://adventofcode.com/2020/day/15
public class Part1 : IAdventProblem
{
private string Dayname => Helpers.GetDayFromNamespace(this);
public string Proble... | 3.277386 | 25e8ff7b309245971c182ee90777b056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849046 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "oktomus/UnityScreencastKeys",
"max_stars_repo_path": "Assets/ScreencastKeys/Editor/Thirdparties/UnityRawInput/Runtime/HookType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168266"
} | starcoder |
//
// This source file is part of UnityRawInput.
// Visit https://github.com/Elringus/UnityRawInput for additional information and resources.
//
// MIT License
//
// Copyright(c) 2018 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | 1.422502 | 86acb994ebfba3e1534f3d621496bf13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game",
"max_stars_repo_path": "DOTSSample-master/Assets/Scripts/Game/Movable/Movable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168267"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using UnityEngine;
using Unity.NetCode;
public struct MovableData : IComponentData
{
[GhostDefaultField(1000, true)]
Vector3 position;
[GhostDefaultField(1000, true)]
Quaternion rotation;
}
[RequireComponen... | 1.949318 | a193c7d858a75677c0d477e87f9de0ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teachmeskills-dotnet/TMS-DotNet03-Sinkevich",
"max_stars_repo_path": "src/FindHousingProject.DAL/Configurations/CountryConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168268"
} | starcoder | using FindHousingProject.Common.Constants;
using FindHousingProject.DAL.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
namespace FindHousingProject.DAL.Configurations
{
/// <summary>
/// EF Configuration for Country entity.
/// </summary... | 2.475808 | aaf59d1a373140555c79cb689b0bfa5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Deprion/AxGridTools",
"max_stars_repo_path": "AxGridUnityTools/Model/Options.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168269"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using SmartFormat;
using System.Linq;
using Newtonsoft.Json;
using UnityEngine;
using UnityEngine.Scripting;
namespace AxGrid.Model {
public class Options : IDictionary<string, object> {
private readonly Dictionary<stri... | 2.638351 | 98c8d00ae52d03012b3fe3a6af118cb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849050 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/services/apigateway/LINGYUN.ApiGateway.Host/Ocelot/Ocelot/Extenssions/OcelotMiddlewareExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168270"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Ocelot.Configuration;
using Ocelot.Configuration.Creator;
using Ocelot.Configuration.Repository;
using Ocelot.DependencyInjection;
using Ocelot.Logging;
using Ocelot.Middleware;
... | 1.879974 | 4223421f38778104cf1b769aa1636889 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849051 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "FAKEYJSNPI/TJAPlayer3-f",
"max_stars_repo_path": "TJAPlayer3-f/src/Songs/Dan-C.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168271"
} | starcoder | <reponame>FAKEYJSNPI/TJAPlayer3-f
using FFmpeg.AutoGen;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TJAPlayer3
{
/// <summary>
/// 段位認定を管理するクラス。
/// </summary>
public class Dan_C
{
public Dan_C(Dan_C dan_C) : this(dan_C.Type, dan_C.Value, dan_C.R... | 2.509492 | 8be8001f9d4a7926e78ca46f28c1a4f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TopSwagCode/TopSwagCode.DesignPatterns.CircuitBreaker",
"max_stars_repo_path": "src/HomeMade/Worker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168272"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace HomeMade
{
public class Worker : BackgroundService
{
private readonly ILogger<Worker> _logger;
... | 3.03319 | d572c9e2763658db8bbe5707646f5e84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849053 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AkiyaX/CSharpDesignPattern",
"max_stars_repo_path": "AbstractFactory/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168273"
} | starcoder | using AbstractFactory.AbstractProduct;
using AbstractFactory.ConcreteFactory;
namespace AbstractFactory
{
class Program
{
static void Main(string[] args)
{
ThemeFactory themeFactory = new LightThemeFactory();
Button button = themeFactory.CreateButton();
Text... | 2.318501 | eb7d9bf4f166ab76f14f04e5fd0ca398 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philanderson888/2019-11-c-sharp-labs",
"max_stars_repo_path": "Labs/Lab_34_Gym_Website_MVC_Core/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168274"
} | starcoder | <gh_stars>0
namespace Lab_34_Gym_Website_MVC_Core
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class User
{
public int UserId { get; set; }
[StringLength(50)]
... | 1.557092 | 75e279603662aae2da0a7179eda20190 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849055 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afferenslucem/bookolog",
"max_stars_repo_path": "backend.v2/backend.v2/Migrations/20210520035758_BookChangedOrderType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168275"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace backend.v2.Migrations
{
public partial class BookChangedOrderType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<float>(
name: "CollectionOrder",
... | 1.831057 | a21749d2290a3ba4014098daf5fd2ef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849056 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "QuinntyneBrown/no-days-off-app",
"max_stars_repo_path": "Features/Athletes/AthletesCacheKeyFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168276"
} | starcoder | using System;
namespace NoDaysOffApp.Features.Athletes
{
public class AthletesCacheKeyFactory
{
public static string Get(Guid tenantId) => $"[Athletes] Get {tenantId}";
public static string GetById(Guid tenantId, int id) => $"[Athletes] GetById {tenantId}-{id}";
}
}
| 1.805759 | c02ef65d541703cf82aba1b1b76320c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849057 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.Core/Documents/BulkType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168277"
} | starcoder | <filename>src/EA.Iws.Core/Documents/BulkType.cs
namespace EA.Iws.Core.Documents
{
public enum BulkType
{
Prenotification,
ReceiptRecovery
}
}
| 1.159347 | cb5c03dcd5cac05cdb78439b8b3e2072 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849058 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sebastian-heinz/Arrowgene.ENet",
"max_stars_repo_path": "Arrowgene.ENet/Common/Utility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168278"
} | starcoder | <filename>Arrowgene.ENet/Common/Utility.cs
using System;
using System.Text;
namespace Arrowgene.ENet.Common
{
public class Utility
{
public static string ToHexString(byte[] data, string separator = null)
{
StringBuilder sb = new StringBuilder();
int len ... | 3.519197 | 17545799f64fa1104c90ab38f9ee7e88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849059 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "Kation/ComBoost",
"max_stars_repo_path": "src/Wodsoft.ComBoost.Core/FromAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168279"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Wodsoft.ComBoost
{
/// <summary>
/// 来源特性。
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
pub... | 2.327211 | fdb15ce892c78639092990b1301a0322 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abooow/TowerDefence",
"max_stars_repo_path": "MapEditor/Controllers/MapMoverController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168280"
} | starcoder | using MapEditor.Models;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace MapEditor.Controllers
{
public class MapMoverController : IController
{
public bool Enabled { get; set; }
private Camera camera;
private Vector2 minPos;
private Vector2 maxPos... | 2.559862 | 251f4380aad3e5a4189b4a32c027ae8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849061 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hach-que/Dx",
"max_stars_repo_path": "Dx.Runtime.Tests.Data/Preprocessed/PreprocessedGenericMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168281"
} | starcoder | <reponame>hach-que/Dx
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace Dx.Runtime.Tests.Data
{
[Distributed, Processed]
public class PreprocessedGenericMethod : ITransparent
{
private class Return__InvokeDirect0<T, T2> : IDir... | 1.847262 | f300d2a9b1acb382ef12c07eeb1b21ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "megavarnans/usermgmt",
"max_stars_repo_path": "src/RP.UserManagement.WebApi/Controllers/UserManagementController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168282"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using RealPage.UserManagement.WebApi.Models;
using RP.UserManagement.Core.Entities;
using RP.UserManagement.Core.Interface... | 2.452355 | 30c7e1ae67334c6e442315de2a773c48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849063 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amkherad/AMKs-Gear.net",
"max_stars_repo_path": "00-Core/Core/Text/String.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168283"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using AMKsGear.Architecture.Data.Types;
namespace AMKsGear.Core.Text
{
public static class StringUtil
{
#region Modifier Helpers
... | 3.203321 | 0ce9003fb223730d9371a5a7d4c533a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849064 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uluhonolulu/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/Attributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168284"
} | starcoder | <reponame>uluhonolulu/fubumvc<filename>src/FubuMVC.Core/Attributes.cs
using System;
using FubuMVC.Core.Behaviors;
using FubuMVC.Core.Registration;
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Core.Resources.Conneg;
using FubuMVC.Core.Resources.Media.Formatters;
using System.Linq;
using System.Collections... | 1.984138 | fb6798d892446f74f5ac4176527e1221 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.serialization@1.5.0-preview/Tests/Runtime/Unity.Serialization.Tests/Json/Parsing/SerializedObjectReaderTests.cs",
"provenance": "train-00... | starcoder | <filename>MARS geofencing/Library/PackageCache/com.unity.serialization@1.5.0-preview/Tests/Runtime/Unity.Serialization.Tests/Json/Parsing/SerializedObjectReaderTests.cs<gh_stars>0
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Unity.Collections;
namespace Unity.Serialization.Json.T... | 2.535521 | 54d17dcce97216d18c08e67f88ceebf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849066 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "leancodepl/corelibrary",
"max_stars_repo_path": "src/Domain/LeanCode.DomainModels/Model/ISoftDeletable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168286"
} | starcoder | <gh_stars>10-100
namespace LeanCode.DomainModels.Model
{
public interface ISoftDeletable
{
bool IsDeleted { get; }
}
}
| 1.507704 | e943dded3ea3e3e6a2af3c1e504faecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VladimirAkopyan/Heimdall-Imaging",
"max_stars_repo_path": "HighSpecter/NetworkData/Servlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168287"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.Serialization;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.For... | 2.372197 | dbabf218a3bc1cf1e9d2e0179948954a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fred-Jacobs/dobbler",
"max_stars_repo_path": "src/Dobbler.Core/Dobbler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168288"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Dobbler.Core
{
public class Dobbler
{
public static int[] AuthorizedPlanarSizes => authorizedPlanarSizes;
// must be a prime number
private static readonly int[] authorizedPlanarSizes = new int[] {... | 3.244918 | 1fb0083ffaac5760fede9af570637779 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849069 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "TTCErembodegem/TTC-React-Back",
"max_stars_repo_path": "src/Ttc.WebApi/Emailing/EmailService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168289"
} | starcoder | <reponame>TTCErembodegem/TTC-React-Back
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using log4net;
using SendGrid;
using SendGrid.Helpers.Mail;
using Ttc.DataAccess.Services;
using Ttc.DataAccess.Utilities;
using Ttc.Model.Players;
namespace Ttc.WebApi.Emailing
{
... | 2.558508 | 82e79ca930417c51d10153e3254201da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849070 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "QotoQot/Octospace",
"max_stars_repo_path": "Mac/Views/Content/DataType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168290"
} | starcoder | using System;
namespace Mac.Views.Content
{
public static class DataType
{
public static readonly string Block = "com.QotoQot.Octospace.Mac.Block";
}
}
| 1.218346 | 45d0b9f1206ac9d1be9c3d0da4361ccb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849071 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DarkIrata/PleskEmailAliasManager",
"max_stars_repo_path": "ViewModels/PleskDataViewModel{T}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168291"
} | starcoder | <filename>ViewModels/PleskDataViewModel{T}.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using IPUP.MVVM.Commands;
using IPUP.MVVM.Even... | 2.248096 | e1cb3315daa9dab41f48e118b31ab7cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamClark/Stellarmap",
"max_stars_repo_path": "Stellarmap/src/components/IDomainViewAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168292"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Stellarmap
{
public interface IDomainViewAdapter
{
void UpdateView(string roomFileName);
RoomUpdateInfo QueryView(string roomFileName);
}
}
| 1.805402 | 935a1ea6a5660c23b310fc28f7daf677 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849073 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "JosefPihrt/Snippetica",
"max_stars_repo_path": "src/Records/Pihrtsoft.Records/DocumentException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168293"
} | starcoder | <filename>src/Records/Pihrtsoft.Records/DocumentException.cs
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Xml.Linq;
namespace Pihrtsoft.Records
{
public class DocumentException... | 2.193495 | 71e5b01e8bfbae304cb3d0c36b27e665 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "equirosa/TraductorBot",
"max_stars_repo_path": "TraductorFaz/TraductorFaz/PalabraEspannolManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168294"
} | starcoder | using DataAccess.Crud;
using Entities_POJO;
using Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TraductorFaz
{
public class PalabraEspannolManager
{
private PalabraEspannolCrudFactory crudPalabraEspannol;
... | 2.494727 | 127d0bd83c56ec8b540f788371915693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849075 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JayBeavers/Hands-Free-Keyboard",
"max_stars_repo_path": "apps/Hands-Free-Keyboard/Microsoft.HandsFree.Prediction.Engine/Novelty/NoveltyWordPredictor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168295"
} | starcoder | <reponame>JayBeavers/Hands-Free-Keyboard<gh_stars>1-10
using Microsoft.HandsFree.Keyboard.Settings;
namespace Microsoft.HandsFree.Prediction.Engine.Novelty
{
using Microsoft.HandsFree.Prediction.Api;
using Settings;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using... | 2.339116 | 50da35bb3933cc9e4cd90f9a80628003 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PerditionC/TEMS-Inv",
"max_stars_repo_path": "WPFToolkit/Controls/EllipsedProgressBar/MultiplyConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168296"
} | starcoder | <gh_stars>0
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#region License
/*
The MIT License (MIT)
Copyright (c) 2009-2016 <NAME>
Permission is hereby granted, free of charge, to any person ... | 2.441612 | 19ffd6d99d7a7efed79cae344f3b1cb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849077 | {
"extension": "c-sharp",
"max_stars_count": "138.0",
"max_stars_repo_name": "BradKnowles/classes",
"max_stars_repo_path": "linq/labs/LINQ_Layered/after/EmployeeTimeCards/EmployeeTimeCards.Core/IEmployeeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168297"
} | starcoder | using System.Collections.Generic;
namespace EmployeeTimeCards.Core
{
public interface IEmployeeRepository
{
Employee Find(int id);
IEnumerable<Employee> FindAll();
void Add(Employee newEmployee);
void Update(Employee employee);
void Delete(int id);
}
} | 2.315576 | 7a472e313d2df72e4cb9213a38f789b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "k94ll13nn3/GeoNRage",
"max_stars_repo_path": "src/GeoNRage.Shared/Dtos/AuthDtos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168298"
} | starcoder | <reponame>k94ll13nn3/GeoNRage<filename>src/GeoNRage.Shared/Dtos/AuthDtos.cs
using System.ComponentModel.DataAnnotations;
namespace GeoNRage.Shared.Dtos.Auth;
public static class Roles
{
public const string Member = nameof(Member);
public const string Admin = nameof(Admin);
public const string SuperAdmin... | 2.197808 | 1467479c161dc65083f59bfa10306e81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849079 | {
"extension": "c-sharp",
"max_stars_count": "387.0",
"max_stars_repo_name": "takuya-takeuchi/DlibDotNet",
"max_stars_repo_path": "examples/ASP.NET/FaceDetection.Server/Controllers/FaceDetectionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168299"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using DlibDotNet;
using FaceDetection.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Image = FaceDetection.Models.Image;
... | 2.701443 | 7a848038945511ae78d23b6d0ccfe5d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849080 | {
"extension": "c-sharp",
"max_stars_count": "289.0",
"max_stars_repo_name": "michaelday008/AnyRPGCore",
"max_stars_repo_path": "Assets/AnyRPG/Core/System/Scripts/ObjectControllers/WaterBody.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168300"
} | starcoder | using AnyRPG;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AnyRPG {
public class WaterBody : AutoConfiguredMonoBehaviour {
[SerializeField]
private BoxCollider myCollider = null;
[Header("Camera Fog")]
[SerializeField]
private ... | 2.183713 | 934acc04fc8d79193e8c290e14baa313 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Orcomp/Orc.Controls",
"max_stars_repo_path": "src/Orc.Controls/Automation/Controls/BusyIndicator/Peers/BusyIndicatorAutomationPeer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168301"
} | starcoder | namespace Orc.Controls.Automation
{
using Orc.Automation;
public class BusyIndicatorAutomationPeer : AutomationControlPeerBase<Controls.BusyIndicator>
{
public BusyIndicatorAutomationPeer(Controls.BusyIndicator owner)
: base(owner)
{
}
}
}
| 1.703964 | 6b604c4b2df71766b1c8dd9e4a89765b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danangsw/cf-mvvm-template",
"max_stars_repo_path": "DSW.MVVM/DSW.MVVM/ViewModels/Stocktake/StocktakeItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168302"
} | starcoder | <reponame>danangsw/cf-mvvm-template
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using DSW.Core.MVVM;
namespace DSW.MVVM.ViewModels.Stocktake
{
public class StocktakeItemViewModel : ViewModelBase
{
public StocktakeItemViewModel() {
}
}
}
| 1.088693 | 5900d5a33069524e72728a41389e987c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849083 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dbagnoli/CanvasApi",
"max_stars_repo_path": "CanvasApi.Client/Assignments/Enums/SubmissionTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168303"
} | starcoder | using CanvasApi.Client.Assignments.Enums;
using TiberHealth.Serializer.Attributes;
namespace CanvasApi.Client.Assignments.Enums
{
[EnumAsString]
public enum SubmissionTypes
{
DiscussionTopic,
OnlineQuiz,
OnPaper,
None,
ExternalTool,
OnlineTextEntry,
... | 1.302713 | 58ead915ce8ccd98b7f031b1c2818423 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pixel-stuff/ludum-dare-36",
"max_stars_repo_path": "Assets/Script/Star.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168304"
} | starcoder | using UnityEngine;
using System.Collections;
public class Star : MonoBehaviour {
public ConstelationStar starOne;
public ConstelationStar starTwo;
public ConstelationStar star3;
public ConstelationStar star4;
public Vector3 mouse = Vector3.zero;
// Use this for initialization
void Start... | 1.998588 | 28467c48142fa91ea8898028169c700b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangjie0072/FairyGUILearn",
"max_stars_repo_path": "Assets/FairyGUI/Scripts/UI/GTextField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168305"
} | starcoder | <reponame>zhangjie0072/FairyGUILearn
using System.Collections.Generic;
using UnityEngine;
using FairyGUI.Utils;
namespace FairyGUI
{
/// <summary>
///
/// </summary>
public class GTextField : GObject, IColorGear
{
/// <summary>
///
/// </summary>
public EventListener onFocusIn { get; private set; }
... | 2.02076 | 1242588c6f6a12581eddf8d2f10528f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849086 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Arcidev/UserAPISample",
"max_stars_repo_path": "src/BL/DTO/User/UserCreateDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168306"
} | starcoder |
using System.ComponentModel.DataAnnotations;
namespace BL.DTO.User
{
/// <summary>
/// DTO used for creating user
/// </summary>
public class UserCreateDTO : UserBaseDTO
{
/// <summary>
/// User password
/// </summary>
[Required]
public string Password { ge... | 2.145855 | 40e06e59f44dd914eaf6526bf9bef666 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849087 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "slorion/multiagent-system-example",
"max_stars_repo_path": "DLC.Multiagent/QbservableProvider/TcpServerQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168307"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Reactive.Linq;
using System.Security;
using System.Security.Permissions;
namespace QbservableProvider
{
internal sealed class TcpServerQuery<TSource, TResult> : QbservableBase<TResult, TcpServerQbservableProvider<TSource>>
{
private readonly object argumen... | 2.121573 | 5e8b5686a03c190abb24bb342bcda202 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849088 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "VladimirVLF/startlist.club",
"max_stars_repo_path": "FlightJournal.Web/Views/Account/DisplayEmail.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168308"
} | starcoder | @using FlightJournal.Web.Extensions
@{
ViewBag.Title = "Confirm your Email";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-danger"><span class="glyphicon glyphicon-alert"></span> Please click the confirmation link which was sent to you via Email.</div>
<p>You will not be able to access the site until your email... | 2.086189 | f58d701e3497a53c1df3ff308f18fa88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpshrader/db-mapper",
"max_stars_repo_path": "Common/ColumnRelationship.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168309"
} | starcoder | <reponame>jpshrader/db-mapper<gh_stars>0
namespace db_mapper.Common {
public class ColumnRelationship {
public string ForeignTable { get; set; }
public string RelationshipType { get; set; }
public string PrimaryTable { get; set; }
public string ForeignKeyName { get; set; }
public string ForeignColumn { ... | 1.363282 | 8b410b17ab1f8d3b45245bda683074b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zhelyazko777/OnlinePharmacy",
"max_stars_repo_path": "Pharmacy/Pharmacy.Web/Areas/Admin/Models/ComparableDrugFormModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168310"
} | starcoder | namespace Pharmacy.Web.Areas.Admin.Models
{
using Microsoft.AspNetCore.Mvc;
public class ComparableDrugFormModel
{
[FromBody]
public int ComparableDrugId { get; set; }
[FromRoute]
public int Id { get; set; }
}
}
| 1.556407 | ca56b21b9b99c5721920c6d27321bf44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stackprobe/CSharp",
"max_stars_repo_path": "Hechima/HechimaClient/HechimaClient/Common.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168311"
} | starcoder | <filename>Hechima/HechimaClient/HechimaClient/Common.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Charlotte.Tools;
using System.Numerics;
using System.Drawing;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace Charlott... | 2.48519 | 899e628c9bea86eca3cf9003845fa9c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vieapps/Services.Portals",
"max_stars_repo_path": "Service/Processors/Core/Module.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168312"
} | starcoder | #region Related components
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using System.Dynamic;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using net.viea... | 2.078225 | 99ed8f5a09fe86135360a686a1b8d12f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849093 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "flcdrg/sqlformat",
"max_stars_repo_path": "Laan.SQL.Parser.Test/Statements/TestBatchTerminators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168313"
} | starcoder | <reponame>flcdrg/sqlformat
using System;
using System.Linq;
using NUnit.Framework;
using Laan.Sql.Parser.Entities;
namespace Laan.Sql.Parser.Test
{
[TestFixture]
public class TestBatchTerminators
{
[Test]
public void Statements_With_Semicolon_Terminators()
{
... | 2.063256 | 47cc1a99496df83b2d205c97930b6ff8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849094 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "MindongLab/yngdieng",
"max_stars_repo_path": "server/backend/Controllers/TtsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168314"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Yngdieng.Backend.TextToSpeech;
namespace Yngdieng.Backend.Controllers
{
public sealed class TtsController : Controller
{
... | 2.591211 | 06a2d5781ecd621a15adb8a654ad109c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849095 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ExtendRealityLtd/Tilia.Input.CombinedActions.Unity",
"max_stars_repo_path": "Runtime/SharedResources/Scripts/AxesToAngleActionConfigurator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168315"
} | starcoder | namespace Tilia.Input.CombinedActions
{
using Malimbe.PropertySerializationAttribute;
using Malimbe.XmlDocumentationAttribute;
using UnityEngine;
using Zinnia.Action;
using Zinnia.Data.Attribute;
using Zinnia.Data.Operation.Extraction;
using Zinnia.Data.Type;
using Zinnia.Data.Type.Tran... | 2.323131 | f758d2f7c301759460efaf9a0eef0e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nmakhmutov/Elwark.Cafe.Frontend",
"max_stars_repo_path": "src/Gateways/History/EventGuessers/EventGuesserClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168316"
} | starcoder | using Education.Web.Gateways.History.EventGuessers.Model;
using Education.Web.Gateways.History.EventGuessers.Request;
namespace Education.Web.Gateways.History.EventGuessers;
internal sealed class EventGuesserClient : GatewayClient
{
private const string Route = "history/event-guessers";
private readonly HttpC... | 2.08796 | 1d0a1de012903f4b70d60c83fc7854e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ddieruf/kubernetes-client-csharp",
"max_stars_repo_path": "src/KubernetesClient/generated/Models/V1WebhookConversion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168317"
} | starcoder | // <auto-generated>
// Code generated by https://github.com/kubernetes-client/csharp/tree/master/gen/KubernetesGenerator
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using Sys... | 2.038356 | 1b6c04f02926d7b41d6f52ec88fabe58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ineternet/RSharp",
"max_stars_repo_path": "Enum/PathWaypointAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168318"
} | starcoder | <reponame>ineternet/RSharp<gh_stars>0
namespace RSharp.Enum
{
public enum PathWaypointAction
{
Walk,
Jump,
}
} | 1.18565 | ef117992d5e238cee0de174739ef7b09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/Runtime",
"max_stars_repo_path": "Source/Events/Relativity/EventHorizonKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168319"
} | starcoder | /*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------------------------------------... | 2.32167 | a1006eb38d4370d8e6d027abecd0fb8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849100 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "StoyanShopov/SoftUniQuizSystem",
"max_stars_repo_path": "src/Data/QuizSystem.Data.Models/UserContest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168320"
} | starcoder | <gh_stars>1-10
namespace QuizSystem.Data.Models
{
using System;
using QuizSystem.Data.Common.Models;
public class UserContest : BaseDeletableModel<string>
{
public UserContest()
{
this.Id = Guid.NewGuid().ToString();
}
public string ApplicationUserId { get... | 1.792903 | 359fee3aebb48f0be3378ec2ad0b405f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849101 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "YTed/windows-mobile-platform-api",
"max_stars_repo_path": "WinCity.Control/TextImageAlignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168321"
} | starcoder | <reponame>YTed/windows-mobile-platform-api
using System;
using System.Collections.Generic;
using System.Text;
namespace WinCity.Control
{
/// <summary>
/// 控件中文字与图像的相对位置
/// </summary>
[Flags]
public enum TextImageAlignment : int
{
/// <summary>
/// 默认是文字居左, 在图片下方
/// <... | 2.525712 | 4a9253a67c1c560bfbbcf0b0409b844d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849102 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brian-reichle/WAYWF",
"max_stars_repo_path": "src/WAYWF.UI/Controls/NumberBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168322"
} | starcoder | // Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace WAYWF.UI
{
class NumberBox : TextBox
{
public NumberBox()
{
D... | 2.628211 | b8b670e64d813c7483f1b052b3973b19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tom-Wells-NW/UiCommand",
"max_stars_repo_path": "Controls/MenuButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168323"
} | starcoder | using System.Windows;
using System.Windows.Controls;
namespace UiCommand.Controls
{
public class MenuButton : Button
{
public MenuButton()
{
Click += OnClick;
}
void OnClick(object sender, RoutedEventArgs e)
{
if (this.ContextMenu == null)
return;
this.ContextMenu.IsEnabled = true;
th... | 2.310493 | 73d221635d21db3fc4a455e2d54589fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849104 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Lichtblitz/AlbLib",
"max_stars_repo_path": "INI/INIProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168324"
} | starcoder | <filename>INI/INIProperty.cs
using System;
using System.Globalization;
namespace AlbLib.INI
{
public class INIProperty : INIObject
{
public string Value{get;set;}
public INISection Section{get;internal set;}
public INIProperty(string name, INISection section) : this(name, null, section)
{}
public IN... | 3.187866 | 6a5b59477e12fb6c57f777323e1d6c69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849105 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SharpKit/SharpKit-SDK",
"max_stars_repo_path": "Defs/Yui/Y_/BaseCore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168325"
} | starcoder | //***************************************************
//* This file was generated by tool
//* SharpKit
//***************************************************
using System;
using System.Collections.Generic;
using SharpKit.JavaScript;
namespace Y_
{
/// <summary>
/// The BaseCore class, is the lightest version of ... | 2.531797 | fc7b86ef276654839d49efc6a07b838f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849106 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dthorpe/BitSharp",
"max_stars_repo_path": "BitSharp.Core/Monitor/ChainPosition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168326"
} | starcoder | <filename>BitSharp.Core/Monitor/ChainPosition.cs
using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Core.Monitor
{
public class ChainPosition
{
private readonly UInt256 blockHash;
... | 2.296801 | 1b387605fd0cbb2f64910cf6d7f1f44d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849107 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "newbiedeveloper9/Sharpdj",
"max_stars_repo_path": "Client/Views/SubViews/MainViewComponents/RoomView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168327"
} | starcoder | <gh_stars>1-10
using System;
using System.Windows.Controls;
using System.Windows.Input;
using SharpDj.Logic.Helpers;
namespace SharpDj.Views.SubViews.MainViewComponents
{
/// <summary>
/// Interaction logic for RoomView.xaml
/// </summary>
public partial class RoomView : UserControl
{
publ... | 1.436988 | ed4d0683065ea68ac3b7aecc119d06b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kerpackie/SD1X-Bot",
"max_stars_repo_path": "Data/DataAccessLayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168328"
} | starcoder | <filename>Data/DataAccessLayer.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Data.Context;
using Data.Models;
using Microsoft.EntityFrameworkCore;
namespace Data
{
public class DataAccessLayer
{
private readonly SP1XDbContext _dbContext;
public Da... | 2.78949 | a7cf1e36ffb52e18d698feeee71952f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ethankennerly/digestion-defense",
"max_stars_repo_path": "DigestionDefense/Assets/Sources/Generated/Game/Components/GameSpawnBeforeDestroyComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168329"
} | starcoder | <reponame>ethankennerly/digestion-defense
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// ... | 1.652982 | b96aa18a87cf9d43f6167a1a071e948e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbodorkos/StorageApp",
"max_stars_repo_path": "StorageApp/Controllers/ComponentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168330"
} | starcoder | <reponame>tbodorkos/StorageApp<filename>StorageApp/Controllers/ComponentController.cs
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Core.Entities;
using Core.Interfaces;
namespace StorageApp.Controllers
{
public class ComponentController : Controller
{
private reado... | 2.368191 | a4bdf1deb9a61201bad9b8bcde13875d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Brian-Winter/ServiceTechnicianApp",
"max_stars_repo_path": "Service.Services/CustomerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168331"
} | starcoder | <filename>Service.Services/CustomerService.cs
using Service.Data;
using Service.Contracts;
using Service.Model.CustomerModels;
using Service.Model.MachineModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service.Services
{
public ... | 2.972939 | 90760ab0bc4a85add72e118d6b26ae47 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.