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 | 8865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bernardogeneroso/Traveler-API-Dotnet",
"max_stars_repo_path": "Database/Migrations/20220204164439_InitalCreate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8866"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace Database.Migrations
{
public partial class InitalCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
mig... | 2.101486 | 59c4d43572149e3c15bf2f58769b0d97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8866 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "jatecl/WebrtcSharp",
"max_stars_repo_path": "RtcCall/RtcSocketConnected.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8867"
} | starcoder | using WebSocketSharp;
namespace Relywisdom
{
/**
* 连接成功状态
*/
class RtcSocketConnected : RtcSocketState
{
private WebSocket _link;
/**
* 创建连接成功状态
* @param {WebSocket} link web socket
*/
public RtcSocketConnected(WebSocket link)
... | 2.818807 | 1c7bd072a2ef3f92e0823fbc72083648 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aarn94/AAS.Architecture",
"max_stars_repo_path": "AAS.Architecture/Migration/IMigrationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8868"
} | starcoder | <reponame>aarn94/AAS.Architecture<filename>AAS.Architecture/Migration/IMigrationRepository.cs
using System.Threading.Tasks;
namespace AAS.Architecture.Migration
{
public interface IMigrationRepository
{
public Task<int> GetMaxVersionAsync();
public Task AddMigrationAsync(int version, string na... | 1.66083 | e8c99f4a576979f3cbc0643fed8f374f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8868 | {
"extension": "c-sharp",
"max_stars_count": "4575.0",
"max_stars_repo_name": "raouldke/quartznet",
"max_stars_repo_path": "src/Quartz.Tests.Unit/QualityTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8869"
} | starcoder | <filename>src/Quartz.Tests.Unit/QualityTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using NUnit.Framework;
namespace Quartz.Tests.Unit
{
/// <summary>
/// http://haacked.com/archive/2014/11/11/async-void-methods/
... | 2.782813 | f330a17c3114cc3bbc017778dc5c3752 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/dotNetify",
"max_stars_repo_path": "DotNetifyLib.Core/Routing/RoutableExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8870"
} | starcoder | /*
Copyright 2015 <NAME>
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
distrib... | 2.371083 | 4a71bbbfa1b53bc574c159101a636cad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaymondMOirae/PixelPrototypeSync",
"max_stars_repo_path": "Assets/Script/GameSystem/Settings/GameSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8871"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace Prototype.Settings
{
public class GameSettings : ScriptableObject
{
#region Internal Codes
private const string FileName = "Game... | 1.709456 | d7cf7dff7c62de07ee6c99f4500a465d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rickxy/Final-Project----Calculator-Asp-MVC",
"max_stars_repo_path": "Calculator/Controllers/AccountsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8872"
} | starcoder | <reponame>rickxy/Final-Project----Calculator-Asp-MVC
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.Linq;
using Calculator.Models;
namespace Calculator.Controllers
{
public class AccountController : Controller
{
Entities3... | 2.180223 | dafb3a19b8f2ef66eb943790dd3d0255 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8872 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "eNeRGy164/PlantUml.Builder",
"max_stars_repo_path": "src/PlantUml.Builder/OnOff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8873"
} | starcoder | <gh_stars>1-10
using System;
namespace PlantUml.Builder
{
public enum OnOff
: byte
{
On,
Off
}
}
| 1.209411 | b224b8a91bb2916edb5a3eeb788a223a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8873 | {
"extension": "c-sharp",
"max_stars_count": "553.0",
"max_stars_repo_name": "xujuntwt95329/codestream",
"max_stars_repo_path": "vs/src/CodeStream.VisualStudio.Core/Process/ProcessExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8874"
} | starcoder | <reponame>xujuntwt95329/codestream<filename>vs/src/CodeStream.VisualStudio.Core/Process/ProcessExtensions.cs<gh_stars>100-1000
namespace CodeStream.VisualStudio.Core {
public static class ProcessExtensions {
public static bool IsVisualStudioProcess() =>
System.Diagnostics.Process.GetCurrentProcess().ProcessName ... | 1.77048 | 91d050b7002b56e7438f5caa4a859fb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaypatrick/dica",
"max_stars_repo_path": "DigitallyImported.Client/OptionsForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8875"
} | starcoder | <gh_stars>0
namespace DigitallyImported.Client
{
/// <summary>
/// </summary>
public partial class OptionsForm : BaseForm
{
public OptionsForm()
{
InitializeComponent();
}
}
} | 0.966106 | dd90a81feb311e02c5e3e4a1974073a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8875 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "just-the-benno/Beer",
"max_stars_repo_path": "src/DaAPI/Service/Beer.DaAPI.Service.API/Application/Commands/DHCPv6ScopeTriggerAwareCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8876"
} | starcoder | using Beer.DaAPI.Core.Scopes.DHCPv6;
using Beer.DaAPI.Infrastructure.ServiceBus;
using Beer.DaAPI.Infrastructure.ServiceBus.Messages;
using Beer.DaAPI.Infrastructure.StorageEngine.DHCPv6;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Beer.DaAPI.Service.API.... | 2.016829 | 916ef92bfa029f11ecb855686962dc38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8876 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nielk1/SteamVent",
"max_stars_repo_path": "SteamVent.Tests/InterProc/ISteamAppsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8877"
} | starcoder | using NUnit.Framework;
using System;
using SteamVent.InterProc;
using SteamVent.InterProc.Interfaces;
using System.Collections.Generic;
using System.Reflection;
using System.Configuration;
namespace SteamVent.Tests.InterProc
{
//[TestFixture(typeof(ISteamClient016))]
[TestFixture(typeof(ISteamClient017), type... | 1.974035 | d61a420c87d240363b137a3d86a971be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8877 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "jdkelly199/ros-sharp",
"max_stars_repo_path": "Libraries/RosBridgeClient/Protocols/WebSocketNetProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8878"
} | starcoder | /*
© Siemens AG, 2017-2018
Author: Dr. <NAME> (<EMAIL>)
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 ... | 2.409406 | 6481b5b3be74daeb2321b30dc6a8f1a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8878 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/KinesisFirehose/DeliveryStream/ElasticsearchRetryOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8879"
} | starcoder | <reponame>stanb/Comformation
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.KinesisFirehose.DeliveryStream
{
/// <summary>
/// AWS::KinesisFirehose::DeliveryStream ElasticsearchRetryOptions
/// https://docs.aws.amazon.com... | 1.901297 | 312a7826f605b4784cdf9d80e51bfbe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8879 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "skelter/vsClojure",
"max_stars_repo_path": "ClojureExtension.Parsing/TokenTypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8880"
} | starcoder | // MIT License Copyright 2010-2013 jmis
// See LICENSE.txt or http://opensource.org/licenses/MIT
// See AUTHORS.txt for a complete list of all contributors
using System.Collections.Generic;
namespace ClojureExtension.Parsing
{
public static class TokenTypeExtensions
{
private static readonly Dictionary<TokenType... | 2.534948 | 62c8c8c23710c6cd04277346935c9fbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WEBCON-BPS/public-forms",
"max_stars_repo_path": "WEBCON.FormsGenerator.BuisnessLogic/Application/DTO/StartElementResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8881"
} | starcoder | namespace WEBCON.FormsGenerator.BusinessLogic.Application.DTO
{
public class StartElementResult
{
public int Id { get; set; }
public string Number { get; set; }
public string Status { get; set; }
}
}
| 1.529808 | 82c55956ad19dd8f4d3842170ece4427 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8881 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Robertscorp/clean-architecture-services",
"max_stars_repo_path": "CleanArchitecture.Services/Infrastructure/InteractorUseCaseElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8882"
} | starcoder | using CleanArchitecture.Services.Pipeline;
namespace CleanArchitecture.Services.Infrastructure
{
public class InteractorUseCaseElement : IUseCaseElement
{
#region - - - - - - Fields - - - - - -
private readonly UseCaseServiceResolver m_ServiceResolver;
#endregion Fields
#r... | 2.084476 | cb8b73fa2c89525f1b7ebd474caabafe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ricorx7/rti",
"max_stars_repo_path": "Models/DataSet/BottomTrackDataSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8883"
} | starcoder | <reponame>ricorx7/rti
/*
* Copyright 2011, Rowe Technology Inc.
* All rights reserved.
* http://www.rowetechinc.com
* https://github.com/rowetechinc
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Re... | 1.9338 | 5d093214813ce94f5546df4dcdef46b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moto2002/jiandangjianghu",
"max_stars_repo_path": "src/Aoi/S2c_aoi_addplayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8884"
} | starcoder | using System;
namespace Aoi
{
public class S2c_aoi_addplayer
{
public Aoi_add_normalmsg nmsg
{
get;
set;
}
public S2c_aoi_syncplayer sync
{
get;
set;
}
}
}
| 1.185782 | aa1c834bc0c1eb019718fd7f765ce3b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8884 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Unroll-Me/DotNetOpenAuth",
"max_stars_repo_path": "src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8885"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="ConsumerDescription.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Do... | 2.652132 | fe6995d283f86878ee1fa230cc88e547 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremiahSanders/testingutils-mockhttp",
"max_stars_repo_path": "tests/unit/UriExtensionsTests/GetQueryValuesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8886"
} | starcoder | <filename>tests/unit/UriExtensionsTests/GetQueryValuesTests.cs
using Xunit;
namespace Jds.TestingUtils.MockHttp.Tests.Unit.UriExtensionsTests;
public class GetQueryValuesTests
{
private readonly Uri _baseUri;
public GetQueryValuesTests()
{
_baseUri = new Uri("https://base-site", UriKind.Absolute);
}
... | 2.51936 | c31d0ad978bc292d825ebc94ed6b36b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdasd30/Tanks",
"max_stars_repo_path": "Assets/Scripts/UI/Sliders/SliderReload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8887"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SliderReload : MonoBehaviour
{
GameObject player;
FireProjectile playerProjectile;
Slider mSlider;
float modVal;
// Start is called before the first frame update
void Start()
{... | 2.094399 | e23607410bbf71b2458aee083992425d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "tests/Examples/Slm/SlmSecurityPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8888"
} | starcoder | <reponame>JTOne123/elasticsearch-net
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using System.ComponentModel;
using Nest;
namespace Examples.Slm
{
public class SlmSecurityPage : ExampleBase
{
[U(Skip = "Example not implemented")]
[Description("slm/slm-security.asciidoc:25")]
public void Line25()
{
//... | 1.344151 | e78da0a3e74e71f949ffb440153a6a83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8888 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Domiii/EvilBoxesMultiplayer",
"max_stars_repo_path": "Assets/Scripts/InputControl/PlayerControlBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8889"
} | starcoder | <reponame>Domiii/EvilBoxesMultiplayer
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// 用 Input 來控制 Player 的 行為
/// </summary>
public abstract class PlayerControlBase : BehaviorController {
public AIAction NextAction {
get;
protected set;
}
/// <summary>
/// Get player's intended action... | 2.31987 | 45216a6999913322cb8bd3a79e4adf29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sfmskywalker/protoactor-dotnet",
"max_stars_repo_path": "src/Proto.Actor/DSL/DSL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8890"
} | starcoder | <gh_stars>1-10
// -----------------------------------------------------------------------
// <copyright file="DSL.cs" company="Asynkron AB">
// Copyright (C) 2015-2021 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using JetBrains.Annotati... | 1.561103 | bd8310b34e2a757f2459d164b9983b3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nbrugger-tgm/factory-rally-server",
"max_stars_repo_path": "server/src/Tgm.Roborally.Server/Engine/Abstraction/Modloader/ModloaderHelperClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8891"
} | starcoder | <gh_stars>0
#nullable enable
using System;
using Tgm.Roborally.Server.Engine.Abstraction.Managers;
namespace Tgm.Roborally.Server.Engine.Abstraction.Modloader {
public partial class Modloader{
private interface IManagerLoader {
Type Type { get; }
void Load(Mod name, GameLogic game);
}
private class Mana... | 2.228343 | b3de789f9de0b1f5b9e2ca8eb8f05e35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscheLab/AscheLib.UniMonad",
"max_stars_repo_path": "Assets/AscheLib/UniMonad/Monad/State/State.DoOnValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8892"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace AscheLib.UniMonad {
public static partial class State {
private class DoOnValueCore<TState, TValue> : IStateMonad<TState, TValue> {
IStateMonad<TState, TValue> _self;
Action<TValue> _action;
public DoOnValueCore(IStateMonad<TStat... | 2.819958 | 4f83e6d85cce256214fcd6fad2eed59f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8892 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "allisterb/jemalloc.NET",
"max_stars_repo_path": "jemalloc.Tests/MallocMessageTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8893"
} | starcoder | <filename>jemalloc.Tests/MallocMessageTests.cs
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace jemalloc.Tests
{
public class MallocMessageTests : jemallocTest
{
[Fact]
public void CanPrintMallocStats()
{
Assert.Contains("opt.narena... | 1.652802 | ab1df199bc0bd88ee496889a773e45df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8893 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sk82jack/PowerShellEditorServices",
"max_stars_repo_path": "src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ConfigurationDoneHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8894"
} | starcoder | <reponame>sk82jack/PowerShellEditorServices
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.PowerShell.... | 1.740424 | fd849ccb38a927b35e41a265adc7df68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sergiycheck/VehiclesWebApi",
"max_stars_repo_path": "Vehicles/Authorization/AuthorizationsManagers/CustomRoleManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8895"
} | starcoder | using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using vehicles.Models;
using Vehicles.Models;
using Vehicles.Data;
using System.Security.Claims;
namespace Vehi... | 2.463157 | 80d4c073067f25d55098872452e1b43a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8895 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gurbina93/Google.Music.Downloader",
"max_stars_repo_path": "Google.Music.Downloader/ApplicationState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8896"
} | starcoder | <gh_stars>1-10
using System.Windows;
using System.Windows.Controls;
using GoogleMusicApi.Common;
namespace Google.Music.Downloader
{
public static class ApplicationState
{
public static Page CurrentPage { get; set; }
public static MainWindow MainWindow { get; set; }
public static Mobi... | 2.07594 | 6f0ebed40457c736cd9f2fe70a5946b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxDeg/Graphite",
"max_stars_repo_path": "test/App.Metrics.Extensions.Reporting.Graphite.Facts/Client/GraphitePointTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8897"
} | starcoder | <filename>test/App.Metrics.Extensions.Reporting.Graphite.Facts/Client/GraphitePointTests.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using A... | 2.131934 | 7f53c977e462c3d752cce01ff88b0d88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8897 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jphacks/E_2007",
"max_stars_repo_path": "DailyReward/Assets/VRoidSDK/Examples/Core/View/ModalOverlay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8898"
} | starcoder | <filename>DailyReward/Assets/VRoidSDK/Examples/Core/View/ModalOverlay.cs
using Component = VRoidSDK.Examples.Core.View.Component;
namespace VRoidSDK.Examples.Core.View
{
public class ModalOverlay : Component
{
}
}
| 1.409343 | 009d09a72e9cdf3a1c8c924488c3643a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenicaAtanasova/SoftUni",
"max_stars_repo_path": "I_Tech_Module/01. Programming Fundamentals/L11_Strings_And_Text/P02ConvertToBase10/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8899"
} | starcoder | <filename>I_Tech_Module/01. Programming Fundamentals/L11_Strings_And_Text/P02ConvertToBase10/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace P02ConvertToBase10
{
class Program
{
static void ... | 3.480869 | 4ca61a3439816ff65e1cf19901a1fd1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8899 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "Raytwo/VGAudio",
"max_stars_repo_path": "src/VGAudio/Codecs/Opus/Silk/FindLPC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8900"
} | starcoder | /* Copyright (c) 2006-2011 Skype Limited. All Rights Reserved
Ported to C# by <NAME>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
... | 1.648176 | 37b13528714e095e6f4c647ee3b9a1b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8900 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "tuwrraphael/PushServer",
"max_stars_repo_path": "PushServer.WebPushClientAdapter/VapidAuthenticationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8901"
} | starcoder | <filename>PushServer.WebPushClientAdapter/VapidAuthenticationOptions.cs
namespace PushServer.WebPushApiClient
{
public class VapidAuthenticationOptions
{
public string PublicKey { get; set; }
public string PrivateKey { get; set; }
public string Issuer { get; set; }
public string ... | 1.500651 | b1fc6c4c863e480f04205c51a3c332c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8645 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tanriverdim/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Workflows/Deployment/AllWorkflowTypeDeploymentSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8646"
} | starcoder | using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using OrchardCore.Deployment;
using OrchardCore.Workflows.Services;
namespace OrchardCore.Workflows.Deployment
{
public class AllWorkflowTypeDeploymentSource : IDeploymentSource
{
private readonly IWorkflowTypeStore _workflowTypeStore;
... | 2.129251 | a726430876ee87cdb3d03b183ef667c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XCVG/californium_dr",
"max_stars_repo_path": "Assets/CommonCoreModules/World/ObjectComponents/ITakeDamage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8647"
} | starcoder | <filename>Assets/CommonCoreModules/World/ObjectComponents/ITakeDamage.cs<gh_stars>0
namespace CommonCore.World
{
/// <summary>
/// Interface representing something that can take damage
/// </summary>
/// <remarks>
/// Implement this in a BaseController derivative.
/// </remarks>
public inte... | 2.368276 | 7dbfa7cd89674b7f948919a2213ce499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8647 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "offical-Cromatin/Mitternacht-NEW",
"max_stars_repo_path": "src/MitternachtBot/Database/Repositories/Impl/Repository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8648"
} | starcoder | using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Database.Models;
namespace Mitternacht.Database.Repositories.Impl {
public class Repository<T> : IRepository<T> where T : DbEntity {
protected MitternachtContext _context;
protected DbSet<T> _set;
public Repository(MitternachtContext co... | 2.801242 | c9a2f021d7681db66490c43c04c15d8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Shadowrabbit/BigBiaDecompilation",
"max_stars_repo_path": "Source/Assembly-CSharp/LieRen2CardLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8649"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CardLogicRequireRare(4)]
public class LieRen2CardLogic : CardLogic
{
public override void Init()
{
base.Init();
this.Color = CardLogicColor.blue;
this.displayName = LocalizationMgr.Instance.GetLocaliza... | 1.639172 | fa03c40a555aafe0480fc728cfaa5056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8649 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "prosyst/linq2db",
"max_stars_repo_path": "Source/LinqToDB/DataProvider/MySql/MySqlSqlOptimizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8650"
} | starcoder | using System.Collections.Generic;
namespace LinqToDB.DataProvider.MySql
{
using Extensions;
using SqlProvider;
using SqlQuery;
class MySqlSqlOptimizer : BasicSqlOptimizer
{
public MySqlSqlOptimizer(SqlProviderFlags sqlProviderFlags) : base(sqlProviderFlags)
{
}
public override bool CanCom... | 2.301913 | ca07972c4f89e7b330d592bdbab1d93f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8650 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "piovezan/SOpt",
"max_stars_repo_path": "CSharp/Class/BasicBetter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8651"
} | starcoder | <reponame>piovezan/SOpt<filename>CSharp/Class/BasicBetter.cs
using static System.Console;
public class Program {
public static void Main(string[] args) {
var cliente = new Cliente("João", "20", "<NAME>", "Centro");
WriteLine(cliente.Endereco.Rua);
}
}
class Cliente {
public string Nome ... | 3.04494 | f43f1e35f60e3469c5e01af66bde82b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TKLeeDev/PrismSample",
"max_stars_repo_path": "PrismSample/Sample/ViewModels/FirstViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8652"
} | starcoder | <filename>PrismSample/Sample/ViewModels/FirstViewModel.cs
using Prism.Commands;
using Prism.Events;
using Prism.Interactivity.InteractionRequest;
using Prism.Mvvm;
using Prism.Regions;
using Sample.Infrastructure;
using Sample.Infrastructure.Messages;
using Sample.Modules.Popup.Models;
using System;
using System.Wind... | 2.42838 | 8351bd08846424eb8038c1a6154e3824 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8652 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "tralivali1234/Algorithmia",
"max_stars_repo_path": "SD.Tools.Algorithmia/GeneralDataStructures/ChangeAwareKeyedCommandifiedList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8653"
} | starcoder | //////////////////////////////////////////////////////////////////////
// Algorithmia is (c) 2018 Solutions Design. All rights reserved.
// https://github.com/SolutionsDesign/Algorithmia
//////////////////////////////////////////////////////////////////////
// COPYRIGHTS:
// Copyright (c) 2018 Solutions Design. A... | 2.428317 | e4116d3bb43d16eb3ed0eb0724d6826c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AsimKhan2019/Horeb-Financial-Management",
"max_stars_repo_path": "Horeb.Service/Common/CreateUserStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8654"
} | starcoder | <filename>Horeb.Service/Common/CreateUserStatus.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Horeb.Service
{
public enum CreateUserStatus
{
//
// Summary:
// The user was successfully created.
... | 2.472669 | b7e4d06f287d1ae30af736e18cc49e5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8654 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "luca-cardelli/KaemikaXM",
"max_stars_repo_path": "Oslo/SparseMatrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8655"
} | starcoder | using System;
using System.Linq;
using System.Globalization;
namespace Microsoft.Research.Oslo
{
/// <summary>Sparse matrix class</summary>
public class SparseMatrix
{
const int Delta = 1;
private int n, m;
private double[][] items;
private int[][] indices;
private... | 3.148507 | 6dca7a6825ac3d764bc684211dafc4ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8655 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rsx-labs/aide-backend",
"max_stars_repo_path": "AIDEBackendMaster/GDC.PH.AIDE.BusinessLayer/clsOption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8656"
} | starcoder | <reponame>rsx-labs/aide-backend
using System;
using System.Collections.Generic;
using System.Text;
namespace GDC.PH.AIDE.BusinessLayer
{
public class clsOption : BusinessObjectBase
{
#region InnerClass
public enum clsOptionFields
{
OPTION_ID,
MODULE_ID... | 2.244537 | c05b9ee5d1ebda7192df5f8a415a502c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8656 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/XEngineCommand/JumpFollowCmd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8657"
} | starcoder | using System;
using XEngine;
namespace XEngineCommand
{
public class JumpFollowCmd : BaseCommand
{
public int jumpFollow;
}
}
| 1.109866 | cf2c62f64f71d9bfb76bc4c1a2186876 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8657 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Maugun/smartCar",
"max_stars_repo_path": "Assets/Resources/scripts/Manager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8658"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Manager : MonoBehaviour
{
static public string GENERATION = "Generation: ";
static public string BEST = "Best: ";
static public string AVG = "AVG: ";
static public string WORST = "Worst: ";
static public string... | 1.742481 | b79db2dc1ed11574d44613662c6e735e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8658 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HugoFang/MotionFramework",
"max_stars_repo_path": "Assets/MotionGame/Runtime/Manager/SceneManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8659"
} | starcoder | using MotionEngine;
using MotionEngine.Debug;
using MotionEngine.Res;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MotionGame
{
internal class GameScene : AssetScene
{
/// <summary>
/// 场景加载进度(0-100)
/// </summary>
public int Progress { private set; get; } = 0;
... | 2.450558 | 4bb1c3bcaa67b1aee28992e9a33a4970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8659 | {
"extension": "c-sharp",
"max_stars_count": "323.0",
"max_stars_repo_name": "dgerding/BrightstarDB",
"max_stars_repo_path": "src/core/BrightstarDB.Server.Modules/Model/CommitPointResponseModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8660"
} | starcoder | <gh_stars>100-1000
using System;
namespace BrightstarDB.Server.Modules.Model
{
public class CommitPointResponseModel
{
public ulong Id { get; set; }
public string StoreName { get; set; }
public DateTime CommitTime { get; set; }
public Guid JobId { get; set; }
}
}
| 1.2448 | 20f6a9b7f7591ac04202b08f18688461 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8660 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "georgidelchev/CSharp-Databases",
"max_stars_repo_path": "02 - [Entity Framework Core]/22 - [Best Practices And Architecture - Exercise]/Data/PetStore.Data.Models/FoodOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8661"
} | starcoder | namespace PetStore.Data.Models
{
public class FoodOrder
{
public int FoodId { get; set; }
public Food Food { get; set; }
public int OrderId { get; set; }
public Order Order { get; set; }
}
} | 1.700674 | d7257eb6ab2b2b187621fb7d7c38861d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8661 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "noelex/GeographicLib.NET",
"max_stars_repo_path": "GeographicLibTests/PolygonAreaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8662"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeographicLib.Tests
{
[TestClass]
public class PolygonAreaTests
{
public static IEnumerable<object[]> PointData =>
... | 2.625371 | 19d1e6891d9d5012a56393ccb3902091 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8662 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico_DSS",
"max_stars_repo_path": "3-Business/3-Modules/lm.Comol.Core.BaseModules/ApiToken/Domain/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8663"
} | starcoder | <reponame>EdutechSRL/Adevico_DSS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.BaseModules.ApiToken.Domain
{
public enum NotificationType
{
Error = 0,
Info = 1,
Warning = 2,
General = 3
}
}
| 1.096279 | 0decc2b26578251ca4e90d333002c5e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8663 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "shrma21294/Number-Tetrix",
"max_stars_repo_path": "Assets/MagicLeap-Tools/Code/Input/Control/ControlHaptics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8664"
} | starcoder | <reponame>shrma21294/Number-Tetrix<filename>Assets/MagicLeap-Tools/Code/Input/Control/ControlHaptics.cs
// ---------------------------------------------------------------------
//
// Copyright (c) 2018-present, Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// h... | 1.964496 | 196a98774854439bf642044498212361 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yoshiask/AngouriMath",
"max_stars_repo_path": "Sources/Wrappers/AngouriMath.CPP.Exporting/NativeStructs/ObjRef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8665"
} | starcoder | <filename>Sources/Wrappers/AngouriMath.CPP.Exporting/NativeStructs/ObjRef.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace AngouriMath.CPP.Exporting
{
partial class Exports
{
internal struct ObjRef
{
private readonly ulong handle;
public O... | 2.110535 | e0921afc54df5185b34cb9d4246f6d04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikita-sharov/alten",
"max_stars_repo_path": "src/Alten.Jama/Models/UserGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8666"
} | starcoder | namespace Alten.Jama.Models
{
// See: https://rest.jamasoftware.com/#datatype_UserGroup
public sealed class UserGroup : UserGroupRequest
{
public int Id { get; set; }
}
}
| 1.382763 | e2bfdcbabab0030cfe1a6d3cdd0146cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/MsHTML/DomConstructor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8667"
} | starcoder | <reponame>reflectronic/terrafx.interop.windows<filename>sources/Interop/Windows/Windows/um/MsHTML/DomConstructor.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.22000.... | 1.292733 | 92e8173c0ccc2f337a3e79b103925829 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8667 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NadirBarlozzo/Barcoin",
"max_stars_repo_path": "app/Barcoin/Barcoin.Blockchain/Interface/IBlockchain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8668"
} | starcoder | using Barcoin.Blockchain.Model;
using System.Collections.ObjectModel;
namespace Barcoin.Blockchain.Interface
{
public interface IBlockchain
{
void AcceptBlock(Block block);
ObservableCollection<Transaction> GetUserRelevantTransactions(int userId);
Block GenerateBlock(int senderId, in... | 2.01872 | 3d06f7015aa4a06049d5e27cf04f60e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vapsiainen/Spaceduck",
"max_stars_repo_path": "Space_Duck/Assets/Scipts/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8669"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : MonoBehaviour
{
[SerializeField]
private Sprite _grayScaleSprite, _collectedSprite;
public Sprite GrayScaleSprite { get => _grayScaleSprite; set => _grayScaleSprite = value; }
public Sprite C... | 1.966125 | ed189d321b55b342562fe589d444806b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8669 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Joben28/WPFChat",
"max_stars_repo_path": "ChatterClient/MainWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8670"
} | starcoder | using SimplePackets;
using SimpleTcp;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
namespace ChatterCli... | 2.773053 | c35636a18763898604bccc058fcc4269 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8670 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Features/JsonPatch/test/TestObjectModels/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8671"
} | starcoder | <filename>src/Features/JsonPatch/test/TestObjectModels/Customer.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.JsonPatch.Internal
{
internal class Customer
... | 2.044449 | d7eb83ff3ee4bc035c03607a9dec16b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiogoBarbosaSilvaSousa/windows-forms-com-c-sharp-parte-3-eventos-do-mouse",
"max_stars_repo_path": "Curso/CursoWindowsForms/CursoWindowsFormsBiblioteca/Cls_Uteis.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8672"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CursoWindowsFormsBiblioteca
{
public class Cls_Uteis
{
public static bool validaSenhaLogin(string senha)
{
if(senha ==... | 3.068691 | 50367d9de7fd5b957d907f966fb209c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8672 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "sitecorelibraries/Console",
"max_stars_repo_path": "src/Spe/Core/Settings/PredefinedVariables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8673"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web;
using Sitecore.IO;
using Spe.Core.VersionDecoupling;
namespace Spe.Core.Settings
{
public static class PredefinedVariables
{
public static readonly Dictionary<string, object> Variables = new Dictionary<string, object>
{
... | 1.978592 | bae33b8463794887156c30de09f3745a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8673 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Missouri-BMI/popmednet",
"max_stars_repo_path": "Lpp.Dns.Portal/App_Code/WorkflowRequestActivities/BaseCommonActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8674"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Lpp.Workflow.Engine;
namespace Lpp.Dns.Portal.App_Code.WorkflowRequestActivities
{
// These base classes implement the Overview Path method for the IVisualWorkflowActivity to provide a
// common location for the definiti... | 1.965886 | 0616893e4885abd57433637ba3d8f406 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashishneosoftmail/JSC_LMS",
"max_stars_repo_path": "src/Infrastructure/JSC_LMS.Persistence/Repositories/FAQRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8675"
} | starcoder | <filename>src/Infrastructure/JSC_LMS.Persistence/Repositories/FAQRepository.cs
using JSC_LMS.Application.Contracts.Persistence;
using JSC_LMS.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
u... | 2.375941 | d02e77aeeda65e41396f3c79a06b13a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OldSecureIQLab/MyWarez",
"max_stars_repo_path": "MyWarez/Payloads/Windows/Execution/ClientExploitation/CVE_2018_0802.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8676"
} | starcoder | <reponame>OldSecureIQLab/MyWarez
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using MyWarez.Core;
namespace MyWarez.Payloads
{
public sealed class CVE_2018_0802 : Rtf
{
public CVE_2018_0802(IProcessList processList) : base(BuildRtf(processList))
{
if... | 1.894274 | 07d8da4d38fd51dd6976f8da07e83e03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8676 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gebelexis/Fluent.Ribbon",
"max_stars_repo_path": "Fluent/Controls/RibbonItemsControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8677"
} | starcoder | <reponame>Gebelexis/Fluent.Ribbon
#region Copyright and License Information
// Fluent Ribbon Control Suite
// http://fluent.codeplex.com/
// Copyright (c) <NAME>, <NAME>. 2009-2010. All rights reserved.
//
// Distributed under the terms of the Microsoft Public License (Ms-PL).
// The license is available onli... | 1.854324 | dc89868a5ed9ba5497a48f5ae1925d0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8677 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "jakubneubauer/prom-client",
"max_stars_repo_path": "tests/Prometheus.Client.Tests/SummaryTests/RandomExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8678"
} | starcoder | using System;
namespace Prometheus.Client.Tests.SummaryTests
{
public static class RandomExtensions
{
public static double NormDouble(this Random r)
{
double u1 = r.NextDouble();
double u2 = r.NextDouble();
return Math.Sqrt(-2.0 * Math.Log(u1)) * Math.Sin(2... | 2.441703 | 9c616b2c2095135db2ec82dc1462f967 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codeyu/asp-dot-net-core-security-understanding",
"max_stars_repo_path": "1-exercise-files/AspNetSecurity-m1/Repositories/AttendeeRepo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8679"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using AspNetSecurity_m1.Models;
using Microsoft.AspNetCore.Mvc;
namespace AspNetSecurity_m1.Repositories
{
public class AttendeeRepo
{
private readonly List<AttendeeModel> attendees = new List<AttendeeModel>();
public AttendeeRepo()
... | 2.93673 | d0befc44173cf637c548a1d82305a2df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "engKaya/MusteriEkoBackend",
"max_stars_repo_path": "MusteriEko/Models/Ilce.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8680"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MusteriEko.Models
{
public class Ilce
{
public int IlceId { get; set; }
public int SehirId { get; set; }
public string IlceIsim { get; set; }
}
} | 1.284762 | 58cea0b5fced4701980cf153ed9065d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moviles-GoingTo/api",
"max_stars_repo_path": "Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8681"
} | starcoder | <reponame>Moviles-GoingTo/api<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace GoingTo_API.Extensions
{
public static class StringExtensions
{
public static string ToSnakeCase(this string str)
... | 3.002901 | e5bdb7c706ce0431a5db737adc277a36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8681 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hoa-nx/empman-webapi",
"max_stars_repo_path": "EmpMan.WebAPI/Models/Common/TagViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8682"
} | starcoder | namespace EmpMan.Web.Models
{
public class TagViewModel
{
public string ID { set; get; }
public string Name { set; get; }
public string Type { set; get; }
}
} | 1.597815 | ca35543c9d0afc33e550f5681d941156 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skyprolk/Clash-Of-SL",
"max_stars_repo_path": "Clash SL Server [UCS 7.4.0]/Packets/Messages/Client/EditClanSettingsMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8683"
} | starcoder | using System;
using System.IO;
using System.Text;
using CSS.Core;
using CSS.Core.Network;
using CSS.Helpers.Binary;
using CSS.Logic;
using CSS.Logic.StreamEntry;
using CSS.Packets.Messages.Server;
using CSS.Packets.Commands.Server;
using System.Threading.Tasks;
namespace CSS.Packets.Messages.Client
{
... | 1.866495 | f1d3ebfb651d017b026a6a1855bce32c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AJ213/Multi-Rimecraft",
"max_stars_repo_path": "Assets/ServerList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8684"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ServerList : MonoBehaviour
{
private List<ServerListObject> listItem = new List<ServerListObject>();
[SerializeField] private TMP_InputField ipField;
[SerializeField] private TMP_InputField portField;
... | 2.463508 | 067bc7a47a64420edef00e5eb1d71c3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chains99/Wall-E",
"max_stars_repo_path": "Wall-E/Proyecto 2018-2019 Wall-E/Print.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8685"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Proyecto_2018_2019_Wall_E.Objects;
namespace Proyecto_2018_2019_Wall_E
{
public class Print : Instructions
{ public string console { get; private set; }
public Print()
{
... | 2.752605 | 5ef279a1ab1e5539eca72d32f27dd899 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8685 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uditagarwal97/nekara-artifact",
"max_stars_repo_path": "TSVD/Radical/src/net35/Radical.Windows/Presentation/Markup/BehaviorCommandBinding (MarkupExtension).cs",
"provenance": "train-00000-of-00045.jsonl.gz:8686"
} | starcoder | using System;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using Topics.Radical.ComponentModel.Windows.Input;
using System.Reflection;
using Topics.Radical.Linq;
using Topics.Radical.Windows.Input;
using Topics.Radical.Windows.Behaviors;
using Topics.Radical.Reflection;
namespace Topics.Radica... | 1.949723 | a823629c632a86b32c56cf61a67fb3a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "B4rrCH/Ps2TtkCalculator",
"max_stars_repo_path": "BlazorApp/Shared/Dto/Name.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8687"
} | starcoder | using System.Text.Json.Serialization;
namespace Ps2TtkCalculator.Shared.Dto
{
public class Name
{
[JsonPropertyName("en")]
public string En { get; set; }
}
} | 1.856236 | a6abd5894db50e84573f4df907750cb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/CSharp-Fundamentals",
"max_stars_repo_path": "08. Array and List Algorithms - Exercises/08. Binary Search/Binary Search.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8688"
} | starcoder | <filename>08. Array and List Algorithms - Exercises/08. Binary Search/Binary Search.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _08.Binary_Search
{
class Program
{
private static bool found = false;
static void Main()
{
char[] delimeterLi... | 4.10561 | 3f40912243f06e95e8328e21c65a67da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FabianMeiswinkel/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/TransientHttpClientRetryPolicyTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8689"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Tests
{
using System;
using System.Collections.Generic;
using System.Net;
using S... | 1.991549 | 424db0e2adf86e424c2b7e5ca1bd2c54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SwageliciousGGJ/YourMom2.0",
"max_stars_repo_path": "Assets/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/JSONSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8690"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using ParadoxNotion.Serialization.FullSerializer;
using ParadoxNotion.Serialization.FullSerializer.Internal;
using ParadoxNotion.Services;
namespace ParadoxNotion.Serialization
{
///High-Level API. Serializes/De... | 2.327961 | a8128ca809cceeca691bdaf5412298ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "feeling-groovy/flipside-ticketing-modeler",
"max_stars_repo_path": "FlipsideTicketingModeler/InputShim/TestInputShim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8691"
} | starcoder | using System;
namespace FlipsideTicketingModeler.InputShim
{
/**
* @brief This kind of input shim produces mocked data for our program.
*/
public class TestInputShim : IInputShim
{
// The database we should populate.
private Data.Database _database;
/**
* @const... | 2.967391 | b95c470868c59efc72662d4a08ae89b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakemurray04/True-Prens-OS-Simulation-",
"max_stars_repo_path": "OS_COSC60_TruePrends/TruePrendsOS/Login.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8692"
} | starcoder | namespace TruePrendsOS
{
partial class Login
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.226743 | e21110a17c8c40da0743f1fe72ad5238 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xinmyname/SWPCCBilling2",
"max_stars_repo_path": "Completions/DiscountCompletion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8693"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using SWPCCBilling2.Infrastructure;
namespace SWPCCBilling2.Completions
{
public class DiscountCompletion : FilteredStringCompletion
{
}
}
| 1.006078 | 73aefce5a187473486b7be9afe8d1a57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MazenImadJaber/audio-analysis",
"max_stars_repo_path": "src/AudioAnalysisTools/EventStatistics/EventStatisticsCalculate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8694"
} | starcoder | <gh_stars>0
// <copyright file="EventStatisticsCalculate.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group).
// </copyright>
namespace AudioAnalysisTools.... | 2.516475 | d20d502d888767337882ea2c2cfa94ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ssimo3lsuhsc/IdentityManagerUI",
"max_stars_repo_path": "WebApplication1/Data/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8695"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using IdentityManagerUI.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace WebApplication1.Data
{
public class ApplicationDbContext : IdentityDbConte... | 2.161361 | 6d835cdae693f293046986e59135696e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdissel/lucene.net",
"max_stars_repo_path": "src/Lucene.Net.Tests.Analysis.Common/Analysis/Cz/TestCzechStemmer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8696"
} | starcoder | namespace org.apache.lucene.analysis.cz
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache ... | 2.186423 | 59cf60d07c68ccedd0dc8877e7b2e587 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8696 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "marlandolaud/presentations",
"max_stars_repo_path": "DOTNETCORE/EFCoreSamples/Repositories/Repos/IBlogRepo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8697"
} | starcoder | using Repositories.Models;
using Repositories.Repos.Base;
namespace Repositories.Repos
{
public interface IBlogRepo : IRepo<Blog>
{
}
}
| 1.09926 | ca5887ae5b01bf897c02c22811645bac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8697 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vjacquet/WmcSoft",
"max_stars_repo_path": "WmcSoft.Algorithms/Generators.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8698"
} | starcoder | <filename>WmcSoft.Algorithms/Generators.cs
#region Licence
/****************************************************************************
Copyright 1999-2018 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and... | 3.0767 | 5724ad8044d16752284d0da4e4489aec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8698 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emclient/bc-csharp",
"max_stars_repo_path": "crypto/test/src/openpgp/test/PGPCompressionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8699"
} | starcoder | using System;
using System.IO;
using System.Text;
using NUnit.Framework;
using Org.BouncyCastle.Utilities.IO;
using Org.BouncyCastle.Utilities.Test;
namespace Org.BouncyCastle.Bcpg.OpenPgp.Tests
{
[TestFixture]
public class PgpCompressionTest
: SimpleTest
{
private static readonly byte[] Data = Encoding.ASCII... | 2.427728 | 00e7d3bf6775b721e41a129bf4b0d41e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bouke/SimpleInjector",
"max_stars_repo_path": "src/SimpleInjector.Tests.Unit/Diagnostics/ContainerDebugViewTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8700"
} | starcoder | namespace SimpleInjector.Diagnostics.Tests.Unit
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimpleInjector.Diagnostics.Debugger;
using SimpleInjector.Tests.Unit;
[TestClass]
public class ContainerDebugViewTests
{
[Test... | 2.381577 | 1bd27ebb8ffbda6fb3d25096801218ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8700 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nvatuan/SilkMelody",
"max_stars_repo_path": "Assets/Player/Script/ToolCircleUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8701"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ToolCircleUI : MonoBehaviour
{
public Image circleImage;
public Image toolImage;
private void Update()
{
if (GameMaster.instance.playerData.equippedRedTools.Count == 0)
{
... | 2.128064 | 8b3bf519560dc99ac995443a20fa8efc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8701 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "carpnick/NuGet.Client",
"max_stars_repo_path": "test/NuGet.Clients.Tests/NuGet.SolutionRestoreManager.Test/GlobalSuppressions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8702"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Microsoft.VisualStudio.Threading.Analyzers", "VSTHRD010", Justificat... | 1.22086 | 2a449c8be591231f3484c252a4e0d7db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelson1987/InternetBankingTeste",
"max_stars_repo_path": "src/BGB.InternetBanking.Models/Specifications/PayeeSpecs/PayeeNameIsRequiredSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8703"
} | starcoder | using BGB.Core.Validations.Interfaces;
namespace BGB.InternetBanking.Models.Specifications.PayeeSpecs
{
public class PayeeNameIsRequiredSpec : ISpecification<Payee>
{
public bool IsSatisfiedBy(Payee payee)
{
return payee != null && !string.IsNullOrEmpty(payee.Name) && payee.Name.Tr... | 2.443478 | 2cfe7855ad9488e27f3ce9974d417eeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lambdageek/xunit",
"max_stars_repo_path": "test/test.xunit.runner.utility/Visitors/TestDiscoveryVisitorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8704"
} | starcoder | <filename>test/test.xunit.runner.utility/Visitors/TestDiscoveryVisitorTests.cs
using System.Collections.Generic;
using NSubstitute;
using Xunit;
using Xunit.Abstractions;
public class TestDiscoveryVisitorTests
{
[Fact]
public void CollectsTestCases()
{
var visitor = new TestDiscoverySink... | 2.321028 | 854d64d931e503fd18f26d2b36f3b2a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8704 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MCGPPeters/Radix",
"max_stars_repo_path": "C#/src/Radix/PolymorphicWriteOnlyJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8705"
} | starcoder | using System.Text.Json;
using System.Text.Json.Serialization;
namespace Radix;
public class PolymorphicWriteOnlyJsonConverter<T> : JsonConverter<T> where T : notnull
{
public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) =>
throw new NotImplementedException... | 2.706439 | 881f1e192fa15d6b1002404aeb52cfab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8705 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "axuno/MailMergeLib",
"max_stars_repo_path": "Src/MailMergeLib/Templates/TemplateException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8706"
} | starcoder | <filename>Src/MailMergeLib/Templates/TemplateException.cs
using System;
namespace MailMergeLib.Templates
{
/// <summary>
/// Represents errors that occur during changing the <see cref="Templates"/> object graph programmatically, including during deserialization.
/// </summary>
public class TemplateExc... | 2.940843 | 2add62b72c84536230774b45f5c4e62e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bennbenson/Minecraft",
"max_stars_repo_path": "src/Minecraft.Model.Bedrock/Blocks_/Block.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8707"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Minecraft.Model.Bedrock.Data;
namespace Minecraft.Model.Bedrock
{
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public class Block : IEquatable<Block>, IArgumentText
{
public static readonly Block Unspe... | 2.753724 | bda1f1640918000a1646f95371c07270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikola-rados/sheriff-scheduling",
"max_stars_repo_path": "db/migrations/20201221154713_CleanupPermissions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8708"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace SS.Db.Migrations
{
public partial class CleanupPermissions : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "Permission",
keyCo... | 2.092092 | 3c60d0a67192c9edb2afacccbacfa263 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210726-wvu-net-ext/P0-Nikhil-Gangaramani",
"max_stars_repo_path": "Project0/Models/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8709"
} | starcoder | <filename>Project0/Models/Customer.cs
using System;
using System.Collections.Generic;
namespace Models
{
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
public string LastName { get; set; }
public double Phone { get; set; }
public s... | 2.681186 | f459b834fc8598502dfac5e3bc64e274 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.