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 | 72933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BobAtParticular/NSB.ASB.Issue39",
"max_stars_repo_path": "Issue39.Messages/TestCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72934"
} | starcoder | using System;
namespace Issue39.Messages
{
public class TestCommand
{
public Guid TestId { get; set; }
}
} | 1.378514 | ebe1cf77be0db3b4ee40594612406808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72934 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "aadimator/mapbox-ar-unity-khoji",
"max_stars_repo_path": "Assets/Mapbox/Core/mapbox-sdk-cs/Map/MapUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72935"
} | starcoder | <gh_stars>100-1000
//-----------------------------------------------------------------------
// <copyright file="MapUtils.cs" company="Mapbox">
// Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Mapbox.Map
{
us... | 2.684398 | 92f1a9e59f60268c8ecb4b03ef86e4e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shuhari/Shuhari.WinTools",
"max_stars_repo_path": "Shuhari.WinTools.Core/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72936"
} | starcoder | <filename>Shuhari.WinTools.Core/Properties/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Shuhari.WinTools.Core")]
[assembly: AssemblyDescription("")]
[assembly: Guid("5d902cca-916f-4b45-b285-7511c7711ed8")]
| 1.459517 | 307ae10c6419e3af5beccbf9cb5d73eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BobGeews/object-oriented-programming-right",
"max_stars_repo_path": "EmployeeOlio/EmployeeOlio/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72937"
} | starcoder | <reponame>BobGeews/object-oriented-programming-right<gh_stars>0
using System;
namespace EmployeeOlio
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("**TYÖNTEKIJÄ TEHTÄVÄ**");
Employee matti = new Employee("<NAME>",1111,"Toimitusjohtaja",7500);
... | 3.10143 | 123a3b82d4e5180b100804f65fabd31c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeterOrneholm/session-aspnetcore",
"max_stars_repo_path": "AspNet/MyWebapp/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72938"
} | starcoder | using System.Web.Mvc;
using MyWebapp.Models;
namespace MyWebapp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
var viewmodel = new HomeViewModel()
{
DivideBy = 1
};
return View(viewmodel);
... | 2.444388 | f98f201dd338ad26377a2be78e0cb2af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philasmar/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/S3Control/Generated/Model/ListStorageLensConfigurationEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72939"
} | starcoder | <filename>sdk/src/Services/S3Control/Generated/Model/ListStorageLensConfigurationEntry.cs
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of ... | 1.705504 | ca216ffd97fbbb1c3a52075e5b7dd4c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DonaldAirey/dark-bond-main",
"max_stars_repo_path": "Subscription Manager/DarkBond.SubscriptionManager.Views.MDL/Views/Forms/ProductView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72940"
} | starcoder | <gh_stars>0
// <copyright file="ProductView.xaml.cs" company="Dark Bond, Inc.">
// Copyright © 2016-2017 - Dark Bond, Inc. All Rights Reserved.
// </copyright>
// <author><NAME></author>
namespace DarkBond.LicenseManager.Views.Forms
{
using System.Composition;
using DarkBond.LicenseManager.ViewModels.Form... | 2.132761 | accb17720038a4401b4e35f370548b5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qq283335746/51QiWang",
"max_stars_repo_path": "src/TygaSoft/Model/ContentType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72941"
} | starcoder | <filename>src/TygaSoft/Model/ContentType.cs
using System;
namespace LotterySln.Model
{
[Serializable]
public class ContentType
{
#region 成员方法
public object NumberID { get; set; }
public string TypeName { get; set; }
public object ParentID { get; set; }
public int So... | 1.858091 | 66930d684e6b7fa3a6c37d041044cf8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gregory-diaz/MatterControl",
"max_stars_repo_path": "CustomWidgets/PartThumbnailWidget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72942"
} | starcoder | /*
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following dis... | 1.855655 | 88c67ff9ada41e2a31b281c6cf7b419e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "blue3k/StormForge",
"max_stars_repo_path": "Tools/Src/LibSharp/SFToolLibSharp/ResultCode/ResultCodeSchemaExt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72943"
} | starcoder | <reponame>blue3k/StormForge<gh_stars>1-10
////////////////////////////////////////////////////////////////////////////////
//
// CopyRight (c) 2016 <NAME>
//
// Author : <NAME>
//
// Description :
//
////////////////////////////////////////////////////////////////////////////////
using System;
using Sys... | 1.209172 | 2afa20992059e8fab58b3368c114bab2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benneyman/Family",
"max_stars_repo_path": "Family.Tests/BaseRelationshipsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72944"
} | starcoder | <reponame>benneyman/Family<filename>Family.Tests/BaseRelationshipsTests.cs
using Family.DTO;
using Family.Enums;
using Family.Implementation;
using Family.Interfaces;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Family.Tests
{
... | 2.710347 | e45aac06df4bf56deac7ae11660168d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72944 | {
"extension": "c-sharp",
"max_stars_count": "169.0",
"max_stars_repo_name": "TastSong/CrazyCar",
"max_stars_repo_path": "CrazyCar/Assets/Scripts/Command/ChangePasswordCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72945"
} | starcoder | <filename>CrazyCar/Assets/Scripts/Command/ChangePasswordCommand.cs<gh_stars>100-1000
using LitJson;
using System.Text;
using UnityEngine;
using Utils;
using QFramework;
public class ChangePasswordCommand : AbstractCommand {
private string mPassword;
public ChangePasswordCommand(string password) {
mPa... | 2.171416 | 16657ace4269b271307afa00dcfe323b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "visionteacher/Crossplay",
"max_stars_repo_path": "Crossplay/TileProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72946"
} | starcoder | <gh_stars>0
using System.IO;
using OTAPI.Tile;
using Terraria;
namespace Crossplay
{
public class TileProcessor
{
public static void ProcessTile(ITile tile, BinaryReader reader)
{
BitsByte flags = reader.ReadByte();
BitsByte flags2 = reader.ReadByte();
bool ... | 2.086275 | 05e3e8283d0d98f2edbd2afd959998ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdcondon/SCGraphTheory.Search",
"max_stars_repo_path": "src/Search.Visualizer/WorldRendererControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72947"
} | starcoder | <reponame>sdcondon/SCGraphTheory.Search
using SCGraphTheory.Search.Classic;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using WorldGraph = SCGraphTheory.Search.TestGraphs.GridGraph<SCGraphTheory.Search.Visualizer.World.Terrain>;
namespace SCGraphTheory.Search.Visu... | 2.655379 | a1bab7702f21aaecd8bf239761c8793d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72947 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "JerzyKruszewski/RachelDiscordBot",
"max_stars_repo_path": "RachelBot/Core/UserAccounts/Achievement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72948"
} | starcoder | <gh_stars>10-100
namespace RachelBot.Core.UserAccounts;
public class Achievement
{
public int Id { init; get; }
public int Value { get; set; } = 15;
public string Content { get; set; }
}
| 1.558316 | d238b92df98d68c3f948811dd3c6d20b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inshapardaz/desktop-client",
"max_stars_repo_path": "src/api/Client/QueryHandlers/GetRelationshipByIdQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72949"
} | starcoder | <filename>src/api/Client/QueryHandlers/GetRelationshipByIdQueryHandler.cs
using System.Threading;
using System.Threading.Tasks;
using Inshapardaz.Desktop.Common.Http;
using Inshapardaz.Desktop.Common.Models;
using Inshapardaz.Desktop.Common.Queries;
using Paramore.Darker;
namespace Inshapardaz.Desktop.Api.Client.Quer... | 2.296625 | aa15c8f3ec6b27f10024534280b998d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72949 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "epam/covid-resistance-back-end",
"max_stars_repo_path": "src/Services/User/User.Infrastructure/Extensions/IdentityResultExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72950"
} | starcoder | // =========================================================================
// Copyright 2020 EPAM Systems, Inc.
//
// 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.apach... | 1.891845 | 3bff74503d8c920e375cbaf289913fcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72950 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "eventphone/rfpproxy",
"max_stars_repo_path": "RfpProxy.AaMiDe/AaMiDe/Dnm/UnknownDnmPayload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72951"
} | starcoder | using System;
using System.IO;
using RfpProxyLib;
namespace RfpProxy.AaMiDe.Dnm
{
public sealed class UnknownDnmPayload : DnmPayload
{
public override bool HasUnknown => true;
public UnknownDnmPayload(ReadOnlyMemory<byte> data) : base(data)
{
}
public override void L... | 2.234818 | 154966046f6b7db7b6b7e277c83e3981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72951 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "gmantaos/Commander.NET",
"max_stars_repo_path": "Commander.NET/Exceptions/CommandMissingException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72952"
} | starcoder | <filename>Commander.NET/Exceptions/CommandMissingException.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Commander.NET.Exceptions
{
public class CommandMissingException : Exception
{
}
}
| 1.630575 | 297790fce405b1bd84f2c00406327ef9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cariuska/App-Rastreamento-API",
"max_stars_repo_path": "Controllers/UpdateObjectController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72953"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AppRastreamento.Utils;
using AppRastreamento.Models;
namespace AppRastreamento.Controllers
{
[Route("v1/[controller]")]
public class UpdateObjectController : ControllerBase
... | 2.203858 | 76130fb98356305027950f6a8a16140f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Daomephsta/Tangerine",
"max_stars_repo_path": "Camera/PerspectiveCamera.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72954"
} | starcoder | <filename>Camera/PerspectiveCamera.cs
using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tangerine.GLObjects;
namespace Tangerine
{
public class PerspectiveCamera : Camera
{
public float FOV
{
get => fov;
set => fov... | 2.694431 | 594f48ad124fb4eb98ac0e74abb3a325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72954 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "topotam/Group3r",
"max_stars_repo_path": "LibSnaffle/ActiveDirectory/GPO/GpoSettings/UserSetting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72955"
} | starcoder | namespace LibSnaffle.ActiveDirectory
{
public class UserSetting : GpoSetting
{
public string Name { get; set; }
public string NewName { get; set; }
public string FullName { get; set; }
public string UserName { get; set; }
public string Cpassword { get; set; }
... | 1.573559 | cf2891c505a8fcb752c11db0e5444b92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damien-piedanna/eiin839",
"max_stars_repo_path": "TD5/TD Authentification Access Service toward SOAP/AuthentifiedAccess/AuthentifiedAccess/Connected Services/ServiceAccess/Reference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72... | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code es... | 1.958113 | 4d8f77daf87434cf698349787ec508f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72956 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "pnmcosta/Dapper.Logging",
"max_stars_repo_path": "src/Dapper.Logging/Configuration/DbLoggingConfigurationBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72957"
} | starcoder | using System;
using System.Data.Common;
using Microsoft.Extensions.Logging;
namespace Dapper.Logging.Configuration
{
public static class DbLoggingConfigurationBuilderExtensions
{
/// <summary>
/// Sets the log level
/// </summary>
/// <param name="x">The builder</param>
... | 2.559477 | 3a934482324dc8b25600787780c7c129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guandali/azure-sdk-for-net",
"max_stars_repo_path": "sdk/compute/Microsoft.Azure.Management.Compute/tests/CloudServiceTests/CloudServiceOperationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72958"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Compute;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Azure.Management.Network.Models;
using Microsoft.Azure... | 1.632219 | 5cce4f500b30ce3d0b2240c0abab4649 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hrfmartins/dafny",
"max_stars_repo_path": "boogie/Source/VCGeneration/ProofRun.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72959"
} | starcoder | <gh_stars>0
namespace VC;
public interface ProofRun {
string Description { get; }
} | 0.739595 | b42229cea42e9c26e3a7827c4bbbd981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72959 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "gjHACK/self-hosted-php-sql-leaderboard",
"max_stars_repo_path": "Leaderboards Source/Unity Assets/HighScore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72960"
} | starcoder | <filename>Leaderboards Source/Unity Assets/HighScore.cs
using UnityEngine;
using System.Collections;
using System;
public class HighScore : MonoBehaviour
{
//The GUI Text object we're going to base everything off.
public GameObject BaseGUIText;
///Fill in your server data here.
private string privateK... | 3.015955 | 6f1701923f40922d2a37f83035cca55b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musicvano/Faculty",
"max_stars_repo_path": "Fit.Data/Models/Address.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72961"
} | starcoder | <reponame>musicvano/Faculty
using System;
namespace Fit.Data.Models
{
public class Address
{
public Guid Id { get; set; }
public Street Street { get; set; }
public string House { get; set; }
public string Apartment { get; set; }
}
} | 1.586573 | cf73b8e7054ebbe2e06f308f9e27282f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72961 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gaufung/CodeBase",
"max_stars_repo_path": "LeetCode-In-DotNet/GenerateTrees.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72962"
} | starcoder | <reponame>gaufung/CodeBase<gh_stars>1-10
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int x) { val = x; }
* }
*/
public class Solution {
public IList<TreeNode> GenerateTrees(int n) {
... | 2.872627 | 313b58cfd16f67288cd7ea99a86cc801 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72962 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "DeathCradle/Terraria-s-Dedicated-Server-Mod",
"max_stars_repo_path": "Core/ServerCharacters/Tables/DefaultLoadoutTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72963"
} | starcoder | <reponame>DeathCradle/Terraria-s-Dedicated-Server-Mod
using System;
using OTA.Data;
using TDSM.Core.ServerCharacters;
using TDSM.Core.Data;
using TDSM.Core.Data.Models;
using Dapper.Contrib.Extensions;
using System.Data;
using TDSM.Core.ServerCharacters.Models;
using Dapper;
using OTA.Data.Dapper.Mappers;
using System... | 2.082007 | 09fe1d8d75d2a17549d80480fe3f357b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sheldarr/yolo-crawler",
"max_stars_repo_path": "YoloCrawler/Dice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72964"
} | starcoder | <reponame>sheldarr/yolo-crawler<filename>YoloCrawler/Dice.cs
namespace YoloCrawler
{
using Entities;
public interface Dice
{
int RollK100();
int RollForPlaceOnTheWall(int wallLength);
Position RollPosition(int width, int height);
bool RollChance(int percentChance);
i... | 2.610416 | acc1e279399ec5a2ef082cc2695998b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72964 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "badpaybad/opendotnet-ecommerce-platform",
"max_stars_repo_path": "DomainDrivenDesign.CoreCms/Events/NewsCreated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72965"
} | starcoder | <filename>DomainDrivenDesign.CoreCms/Events/NewsCreated.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DomainDrivenDesign.Core.Events;
namespace DomainDrivenDesign.CoreCms.Events
{
public class NewsCreated : IEvent
{
public ... | 2.50986 | 6d961e42733053780f186e7acf6087b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72965 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JigarJoshi/openapi-generator",
"max_stars_repo_path": "samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Client/BearerToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72966"
} | starcoder | // <auto-generated>
#nullable enable
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Org.OpenAPITools.Client
{
/// <summary>
/// A token constructed from a token from a bearer token.
/// </summary>
public class BearerToken : TokenBase
{
pri... | 2.668761 | f5a4bba0a23677b72570c11c4c380e51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuohuaRain/payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppInvoiceOrderQueryModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72967"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayEbppInvoiceOrderQueryModel Data Structure.
/// </summary>
public class AlipayEbppInvoiceOrderQueryModel : AlipayObject
{
/// <summary>
/// 定义商户的一级简称,用于标识商户品牌,对应于商户入驻... | 1.834655 | b584f502ef18da1d290e001022f90804 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eestradalucero/LivesSystem",
"max_stars_repo_path": "Assets/SimpleLivesSystem/Scripts/LivesSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72968"
} | starcoder | using UnityEngine;
using System;
using System.Collections.Generic;
using Emilio.LivesSystem;
namespace Emilio.LivesSystem{
public class LivesSystem {
private static LivesSystem instance = null;
private static readonly object padlock = new object();
public static LivesSystem Instance { get ... | 2.638735 | 3ca7bc09feaa4c5fd6ecef85b7aa4d8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72968 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Selinux24/SharpDX-Tests",
"max_stars_repo_path": "Samples/Z Game Logic/Rules/Enum/TeamRoles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72969"
} | starcoder | <reponame>Selinux24/SharpDX-Tests
namespace GameLogic.Rules.Enum
{
public enum TeamRoles
{
Neutral,
Defense,
Assault,
}
}
| 1.068077 | 1c5536411894dd47d8ad2084a009009d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72969 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Invenietis/CK-CodeGen",
"max_stars_repo_path": "Tests/CK.CodeGen.Tests/FunctionDefinitionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72970"
} | starcoder | <reponame>Invenietis/CK-CodeGen
using FluentAssertions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace CK.CodeGen.Tests
{
[TestFixture]
public class FunctionDefinitionTests
{
[Test]
public void FunctionDefinition_are_identified_by_their_k... | 2.333519 | 3dfb01ad9580967ce3f599f802e7a2af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72970 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HyperLLC/Hyper.DotNet.Commands",
"max_stars_repo_path": "Hyper.DotNet.Commands/Common/ExplorerCommands/Document/Extensions/DocumentExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72971"
} | starcoder | using CodeFactory.DotNet.CSharp;
using CodeFactory.VisualStudio;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyper.DotNet.Commands.Common.ExplorerCommands.Document.Extensions
{
//... | 2.86211 | 51385b660b54ad68024a0e81d143fac8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72971 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "nforgeio/neonKUBE",
"max_stars_repo_path": "Lib/Neon.Docker/Model/Node/DockerNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72972"
} | starcoder | <gh_stars>10-100
//-----------------------------------------------------------------------------
// FILE: DockerNode.cs
// CONTRIBUTOR: <NAME>
// COPYRIGHT: Copyright (c) 2005-2021 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | 2.255466 | b37f23a7b5126f9267c47758b0dc2d5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Horothenic/tower-defense",
"max_stars_repo_path": "Tower Defense/Assets/_Main/Scripts/Scenes/ResetSceneManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72973"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
using Zenject;
namespace TowerDefense.Scenes
{
public class ResetSceneManager : MonoBehaviour
{
#region FIELDS
[Inject] private BlackScreenController blackScreen = null;
[Header("CONFIGURATION")]
[SerializeFie... | 1.405452 | 9c78187f38e284c2349a70451224dc78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zazzmatazz/MQTTnet",
"max_stars_repo_path": "Tests/MQTTnet.Core.Tests/MqttServerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72974"
} | starcoder | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.Core.Client;
using MQTTnet.Core.Packets;
using MQTTnet.Core.Protocol;
using MQTTnet.Core.Server;
namespace MQTTnet.Core.Tests
{
[TestClass]
public class MqttServerTests
{
[TestMethod]
public asy... | 2.211895 | 7dfa3ca4a03871b6462ae7df0f888550 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bjowes/Titanium-Web-Proxy",
"max_stars_repo_path": "Titanium.Web.Proxy/Decompression/IDecompression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72975"
} | starcoder | <gh_stars>0
using System.IO;
using System.Threading.Tasks;
namespace Titanium.Web.Proxy.Decompression
{
/// <summary>
/// An interface for decompression
/// </summary>
internal interface IDecompression
{
Stream GetStream(Stream stream);
}
}
| 1.322501 | b3e7b0df6ec2cfc1cabcf1532a78e7c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72975 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "copenhagenatomics/CA_DataUploader",
"max_stars_repo_path": "CA.LoopControlPluginBase/IPluginCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72976"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace CA.LoopControlPluginBase
{
/// <remarks>Implementations of IPluginCommandHandler.Dispose are expected to clear the NewVectorReceived subscriptions and added commands</remarks>
public i... | 2.283586 | a1d01667d2bee493b994f0b9fa0eb370 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdwdjzhy/run-admin",
"max_stars_repo_path": "run-server/RunUI.Api/Controllers/WeatherForecastController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72977"
} | starcoder | using Microsoft.AspNetCore.Mvc;
namespace RunUI.Api.Controllers
{
public class WeatherForecastController : BaseController
{
[HttpGet]
public string[] Get()
{
var id = OrderIdHelper.ObjecId();
var id1 = OrderIdHelper.NewId();
var id2 = OrderIdHelper.G... | 1.892236 | 010d0419282ef7dee8bb22e1a4d430d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72977 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexanderSher/RTVS-Old",
"max_stars_repo_path": "src/EditorTestApp/Controller/BaseController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72978"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Languages.Editor.Controller.Constants;
using Microsoft.R.Components.Co... | 1.905711 | b52645b17cfb840151c99e5cc8568d57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "namarakM/ToDo-list",
"max_stars_repo_path": "ToDo-list/ToDo-list.iOS/Views/Detail/EditMode/EditModeView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72979"
} | starcoder | <filename>ToDo-list/ToDo-list.iOS/Views/Detail/EditMode/EditModeView.cs<gh_stars>0
using System.Drawing;
using Cirrious.FluentLayouts.Touch;
using CoreGraphics;
using Foundation;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Platforms.Ios.Binding.Views;
using ToDo_list.Core.ViewModels.Details;
using UIKit;
... | 2.107728 | ded4f357792bb8bdd9969820a18fdba2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loic-sharma/ExplorePackages",
"max_stars_repo_path": "src/ExplorePackages.Worker.Logic/MessageProcessors/RunRealRestore/RealRestoreResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72980"
} | starcoder | using System;
using System.Linq;
using Newtonsoft.Json;
using NuGet.Common;
using NuGet.ProjectModel;
using NuGetPackageIdentity = NuGet.Packaging.Core.PackageIdentity;
namespace Knapcode.ExplorePackages.Worker.RunRealRestore
{
public partial record RealRestoreResult : ICsvRecord<RealRestoreResult>
{
... | 1.684829 | 5eb5fd8b53de984709a13f5287541bca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72980 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice",
"max_stars_repo_path": "src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/ConfigurationKeys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72981"
... | starcoder | <gh_stars>1-10
namespace SFA.DAS.EAS.Domain.Configuration
{
public static class ConfigurationKeys
{
public const string LevyDeclarationProvider = "SFA.DAS.LevyAggregationProvider";
public const string PaymentProvider = "SFA.DAS.PaymentProvider";
public const string EmployerApprenticeshi... | 0.884253 | 30ebc324fb3931a61a72eb00b6f9873b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72981 | {
"extension": "c-sharp",
"max_stars_count": "427.0",
"max_stars_repo_name": "flognity/mtapi",
"max_stars_repo_path": "MtApi/Requests/SymbolInfoTickRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72982"
} | starcoder | namespace MtApi.Requests
{
internal class SymbolInfoTickRequest: RequestBase
{
public override RequestType RequestType => RequestType.SymbolInfoTick;
public string Symbol { get; set; }
}
} | 1.733012 | fb2e12e838464d6a1498f148a3e0cfb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatthewValverde/android-ar-simple",
"max_stars_repo_path": "Assets/PubNub/Pubnub/JSONSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72983"
} | starcoder | <filename>Assets/PubNub/Pubnub/JSONSerializer.cs
#if((!USE_JSONFX_UNITY_IOS) && (!USE_MiniJSON))
#define USE_JSONFX_UNITY_IOS
#endif
#if (USE_JSONFX_UNITY_IOS)
using Pathfinding.Serialization.JsonFx;
#elif (USE_MiniJSON)
using MiniJSON;
#endif
using System;
using System.Collections.Generic;
using System.Linq;
names... | 2.368114 | c724154c4d1ee8eb4636923cfe0b2c00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awatertrevi/hackathons",
"max_stars_repo_path": "Dutch Open Hackathon/2016/FoundIt/FoundIt/ViewModels/ChatPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72984"
} | starcoder | <filename>Dutch Open Hackathon/2016/FoundIt/FoundIt/ViewModels/ChatPageViewModel.cs
//
// ChatPageViewModel.cs
//
// <NAME> (<EMAIL>)
// 12/10/2016
//
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Input;
using FoundIt.ComponentModel;
using MonkeyChat;
using ... | 2.340888 | ea34ec106d88f50e2738a244dfbc6b6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ManagedIrbis",
"max_stars_repo_path": "Source/Classic/Apps/Fst2Ifs/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72985"
} | starcoder | /* Program.cs
*/
#region Using directives
using System;
using System.IO;
using System.Text;
#endregion
namespace Fst2Ifs
{
/// <summary>
///
/// </summary>
public static class Program
{
/// <summary>
/// Application entry point.
/// </summary>
public static int... | 2.499261 | 1e1fec963a8f4eb3b38682033126b853 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72985 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RossyB/ASP.NET-MVC-Final-Project",
"max_stars_repo_path": "BookStore/BookStore.Web/Models/Books/BooksViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72986"
} | starcoder | <gh_stars>1-10
using AutoMapper;
using BookStore.Common;
using BookStore.Data.Model;
using BookStore.Web.Infrastructure;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BookSt... | 2.236104 | 160075b9e84d8af12b6436e8674bd995 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielaPostolova/fmi-AI-homeworks",
"max_stars_repo_path": "TicTacToe/MinimaxAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72987"
} | starcoder | <reponame>DanielaPostolova/fmi-AI-homeworks
using System;
using System.Collections.Generic;
using System.Linq;
namespace TicTacToe
{
class MinimaxAlgorithm
{
public char Human { get; }
public char Computer { get; }
public char Neutral { get; }
public List<char> Board { get; se... | 3.491503 | 211570e5ac82eff4662dc9d47c7bc56c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inidibininging/apocalypse_netcore",
"max_stars_repo_path": "Apocalypse.Any.GameServer.Delegator/Api/ApiModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72988"
} | starcoder | <reponame>inidibininging/apocalypse_netcore<gh_stars>0
using System;
using Apocalypse.Any.GameServer.Delegator.Delegation;
using Nancy;
namespace Apocalypse.Any.GameServer.Delegator.Api
{
public class ApiModule : NancyModule
{
private const string ApiPath = "/api/";
public ApiModule()
... | 1.662166 | 2879b348d45930a1498f2a290f098358 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72988 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TGEnigma/Cethleann",
"max_stars_repo_path": "Cethleann.Structure/Resource/Texture/ScreenLayoutTextureMatrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72989"
} | starcoder | using DragonLib.Numerics;
namespace Cethleann.Structure.Resource.Texture
{
public struct ScreenLayoutTextureMatrix
{
public int Unknown1 { get; set; }
public int Unknown2 { get; set; }
public Matrix4x3 Matrix { get; set; }
}
}
| 1.521382 | 313c4074f7bd48d20fc721d379c4f2fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72989 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PereViader/Run4YourLife",
"max_stars_repo_path": "Run4YourLife/Assets/Code/Interactables/GoThroughPlatforms/PlatformGoThroughController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72990"
} | starcoder | using UnityEngine;
using Run4YourLife.Player;
using Run4YourLife.GameManagement;
namespace Run4YourLife.Interactables
{
public class PlatformGoThroughController : MonoBehaviour, ICustomVisibleInvisible
{
private Collider m_collider;
private void Awake()
{
enabled = false;
... | 2.231226 | 20c0789e49b91a47c5f1aead50fc6c71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72990 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kzrnm/WpfCaptureSample",
"max_stars_repo_path": "WpfCapture/MainWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72991"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Windows.Media.Imaging;
namespace WpfCapture
{
public class MainWindowViewModel : INotifyPropertyChanged
{
public string ProcessName { set; get; } = string.Empty;
public string WindowName { set;... | 2.759312 | b19a0908432a327b2e6ecf4b7f8ebeca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72991 | {
"extension": "c-sharp",
"max_stars_count": "11219.0",
"max_stars_repo_name": "krisums/aspnetboilerplate",
"max_stars_repo_path": "src/Abp.EntityFramework/EntityFramework/Uow/IEfUnitOfWorkFilterExecuter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72992"
} | starcoder | using System.Data.Entity;
using Abp.Domain.Uow;
namespace Abp.EntityFramework.Uow
{
public interface IEfUnitOfWorkFilterExecuter : IUnitOfWorkFilterExecuter
{
void ApplyCurrentFilters(IUnitOfWork unitOfWork, DbContext dbContext);
}
} | 1.457775 | 1012a863c588d309228c0ae03b26c7bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72992 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pi-dan/YueQianQian",
"max_stars_repo_path": "YueQianQian.Common/Aop/TransactionInterceptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72993"
} | starcoder | <reponame>pi-dan/YueQianQian<gh_stars>1-10
using Castle.DynamicProxy;
using FreeSql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using YueQianQian.Common.Attributes;
using YueQianQian.Common.Extensions;
using YueQianQian.M... | 2.036542 | fb3f133fee88e040b4cd26e70b2cdbfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "R3DIANCE/Edelstein",
"max_stars_repo_path": "src/common/Edelstein.Common.Gameplay.Stages.Game/Commands/Common/AliasCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72994"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using Edelstein.Protocol.Gameplay.Stages.Game.Commands;
using Edelstein.Protocol.Gameplay.Stages.Game.Objects.User;
namespace Edelstein.Common.Gameplay.Stages.Game.Commands.Common
{
public class AliasCommand : AbstractCommand
{
public override string Na... | 2.612719 | 6c9dd9066ac6d7fb051aacade0767f45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72994 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cshung/roslyn",
"max_stars_repo_path": "src/Workspaces/Core/Portable/Rename/ConflictEngine/ComplexifiedSpan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72995"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Runtime.Serialization;
using Microsoft.CodeAnalysis.Text;
namespa... | 1.845917 | bb515cb0a6c2302daddb14ec58714322 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72995 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FireFlyForLife/Exporters",
"max_stars_repo_path": "Maya/Exporter/MaterialDuplicationData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72996"
} | starcoder | <filename>Maya/Exporter/MaterialDuplicationData.cs
using BabylonExport.Entities;
using System.Collections.Generic;
public class MaterialDuplicationData
{
public List<BabylonMesh> meshesOpaque = new List<BabylonMesh>();
public List<BabylonMesh> meshesTransparent = new List<BabylonMesh>();
public int nbMesh... | 2.12675 | 35ec4d8d13db645a2518ccc9e05bdeca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "israelprofeasy/Ebook-Library-MVC",
"max_stars_repo_path": "EBookLibrary/EBookLibrary.DTOs/BookDTOs/FindBookBySearchDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72997"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace EBookLibrary.DTOs.BookDTOs
{
public class FindBookBySearchDTO
{
public string Title { get; set; }
public string AvatarUrl { get; set; }
public string Author { get; set; }
public string ... | 1.353116 | 285f805c5184831831214c535ff1a709 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72997 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "md5xwl/ONI-mod",
"max_stars_repo_path": "Useful Patch_xwl/ONI Mod1/Definitions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72998"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: Useful_Patch.Definitions
// Assembly: Useful Patch, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null
// MVID: 6222DEC0-B53E-4E8A-9B19-F74DA2F20D5B
// Assembly location: C:\Users\xu198\Documents\0Useful Patch\archived_versions\vanilla_455509\Useful Patch.dll
... | 1.679312 | a5963bf1829c169a77f03ccea50dc126 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72998 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "dingxing123/fivestar",
"max_stars_repo_path": "Unity/Assets/Hotfix/GameGather/Common/FiveStarUI/FiveStarLobbyPanel/RightBtnView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72999"
} | starcoder | using System;
using ETModel;
using Google.Protobuf.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace ETHotfix
{
public class RightBtnView : BaseView
{
#region 脚本工具生成的代码
private Button mRuleBtn;
private Button mSetBtn;
private Button mAnnouncementBtn;
priva... | 1.711172 | ca2bdc8fa47103b193ec24d854e9b508 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChungNYCU/Online-resume-builder",
"max_stars_repo_path": "UnitTests/Pages/Product/Create.cshtml.Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73000"
} | starcoder | using System.Linq;
using NUnit.Framework;
using ContosoCrafts.WebSite.Pages.Product;
/// <summary>
/// Unit Tests for the Product.Create page
/// </summary>
namespace UnitTests.Pages.Product.Create
{
/// <summary>
/// Unit Tests for the Product.Create page
/// </summary>
public class CreateTests
{
... | 2.541221 | 48d4901a309d1ae4578958b172cffa30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73000 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "prasmussen/Telegraph",
"max_stars_repo_path": "receivers/Netduino/Telegraph/Telegraph/Receiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73001"
} | starcoder | <reponame>prasmussen/Telegraph
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using Socket = System.Net.Sockets.Socket;
using System.Threading;
using Microsoft.SPOT;
namespace Telegraph {
public class Receiver : TransmissionHandler {
private TransmissionHandler ... | 2.862531 | 2f82798cec8895e80ec26f381397a6e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kubagdynia/TanmaNabu",
"max_stars_repo_path": "TanmaNabu/Core/Entitas/Matcher/Exceptions/MatcherException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73002"
} | starcoder | using System;
namespace Entitas
{
public class MatcherException : Exception
{
public MatcherException(int indices) : base(
$"matcher.indices.Length must be 1 but was {indices}")
{
}
}
} | 2.180209 | 9cdee126867452bee92da91b35e30c53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73002 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kiwidoggie/deadlocked-server",
"max_stars_repo_path": "RT.Models/DME/DMEUpdateClientStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73003"
} | starcoder | using RT.Common;
using Server.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
namespace RT.Models
{
[MediusMessage(NetMessageTypes.MessageClassDME, MediusDmeMessageIds.UpdateClientStatus)]
public class DMEUpdateClientStatus : BaseDMEMess... | 2.174096 | 632139c462fb94bfcbf34b64eed42aac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EliahKagan/old-practice-snapshot",
"max_stars_repo_path": "main/minimum-absolute-difference-in-an-array/minimum-absolute-difference-in-an-array.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73004"
} | starcoder | <gh_stars>0
using System;
internal static class Solution {
private static void Main()
{
var n = int.Parse(Console.ReadLine());
var a = Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
Array.Sort(a);
var best = int.MaxValue;
var i = 0;
fo... | 3.318457 | 6ff823ba842d7171ee4c49952cf53f60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Traperto/HTTPSMiddleware",
"max_stars_repo_path": "Controllers/RequestController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73005"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace HTTPSMiddleware.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class RequestController : Control... | 2.752105 | 3a19ba4508f17aa0018b260fafe99a62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomekmgr/CadProjectMonitor",
"max_stars_repo_path": "CadProjectCounter/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73006"
} | starcoder | using CadProjectCounter.Items;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace CadProjectCounter
{
public partial class Form1 : Form
{
private void InitializeComponent()
{
this.comp... | 2.030725 | 6153e9701bd3534f41cbd556da7c6564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CyndaquilDAC/Legacy-BBISLOCR",
"max_stars_repo_path": "BBISLOCR/Assets/Scripts/Assembly-CSharp/FirstPrizeScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73007"
} | starcoder | <reponame>CyndaquilDAC/Legacy-BBISLOCR
using System;
using UnityEngine;
using UnityEngine.AI;
// Token: 0x02000010 RID: 16
public class FirstPrizeScript : MonoBehaviour
{
// Token: 0x06000033 RID: 51 RVA: 0x00002C17 File Offset: 0x00001017
private void Start()
{
this.agent = base.GetComponent<NavMeshAgent>();
... | 1.67114 | 8f63db1db24149fd2774de06fffa8618 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73007 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidcaldas/omnia-cli",
"max_stars_repo_path": "src/Console/Commands/Model/Apply/Data/Database/Query.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73008"
} | starcoder | <gh_stars>1-10
namespace Omnia.CLI.Commands.Model.Apply.Data.Database
{
public class Query
{
public string Expression { get; set; }
}
} | 0.934809 | a27105e4cf31f064ea054d879ea003a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robink-teleopti/Toggle.Net",
"max_stars_repo_path": "code/Toggle.Net/Specifications/RegExSpecification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73009"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Toggle.Net.Specifications
{
public class RegExSpecification : IToggleSpecification
{
public const string MustDeclareRegexPattern = "Missing parameter '" + RegExParameter + "' for Feature '{0}'.";
public const string Re... | 2.166227 | cd6c86457fef5c52ac6e0a123b7a367d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73009 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Kostassoid/Anodyne",
"max_stars_repo_path": "src/main/Anodyne-Abstractions/Wcf/IWcfProxyFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73010"
} | starcoder | // Copyright 2011-2013 Anodyne.
//
// 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 applicabl... | 1.921627 | 9291d9e5e744be44d4b8672a25ec98be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laolu/abp-next-admin",
"max_stars_repo_path": "aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks/LINGYUN/Abp/BackgroundTasks/BackgroundJobManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73011"
} | starcoder | using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Guids;
using Volo.Abp.Json;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Timing;
namespace LINGYUN.Abp.Backgroun... | 1.959149 | 4f9280f6fb5643ae1ae414a8686eb2d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73011 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ebubekirdinc/ProgecDo",
"max_stars_repo_path": "src/ProgecDo.Application.Contracts/BoardMessages/CreateUpdateBoardMessageDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73012"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace ProgecDo.BoardMessages
{
[Serializable]
public class CreateUpdateBoardMessageDto
{
[StringLength(BoardMessageConsts.MaxTitleLength, MinimumLength = BoardMessageConsts.MinTitleLength)]
public string Title { get; set; }
... | 2.097645 | ef8aefcc2747e46b13365f10e77fc2fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nmarazov/TA-Homework",
"max_stars_repo_path": "Courses 2016-spring/C#Fundamentals/Homework03_Operators and Expressions/04_ConsoleInAndOut/10_FibonacciNumbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73013"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10_FibonacciNumbers
{
class Program
{
static void Main(string[] args)
{
int N = int.Parse(Console.ReadLine());
ulong a1 = 0;
... | 3.181796 | 8d37eaaaeb0a4054cc2ba9a46f559b92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73013 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "levinhtxbt/elsa",
"max_stars_repo_path": "src/samples/ZinL/ZinL/Models/Instance/AWFInstanceListRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73014"
} | starcoder | using Elsa.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ZinL.Models.Instance
{
public class AWFInstanceListRequest
{
public string DefinitionId { get; set; }
public WorkflowStatus Status { get; set; }
}
}
| 1.40604 | 8f13c7b3c9bdb1997024a6d26fe036a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73014 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "LORDofDOOM/BootstrapBlazor",
"max_stars_repo_path": "src/BootstrapBlazor.Shared/Pages/Samples/Downloads.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73015"
} | starcoder | // Copyright (c) <NAME> (<EMAIL>). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using BootstrapBlazor.Components;
using Microsoft.AspNetCore.Components;
using Mic... | 2.260046 | 959ef8b15c4dacba660b3a063b14bada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73015 | {
"extension": "c-sharp",
"max_stars_count": "1426.0",
"max_stars_repo_name": "3prm3/NBTExplorer-Reloaded",
"max_stars_repo_path": "NBTModel/Data/Nodes/TagLongDataNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73016"
} | starcoder | <gh_stars>1000+
using Substrate.Nbt;
namespace NBTExplorer.Model
{
public class TagLongDataNode : TagDataNode
{
public TagLongDataNode (TagNodeLong tag)
: base(tag)
{ }
protected new TagNodeLong Tag
{
get { return base.Tag as TagNodeLong; }
}
... | 1.953625 | 416b3a39e93b9633bd4195318c80826a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Caiusandcode/object-orientated-programming",
"max_stars_repo_path": "object-method/ticket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73017"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace taskticket
{
class Ticket
{
//muuttujat
public double Age;
public double Mtk;
public double Varusmies;
public double Opiskelija;
... | 2.942445 | af92a04bced6be9a8123aabad5020b9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mota57/PointOfSales",
"max_stars_repo_path": "PointOfSales.WebUI/Controllers/DiscountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73018"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PointOfSales.Core.Entities;
using PointOfSales.WebUI.Models;
namespace PointOfSales.WebUI.Contro... | 2.17585 | 8a45ae71875485ca2d3c38d656d34733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73018 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "arup-group/GSA-Grasshopper",
"max_stars_repo_path": "GhSA/Components/GraveyardComp/EditNode_OBSOLETE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73019"
} | starcoder | using System;
using System.Collections.Generic;
using Grasshopper.Kernel.Attributes;
using Grasshopper.GUI.Canvas;
using Grasshopper.GUI;
using Grasshopper.Kernel;
using Grasshopper;
using Rhino.Geometry;
using System.Windows.Forms;
using Grasshopper.Kernel.Types;
using GsaAPI;
using GhSA.Parameters;
using System.Reso... | 2.077944 | d237a1cbd7d9e3b893d619a2e066d995 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WebPx/WebPx.Web.Common",
"max_stars_repo_path": "src/WebPx.Web.Common/Web/SkinExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73020"
} | starcoder | using System;
namespace WebPx.Web
{
internal static class SkinExtensions
{
public static TOption Find<TOption>(this TOption[] options, string name = "Default")
where TOption : Skin
{
foreach (var option in options)
if (string.Equals(option.Name, name, St... | 2.86507 | 614ef3ae225ee6caef8140b46ff8059d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73020 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "husheng0/UnityMMO",
"max_stars_repo_path": "Assets/Scripts/Game/Modules/Role/RoleMgr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73021"
} | starcoder | <reponame>husheng0/UnityMMO
using System.Collections.Generic;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
namespace UnityMMO
{
public class RoleMgr
{
public static RoleMgr Instance;
GameWorld m_GameWorld;
private Transform container;
Dictionary<long, Entity> e... | 2.049656 | 1d76c87cbe05d67a0fe2f06d0c0c9047 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tshemake/Software-Development",
"max_stars_repo_path": "stepik/762/29652/step_6/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73022"
} | starcoder | using System;
/*
* Необходимо отсортировать содержимое tennis.txt по второму
* столбцу.
*
* box@de98796:~$ cat tennis.txt
* <NAME>, Fra
* <NAME>, BEL
* <NAME>, Bel
* <NAME>, usa
* <NAME>, USA
*/
namespace step_6
{
class Program
{
static void Main(string[] args)
... | 2.625539 | cbe05223acd57f6e3a449002801f7842 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "takemurakimio/missing-part-1",
"max_stars_repo_path": "Assets/Daikon Forge/DFGUI/Scripts/dfProgressBar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73023"
} | starcoder | <reponame>takemurakimio/missing-part-1
/* Copyright 2013 <NAME> */
using UnityEngine;
using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Implements a determinate progress bar that can be used to display
/// the progress from a start ... | 2.468148 | 7d931fc0d06f37d9b16dd541d9ea6ed9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nigel-sampson/octokit.net",
"max_stars_repo_path": "Octokit/IGitHubClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73024"
} | starcoder | using Octokit.Internal;
namespace Octokit
{
/// <summary>
/// A Client for the GitHub API v3. You can read more about the api here: http://developer.github.com.
/// </summary>
public interface IGitHubClient
{
/// <summary>
/// Provides a client connection to make rest requests to H... | 2.171304 | e26ac68a6be6ee72381b78556c29d6a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73024 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Thorcik1704/EmbeddedSocial-Service",
"max_stars_repo_path": "code/Tools/Developer/AddXMsEnumToSwaggerJson/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73025"
} | starcoder | <reponame>Thorcik1704/EmbeddedSocial-Service
// <copyright file="Program.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace SocialPlus.Tools.AddXMsEnumToSwaggerJson
{
using System;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using New... | 2.812133 | ac0f564ed5af1ae901d826a0809fdae6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhupangithub/WEBERP",
"max_stars_repo_path": "Code/Zephyr.Net/Zephyr.Data/Builders/Delete/DeleteBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73026"
} | starcoder | namespace Zephyr.Data
{
internal class DeleteBuilder : BaseDeleteBuilder, IDeleteBuilder
{
public DeleteBuilder(IDbCommand command, string tableName)
: base(command, tableName)
{
}
public IDeleteBuilder Where(string columnName, object value, DataTypes parameterType, int size)
{
Actions.ColumnValueAc... | 2.203414 | dfbebbd97d94a0e7d36d76ac5015bdb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73026 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "matus666/kontent-management-sdk-net",
"max_stars_repo_path": "Kentico.Kontent.Management/Models/Items/Identifiers/ContentItemVariantIdentifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73027"
} | starcoder | namespace Kentico.Kontent.Management.Models.Items
{
/// <summary>
/// Represents identifier of the content item variant.
/// </summary>
public sealed class ContentItemVariantIdentifier
{
/// <summary>
/// Represents identifier of the content item variant.
/// </summary>
... | 2.711354 | 6e5aff629feea1731e3a573ebf886d04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73027 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "simonec73/threatsmanager",
"max_stars_repo_path": "Studio/ThreatsManager.Extensions.WinForms/Panels/ThreatSources/Cwe/Languages_List_TypeLanguage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73028"
} | starcoder | // ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code++. Version 4.2.0.44
// </auto-generated>
// ------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Diagnost... | 1.884008 | bf1fd00ce13b29c5d77dc1b549190a24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73028 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "sillsdev/flexbridge",
"max_stars_repo_path": "src/LibFLExBridge-ChorusPlugin/Contexts/Anthropology/AnthropologyDomainServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73029"
} | starcoder | <filename>src/LibFLExBridge-ChorusPlugin/Contexts/Anthropology/AnthropologyDomainServices.cs<gh_stars>1-10
// Copyright (c) 2010-2016 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System.Collections.Generic;
using System.IO;
using System.Xml.Linq;
usin... | 2.005057 | 188c49afdeb36d5c118e6c66c623382e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73029 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "kant/IIS.Administration",
"max_stars_repo_path": "src/Microsoft.IIS.Administration.WebServer.UrlRewrite/Configuration/OutboundRules/OutboundMatchElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73030"
} | starcoder | <filename>src/Microsoft.IIS.Administration.WebServer.UrlRewrite/Configuration/OutboundRules/OutboundMatchElement.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.IIS.Administration.... | 1.825472 | cdc1a1165a6fd2f55f3241ce3b79ad39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73030 | {
"extension": "c-sharp",
"max_stars_count": "1122.0",
"max_stars_repo_name": "4ngelica/HackerRank",
"max_stars_repo_path": "Algorithms/Implementation/Picking Numbers/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73031"
} | starcoder | <filename>Algorithms/Implementation/Picking Numbers/Solution.cs
/*
Problem: https://www.hackerrank.com/challenges/picking-numbers/problem
C# Language Version: 6.0
.Net Framework Version: 4.5.2
Thoughts :
1. Sort the input array containing n integers in ascending order.
... | 3.935821 | 6e409c855159817c183cbdb29b2fc83b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xwilarg/Paint-Jam",
"max_stars_repo_path": "Assets/Scripts/Star.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73032"
} | starcoder | <filename>Assets/Scripts/Star.cs
using UnityEngine;
public class Star : MonoBehaviour
{
private float speed;
private void Start()
{
speed = Random.Range(-100f, 100f);
}
private void Update()
{
transform.Rotate(Vector3.forward * Time.deltaTime * speed);
}
}
| 2.383235 | 511a232db94c67a5f63c2405914033ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73032 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JonasChan2020/DataProcess",
"max_stars_repo_path": "Yuebon.NetCore/Yuebon.Security.Core/IServices/IDbBackupService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73033"
} | starcoder | using System;
using Yuebon.Commons.IServices;
using Yuebon.Security.Dtos;
using Yuebon.Security.Models;
namespace Yuebon.Security.IServices
{
public interface IDbBackupService:IService<DbBackup, DbBackupOutputDto, string>
{
}
}
| 1.10879 | abfa1e971d4c5acf892afd607494ad0f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.