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 | 6037 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pCYSl5EDgo/Unity1Week_P1145141919",
"max_stars_repo_path": "Assets/NCMB/Script/CommonConstant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6038"
} | starcoder | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED 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 at
http://www.apache.org/licenses/LICENSE-2.0
Unless re... | 1.849766 | 26f9d22ad5d2169ceb25acfcd5d95a42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nachiappannk/SafeBySimplify",
"max_stars_repo_path": "SafeBySimplify/SafeModel.Standard/AesCryptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6039"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace SafeModel.Standard
{
public static class AesCryptor
{
private static readonly int KeySizeInBytes = 256 / 8;
private static readonly int IvSizeInBytes = 128 / 8;
st... | 2.747889 | 28d3cb6463f89ce52361594bd28828fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6039 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dbogatov/ore-benchmark",
"max_stars_repo_path": "test/Simulators/Protocols/GenericProtocolTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6040"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Simulation.Protocol;
using Xunit;
namespace Test.Simulators.Protocols.Integration
{
public abstract class AbsProtocol
{
protected IProtocol _protocol;
protected readonly List<Simulation.Protocol.Record> _input;
protected r... | 2.491807 | f82ec107ee3ddacb77fd3118c0dfac17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dineshKumar777/CiscoVPN_Autoconnect",
"max_stars_repo_path": "Autoit_CiscoVPN/AppConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6041"
} | starcoder | <filename>Autoit_CiscoVPN/AppConfig.cs
using System.Configuration;
namespace Autoit_CiscoVPN
{
public class AppConfig
{
public static string userName = ConfigurationManager.AppSettings["username"];
public static string passWord = ConfigurationManager.AppSettings["password"];
public sta... | 1.856106 | ea6f8dad1c0936c9741eb0f1728b0595 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "indieza/Kiip-Pazardzhik",
"max_stars_repo_path": "KiipPazardzhik/KiipPazardzhik/Areas/Administration/Services/AddDocument/AddDocumentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6042"
} | starcoder | <reponame>indieza/Kiip-Pazardzhik<gh_stars>0
// <copyright file="AddDocumentService.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace KiipPazardzhik.Areas.Administration.Services.AddDocument
{
using System.IO;
using System.Threading.Tasks;
using KiipPazardzhik.... | 2.258542 | b096e1a7ab8d58783284798acf3a222c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yggge/MassEffect2SaveEdit_v1.0.9.3",
"max_stars_repo_path": "Gibbed.MassEffect2.FileFormats/UnrealStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6043"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Gibbed.Helpers;
namespace Gibbed.MassEffect2.FileFormats
{
public class UnrealStream : IUnrealStream
{
private Stream Stream;
private bool Loading;
public uint Version { get; pr... | 2.409079 | 365f9b3357440f501ae9c3e96f7feff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shavlegkakulia/unicard_update_version",
"max_stars_repo_path": "Kuni.Core/Providers/LocalDBProvider/LocalSqliteDbProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6044"
} | starcoder | //using System;
//using SQLite;
//using Kuni.Core.Helpers.Device;
//using Kuni.Core.Helpers.AppSettings;
//using Kuni.Core.Models.DB;
//using System.Collections.Generic;
//using System.Linq.Expressions;
//using System.Linq;
//using Kuni.Core.Models.DB;
//namespace Kuni.Core.Providers.LocalDBProvider
//{
// public c... | 2.211522 | 254771e2cbc96bd3f79789f65c206d7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arturnista/fpsgame_unity",
"max_stars_repo_path": "Assets/Enemies/EnemySpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6045"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawner : MonoBehaviour {
public GameObject enemyPrefab;
private AudioSource m_AudioSource;
void Start () {
m_AudioSource = GetComponent<AudioSource>();
SoundController.PlaySound(m_AudioSource);
if(enemyPrefab... | 2.042519 | fddb2988cc26f4239eb7eec1713b8f5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "altazion/altazion-sdk-csharp",
"max_stars_repo_path": "SdkCSharpSources/Altazion.Api/Data/TechniqueMediationsControllerMediationStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6046"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
namespace Altazion.Api.Data
{
///<summary>
///Objet de données MediationStatus
///</summary>
public class MediationStatus
{
///<summary>
///Obtient ou définit la valeur DefinitionLibelle
///</summary>
public string DefinitionLibelle{ get;... | 2.154196 | 9a314130d1ce7e0ffadbb9bb422faaec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6046 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Whiteknight/CastIron",
"max_stars_repo_path": "Src/CastIron.Sql/Mapping/Constructors/BestMatchConstructorFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6047"
} | starcoder | <filename>Src/CastIron.Sql/Mapping/Constructors/BestMatchConstructorFinder.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using CastIron.Sql.Utility;
namespace CastIron.Sql.Mapping.Constructors
{
public class BestMatchConstructorFinder : IConstructorFinder
{
... | 2.893144 | 7a2dd902955ecd0643c9a91e9a0fd6f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ousttrue/SharpImGui",
"max_stars_repo_path": "sample/SharpImGui/ImDrawListFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6048"
} | starcoder | <filename>sample/SharpImGui/ImDrawListFlags.cs
// generated cpptypeinfo-0.2.0
using System;
using System.Runtime.InteropServices;
using System.Numerics;
namespace SharpImGui
{
// imgui.h:1953
[Flags]
public enum ImDrawListFlags
{
None = 0,
AntiAliasedLines = 1,
An... | 1.205857 | 9a6e53f8d80b1620f94e1363a780b733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6048 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gageas/lutea",
"max_stars_repo_path": "Lutea/Lutea/OutputDevice/OutputDeviceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6049"
} | starcoder | <reponame>gageas/lutea
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gageas.Wrapper.BASS;
namespace Gageas.Lutea.OutputDevice
{
class OutputDeviceFactory
{
private static object outputChannelLock = new object();
public static IOutputDe... | 2.397234 | a06141f01689428cfd9b6bc5a92af09c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6049 | {
"extension": "c-sharp",
"max_stars_count": "3427.0",
"max_stars_repo_name": "jenscski/cake",
"max_stars_repo_path": "src/Cake.Common/Tools/VSTest/VSTestFrameworkVersion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6050"
} | starcoder | <filename>src/Cake.Common/Tools/VSTest/VSTestFrameworkVersion.cs<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Cake.Common.Tools.VSTest
... | 2.28119 | ff04f3eff6a8cb47c291e8a36984fd14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeFuller/music-library",
"max_stars_repo_path": "src/PandaPlayer/Facades/TimerFacade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6051"
} | starcoder | <gh_stars>0
using System.Timers;
namespace PandaPlayer.Facades
{
internal class TimerFacade : Timer, ITimerFacade
{
public TimerFacade()
{
}
public TimerFacade(double interval)
: base(interval)
{
}
}
}
| 1.525175 | 6f6ea43188e4573d9ef3f83fc244920a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6051 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SiroccoHub/OneWorldDbClient",
"max_stars_repo_path": "src/OneWorldDbClient.SampleWeb/Data/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6052"
} | starcoder | <reponame>SiroccoHub/OneWorldDbClient
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace OneWorldDbClient.SampleWeb.Data
{
public class ApplicationDbContext : IdentityDbContext
{
pub... | 2.268777 | 5d587ce4c079df37beb8ce9372f8f363 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6052 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "quanlx/MarketplaceInterview",
"max_stars_repo_path": "Marketplace.Interview/Marketplace.Interview.Business/Core/IQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6053"
} | starcoder | namespace Marketplace.Interview.Business.Core
{
public interface IQuery<TRequest, TResponse> : IWorkflow<TRequest, TResponse>
{
}
} | 1.169147 | c9f116be704b4bf68b7b1c8a62b0579a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6053 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "maittaeb/QLNet",
"max_stars_repo_path": "src/QLNet/Cashflows/Dividend.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6054"
} | starcoder | /*
Copyright (C) 2008 <NAME> (<EMAIL>)
This file is part of QLNet Project https://github.com/amaggiulli/qlnet
QLNet is free software: you can redistribute it and/or modify it
under the terms of the QLNet license. You should have received a
copy of the license along with this program; if not, license is
availa... | 2.531277 | 8cbd4007656e0e4745a3ae0dbc2bb709 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6054 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "led0warlpl/SimpleCard",
"max_stars_repo_path": "Assets/Scripts/Battle/UI/UiCharacter/UiCharacterComponent/UiCharacterStateMachine/States/UiCharacterAttack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6055"
} | starcoder | using Patterns.StateMachine;
using UnityEngine;
namespace SimpleCardGames.Battle.UI.Character
{
/// <summary>
/// This state executes and attack of a character.
/// </summary>
public class UiCharacterAttack : UiBaseCharacterState
{
readonly float moveSpeedAttack = 10;
public U... | 2.374015 | c2638172d02a602a2deeda53433ee49c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6055 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "CrimsonOrion/GemBox.Document.Examples",
"max_stars_repo_path": "C#/Protection/PDF Encryption/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6056"
} | starcoder | <filename>C#/Protection/PDF Encryption/Program.cs<gh_stars>10-100
using GemBox.Document;
class Program
{
static void Main()
{
// If using Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY");
string userPassword = "<PASSWORD>";
string ow... | 2.366956 | d48e6a3b50dcc76000b60c7e8b1620de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "proxoft/Maps",
"max_stars_repo_path": "Source/Maps.Core/Api/Maps/MapJsCallback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6057"
} | starcoder | <reponame>proxoft/Maps<gh_stars>0
using System;
using System.Drawing;
using Microsoft.JSInterop;
using Proxoft.Maps.Core.Api.Core;
namespace Proxoft.Maps.Core.Api.Maps
{
public sealed class MapJsCallback : ApiObjectJsCallback
{
public MapJsCallback(Action<Event> onEvent) : base(onEvent)
{
... | 2.028851 | f703f291db0809391c0001480bcf5164 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Benriya-Tech/BenriyaCore",
"max_stars_repo_path": "Clients/Common/Benriya.Clients.Wasm.Components/Models/Extension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6058"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Benriya.Clients.Wasm.Components.Models
{
public class ExtensionModel
{
public string Name { get; set; }
public string Description { get; set; }
public string Url { get; set; }
public string Version ... | 1.510979 | 548fde8c6d64ebbc53882fba076dbff4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guxiaoliang/IMeiwei",
"max_stars_repo_path": "IMeiWei/Common/StringPlus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6059"
} | starcoder | <filename>IMeiWei/Common/StringPlus.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Maticsoft.Common
{
public class StringPlus
{
public static List<string> GetStrArray(string str, char speater,bool toLower)
{
List<string> list = new List<st... | 3.296259 | 8ddaf3e1485c2cec3b660124760e9f7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "M4rm3ladov/Hygiene-Mobile",
"max_stars_repo_path": "Hygiene Mobile/Assets/Scripts/Controllers/Bath/Toilet/FlushController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6060"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlushController : MonoBehaviour
{
private SpriteRenderer sFlush;
private Vector3 mouseDragStartPosition;
private Vector3 spriteDragStartPosition;
private bool isDragged = false;
float xAxis;
//priva... | 2.063092 | d62a3bbfe6d98ad2ab1f7209a7ba5daf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6060 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stefb965/VisualStudio",
"max_stars_repo_path": "src/UnitTests/GitHub.App/Services/AvatarProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6061"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using Akavache;
using GitHub.Caches;
using GitHub.Models;
using GitHub.Services;
using NSubstitute;
using UnitTests.Helpers;
using Xunit;
public class... | 2.198607 | 6c1f87129f5f560bb94d3677a32c0285 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6061 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pranavramesh123/multiplayer_shooting",
"max_stars_repo_path": "Assets/Photon/PhotonUnityNetworking/Code/Views/PhotonTransformView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6062"
} | starcoder | // ----------------------------------------------------------------------------
// <copyright file="PhotonTransformView.cs" company="Exit Games GmbH">
// PhotonNetwork Framework for Unity - Copyright (C) 2018 Exit Games GmbH
// </copyright>
// <summary>
// Component to synchronize Transforms via PUN PhotonView.
//... | 1.973381 | aa6026436ac4ccbcbb70181ab57b2c5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WS-QA/cassette",
"max_stars_repo_path": "src/Website/Views/Documentation/v2/Stylesheets.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6063"
} | starcoder | @{
ViewBag.Title = "Cassette | Stylesheets";
}
<h1>Stylesheets</h1>
<p>
Cassette encourages you to break up monolithic stylesheets into a collection of manageable files.
This makes them easier to maintain.
</p>
<p>The order of these files still matters. There are two ways to tell Cassette about the dependencies. ... | 2.939005 | f387a4c2c572dc826528c411aee8605c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niogtree/RobustErrorHandler",
"max_stars_repo_path": "src/RobustErrorHandler.Core/Errors/Error4xx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6064"
} | starcoder | namespace RobustErrorHandler.Core
{
//NOTE: HTTP Resources details from https://httpstatuses.com/
public abstract partial class Error
{
// Error 400 BadRequest
public sealed class Invalid : Error
{
public Invalid(IErrorMessage message)
{
Mess... | 2.604282 | fc6b02cc2e2aaf0e83a3655a16fee4df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khalidabuhakmeh/MiniRazor",
"max_stars_repo_path": "MiniRazor.CodeGen/TemplateClassGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6065"
} | starcoder | using System.Text;
using System;
using System.IO;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.CodeAnalysis;
using MiniRazor.CodeGen.Internal.Extensions;
namespace MiniRazor.CodeGen
{
[Generator]
public partial class TemplateClassGenerator : ISourceGenerator... | 2.469194 | 50ac55edfad123a6a6536ed3daf237eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "15.Data-Structures-and-Algorithms/Exam-Preparation/ExamPreparation/[Combinatorics]DoublePassword/All problems/Problem 5/Solution/solution-naive.cs",
"provenance": "train-00000-of-00045.j... | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZigZagNumbers.Naive
{
class ZigZagNaive
{
static int n;
static int k;
static HashSet<string> sequences;
static bool[] used;
static ... | 3.230318 | 2372eadc1e283d6726c024b17533137a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6066 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "G0hub1/xamarin-macios",
"max_stars_repo_path": "msbuild/Xamarin.MacDev.Tasks.Core/MsBuildTasks/CopyBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6067"
} | starcoder | namespace Microsoft.Build.Tasks
{
public abstract class CopyBase : Copy
{
public string SessionId { get; set; }
}
}
| 1.344397 | 7b88b959eff500b282e07a3fb48580d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VirtoCommerce-archieve/vc-integrations",
"max_stars_repo_path": "PLATFORM/Modules/Core/VirtoCommerce.Domain/Marketing/Model/Promotions/Promotion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6068"
} | starcoder | using System;
using System.Collections.Generic;
using VirtoCommerce.Domain.Common;
using VirtoCommerce.Platform.Core.Common;
namespace VirtoCommerce.Domain.Marketing.Model
{
public class Promotion : AuditableEntity
{
public Promotion()
{
IsActive = true;
Id = Name = this.GetType().Name;
}
public stri... | 1.968048 | 629b536b40ba8bf722030cde339572c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6068 | {
"extension": "c-sharp",
"max_stars_count": "169.0",
"max_stars_repo_name": "DarrenMatthews776/xenadmin",
"max_stars_repo_path": "XenModel/XenAPI/Message2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6069"
} | starcoder | <gh_stars>100-1000
/*
* Copyright (c) <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* ... | 1.026484 | 07542ce43ba003509e935abe7193987d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6069 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liuyu0723/EntityFrameworkCore",
"max_stars_repo_path": "src/EFCore/Query/Internal/CompiledQueryBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6070"
} | starcoder | // 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;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading;
using... | 2.004214 | 73e623d715dced915ef7e355b10274cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6070 | {
"extension": "c-sharp",
"max_stars_count": "483.0",
"max_stars_repo_name": "lwqwag/SoMall",
"max_stars_repo_path": "backEnd/modules/TT.Abp.Mall/MallModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6071"
} | starcoder | using System.Reflection;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using TT.Abp.AppManagement;
using TT.Abp.AuditManagement;
using TT.Abp.Mall.Definitions;
using TT.Abp.Mall.EntityFrameworkCore;
using TT.Abp.Mall.Localization;
using TT.Abp.Shops;
using TT.Abp.Weixin;
using Volo.Abp.AspNetCore.Mvc;... | 1.422929 | 3edee1700b48abd837655fb7312dedb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SYSU101/unity3d-learning",
"max_stars_repo_path": "priests-and-evils/Assets/Scripts/LinearMove2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6072"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LinearMove2D : IMoveStrategy
{
private float speed;
private Vector3 src, dest;
private DateTime? startTime;
private bool isPaused = false;
public Vector3 Position
{
get
{
... | 2.712147 | beaf0b552241f2152ff9d2368f16a21b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6072 | {
"extension": "c-sharp",
"max_stars_count": "241.0",
"max_stars_repo_name": "aTiKhan/corewf",
"max_stars_repo_path": "src/CoreWf/Runtime/ActivityCompletionCallbackWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6073"
} | starcoder | // This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
namespace System.Activities.Runtime
{
using System;
using System.Runtime.Serialization;
using System.Security;
[DataContract]
internal class ActivityComple... | 2.412892 | 316af3f393b55be1797ab7bf93cabcfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6073 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "bmob/bmob-unity",
"max_stars_repo_path": "core/src/io/basic/BmobLong.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6074"
} | starcoder | <filename>core/src/io/basic/BmobLong.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace cn.bmob.io
{
public sealed class BmobLong : BmobNumber<long>
{
public BmobLong()
: base()
{ }
public BmobLong(long value)
: base(value)
... | 2.21547 | 3d62f94f68d8cd6132b85ae79f4bf9e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wavefrontHQ/wavefront-csharp-sdk",
"max_stars_repo_path": "Wavefront.SDK.CSharp/DirectIngestion/IDataIngesterAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6075"
} | starcoder | <gh_stars>0
using System.IO;
namespace Wavefront.SDK.CSharp.DirectIngestion
{
/// <summary>
/// The API for reporting points directly to a Wavefront server
/// </summary>
public interface IDataIngesterAPI
{
/// <summary>
/// Report the specified stream in the specified format... | 2.052346 | 4fbcf38b1fae1573b6899d5cee277ec2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6075 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Laurianti/Rebus.PostgreSql",
"max_stars_repo_path": "Rebus.PostgreSql/PostgreSql/PostgresConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6076"
} | starcoder | using System;
using System.Threading.Tasks;
using Npgsql;
// ReSharper disable EmptyGeneralCatchClause
#pragma warning disable 1998
namespace Rebus.PostgreSql
{
/// <summary>
/// Wraps an opened <see cref="NpgsqlConnection"/> and makes it easier to work with it
/// </summary>
public class PostgresConne... | 2.831585 | cdf6e3c80faf7625e125828882ab15e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjhakes/Auction-Display-Project-V2",
"max_stars_repo_path": "Service/BL/IBuyerBL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6077"
} | starcoder | <filename>Service/BL/IBuyerBL.cs
using System;
using Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BL
{
public interface IBuyerBL
{
Task<List<Buyer>> GetBuyersAsync();
Task<Buyer> AddBuyerAsync(Buyer newBuyer);
Task<Buyer> GetBuyerByIdAsync(Guid id);... | 2.20795 | 0eb223357b43b2dd1e2189ac96831f68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6077 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jsiegmund/submerged",
"max_stars_repo_path": "src/API/Repsaj.Submerged.API.Infrastructure/BusinessLogic/DeviceLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6078"
} | starcoder | using Repsaj.Submerged.Common.Configurations;
using Repsaj.Submerged.Common.DeviceSchema;
using Repsaj.Submerged.Common.Helpers;
using Repsaj.Submerged.Common.Models;
using Repsaj.Submerged.Infrastructure.Exceptions;
using Repsaj.Submerged.Infrastructure.Models;
using Repsaj.Submerged.Infrastructure.Repository;
using ... | 2.008367 | 7f17ce485a615cd312f8209389d0808b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6078 | {
"extension": "c-sharp",
"max_stars_count": "2349.0",
"max_stars_repo_name": "Frunck8206/Pomelo.EntityFrameworkCore.MySql",
"max_stars_repo_path": "src/EFCore.MySql/Query/Internal/SkipTakeCollapsingExpressionVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6079"
} | starcoder | // Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
#nullable enable
using System.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.SqlExpres... | 1.846533 | 9c0155c3355cf0e81b10532fdfaf95ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6079 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "gnusmas12/MyTested.AspNet.TV",
"max_stars_repo_path": "src/Huge Code Base/Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/_ContestQuestionsGridTemplate.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6080"
} | starcoder | @using Resource = Resources.Areas.Administration.Contests.Views.ContestIndex
@using GeneralResource = Resources.Areas.Administration.AdministrationGeneral
@{
const string ControllerName = "ContestQuestions";
}
<script type="text/x-kendo-template" id="_ContestQuestionsGridTemplate">
@(Html.Kendo()
.Gr... | 1.929047 | 047013b66737e9edbf6b9b6d987f1340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andy-a-o/firely-net-sdk",
"max_stars_repo_path": "src/Hl7.Fhir.Specification/Schema/Binding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6081"
} | starcoder | /*
* Copyright (c) 2019, Firely (<EMAIL>) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE
*/
using Hl7.Fhir.ElementModel;
using Hl7.Fhir.Model;
using Hl7... | 2.338168 | 5e411ff06135c9171e916797919860ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6081 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dmariogatto/muget",
"max_stars_repo_path": "src/MuGet.Forms.UI/Controls/EventArgs/ItemChangedArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6082"
} | starcoder | using System;
namespace MuGet.Forms.UI.Controls
{
public class ItemChangedArgs : EventArgs
{
public object OldItem { get; }
public object NewItem { get; }
public ItemChangedArgs(object oldItem, object newItem)
{
OldItem = oldItem;
NewItem = newItem;
... | 2.043489 | c59cc0cf2d31c99c40b62b6f2fbc27e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bhugot/minicover",
"max_stars_repo_path": "src/MiniCover/Instrumentation/Instrumenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6083"
} | starcoder | using MiniCover.Extensions;
using MiniCover.Model;
using MiniCover.Utils;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using MiniCover.HitServices;
using System.Diagnostics;
namespace MiniCo... | 1.848218 | 5079551ec4f2e2c069d779e4ee1808ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6083 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "NicolaAtorino/NBench",
"max_stars_repo_path": "src/NBench/Sdk/IMeasurementConfigurator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6084"
} | starcoder | // Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Reflection;
using NBench.Collection;
using NBench.Metrics;
using NBench.... | 2.249263 | 4965f2e6fbdbf291437d119074d1c9e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6084 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "FalconNL93/WslToolbox",
"max_stars_repo_path": "WslToolbox.Gui/Commands/ShowTestDialogCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6085"
} | starcoder | namespace WslToolbox.Gui.Commands
{
public class ShowTestDialogCommand : GenericCommand
{
public ShowTestDialogCommand()
{
IsExecutableDefault = _ => true;
IsExecutable = IsExecutableDefault;
}
public override void Execute(object parameter)
{
... | 1.760556 | c51d6eab00632870ba8aa68be620bf7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6085 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "adenner/SoftWx.Numerics",
"max_stars_repo_path": "SoftWx.Numerics/UInt128.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6086"
} | starcoder | <reponame>adenner/SoftWx.Numerics
// Copyright ©2015-2016 SoftWx, Inc.
// Released under the MIT License the text of which appears at the end of this file.
// <authors> <NAME>
//#define StandaloneUInt128 // if StandaloneUInt128 is defined UInt128 can operate standalone, without needing other classes in SoftWx.Numeric... | 3.112628 | 86bb068ea029901284a59e96d7f83673 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EstasAnt/Estsoul",
"max_stars_repo_path": "Assets/Scripts/Game/Character/Control/MouseAim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6087"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Character.Control;
using UnityEngine;
public class MouseAim : IAimProvider
{
private readonly Camera _Camera;
public MouseAim(Camera camera)
{
_Camera = camera;
}
public Vector2 AimPoint => _Camera.ScreenToWorldP... | 1.683915 | 1d2022d277fbaa3c6e71eb8c1a6fc33a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarcOliva/Web-Api-Net-Core",
"max_stars_repo_path": "Faro.Domain/DetallePedido.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6088"
} | starcoder | namespace Faro.Domain
{
public class DetallePedido
{
public int Id { get; set; }
public double Precio { get; set; }
public double Descuento { get; set; }
public int Cantidad { get; set; }
public int ProductoId { get; set; }
public Producto Producto { get; set; }
... | 1.519034 | ed0f91411b60d8b75c979aae834992f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vasar007/algorithm_analysis",
"max_stars_repo_path": "Source/AlgorithmAnalysis/Libraries/AlgorithmAnalysis.Excel/IExcelCellHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6089"
} | starcoder | using System;
namespace AlgorithmAnalysis.Excel
{
public interface IExcelCellHolder
{
ActiveExcelCellType ActiveType { get; }
string StringValue { get; }
double NumericValue { get; }
bool BooleanValue { get; }
DateTime DateTimeValue { get; }
... | 2.410823 | 975626b86c0ec06f2a81a6383e875a9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AxiosCros/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-ccc/CCC/Transform/V20170705/ListRolesResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6090"
} | starcoder | <gh_stars>0
/*
* 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 License, Version 2.0 (the
* "Lic... | 0.979516 | fcfc89bd88613912a48848393adad169 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6090 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ArunPrakashG/WordpressSharp",
"max_stars_repo_path": "WordpressCore/Models/Requests/Request.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6091"
} | starcoder | <reponame>ArunPrakashG/WordpressSharp
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
namespace WordpressCore.Models.Requests {
/// <summary>
/// Contains the actual request which is created using <see cref="RequestBuilder"/>.
/// </summary>
public class Request {
/... | 2.544729 | 3f0044d04a99ba6348adc1e0198e0383 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mzh3511/Gdal.GTiff",
"max_stars_repo_path": "GTiffTest/GdalOperationViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6092"
} | starcoder | // ****************************************************************************
// Ranplan Wireless Network Design Ltd.
// __________________
// All Rights Reserved. [2019]
//
// NOTICE:
// All information contained herein is, and remains the property of
// Ranplan Wireless Network Design Ltd. and its supplie... | 2.140721 | c4b6a1d8ee93cf134bffefbd5e21ee58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6092 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "CslaGenFork/CslaGenFork",
"max_stars_repo_path": "trunk/Samples/DeepLoad/DAL-DR/ParentLoadSoftDelete.DataAccess/ERCLevel/IF11_City_ChildDal.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6093"
} | starcoder | using System;
using System.Data;
using Csla;
namespace ParentLoadSoftDelete.DataAccess.ERCLevel
{
/// <summary>
/// DAL Interface for F11_City_Child type
/// </summary>
public partial interface IF11_City_ChildDal
{
/// <summary>
/// Inserts a new F11_City_Child object in... | 2.502078 | 41670b7352bb0da0d3573385a1c08f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6093 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "winbench/bench",
"max_stars_repo_path": "BenchManager/BenchCLI/Commands/ConfigGetCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6094"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using Mastersign.CliTools;
using Mastersign.Docs;
namespace Mastersign.Bench.Cli.Commands
{
class ConfigGetCommand : BenchCommand
{
private static string POSITIONAL_PROPERTY_NAME = "Property Name";
public over... | 2.655687 | 6c81431a3cf3e9196d7479045be74084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6094 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "santedb/santedb-server",
"max_stars_repo_path": "SanteDB.Configurator/frmInitialConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6095"
} | starcoder | /*
* Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices)
* Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors
* Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and Technology
*
* Licensed under the Apache ... | 1.735839 | 26c26428eb09f731fe32cb4eb266c781 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6095 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "protoncm/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Indexing/CreateIndexingTaskContentHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6096"
} | starcoder | using System.Threading.Tasks;
using OrchardCore.ContentManagement.Handlers;
namespace OrchardCore.Indexing
{
public class CreateIndexingTaskContentHandler : ContentHandlerBase
{
private readonly IIndexingTaskManager _indexingTaskManager;
public CreateIndexingTaskContentHandler(IIndexingTaskMan... | 2.116175 | 66af78ba2f9aac7a8632ca99f2f309a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nv-ksavaria/Uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.Connectivity/NetworkEncryptionType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6097"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Networking.Connectivity
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public enum NetworkEncryptionType
{... | 1.542703 | eb1bcd6daf49b8f9c732f6366e6313fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6097 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TacoDevs/AbpZero-SmartAdmin",
"max_stars_repo_path": "CInotam.MailSender.Contracts/IMailServiceResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6098"
} | starcoder | <reponame>TacoDevs/AbpZero-SmartAdmin
namespace CInotam.MailSender.Contracts
{
public interface IMailServiceResult
{
bool MailSent { get; set; }
}
}
| 1.37858 | 64d46c8f7998e81f2978dfd065d3f0e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6098 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "CenterEdge/nmoneys",
"max_stars_repo_path": "src/NMoneys.Tests/MoneyTester.Allocations.ProRated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6099"
} | starcoder | using System;
using NMoneys.Allocations;
using NMoneys.Extensions;
using NUnit.Framework;
namespace NMoneys.Tests
{
[TestFixture]
public partial class MoneyTester
{
[Test]
public void Allocate_NullProRata_Exception()
{
Assert.That(() => 1m.Usd().Allocate(null), Throws.InstanceOf<ArgumentNullE... | 2.642319 | 97b0a3afe59f37f017a081b32bb72780 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6099 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gwendallg/RSql4Net",
"max_stars_repo_path": "src/RSql4Net.Tests/Models/ExpressionValueTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6100"
} | starcoder | using System;
using System.Linq.Expressions;
using Xunit;
using FluentAssertions;
using RSql4Net.Models;
namespace RSql4Net.Tests.Models
{
public class ExpressionValueTest
{
[Fact]
public void ShouldBeThrowArgumentNullException()
{
// parameter = null
this.Invoki... | 2.399962 | c5360890235dbbf3c020baf710ed296b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6100 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "m4ta1l/BackNet",
"max_stars_repo_path": "Master/Commands/Download.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6101"
} | starcoder | <reponame>m4ta1l/BackNet
using Master.AdvancedConsole;
using Master.Commands.Core;
using System;
using System.Collections.Generic;
using System.IO;
namespace Master.Commands
{
internal class Download : IMasterCommand
{
public string name { get; } = "download";
public string descri... | 2.727578 | 3e9f2c047109fba5cc47381781c27721 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "happy-travel/currency-converter",
"max_stars_repo_path": "HappyTravel.CurrencyConverter/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6102"
} | starcoder | <filename>HappyTravel.CurrencyConverter/Extensions/ServiceCollectionExtensions.cs
using System.Collections.Generic;
using HappyTravel.CurrencyConverter.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
namespace HappyTravel.CurrencyConverter.Extensions
{
public static class ServiceCollectionExtensio... | 2.077207 | 13dd68adeeaaf41c75c71eb7e6e9b849 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ljcollins25/Codeground",
"max_stars_repo_path": "src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Automation/RangeValuePatternIdentifiers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6103"
} | starcoder | <gh_stars>0
using Uno;
namespace Windows.UI.Xaml.Automation;
public class RangeValuePatternIdentifiers
{
[NotImplemented]
public static AutomationProperty IsReadOnlyProperty { get; } = new AutomationProperty();
[NotImplemented]
public static AutomationProperty LargeChangeProperty { get; } = new AutomationProper... | 1.160059 | b9b6dcf6997e9b7b81b97bb1c795c4be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6103 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mcneel/monomac",
"max_stars_repo_path": "src/AppKit/NSEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6104"
} | starcoder | using System;
using System.Drawing;
using System.Diagnostics;
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
#if MAC64
using NSInteger = System.Int64;
using NSUInteger = System.UInt64;
using CGFloat = System.Double;
#else
using NSInteger = System.Int32;
using NSUInteger = System.UInt32;
using NSPoint = System.D... | 2.089633 | c6c4ed8a801197226b5a9981099ce6b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6104 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jojas/GribApi.NET",
"max_stars_repo_path": "src/GribApi.NET/Grib.Api/GeoSpatialValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6105"
} | 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 writi... | 2.870257 | 39544fc14577f83eed8dd2a780c86670 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6105 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "grantwinney/pinboard.net",
"max_stars_repo_path": "pinboard.net/Util/Converters/YesNoConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6106"
} | starcoder | using System;
using Newtonsoft.Json;
namespace pinboard.net.Util.Converters
{
public class YesNoConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectType == typeof(string);
}
public override object ReadJson(JsonReader reader, ... | 3.085308 | dc85bd6eac50709203c6bf4f0db37040 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6106 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhaobingwang/blocks",
"max_stars_repo_path": "Skyline/src/Skyline.ApplicationCore/Interfaces/IContactService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6107"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Skyline.ApplicationCore.Interfaces
{
public interface IContactService
{
}
}
| 1.056941 | bb14507e842a03c213986d2f239428af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InKolev/C-OOP-Exam-Evaluation-Automation",
"max_stars_repo_path": "Source/CSharp.OOP.ExamAutomation.TaskBuilder/SolutionBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6108"
} | starcoder | <reponame>InKolev/C-OOP-Exam-Evaluation-Automation
namespace CSharp.OOP.ExamAutomation.TaskBuilder
{
using System.Collections.Generic;
using Microsoft.Build.Execution;
using Microsoft.Build.Framework;
public class SolutionBuilder
{
private readonly string BuildToolsVersion;
privat... | 1.877594 | 5a791a25895b46574aaca653f5953672 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6108 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "javaadpatel/ExRam.Gremlinq",
"max_stars_repo_path": "ExRam.Gremlinq.Core/Models/IGraphElementModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6109"
} | starcoder | using System;
using System.Collections.Immutable;
namespace ExRam.Gremlinq.Core
{
public interface IGraphElementModel
{
IImmutableDictionary<Type, ElementMetadata> Metadata { get; }
}
}
| 1.283105 | df240704b3d7f06c4e5b5ea08087907d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/clr/src/managedlibraries/soapserializer/soapobjectwriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6110"
} | starcoder | // ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... | 1.849072 | 2ede86ab262909976f7701a8554bff28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6110 | {
"extension": "c-sharp",
"max_stars_count": "420.0",
"max_stars_repo_name": "Conrekatsu/rawaccel",
"max_stars_repo_path": "grapher/MessageDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6111"
} | starcoder | 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;
namespace grapher
{
public partial class MessageDialog : Form
{
public MessageDialog(str... | 2.202239 | c316b29a6c0485ae2a89a4183384f5a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KodeAid/KodeAid-Core",
"max_stars_repo_path": "src/Azure/KeyVault/ManagedServiceIdentityKeyVaultClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6112"
} | starcoder | <gh_stars>1-10
// Copyright © <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.Azure.KeyVault;
using Microsoft.Azure.Services.AppAuthentication;
namespace KodeAid.Azure.KeyVault
{
public class ManagedServiceIdentityKeyVaultCl... | 1.376085 | 9ee5d4705eb4f0630ec49c4a60b87929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musictopia2/GamingPackXV3",
"max_stars_repo_path": "CP/Games/AgnesSolitaireCP/ViewModels/AgnesSolitaireMainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6113"
} | starcoder | <reponame>musictopia2/GamingPackXV3
namespace AgnesSolitaireCP.ViewModels;
[InstanceGame]
[UseLabelGrid]
public partial class AgnesSolitaireMainViewModel : SolitaireMainViewModel<AgnesSolitaireSaveInfo>
{
public AgnesSolitaireMainViewModel(IEventAggregator aggregator,
CommandContainer command,
IGame... | 1.698107 | 1018fa35df7039b0b65f1d58bbe9523c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6113 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akesseler/FileWiper",
"max_stars_repo_path": "code/src/FileWiper/ShellExtensionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6114"
} | starcoder | <gh_stars>1-10
/*
* MIT License
*
* Copyright (c) 2022 <EMAIL>.de
*
* 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 righ... | 2.029207 | 85313007ab0e885f5cbaf30fc151b7ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6114 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VAllens/Mages",
"max_stars_repo_path": "src/Mages.Plugins.Modules/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6115"
} | starcoder | <reponame>VAllens/Mages
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Mages.Plugins.Modules")]
[assembly: AssemblyDescription("Modules plugin for Mages.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Polytrope")]
[assembly: AssemblyProduct("Mages")]
[as... | 1.35737 | 27c4210271c2702e198e160fdf4b1bfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6115 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "poobalan-arumugam/stateproto",
"max_stars_repo_path": "src/3rdparty/HierarchicalStateMachine/Examples/CalculatorHSM/CalcSignals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6116"
} | starcoder | using System;
using qf4net;
namespace CalculatorHSM
{
public enum CalcSignals : int
{
ZeroDigit = QSignals.UserSig, //enum values must start at UserSig value or greater
NonZeroDigit,
DecimalPoint,
EqualSign,
Operator,
// IDC_PERCENT,
ClearAll,
ClearEntry,
Quit
}//CalcSignals
... | 2.483294 | f2916680155421d34364555247718e4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6116 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "otaviojulianons/DynamicRestApi",
"max_stars_repo_path": "src/Tests/Unit/Domain/Entities/AttributeDomainTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6117"
} | starcoder | <gh_stars>1-10
using System.Linq;
using System.ComponentModel.DataAnnotations;
using Tests.Unit.Domain.Utils;
using Xunit;
using Domain.Entities.EntityAggregate;
using Domain.Core.Extensions;
using Domain.Entities;
using Domain.Core.ValueObjects;
using Common.Notifications;
using Domain.ValueObjects;
namespace Tests.U... | 2.107805 | d2d865a3a37292a4d78ac213da06730b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6117 | {
"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/Shlwapi/ASSOCSTR.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6118"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/Shlwapi.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
/// <inclu... | 1.323691 | a400fe3347505b71ae5fe74fa649a1b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brendontse/RecipeBox",
"max_stars_repo_path": "RecipeBox/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6119"
} | starcoder | <filename>RecipeBox/Views/Home/Index.cshtml
<h1>Welcome to the RecipeBox!</h1>
<p>@Html.ActionLink("See all tags", "Index", "Tags")</p>
<p>@Html.ActionLink("See all recipes", "Index", "Recipes")</p>
<p>@Html.ActionLink("Create an account", "Index", "Account")</p>
| 1.826197 | 15c9571b4df51dc949c73086bbcb8ea5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6119 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "inorton/cclash",
"max_stars_repo_path": "CClash/CClashMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6120"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace CClash
{
[Serializable]
public enum Command
{
Run = 0,
GetStats = 1,
Quit = 2,
... | 2.355955 | 350019a3e72068f08f9eba416696577d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/DotNET.Fundamentals",
"max_stars_repo_path": "Specifications/Concepts/for_ConceptExtensions/when_checking_is_concept_on_an_inherited_concept_instance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6121"
} | starcoder | using Dolittle.Concepts;
using Machine.Specifications;
namespace Dolittle.Specs.Concepts.for_ConceptExtensions
{
[Subject(typeof(ConceptExtensions))]
public class when_checking_is_concept_on_an_inherited_concept_instance : Dolittle.Specs.Concepts.given.concepts
{
static bool is_a_concept;
... | 1.886698 | 351dfbd29375abadc9e518947af47c7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6121 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "yeliheng/BasketballVR",
"max_stars_repo_path": "Library/PackageCache/com.unity.timeline@1.1.0/Editor/treeview/IRowGUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6122"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.Timeline;
namespace UnityEditor.Timeline
{
interface IRowGUI
{
TrackAsset asset { get; }
Rect boundingRect { get; }
bool locked { get; }
bool showMarkers { get; }
bool muted { get; }
Rect ToWindowS... | 1.389335 | 6dd275ba94430da50840ddcb169e4b62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skotl/netdaemon_v2",
"max_stars_repo_path": "src/App/NetDaemon.App/Common/NetDaemonAppBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6123"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NetDaemon.Common.Exceptions;
usi... | 1.942488 | ebeddefa443113e129705c5479510cb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6123 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Talento90/Caravel-Template",
"max_stars_repo_path": "tests/CaravelTemplate.WebApi.Tests/Fixtures/ServerFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6124"
} | starcoder | <reponame>Talento90/Caravel-Template<filename>tests/CaravelTemplate.WebApi.Tests/Fixtures/ServerFixture.cs<gh_stars>1-10
using System;
using CaravelTemplate.Infrastructure.Data;
using CaravelTemplate.Infrastructure.Identity;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNet... | 2.107423 | ff01c29afc0eab760d343f6fca508c81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6124 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "behcpl/Unity-MvpToolkit",
"max_stars_repo_path": "Runtime/MiniDi/SimpleInjectableFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6125"
} | starcoder | using Behc.Mvp.Presenter;
using UnityEngine;
// ReSharper disable SuspiciousTypeConversion.Global
namespace Behc.MiniDi
{
public abstract class SimpleInjectableFactory : IPresenterFactory
{
private readonly GameObject _prefab;
private readonly PresenterMap _presenterMap;
private reado... | 2.23059 | 36d9a0e7557ddf483ad736b2f4f1f2c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6125 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/Client/Indexing/IndexesFromClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6126"
} | starcoder | <reponame>ryanheath/ravendb
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FastTests;
using Raven.Client.Documents.Operations;
using Raven.Client.Documents.Operations.Indexes;
using Raven.Client.Documents.Queries;
using Raven.Client.Documents.Session;
using Raven.... | 2.015411 | e1a99b6eebcb137e46b7f5dce01b6c8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6126 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TestSharp/TestSharpRunner",
"max_stars_repo_path": "src/NUnitConsole/nunit3-console.tests/ColorConsoleTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6127"
} | starcoder | // ***********************************************************************
// Copyright (c) 2014 <NAME>
//
// 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
/... | 2.596751 | 45fa58e8d68ebc9bf447c61d23258180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SystemDot/SystemDotServiceBus",
"max_stars_repo_path": "SystemDotMessaging/Projects/SystemDot.Messaging/Addressing/EndpointAddress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6128"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics.Contracts;
namespace SystemDot.Messaging.Addressing
{
public class EndpointAddress : Equatable<EndpointAddress>
{
public static EndpointAddress Empty { get { return new EndpointAddress(); } }
public string Channel { get; set; }
pu... | 2.817793 | a0f15e9f97e917cb1320d9d2d6571a83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebastianslutzky/NakedObjectsFramework",
"max_stars_repo_path": "Programming Model/NakedObjects.Helpers/util/ReasonBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6129"
} | starcoder | <gh_stars>0
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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.
... | 2.765762 | 57ab4e838b04767e11f76c75a5cc0f06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6129 | {
"extension": "c-sharp",
"max_stars_count": "314.0",
"max_stars_repo_name": "Srpman/InCVisualisation-Demo",
"max_stars_repo_path": "Assets/Scripts/DryWetMidi/Core/Events/Meta/DeviceNameEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6130"
} | starcoder | <gh_stars>100-1000
namespace Melanchall.DryWetMidi.Core
{
/// <summary>
/// Represents a Device Name meta event.
/// </summary>
/// <remarks>
/// This optional event is used to identify the hardware device used to produce
/// sounds for this track.
/// </remarks>
public sealed class Dev... | 2.878359 | 961c13136aa23e952d05339c42f8790d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deadtrickster/LiveLisp",
"max_stars_repo_path": "LiveLisp.Core/BuiltIns/Symbols/SymbolsDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6131"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LiveLisp.Core.Runtime;
using LiveLisp.Core.Compiler;
using LiveLisp.Core.Types;
//using LiveLisp.Core.BuiltIns.Strings;
using LiveLisp.Core.BuiltIns.Environment;
using LiveLisp.Core.BuiltIns.DataAndControlFlow;
usin... | 2.138995 | 3ddd01094240b3a6933098bbb6273bfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kasperpedersen/puppeteer-sharp",
"max_stars_repo_path": "lib/PuppeteerSharp/WaitForSelectorOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6132"
} | starcoder | namespace PuppeteerSharp
{
/// <summary>
/// Optional waiting parameters.
/// </summary>
/// <seealso cref="Page.WaitForSelectorAsync(string, WaitForSelectorOptions)"/>
/// <seealso cref="Frame.WaitForSelectorAsync(string, WaitForSelectorOptions)"/>
public class WaitForSelectorOptions
{
... | 2.915457 | f5b59a1adffb4ea73077435af69ddcab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6132 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/cabinetoffice.gender-pay-gap",
"max_stars_repo_path": "GenderPayGap.WebUI/Views/AddOrganisationChooseSector/ChooseSector.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6133"
} | starcoder | @using GenderPayGap.WebUI.Models.AddOrganisation
@using GovUkDesignSystem
@using GovUkDesignSystem.GovUkDesignSystemComponents
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationChooseSectorViewModel
@{
ViewBag.Title = "What type of employer do you want to add? - Gender pay gap service";
Lay... | 2.206793 | 57ea00fe7a57b5cc425aec3ee24861b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkurdziel/BitHome-Hub-CSharp-V1",
"max_stars_repo_path": "SyNet Controller/DataHelpers/DynamicMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6134"
} | starcoder | <reponame>mkurdziel/BitHome-Hub-CSharp-V1
#region Copyright © 2007 FocusPoint Solutions
// This File is part of the neXus.CORE Project
//
// Copyright © 2007 FocusPoint Solutions
// All rights reserved
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Less... | 2.203061 | 467ddf5007daac4ebccae808d69736e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6134 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KonradCshark/MCFly",
"max_stars_repo_path": "MCFly/Core/FieldTypes/Hidden.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6135"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MCFly.Core.FieldTypes
{
public class Hidden : FieldType
{
public Hidden()
{
HideCaption = true;
SupportsPlaceholder = false;
}
}
} | 1.722459 | 560ce4a4d9f12cd3f391d4f26ad885c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usf-comp494-fall2018/augustr",
"max_stars_repo_path": "EmployeeClasses/EmployeeClasses/Employee.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6136"
} | starcoder | using System;
namespace EmployeeClasses
{
public class Employee
{
/***************************
Constructor
**************************/
public Employee()
{
FirstName = string.Empty;
LastName = string.Empty;
EmployeeCode = string.Empt... | 3.531417 | ecc258ca0792af2e85094ca8f8eeb934 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KurtLinder/DigitalTwinAutoTest",
"max_stars_repo_path": "PlcDigitalTwinAutoTest/Contracts/TestEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6137"
} | starcoder | <reponame>KurtLinder/DigitalTwinAutoTest
namespace Contracts;
public enum TestAnzeige
{
// ReSharper disable UnusedMember.Global
Aktiv,
AufBitmusterWarten,
CompilerErfolgreich,
CompilerError,
Erfolgreich,
Fehler,
ImpulsWarZuKurz,
ImpulsWarZuLang,
Init,
Kommentar,
TestEn... | 0.990393 | 97234542b12d615241ccf3b1595660ca |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.