added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95061 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "john-hartley/GoCardless.Api",
"max_stars_repo_path": "src/GoCardless.Api/CreditorBankAccounts/CreditorBankAccountLinks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95062"
} | starcoder | namespace GoCardlessApi.CreditorBankAccounts
{
public class CreditorBankAccountLinks
{
public string Creditor { get; set; }
}
} | 1.345039 | 5a51be84d8666dbc473159cf0f214de0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TryStatic/nw-tradingpost-price-extractor",
"max_stars_repo_path": "TradingPostDataExtractor/NonInvasiveKeyboardHookLibrary/KeybindStructComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95063"
} | starcoder | using System;
using System.Collections.Generic;
namespace TradingPostDataExtractor.NonInvasiveKeyboardHookLibrary
{
internal class KeybindStructComparer : IEqualityComparer<KeybindStruct>
{
public bool Equals(KeybindStruct x, KeybindStruct y)
{
if (x == null || y == null)
... | 2.77034 | 146a81d9860571ab755be0e93b3a22fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95063 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dinikolaeva/Basics-CSharp",
"max_stars_repo_path": "Exams/Exam-20And21April2019/Group2/02.EasterGuests/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95064"
} | starcoder | <reponame>dinikolaeva/Basics-CSharp<gh_stars>1-10
using System;
namespace _2.EasterGuests
{
class Program
{
static void Main(string[] args)
{
const double easterBread = 4;
const double egg = 0.45;
int countOfGuests = int.Parse(Console.ReadLine());
... | 3.589005 | bac15c187c3aa77222b48a1b8fe16e15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MohammadArsalanShakil/ImageProcessing",
"max_stars_repo_path": "ImageProcessing/Form2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95065"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing.Imaging;
namespace ImageProcessing
{
public partial class Form2 : F... | 2.470624 | 0e6aaa56fdae893deaecb97f5c11bf52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ekenstein/Files",
"max_stars_repo_path": "Fileicsh.Tests/MemoryStorageTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95066"
} | starcoder | using Fileicsh.Abstraction;
namespace Fileicsh.Tests
{
public class MemoryStorageTests : BaseStorageTests
{
public MemoryStorageTests() : base(new MemoryStorage())
{
}
}
}
| 1.330896 | 2ea86a65eb2102e6fa237bea55b88937 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moosajafri/cheviri-master",
"max_stars_repo_path": "Source/Cheviri.Client.Web/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95067"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Cheviri.Client.Web.Helpers;
using Cheviri.Client.Web.Models;
namespace Cheviri.Client.Web.Controllers
{
public class HomeController : BaseController
{
[HttpGet]
public IActionResult Index()
{
... | 1.424639 | d19d5e2f329b3d5fddbf42561e60680a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Softeq/NetKit.Payment.Stripe",
"max_stars_repo_path": "Softeq.NetKit.Payments.Service/DataServices/Storage/SubscriptionPlanDataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95068"
} | starcoder | <filename>Softeq.NetKit.Payments.Service/DataServices/Storage/SubscriptionPlanDataService.cs
// Developed by Softeq Development Corporation
// http://www.softeq.com
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Softeq.NetKit.Payments.Data.Mode... | 2.149726 | 3cb67de23e2d43db794703fd93f2517e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95068 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "jesuissur/googleads-dotnet-lib",
"max_stars_repo_path": "examples/AdWords/CSharp/v201809/ShoppingCampaigns/AddSmartShoppingAd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95069"
} | starcoder | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 2.32125 | 3cca68b340e43ce36db1b818a43bf96c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AyronK/poe-commerce",
"max_stars_repo_path": "src/PoECommerce.TradeService/Models/Trade/ListedItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95070"
} | starcoder | <reponame>AyronK/poe-commerce
using System.Text.Json.Serialization;
using PoECommerce.PathOfExile.Models.Trade.Items;
using PoECommerce.PathOfExile.Models.Trade.Listings;
namespace PoECommerce.PathOfExile.Models.Trade
{
public class ListedItem
{
/// <summary>
/// Result ID (might ... | 2.246497 | 0915a06fb3656d18131c55a2ec04ec72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95070 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "telmengedar/StreamRC",
"max_stars_repo_path": "Gangolf/Chat/MessageTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95071"
} | starcoder | <filename>Gangolf/Chat/MessageTarget.cs
namespace NightlyCode.StreamRC.Gangolf.Chat {
public enum MessageTarget {
Host,
Author,
Chatter
}
} | 1.591892 | 195cb6ed18aff12182b06fd3bb855c15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucianapda/tema8",
"max_stars_repo_path": "backend/TrabalhoBackEnd/Services/ServiceLaboratorio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95072"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity.Core;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Web;
using AutoMapper;
using TrabalhoBackEnd.Dto;
using TrabalhoBackEnd.Entidades;
namespace TrabalhoBackEnd.Services
{
public class ServiceLatoratorio
{
... | 2.534621 | 21b3ae8fd3aeaf7c808a87f103d9ab5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95072 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elliotjb/CulverinEngine-Project3",
"max_stars_repo_path": "Engine/Game/Assets/ShieldBlock_Action.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95073"
} | starcoder | using CulverinEditor;
class ShieldBlock_Action : Action
{
}
| 0.726968 | 11fcc9462741ebca9053336d132d7e55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95073 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "captechconsulting/alexa-skills-kit-for-dot-net",
"max_stars_repo_path": "tests/Ask.Sdk.Azure.WebJobs.Tests/AlexaSkillStartupTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95074"
} | starcoder | <gh_stars>1-10
using Ask.Sdk.Azure.WebJobs.Config;
using Microsoft.Azure.WebJobs;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Ask.Sdk.Azure.WebJobs.Tests
{
public class AlexaSkillStartupTests
{
[Fact]
public void Should_Throw_Exception_I... | 1.493356 | dd8b5131229da2c89885d7710e91acb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95074 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "491134648/JT808",
"max_stars_repo_path": "src/JT808.Protocol/MessageBody/JT808_0x8103_0x0031.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95075"
} | starcoder | <reponame>491134648/JT808
using JT808.Protocol.Attributes;
using JT808.Protocol.Formatters;
using JT808.Protocol.MessagePack;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 电子围栏半径(非法位移阈值),单位为米
/// </summary>
public class JT808_0x8103_0x0031 : JT808_0x8103_BodyBase, IJT808MessagePackFormatter... | 1.921603 | 2476eb2175ed9c62632b0d00f4741ee7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ulfk/game-of-life",
"max_stars_repo_path": "GameOfLifeApp/RandomSettingsForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95076"
} | starcoder | <filename>GameOfLifeApp/RandomSettingsForm.cs
using System;
using System.Windows.Forms;
namespace GameOfLifeApp
{
public partial class RandomSettingsForm : Form
{
private int _density = 40;
private int _fieldSize = 25;
public int Density
{
get => _density;
... | 3.089021 | a4e4baf96644626b34f04c852e89cc7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95076 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Team-Griffin-SQA-2015/TelerikAcademyCustomTestFramework",
"max_stars_repo_path": "TelerikAcademyCustomTestFramework/QA.TelerikAcademy.Admin.Tests/SearchTerms/EditAndDeleteSearchTermFunctionalityTests.cs",
"provenance": "train-00000-of... | starcoder | <reponame>Team-Griffin-SQA-2015/TelerikAcademyCustomTestFramework
namespace QA.TelerikAcademy.Admin.Tests.SearchTerms
{
#region using directives
using ArtOfTest.WebAii.Core;
using Core.Constants.Attributes;
using Core.Enumerations;
using Core.Facades;
using Core.Factories;
using Microsof... | 1.903241 | 960d222df0edb2123f1e0a686f30fa0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95077 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "karpis/signature-api-client-dotnet",
"max_stars_repo_path": "Digipost.Signature.Api.Client.Core.Tests/Internal/XsdRequestValidationHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95078"
} | starcoder | <filename>Digipost.Signature.Api.Client.Core.Tests/Internal/XsdRequestValidationHandlerTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Digipost.Signature.Api.Client.Core.Exceptions;
using Digipost.Signature.Api.Client.... | 1.84326 | 19b159622515cb7c74eb76d587cea62a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95078 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "Neuralia/Neuralia.NClap",
"max_stars_repo_path": "src/Tests/TestApp/MainCommandType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95079"
} | starcoder | <filename>src/Tests/TestApp/MainCommandType.cs
using NClap.Metadata;
namespace NClap.TestApp
{
[ArgumentType(DisplayName = "REPL command")]
enum MainCommandType
{
[HelpCommand(Description = "Displays command help")]
Help,
[Command(typeof(CliHelp), Description = "Displays toplevel ... | 2.503427 | 566b4b5d709e02f57e1c363b4e8b1278 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HeleneWentworth/GrowMeClass",
"max_stars_repo_path": "GrowMeClass/Helpers/NumericExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95080"
} | starcoder | using System;
namespace GrowMeClass.Helpers
{
public static class NumericExtensions
{
public static byte EnsureByte(double input)
{
if (input < 0) return 0;
if (input > 255) return 255;
return (byte) Math.Floor(input);
}
}
} | 3.090284 | cd8efe4c93dcf859c77da0c0ddb46922 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95080 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "djoshi001Personal/presentations",
"max_stars_repo_path": ".NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Mvc/Controllers/CarsApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95081"
} | starcoder | <reponame>djoshi001Personal/presentations
using System.Threading.Tasks;
using AutoLot.Dal.Repos.Interfaces;
using AutoLot.Models.Entities;
using AutoLot.Services.ApiWrapper;
using AutoLot.Services.Logging;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace AutoLot.Mvc.Controllers
{
... | 2.339829 | ea4527a1c99ed0c153e1e3ce5c8b0cbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95081 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "SuperJMN/VisualDesigner",
"max_stars_repo_path": "Glass/Glass.Design/ProportionalResizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95082"
} | starcoder | using System.Windows;
using Glass.Design.CanvasItem;
namespace Glass.Design
{
public class ProportionalResizer
{
private readonly ICanvasItem canvasItem;
public ProportionalResizer(ICanvasItem canvasItem)
{
this.canvasItem = canvasItem;
}
private static Ca... | 2.478049 | 18960939d0389e3fec58e9dd7f11b4e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95082 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PourrezJ/ResurrectionRP-Framework",
"max_stars_repo_path": "ResurrectionRP_Server/Loader/VehicleInfoLoader/Data/VehicleDimensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95083"
} | starcoder | <filename>ResurrectionRP_Server/Loader/VehicleInfoLoader/Data/VehicleDimensions.cs<gh_stars>1-10
using Newtonsoft.Json;
using VehicleInfoLoader.Models;
namespace VehicleInfoLoader.Data
{
public class VehicleDimensions
{
[JsonProperty("min")]
public Vector Min { get; internal set; }
... | 2.144009 | 32eeab864bdb298cb4168bdccf9de2c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95083 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RayCarrot/Rayman-Control-Panel-Metro",
"max_stars_repo_path": "src/RayCarrot.RCP.Metro/Games/Info/Fan/GameInfo_GloboxMoment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95084"
} | starcoder | #nullable disable
using System;
using System.Collections.Generic;
namespace RayCarrot.RCP.Metro;
/// <summary>
/// The Globox Moment game info
/// </summary>
public sealed class GameInfo_GloboxMoment : GameInfo
{
#region Public Override Properties
/// <summary>
/// The game
/// </summary>
public... | 2.21686 | 6262bff7580a0fe844af278bd85231c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peachii0z/coza-store-e-commerce",
"max_stars_repo_path": "CozaStore/Models/KhachHang.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95085"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.696737 | d70f95ade2ee1d3515da58eb57e1853a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cclelio/UnifiedOddsSdkNetCore",
"max_stars_repo_path": "src/Tests/Sportradar.OddsFeed.SDK.Test/SdkConnectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95086"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using Castle.Core.Internal;
using EasyNetQ.Management.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sportradar.OddsFeed.SDK.API;
using Sport... | 1.591255 | e3e4099caadbcaf418462681627a93de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95086 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Asnivor/MedLaunch",
"max_stars_repo_path": "MedLaunch/Classes/InstructionSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95087"
} | starcoder | <reponame>Asnivor/MedLaunch
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
namespace MedLaunch.Classes
{
public class InstructionSetDetector
... | 2.349864 | a4635a75bbd54da42e727ade46fb125c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95087 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Pet-SOS/AnimalRescue",
"max_stars_repo_path": "Backend/AnimalRescue/AnimalRescue.BusinessLogic/Services/FinancialReportYearInfoService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95088"
} | starcoder | using AnimalRescue.Contracts.BusinessLogic.Interfaces;
using AnimalRescue.Contracts.BusinessLogic.Models;
using AnimalRescue.DataAccess.Mongodb.Interfaces.Repositories;
using AnimalRescue.DataAccess.Mongodb.Models;
using AutoMapper;
using System;
using System.Threading.Tasks;
namespace AnimalRescue.BusinessLogic.Ser... | 2.162721 | 1d7fd3252d78bfd20f511c5d4b3755eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95088 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Flippo24/Korduene",
"max_stars_repo_path": "Korduene.UI.WPF/UIServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95089"
} | starcoder | <filename>Korduene.UI.WPF/UIServices.cs
using Korduene.UI.Enums;
using System;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Korduene.UI.WPF
{
public sealed class UIServices : IUIServices
{
private static readonly UIServices _instance = new UIServices();
public s... | 2.669094 | 275586e54b5d88974e6812d083840c2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NoAvailableAlias/NanoMage",
"max_stars_repo_path": "NanoMage/NanoMage/Controls/ZoomBorder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95090"
} | starcoder | using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace NanoMage.Controls
{
/// <summary>
/// Crucial control found on SO that allows image panning and zooming.
/// </summary>
/// <remarks>
/// https://st... | 2.5208 | 7e639cd9af18050caf991e0a98cad871 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95090 | {
"extension": "c-sharp",
"max_stars_count": "1519.0",
"max_stars_repo_name": "softworm/Chloe",
"max_stars_repo_path": "src/Chloe/Query/Visitors/GroupKeySelectorParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95091"
} | starcoder | using Chloe.Core.Visitors;
using Chloe.DbExpressions;
using Chloe.Utility;
using System.Linq.Expressions;
namespace Chloe.Query.Visitors
{
class GroupKeySelectorParser : ExpressionVisitor<DbExpression[]>
{
ScopeParameterDictionary _scopeParameters;
StringSet _scopeTables;
public GroupK... | 2.504328 | 7d1832aec69d82dd9c24667ece87ecbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kicker3082/LeadGen2",
"max_stars_repo_path": "Infrastructure/System/Creative.System.Core/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95092"
} | starcoder | <filename>Infrastructure/System/Creative.System.Core/StringExtensions.cs
using System;
using System.Linq;
namespace Creative.System.Core
{
public static class StringExtensions
{
public static T ParseEnum<T>(this string value)
{
return (T)Enum.Parse(typeof(T), value, true);
... | 3.751958 | 259a6a9c5d77c25a8761ee16844239e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95092 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "CyberSys/UnityWebBrowser",
"max_stars_repo_path": "src/UnityWebBrowser.Shared/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95093"
} | starcoder | <reponame>CyberSys/UnityWebBrowser
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("UnityWebBrowser.Tests")] | 1.18153 | cb5728bd0acd1ad8cffb4741716ecf26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snailium/Xamarin.Android.SlidingMenu",
"max_stars_repo_path": "Sample/ViewPagerActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95094"
} | starcoder | using System.Collections.Generic;
using Android.App;
using Android.OS;
using Android.Support.V4.App;
using Android.Support.V4.View;
using Sample.Fragments;
using SlidingMenuSharp;
using Fragment = Android.Support.V4.App.Fragment;
using FragmentManager = Android.Support.V4.App.FragmentManager;
namespace Sampl... | 2.176488 | 544860a19e959f18ce524f5420bd625a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95094 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JedS6391/NzCovidPass",
"max_stars_repo_path": "src/NzCovidPass.Core/Cbor/CborArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95095"
} | starcoder | namespace NzCovidPass.Core.Cbor
{
/// <summary>
/// Represents an array of CBOR encoded data items.
/// </summary>
internal sealed class CborArray : CborObject
{
/// <summary>
/// Initializes a new instance of the <see cref="CborArray" /> class.
/// </summary>
/// <pa... | 3.127436 | d93aa5eca8b5c55fedbbf6fc647e5d0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xqiu/aspnetcore-angular-ad",
"max_stars_repo_path": "CodeGenerator/CodeModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95096"
} | starcoder | <reponame>xqiu/aspnetcore-angular-ad
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeGenerator
{
public class CodeModel
{
public string ModuleName { get; set; }
public string ContextName { get; set; }
pub... | 2.489134 | 5fb06781ff6e086963339e28d207d9b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/D/DatastoreFileEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95097"
} | starcoder | <gh_stars>1-10
namespace EnvironmentAssessment.Common.VimApi
{
public class DatastoreFileEvent : DatastoreEvent
{
protected string _targetFile;
protected string _sourceOfOperation;
protected bool? _succeeded;
public string TargetFile
{
get
{
return this._targetFile;
}
set
{
this._targ... | 1.61935 | 0b852ee858bbc46c51c400fb32aa03ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95097 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RexTremendaeMajestatis/SACDP",
"max_stars_repo_path": "course2/sem3/hw1/task4/task4/View/Builders/IShapeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95098"
} | starcoder | namespace Task4
{
using System.Drawing;
using System.Windows.Forms;
/// <summary>
/// Interface for builder
/// </summary>
public interface IShapeBuilder
{
/// <summary>
/// Sets start point
/// </summary>
void Init(Point point);
/// <summary>
... | 3.145525 | e94a5c4c60c80542e80a7566f03da0b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95098 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashiquzzaman/AzRUtil.Csharp.Library",
"max_stars_repo_path": "AzRUtil.Csharp.Library/Exceptions/ExceptionModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95099"
} | starcoder | <filename>AzRUtil.Csharp.Library/Exceptions/ExceptionModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace AzRUtil.Csharp.Library.Exceptions
{
public class ExceptionModel
{
public string FileName { get; set; }
public string MethodName { get; set; }//Or Action
... | 2.763095 | 867ecd24a838fbb08a1e45082d736871 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95099 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "balivo/appcenter-openapi-sdk",
"max_stars_repo_path": "generated/Models/ReleaseUpdateRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95100"
} | starcoder | <reponame>balivo/appcenter-openapi-sdk
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Balivo.AppCenterClient.Models
{
using Newtonsoft.Json;
using System.Colle... | 1.820043 | 3b48a98e979bfb3e70887d502d45e289 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95100 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengming0916/FileExplorer",
"max_stars_repo_path": "src/FileExplorer2/app/QuickZip.UserControls/Tools/AutoNotifyPropertyChanged/AutoNotifyPropertyChanged.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95101"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Globalization;
namespace QuickZip.Tools
{
public class AutoNotifyPropertyChanged : INotifyPropertyChanged
{
private ... | 3.062314 | f1acbfc29a81cadfb55e8b45c661490e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95101 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Draupner/Draupner",
"max_stars_repo_path": "Src/Scaffold/Generator/GeneratorManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95102"
} | starcoder | <reponame>Draupner/Draupner<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Scaffold.Common;
using Scaffold.Exceptions;
namespace Scaffold.Generator
{
public class GeneratorManager : IGeneratorManager
{
private static IList<IGenerator> generators;
public GeneratorMana... | 2.603368 | b8ace575f4d0d00e5075b5b84882006e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khanlarmammadov/TacitusLogger.Tests.Helpers",
"max_stars_repo_path": "src/TacitusLogger.Tests.Helpers/Samples.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95103"
} | starcoder | <reponame>khanlarmammadov/TacitusLogger.Tests.Helpers
using System;
using System.Collections.Generic;
namespace TacitusLogger.Tests.Helpers
{
public static class Samples
{
public static class LogModels
{
public static LogModel Standard(LogType logType = LogType.Error)
{... | 2.776567 | ebd31292176c92e0bfe76cf57976f5df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MysteryJump/VIPBrowser",
"max_stars_repo_path": "VIPBrowserLibrary/Chron/ThreadOrResData/Abone/AboneManagement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95104"
} | starcoder | <reponame>MysteryJump/VIPBrowser<filename>VIPBrowserLibrary/Chron/ThreadOrResData/Abone/AboneManagement.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace VIPBrowserLibrary.Chron.ThreadOrResD... | 2.640912 | 70b74c4db010d620b06df52fecfd6b87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95104 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Dnkhatri/jellyfin-plugin-trakt",
"max_stars_repo_path": "Trakt/Api/DataContracts/Sync/Ratings/TraktMovieRated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95105"
} | starcoder | using System.Text.Json.Serialization;
using Trakt.Api.DataContracts.BaseModel;
namespace Trakt.Api.DataContracts.Sync.Ratings;
public class TraktMovieRated : TraktRated
{
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("year")]
public int? Year { get; set; }
[Json... | 1.610303 | 2e5a129cce9658ffe1072b2e85675f0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Torque3D-GameEngine/T3D-Demos",
"max_stars_repo_path": "data/FPSGameplay/fpstutorial/scripts/datablocks/weapons/grenadeLauncher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95106"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software withou... | 1.671629 | 3d8067a1e51026d343a2f6863b9b78d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95106 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zhaobingwang/sample",
"max_stars_repo_path": "test/Sample.Utilities.Tests/HttpOperatorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95107"
} | starcoder | <filename>test/Sample.Utilities.Tests/HttpOperatorTest.cs
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Sample.Share.Constants;
using System.Threading.Tasks;
namespace Sample.Utilities.Tests
{
[Trait("工具类", "Http")]
public class HttpOperatorTest
{
HttpOperat... | 2.300383 | 4a617055236422a44824eb6b1189b058 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrBBBaiXue/MyCodeJournal",
"max_stars_repo_path": "PokerDealer/PokerDealer.Console/ConsoleOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95108"
} | starcoder | <reponame>MrBBBaiXue/MyCodeJournal
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using Con = System.Console;
namespace PokerDealer.Console
{
public static class ConsoleOperation
{
/// <summary>
/// 输出规则
/// </summary>
public static v... | 3.014412 | 77a6e591e496cf333e1a59546bf8c921 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beeinstant-dev/beeinstant-.net-sdk",
"max_stars_repo_path": "src/BeeInstant.NetSDK.Tests/MetricsManagerUninitializedTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95109"
} | starcoder | /*
* The MIT License (MIT)
*
* Copyright (c) 2018 BeeInstant
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to use, copy... | 1.730726 | c9146cc2f5fb394129c252fac9de4f66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95109 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "yy1985710/ecsrx",
"max_stars_repo_path": "src/Assets/Plugins/UIWidgets/Sample Assets/DialogTreeViewInputHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95110"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using UIWidgets;
using System.Collections.Generic;
using System.Linq;
namespace UIWidgetsSamples {
public class DialogTreeViewInputHelper : MonoBehaviour {
[SerializeField]
public TreeView Folders;
ObservableList<TreeNode<TreeViewItem>> nodes;
bool _InitDone;
pu... | 2.02246 | f705e16204dd1c835fa5ff77ea83fb31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorkolev81/SoftUni",
"max_stars_repo_path": "Progr Fund DataTypes and Var Exercises/8Traveling at Light Speed/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8Traveling_at_Light_Speed
{
class Program
{
static void Main(string[] args)
{
double lyInput = double.Parse(Console.ReadLine());
var oneLy = l... | 3.585242 | 59344ffbf686290d6f4950fdc00feec6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95111 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fyl080801/dotnet-seed",
"max_stars_repo_path": "src/Seed.Mvc.Abstractions/Models/ApiResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95112"
} | starcoder | <gh_stars>1-10
namespace Seed.Mvc.Models
{
public class ApiResult
{
public ApiResult(bool success = true)
{
Success = success;
}
public bool Success { get; set; }
public object Data { get; set; }
public string Message { get; set; }
}
} | 1.913569 | 01dfeae5c9383e36187e29551e43651e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95112 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevecooperorg/Blink",
"max_stars_repo_path": "src/Blink.Tests/Util/StringExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95113"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Blink.Util;
namespace Blink.Tests.Util
{
[TestClass]
public class StringExtensionsTest
{
[TestMethod]
... | 2.633012 | a3202392bdac27d45abbd2b7e2057849 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95113 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ibrahimbensalah/XmallSteps",
"max_stars_repo_path": "Xania.Steps/Core/JoinFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95114"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Xania.Steps.Core
{
public class JoinFunction<TRoot, TOuter, TInner, TKey, TResult> : IFunction<TRoot, IEnumerable<TResult>>
{
private readonly IFunction<TRoot, IEnumerable<TOuter>> _outerFunc;
... | 2.615692 | 82f13b4b6ee8a521f5e17aa848308acd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatejMecka/tbd-ggj-2020",
"max_stars_repo_path": "Assets/Scripts/SentenceBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95115"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class SentenceBehaviour : MonoBehaviour
{
// Start is called before the first frame update
private SpeechRecognition srec;
private VisualsHandler vhand;
public string Sentence = "";
public string[] k... | 2.665723 | b88a8e85041fae93a770e5df06efe7eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95115 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nitrictech/dotnet-sdk",
"max_stars_repo_path": "Nitric.Sdk/Faas/Response.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95116"
} | starcoder | // Copyright 2021, Nitric Technologies Pty Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 1.854009 | 6ec82ea2f2a0b5a9615426dd26ba69c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95116 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "futsuki/unitysimpleaddons",
"max_stars_repo_path": "SimpleAttribute/Editor/TagFieldAttributeDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95117"
} | starcoder | <reponame>futsuki/unitysimpleaddons
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
[CustomPropertyDrawer( typeof ( TagFieldAttribute ) )]
public class TagFieldAttributeDrawer : PropertyDrawer
{
static System.Reflection.BindingFlags BindFlags =
System.Reflection.BindingF... | 2.155236 | c308628209e727f4097de14dc9bd4e44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "azzimuth/2STBV",
"max_stars_repo_path": "2STBV.Common/Classes/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95118"
} | starcoder | using Newtonsoft.Json;
namespace _2STBV.Common.Classes
{
public class Message
{
public int message_id { get; set; }
public User from { get; set; }
public int date { get; set; }
[JsonProperty("chat")]
public User chat { get; set; }
[JsonProperty("chat")]
... | 1.561954 | ea7c4bd48bd46f3683c14dab5f50f4b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95118 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "search-for-the-one/Neo.Extensions.DependencyInjection",
"max_stars_repo_path": "Neo.Extensions.DependencyInjection/IKeyedServiceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95119"
} | starcoder | using System.Collections.Generic;
namespace Neo.Extensions.DependencyInjection
{
public interface IKeyedServiceProvider
{
T GetRequiredService<T>(string section, string key);
IDictionary<string, T> GetRequiredService<T>(string section);
IDictionary<string, IDictionary<string, T>> GetRe... | 2.016915 | e67697d5a681f4f048124b58b523e8b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95119 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ADelRosarioH/OpenRefine.Net",
"max_stars_repo_path": "OpenRefine.Net/Models/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95120"
} | starcoder | <filename>OpenRefine.Net/Models/Constants.cs
using System;
namespace OpenRefine.Net.Models
{
public static class SupportedFormats
{
public static readonly string TextLineBased = "text/line-based";
public static readonly string TextLineBasedSeparatorBased = "text/line-based/*sv";
public... | 2.312269 | 88bde1118a82bfad46bd235c0754c5d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95120 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mcconahey/Unity-Doom",
"max_stars_repo_path": "Assets/DoomLoader/Scripts/SoundLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95121"
} | starcoder | using UnityEngine;
public class SoundLoader : MonoBehaviour
{
//work in progress, but shows how to load sound from WAD
public static AudioClip LoadSound(string soundName)
{
foreach (Lump l in WadLoader.lumps)
{
if (l.lumpName != soundName)
continue;
... | 2.82296 | f5aed90c123d6ed451f11eb5dbbc6fe5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hamster5295/PolyCollision",
"max_stars_repo_path": "Assets/Resources/Script/Game/Enemy_Shoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95122"
} | starcoder | <reponame>Hamster5295/PolyCollision
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy_Shoot : MonoBehaviour
{
public Ammo ammo;
public Vector2 point;
public float interval;
private float cd;
private Collider2D col_self, col_shield;
private void ... | 1.914443 | 7c33085434fec25391f69ce2e6e78d97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95122 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thejasonfisher/voxeliq",
"max_stars_repo_path": "contrib/old-codebase/src/Engine/Platforms/WP8/LocalizedStrings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95123"
} | starcoder | /*
* Voxeliq Engine, Copyright (C) 2011 - 2013 Int6 Studios - All Rights Reserved. - http://www.int6.org - https://github.com/raistlinthewiz/voxeliq
*
* This file is part of Voxeliq Engine project. This program is free software; you can redistribute it and/or modify
* it under the terms of the Microsoft Public Li... | 1.924526 | 0fc00777df0ad8021cc6b04699cff841 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95123 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "a465717049/mk",
"max_stars_repo_path": "DPE.Core.Services/DownExcelRecordServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95124"
} | starcoder | using DPE.Core.IRepository;
using DPE.Core.IServices;
using DPE.Core.Model.Models;
using DPE.Core.Services.BASE;
namespace DPE.Core.Services
{
public partial class DownExcelRecordServices : BaseServices<DownExcelRecord>, IDownExcelRecordServices
{
private readonly IDownExcelRecordRepository _dal;
... | 1.520934 | bf1c0dc279cb8d8d9e022ea8067312de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkasperczyk90/FeatureToggleDashboard",
"max_stars_repo_path": "Kasperczyk.FeatureToggle.Dashboard/Class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95125"
} | starcoder | <gh_stars>0
using System;
namespace Kasperczyk.FeatureToggle.Dashboard
{
public class Class1
{
}
}
| 0.863499 | 0daef8b46ba9b71db94ea24fb67c3e1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boomer41/CryptoUtil",
"max_stars_repo_path": "CryptoUtil/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95126"
} | starcoder | <reponame>boomer41/CryptoUtil<filename>CryptoUtil/Utilities.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace CryptoUtil
{
internal static class Utilities
{
private static readonly char[] HexPalette =
{
'0', '1', '2', '3',
'4', '5', '6', '... | 3.204881 | 3b7e364870b0c8e19a7921145e93a8f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lneninger/quickbookdestop-integrator",
"max_stars_repo_path": "src/public API/Solution/ApplicationLogic/Business/Commands/PriceLevelInventoryItem/PageQueryCommand/Models/PriceLevelInventoryItemPageQueryCommandInputDTO.cs",
"provenance... | starcoder | using Framework.EF.DbContextImpl.Persistance.Paging.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace ApplicationLogic.Business.Commands.PriceLevelInventoryItem.PageQueryCommand.Models
{
public class PriceLevelInventoryItemPageQueryCommandInputDTO: BaseFilter
{
}
}
| 1.055139 | 5f78aeff7d4b78bf0db08239e15146e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95127 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "jlariono/Carbon",
"max_stars_repo_path": "Source/Test/IO/FileTestFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95128"
} | starcoder | // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// ... | 2.275664 | 396ae168c4a7d1519c7615955d55f784 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamilessnts/agencysitecore",
"max_stars_repo_path": "src/Project/Agency/code/Views/Website/Layouts/Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95129"
} | starcoder | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Agency - Start Bootstrap Theme</title>
... | 1.844071 | bd9f13746ccfd3f21494e1b586d76e0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95129 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "zunkas/swedbank-pay-sdk-dotnet",
"max_stars_repo_path": "src/SwedbankPay.Sdk.Infrastructure/PaymentInstruments/Vipps/VippsPaymentResponseDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95130"
} | starcoder | using System.Net.Http;
namespace SwedbankPay.Sdk.PaymentInstruments.Vipps
{
internal class VippsPaymentResponseDto
{
public OperationListDto Operations { get; set; }
public VippsPaymentDto Payment { get; set; }
public IVippsPaymentReponse Map(HttpClient httpClient)
{... | 1.883029 | d0db823df508d8696b43d586251c3353 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95130 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "maitlandmarshall/MaitlandsInterfaceFramework",
"max_stars_repo_path": "src/MAD.IntegrationFramework/Http/InternalControllerFeatureProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95131"
} | starcoder | using Microsoft.AspNetCore.Mvc.Controllers;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace MAD.IntegrationFramework.Http
{
internal class InternalControllerFeatureProvider : ControllerFeatureProvider
{
protected override bool IsController(TypeInfo... | 1.799609 | 16b98cdabce3de2fb443d12502086a40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95131 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DEIS-Project-EU/DDI-Scripting-Tools",
"max_stars_repo_path": "ODE_Tooladapter/ThriftContract/ODEThriftContract/gen_Thrift_ODE/csharp/STB_Modeling_Techniques/DEISProject/ODEDataModel/ThriftContract/TDDISafetyRelatedSystem.cs",
"provena... | starcoder | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
using System.Runtime.Serializat... | 1.499161 | 1bec499dc75899e923a9d759745e7eb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/Iauq",
"max_stars_repo_path": "src/Iauq.Information/Helpers/HtmlHelperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95133"
} | starcoder | <filename>src/Iauq.Information/Helpers/HtmlHelperExtensions.cs
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using System.Web.Routing;
namespace Iauq.Information.Helpers
{
public static class HtmlHelperExtensions
{
public stati... | 2.765958 | 0e478fff179eefbdfeda968f7f1ca049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danieldutton/SwineSweeper",
"max_stars_repo_path": "Swinesweeper.GameSettingsFactory/GameModeFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95134"
} | starcoder | <gh_stars>0
using Swinesweeper.GameModeFactory.GameModes;
using Swinesweeper.GameModeFactory.Interfaces;
using Swinesweeper.Utilities.Interfaces;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Swinesweeper.GameModeFactory
{
public class GameModeFactory : IGameModeFactory
{
... | 2.594944 | 84499b5ac9f38b993000b418a2a3c8e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lightszero/light.tcppeer",
"max_stars_repo_path": "SocketServerDemo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95135"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using socketDemo.SocketAsyncCore;
namespace socketDemo
{
class Program
{
//public static SocketAsyncCore.SocketAsyncServe AsyncSocketSvr;
static void Main(string[] args)
{
... | 2.543419 | 6ccd6ccdeb22e60a687ae93a129cbef6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95135 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sharwell/ef6tools",
"max_stars_repo_path": "src/EFTools/EntityDesign/CodeGeneration/Discoverers/NavigationProperty/CascadeDeleteDiscoverer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95136"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.CodeGeneration
{
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Infrastructure;
using System.Diagnost... | 2.059781 | 9ed82ed2e81b299018d4bb2a77d9dc12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95136 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ifeanyinwodo/PolymorphicWebAPI.OnionArchitecture.Template",
"max_stars_repo_path": "PolymorphicWebAPI/PolymorphicWebAPI/PolymorphicWebAPI.Domain/Types/StoreTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95137"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolymorphicWebAPI.Domain.Types
{
public static class StoreTypes
{
public const string Eventsourcing = "eventsourcing";
public const string NonEventsourcing = "nonevents... | 1.545138 | a4827d4983cc4bb77b1eb7941f4ac8f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95137 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VeselinBPavlov/database-advanced-entity-framework-core",
"max_stars_repo_path": "09. Entity Relations - Exercise/StudentSystem/StudentSystem.Data/ModelConfigurations/CourseConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.g... | starcoder | <reponame>VeselinBPavlov/database-advanced-entity-framework-core
namespace P01_StudentSystem.Data.ModelConfigurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
public class CourseConfiguration : IEntityTypeConfiguration<Course>
{
... | 2.156386 | db70667f2e120105bdd6743e6051411b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95138 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "P79N6A/abp-ant-design-pro-vue",
"max_stars_repo_path": "Niue.Alipay/Domain/MerchantCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95139"
} | starcoder | using System;
using System.Xml.Serialization;
namespace Niue.Alipay.Domain
{
/// <summary>
/// MerchantCard Data Structure.
/// </summary>
[Serializable]
public class MerchantCard : AopObject
{
/// <summary>
/// 资金卡余额,单位:元,精确到小数点后两位。
/// </summary>
[XmlElement("... | 2.216905 | 3c308c728de6bd690712dbbcc0956af4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95139 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pjbgf/Core.Shogi",
"max_stars_repo_path": "Core.Shogi.Tests/BitVersion/BitboardStateRowShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95140"
} | starcoder | <filename>Core.Shogi.Tests/BitVersion/BitboardStateRowShould.cs
using System.Runtime.InteropServices;
using Core.Shogi.BitVersion;
using Xunit;
namespace Core.Shogi.Tests.BitVersion
{
public class BitboardStateRowShould
{
[Fact]
public void UseOnly2BytesOfMemory()
{
var exp... | 2.750237 | 0265155dbdfa8d732ca05e08a5cec380 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nihilocrat/HerMajestysRoyalSpaceArmada",
"max_stars_repo_path": "Assets/Standard Assets/BuildOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95141"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
public class BuildOrder
{
public Texture2D icon;
public string description;
public int cost;
public GameObject sender; // wot sent the order
public string buildMessage; // the message to use in SendMessage when the queue decides to build this order
public obj... | 1.824799 | 7f5f297a7fc53716965cbb0df58f6975 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95141 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/ITJakub.Web.Hub/Models/Requests/Permission/ConfirmUserContactRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95142"
} | starcoder | using Vokabular.MainService.DataContracts.Contracts.Type;
namespace ITJakub.Web.Hub.Models.Requests.Permission
{
public class ConfirmUserContactRequest
{
public ContactTypeContract ContactType { get; set; }
public string ConfirmCode { get; set; }
}
} | 1.273571 | 9813bbf61eb5d31104344079fc25cde2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasily-kirichenko/akka.net",
"max_stars_repo_path": "src/core/Akka.TestKit/TestProbe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95143"
} | starcoder | using Xunit;
using Akka.Actor;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Akka.Tests
{
public class TestProbeActorRef : ActorRef
{
private readonly TestProbe _owner;
private readonly ActorPath _path=new R... | 2.531814 | 1a4419a253215ef5adc2cd81add50428 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95143 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "flubu-core/FlubuCore.Azure",
"max_stars_repo_path": "FlubuCore.Azure/Tasks/Billing/AzureBillingPeriodTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95144"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Billing
{
public partial class AzureBillingPeriodTask : ExternalProcessTaskBase<AzureBillingPeriodTask>
{
/// <su... | 1.783313 | 8f768285a3ece03c5ffe8eb5ac14ebbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nec-baas/baas-client-dotnet",
"max_stars_repo_path": "Nebula.Test/NbRestRequestTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95145"
} | starcoder | using Moq;
using Nec.Nebula.Internal;
using NUnit.Framework;
using System;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
namespace Nec.Nebula.Test
{
[TestFixture]
public class NbRestRequestTest
{
private const string BaseUrl = "http://www.nebula.test.com";
... | 2.31088 | d01e80d0522e16f699b451a35a655a21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/FastTests/Server/Documents/Indexing/Lucene/LuceneDocumentConverterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95146"
} | starcoder | <reponame>ryanheath/ravendb
using Lucene.Net.Documents;
using Raven.Client;
using Raven.Client.Documents.Indexes;
using Raven.Server.Documents.Indexes;
using Raven.Server.Documents.Indexes.Persistence.Lucene.Documents;
using Sparrow.Collections;
using Sparrow.Json;
using Sparrow.Json.Parsing;
using Xunit;
usi... | 1.94421 | 148bc013bdbf0f4725283000af916d91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shunia/playscript-mono",
"max_stars_repo_path": "mcs/class/pscorlib/flash/utils/Dictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95147"
} | starcoder | <gh_stars>1-10
// Copyright 2013 Zynga 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | 2.363193 | 3c7f9010b6e85c3bab9b16efbc0e2a5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "D3TONAT0R/HMCon",
"max_stars_repo_path": "HMCon/Export/ExportUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95148"
} | starcoder | <filename>HMCon/Export/ExportUtility.cs
using HMCon.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace HMCon.Export {
public static class ExportUtility {
public static List<HMConExportHandler> exportHandlers = new List<HMConExportHandler>()... | 2.588014 | 80bde7f54fede80565f5c139347df106 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XREmul/XREmul",
"max_stars_repo_path": "Assets/Scripts/XREmul/Emitters/LeapMotionSkeletonReplayEmitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95149"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Leap;
using System.IO;
using System.Text;
using System.Linq;
public class LeapMotionSkeletonReplayEmitter : AbstractLeapmotionEmitter {
public string LogfilePath;
public override FrameData frameData
{
get
... | 2.026482 | 75b9210b30bf38755692248d98765b74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95149 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "SholomAber/forem-dotnet",
"max_stars_repo_path": "src/Forem.Api/Models/Article.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95150"
} | starcoder | <reponame>SholomAber/forem-dotnet
using System;
using System.Collections.Generic;
using System.Text;
using Forem.Api.Serialization;
using Newtonsoft.Json;
namespace Forem.Api.Models
{
public class Article
{
[JsonProperty("id")]
public int ArticleId { get; set; }
[JsonProperty("title")]
public string Title {... | 1.769524 | 72ded19b93c0235697698819f6ceac87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95150 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jcmds/tot-cqrs",
"max_stars_repo_path": "src/Tot.Infra.Persistence/Mappings/FeedbackMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95151"
} | starcoder | <reponame>jcmds/tot-cqrs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Tot.Shared.Models;
namespace Tot.Infra.Persistence.Mappings
{
internal class FeedbackMap : IEntityTypeConfiguration<Feedback>
{
public void Configure(EntityTypeBuilder<Feedback> b... | 1.94713 | 6d93e6d3ebc5b4cbfb6916b9cbcc3a87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95151 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "keutmann/SPM",
"max_stars_repo_path": "SharePoint Manager 2010 v2/Src/Main/SPM2.Main/ComponentModel/GeneralSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95152"
} | starcoder | <filename>SharePoint Manager 2010 v2/Src/Main/SPM2.Main/ComponentModel/GeneralSettings.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SPM2.Framework.ComponentModel;
using System.ComponentModel;
using SPM2.Framework;
using System.ComponentModel.Composition... | 1.657644 | e73862f9f28c1db29249da6b6de2d9a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95152 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "nguyenthithuhuong2k/appcenter-sdk-dotnet",
"max_stars_repo_path": "Tests/Microsoft.AppCenter.Crashes.Test.Windows/CrashesErrorAttachmentTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95153"
} | starcoder | <filename>Tests/Microsoft.AppCenter.Crashes.Test.Windows/CrashesErrorAttachmentTest.cs<gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Microsoft.AppCenter.Channel;
using Microsoft.AppCenter.Crashes.... | 1.853147 | cdfdb12db27642ed4798e83cfe645ae6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-events",
"max_stars_repo_path": "src/SFA.DAS.Events.Api.Types/AccountEventView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95154"
} | starcoder | <gh_stars>0
using System;
namespace SFA.DAS.Events.Api.Types
{
public class AccountEventView : IEventView
{
public long Id { get; set; }
public string Event { get; set; }
public DateTime CreatedOn { get; set; }
public string ResourceUri { get; set; }
public string Type ... | 1.255413 | 471323be1852323cd933a52a43a61a8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wee2tee/XPump",
"max_stars_repo_path": "_XPump/Model/SecureModel.Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95155"
} | starcoder | <filename>_XPump/Model/SecureModel.Context.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file ... | 1.555063 | 0eb2f4492c2ce0891811957112c8124b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sannel/Sannel.House.Web",
"max_stars_repo_path": "src/Sannel.House.Web.Mocks/MockDataContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95156"
} | starcoder | <filename>src/Sannel.House.Web.Mocks/MockDataContext.cs
using Microsoft.EntityFrameworkCore;
using Sannel.House.Web.Base.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Sannel.House.Web.Base.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCo... | 2.166899 | c719fe51b30249453be0a2ee775dd4a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95156 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Pazzobg/03.01.CSharp-DB-Advanced-Entity-Framework",
"max_stars_repo_path": "02. OOP Intro Encapsulation and Validation-Exercises/04. Pizza Calories/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95157"
} | starcoder | <reponame>Pazzobg/03.01.CSharp-DB-Advanced-Entity-Framework
using System;
public class StartUp
{
public static void Main()
{
try
{
string[] inputPizza = Console.ReadLine().Split(' ');
var pizza = new Pizza(inputPizza[1]);
string[] inputDough = Console.ReadL... | 3.45681 | 487c7783af202fedd5e0635fe0516bc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iwate/qjsipc",
"max_stars_repo_path": "src/QjsIpc.Tests/HostMethodTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95158"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using QjsIpc;
namespace QjsIpc.Tests;
[TestClass]
public class HostMethodTests
{
[TestMethod]
public async Task ReturnValuesAreSucceeded()
{
var me... | 2.278059 | 5deb4ad4286b12bf86a5680262924cb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AGGP-NHTI/Vibin",
"max_stars_repo_path": "Assets/Scripts/TutorialMessageScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95159"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialMessageScript : MonoBehaviour
{
public GameObject message;
// Update is called once per frame
void Update()
{
}
private void OnTriggerEnter2D(Collider2D other)
{
if (... | 1.52687 | dfd417d1cea1159fbbf40edf39b88c65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95159 | {
"extension": "c-sharp",
"max_stars_count": "222.0",
"max_stars_repo_name": "dermeister/nevod",
"max_stars_repo_path": "Source/Engine/Syntax/FieldReferenceSyntax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95160"
} | starcoder | //--------------------------------------------------------------------------------------------------
// Copyright © Nezaboodka™ Software LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0.
//--------------------------------------------------------------------------------------------------
usi... | 2.631713 | 84987eb1c2707892fb1378105f39cba8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95160 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tk4218/MxNet.Sharp",
"max_stars_repo_path": "src/MxNet/Optimizers/Nadam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95161"
} | starcoder | /*****************************************************************************
Copyright 2018 The MxNet.Sharp Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License ... | 2.437975 | 35b96c7fc6694d878ffe5d58977e4c95 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.