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 | 89989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "R-Vaccari/bannerlord-banner-kings",
"max_stars_repo_path": "BannerKings/Managers/Decisions/BKRationDecision.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89990"
} | starcoder | using TaleWorlds.CampaignSystem;
using TaleWorlds.Localization;
namespace BannerKings.Managers.Decisions
{
public class BKRationDecision : BannerKingsDecision
{
public BKRationDecision(Settlement settlement, bool enabled) : base(settlement, enabled)
{
}
public override string... | 2.105292 | 33047ab25003cb3a154618ab65e037f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hkproj/karno",
"max_stars_repo_path": "src/Karno/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89991"
} | starcoder | <filename>src/Karno/Utils.cs
using System;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Karno
{
public static class Utils
{
public static string ToMintermMap(this Group group)
{
if (group.Count == 0)
throw new ArgumentException("Group m... | 3.112438 | c8f194086f87600f8d77fda7e5402da4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrno1209/NuGetGallery",
"max_stars_repo_path": "tests/NuGetGallery.Core.Facts/Auditing/AggregateAuditingServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89992"
} | 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.Threading.Tasks;
using Xunit;
namespace NuGetGallery.Auditing
{
pu... | 2.279302 | 1484af4006653cc281e773e01532de1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89992 | {
"extension": "c-sharp",
"max_stars_count": "1650.0",
"max_stars_repo_name": "BRiley01/piranha.core",
"max_stars_repo_path": "core/Piranha.Manager/Areas/Manager/Pages/Partial/Actions/_ContentLangPicker.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89993"
} | starcoder | <reponame>BRiley01/piranha.core
<div v-if="useTranslations" class="dropdown d-inline">
<button class="btn btn-primary btn-labeled dropdown-toggle" type="button" data-toggle="dropdown">
<i class="fas fa-atlas"></i>
{{ currentLanguage.title }}
</button>
<ul class="dropdown-menu">
<li v... | 1.291991 | ce75bbee81dbce54aca0f47132fc3515 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89993 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "appkins/SimpleIdentityServer",
"max_stars_repo_path": "SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.Dtos/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89994"
} | starcoder | <filename>SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.Dtos/Constants.cs
namespace SimpleIdentityServer.Dtos
{
public static class Constants
{
}
}
| 1.073389 | 0b69a6a0cdd405a76bd77b84a3e3268b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89994 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wimpleshapers/CSharpInnoSetup",
"max_stars_repo_path": "CSharpInnoSetup/Converter/BoolToStringConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89995"
} | starcoder | <filename>CSharpInnoSetup/Converter/BoolToStringConverter.cs
namespace CodingMuscles.CSharpInnoSetup.Converter
{
/// <summary>
/// Converts a <see cref="bool"/> type to a yes/no string
/// </summary>
internal class BoolToStringConverter : ToStringConverter<bool>
{
/// <inheritdoc/>
... | 2.971509 | 60e6b8ef54001e3315a550f406ce6826 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ITVenture/ITVComponents",
"max_stars_repo_path": "ITVComponents.InterProcessCommunication.GRpc/Hub/Extensions/IAuthInit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89740"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ITVComponents.Plugins;
namespace ITVComponents.InterProcessCommunication.Grpc.Hub.Extensions
{
public interface IAuthInit
{
/// <summary>
/// Registers an authorization ser... | 1.785123 | 39dceb45f69a689db81d770ff7842480 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YiJingFramework/YiJingFramework.FiveElements",
"max_stars_repo_path": "YiJingFramework.FiveElements/YiJingFramework.FiveElements/FiveElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89741"
} | starcoder | using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace YiJingFramework.FiveElements
{
/// <summary>
/// 五行。
/// An element of the five elements.
/// </summary>
public struct FiveElement : IComparable<FiveElement>, IEquatable<FiveElement>, IFormattable
{
... | 3.342533 | 5723501a255b085ab6dca32915eed0a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spvinod1986/LeetCode",
"max_stars_repo_path": "SortingAndSearching/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89742"
} | starcoder | <reponame>spvinod1986/LeetCode
using System;
namespace SortingAndSearching
{
class Program
{
static void Main(string[] args)
{
var solution = new Solution();
solution.Merge(new int[] { 1, 2, 3, 0, 0, 0 }, 3, new int[] { 2, 5, 6 }, 3);
}
}
c... | 3.496338 | 204d8f78ddf8ad1bf4e213942d08bb76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89742 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elipopovadev/High-Quality-Code-",
"max_stars_repo_path": "DesignPatterns-StructuralPatterns/Adapter/AdapterHomework/Adaptee/EnglishSpeaker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89743"
} | starcoder | namespace AdapterHomework.Adaptee
{
public class EnglishSpeaker : ISpeaker
{
public string AnswerTheQuestion(string words)
{
return words;
}
public string AskQuestion(string words)
{
return words;
}
}
}
| 2.225284 | 5e50fe1a50fc55192d6fbfc829dcdad1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrolickingSport/Identity.Manager",
"max_stars_repo_path": "Identity.Storage/Services/ClaimValueType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89744"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Identity.Storage.Services
{
public enum ClaimValueType
{
String = 0,
Integer = 1,
Boolean = 2,
DateTime = 3
}
}
| 1.698372 | 125a71654af78f23a56e01c71fc8d171 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lanruchi/FastOne",
"max_stars_repo_path": "FastOne.Data/UnitOfWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89745"
} | starcoder | <reponame>Lanruchi/FastOne
using System;
using FastOne.Data.FastOneRepos;
using FastOne.Data.IFastOneRepos;
namespace FastOne.Data
{
public class UnitOfWork : IUnitOfWork
{
readonly DataContext _context;
public IGameRepo Games { get; private set; }
public IPlayerRepo Players { get; pr... | 2.351504 | 445ee52f5b1894273dc812640cbfb234 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89745 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ArneD/command-handling",
"max_stars_repo_path": "test/Be.Vlaanderen.Basisregisters.AggregateSource.Testing.Tests/MockingSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89746"
} | starcoder | <reponame>ArneD/command-handling
namespace Be.Vlaanderen.Basisregisters.AggregateSource.Testing.Tests
{
using Moq;
public class MockingSetup<TMoq> where TMoq : class
{
protected internal Mock<TMoq> Moq { get; set; }
}
} | 1.495134 | 681f67483d7d00a43772a253dbdd40d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "proced/Design-patterns",
"max_stars_repo_path": "Design-pattern/designPatterns/Adapter/DocumentPdf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89747"
} | starcoder | <gh_stars>0
namespace lp73.designPatterns.Adapter
{
public class DocumentPdf : IDocument
{
protected ComposantPdf OutilPdf = new ComposantPdf();
public string Contenu
{
set
{
OutilPdf.PdfFixeContenu(value);
}
}
public ... | 1.923427 | c52d152f7b068c125334c0d8ab6e8cef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MapWindow/MapWinGIS-API-Documentation",
"max_stars_repo_path": "MapWinGIS/Interop.MapWinGIS/Related Pages/Version history.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89748"
} | starcoder | #pragma warning disable 1587
/// \page version_history Version history
///
/// \section apichanges API changes.
/// - New API in version \link newpage52 5.2 \endlink
/// - New API in version \link newpage510 5.1 \endlink
/// - New API in version \link newpage500 5.0 \endlink
/// - New API in version \link newpage... | 1.556875 | 5026b81caf41eabfb765fa2b299de737 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89748 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "xen-42/outer-wilds-new-horizons",
"max_stars_repo_path": "NewHorizons/Builder/Body/WaterBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89749"
} | starcoder | using NewHorizons.Components;
using NewHorizons.Components.SizeControllers;
using NewHorizons.Utility;
using UnityEngine;
using NewHorizons.External.Modules.VariableSize;
using Tessellation;
namespace NewHorizons.Builder.Body
{
public static class WaterBuilder
{
public static void Make(GameObject plan... | 1.793956 | 020aae04ebd7898d48ab030aeef8a4b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CNinnovation/TechConference2016",
"max_stars_repo_path": "VisualStudio2015/MVCSampleApp/src/MVCSampleApp/Views/HtmlHelpers/CustomHelper.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89750"
} | starcoder | @helper DisplayDay(DateTime day)
{
if (day < DateTime.Today)
{
<span>History day</span>
}
@$"{day:d}";
}
@Html.DisplayFor(m => m.Text)
@Html.DisplayTextFor(m => m.Price)
@Html.TextBoxFor(m => m.Text)
@DisplayDay(Model.Date)
| 2.453579 | 5282ae1a21943f8746277609a8d1363c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Squall1607/Quizkingz",
"max_stars_repo_path": "Assets/Scripts/Module/QK02/QK02A2_2_SignInComplete_Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89751"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class QK02A2_2_SignInComplete_Controller : BasePageController {
public InputField newName;
public GameObject ErrorPopup;
public Text lblContent;
public GameObject btnContinue;
public CameraController blur;
public GameObject QK02_WelcomeB... | 1.55441 | 2b352fd933fcd64c359b1ad8140e9890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leppie/IronScheme.Editor",
"max_stars_repo_path": "IronScheme.Editor/Collections/ObjectTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89752"
} | starcoder | <reponame>leppie/IronScheme.Editor
#region License
/* Copyright (c) 2003-2015 <NAME>
* All rights reserved.
* This source code is subject to terms and conditions of the BSD License.
* See license.txt. */
#endregion
using System;
using System.Collections;
namespace IronScheme.Editor.Collections
{
/// <summary>
/... | 2.418016 | bb635ad92fb9cb3440bcdeb0fdbf2d72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89752 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "yinyue200/PropertyChanged.SourceGenerator",
"max_stars_repo_path": "src/PropertyChanged.SourceGenerator/Analysis/Analyser_AlsoNotify.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89753"
} | starcoder | <reponame>yinyue200/PropertyChanged.SourceGenerator<filename>src/PropertyChanged.SourceGenerator/Analysis/Analyser_AlsoNotify.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
namespace PropertyChanged.SourceGenerator.Analysis
{
public p... | 2.27569 | 50493421edf611c3c5d1310a74910ff6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimatas/Developist.Core.Persistence",
"max_stars_repo_path": "Developist.Core.Persistence/Entities/IncludePathCollection`1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89754"
} | starcoder | <reponame>jimatas/Developist.Core.Persistence
// Copyright (c) 2021 <NAME>. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for details.
using Developist.Core.Utilities;
using System.Collections;
using System.Collections.Generic;
namespace Developist.Core.Persistence.Enti... | 2.33644 | 440ed8731452e28b40cb0ce8e6505a92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PetarTomasevic/BlazorLjetnaSkola",
"max_stars_repo_path": "SchoolApplikacija/SchoolApplikacija/Models/Mappings/StudentMappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89755"
} | starcoder | <filename>SchoolApplikacija/SchoolApplikacija/Models/Mappings/StudentMappingProfile.cs<gh_stars>0
using AutoMapper;
using SharedModels;
namespace SchoolApplikacija.Models.Mappings
{
public class StudentMappingProfile : Profile
{
public StudentMappingProfile()
{
CreateMap<Student, S... | 2.262281 | f952b7ed115adb6b46d6413ac0df584c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tuleky/BratGame",
"max_stars_repo_path": "Assets/Scripts/PlayerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89756"
} | starcoder | <reponame>tuleky/BratGame
using System;
using UnityEngine;
using Random = UnityEngine.Random;
public class PlayerController : MonoBehaviour
{
public static PlayerController Instance;
Action _playerTakeDamage;
[SerializeField] PlayerConfigurationSO _playerConfigurationSO;
[SerializeField] Transform[] _carPositio... | 2.166184 | bbbf7782a6e83772bcfea2fe1a5bf730 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aleksandr-Naumov/DotNext-Moscow-2020",
"max_stars_repo_path": "HightechAngular.Shop/Features/MyOrders/CompleteOrder/CompleteOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89757"
} | starcoder | <gh_stars>0
using HightechAngular.Core.Base;
namespace HightechAngular.Shop.Features.MyOrders
{
public class CompleteOrder : ChangeStateOrderBase
{
}
} | 0.754003 | 20cfc821a0331ee99fb6598b2c5126a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rjrunner44/streamr-dotnet-sdk",
"max_stars_repo_path": "csharp-client/src/IO.Swagger.Test/Api/PermissionsApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89758"
} | starcoder | <reponame>Rjrunner44/streamr-dotnet-sdk
/*
* Streamr API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.IO;
using Syste... | 1.691823 | 192a84f3fd07574be4f628f18186f602 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89758 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alessandro-avila/copy-planner-microsoft-teams-application",
"max_stars_repo_path": "TeamsApp/TeamsApp.WPF/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89759"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using TeamsAppLib.Api;
using TeamsAppLib.Factory;
using TeamsAppLib.Helpers;
using TeamsAppLib.Log;
using TeamsAppLib.Models;
using Team... | 2.054903 | c74e7f368a24aa1e7c2cda26245b4d6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hpscodemaverick/GsCoreApi",
"max_stars_repo_path": "GsCoreApi/GsCore.Database/Repository/Implementation/AlbumRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89760"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading.Tasks;
//using GsCore.Database.Entities;
//using GsCore.Database.Repository.Interfaces;
//using Microsoft.EntityFrameworkCore;
//namespace GsCore.Database.Repository.Implementation
//{
// public class AlbumRepository:... | 2.478957 | 01a2e47d047310871da4ea5c749345db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89760 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RapidField/solid-instruments",
"max_stars_repo_path": "test/RapidField.SolidInstruments.Messaging.InMemory.UnitTests/Models/CustomerOrder/IValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89761"
} | starcoder | <reponame>RapidField/solid-instruments
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// ==================... | 1.723977 | ec7d88d5244954c1389083387f1d166b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89761 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nerdymishka/dotnet",
"max_stars_repo_path": "src/Data.Abstractions/src/ISqlDialect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89762"
} | starcoder | <gh_stars>1-10
using System;
using System.Data;
using NerdyMishka.Text;
namespace NerdyMishka.Data
{
/// <summary>
/// A contract that represents a SQL dialect such as T-SQL.
/// </summary>
public interface ISqlDialect
{
/// <summary>
/// Gets the name of the dialect.
/// </... | 2.631627 | 87320b852da7b28d0d6b77fd7afc7072 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89762 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kescherCode/Lines-and-fills",
"max_stars_repo_path": "FloodFill_Scanfill/FloodFill_Scanfill/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89763"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FloodFill_Scanfill
{
public partial class Form1 : Form
{
publ... | 3.138439 | f7c227d656cc47675baedd65620fbe85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mstanford/water",
"max_stars_repo_path": "source/Bamboo.Parsing/FiniteAutomata/FiniteAutomaton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89764"
} | starcoder | <filename>source/Bamboo.Parsing/FiniteAutomata/FiniteAutomaton.cs
// ------------------------------------------------------------------------------
//
// Copyright (c) 2008 Swampware, Inc.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated docume... | 2.479937 | 0a8a4f685819ef79ecff835d5852759a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89764 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MaxKsyunz/opensearch-net",
"max_stars_repo_path": "src/OpenSearch.Net/Api/RequestParameters/IRequestParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89765"
} | starcoder | /* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... | 1.914116 | 600ac871d2bbb3bc7cfee4968e761bfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamiff/spring-net-rest",
"max_stars_repo_path": "netstandard/Spring.Rest.Tests/Rest/Client/RestTemplateTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89766"
} | starcoder | #region License
/*
* Copyright 2002-2012 the original author or authors.
*
* 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
*
* Unl... | 1.715406 | 23854ab0ab0cd4f2f5efcb1a99b1665d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89766 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "src/Infrastructure/AspNetCore/BaseApiClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89767"
} | starcoder | using Atomiv.Core.Common.Http;
namespace Atomiv.Infrastructure.AspNetCore
{
public class BaseApiClient
{
public BaseApiClient(IControllerClientFactory clientFactory)
{
ClientFactory = clientFactory;
}
public IControllerClientFactory ClientFactory { get; private set... | 1.768612 | 7a1691e1ba14677fbef2d4cea66784e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TTeig/Compopulate",
"max_stars_repo_path": "Editor/OnPlay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89768"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace Compopulate
{
public class OnPlay
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void OnBeforeSceneLoadRuntimeMethod()
{
SettingsObject settings = SettingsHandler.Load();
... | 2.08968 | 940a978623de30f4744cf9d9edffd5d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FoxDieSolid/Mantle",
"max_stars_repo_path": "v1/Mantle/Mantle.Configuration.Tests/BaseConfigurerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89769"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using Mantle.Configuration.Tests.Configurers;
using Mantle.Configuration.Tests.Targets;
using NUnit.Framework;
namespace Mantle.Configuration.Tests
{
[TestFixture]
public class BaseConfigurerTests
{
[Test]
public v... | 2.30961 | bd01c807b0f603931df31fdd9a55ccfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89769 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "M4rbleL1ne/Drizzle",
"max_stars_repo_path": "Drizzle.Lingo.Runtime/LingoImage.Silhouette.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89770"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using Serilog;
namespace Drizzle.Lingo.Runtime;
public sealed partial class LingoImage
{
public LingoImage makesilhouette(LingoNumber invertedI)
{
if (Depth != 32 && Depth != 1)
... | 2.39134 | 1c27cb965a2ccb2e851a99c851f8c9c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89770 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "menqgingyu/Traffic-monitoring--C-sharp",
"max_stars_repo_path": "FlowMonitor/res/control/ProgressBar.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89771"
} | starcoder | <filename>FlowMonitor/res/control/ProgressBar.xaml.cs
using onewater.flowmonitor.common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
usin... | 2.079044 | d72a9414cd4515cec578126d6fbf439a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cummingsi1993/Re.Base",
"max_stars_repo_path": "Re.Base/Queryables/Data/DataQueryable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89772"
} | starcoder | using Re.Base.Data;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Re.Base.Queryables.Data
{
public class DataQueryable<TModel> : IQueryable<TModel>, IQueryable, IEnumerable<TModel>, IEnumerable, IOrderedQuer... | 2.60547 | c0da7642015d3b73cf637148bee0b857 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89772 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "kalintsenkov/MyTested.AspNetCore.Mvc",
"max_stars_repo_path": "src/MyTested.AspNetCore.Mvc.Controllers/Builders/Actions/ShouldReturn/ShouldReturnActionResultTestBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89773"
} | starcoder | namespace MyTested.AspNetCore.Mvc.Builders.Actions.ShouldReturn
{
using System;
using System.Threading.Tasks;
using ActionResults.ActionResult;
using And;
using Contracts.ActionResults.ActionResult;
using Contracts.Actions;
using Contracts.And;
using Internal.TestContexts;
using Mic... | 2.319127 | 14720c921dce917028d437f356c0e1a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89773 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cenfotec/SoftwareEngineering-Project-2",
"max_stars_repo_path": "Projects/staynchill/WebApp/Views/Shared/_Main.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89774"
} | starcoder | @using WebApp.Models.ViewModels;
@{
var user = Session["user"] as UserViewModel;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="description" content="Updates and statistics">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>@ViewB... | 1.351186 | f2388de79e00de189a46d918a838f078 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IanAWP/MRRCesiumTiler",
"max_stars_repo_path": "DecomposeTile/TileGenerator.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89775"
} | starcoder | using MapInfo.RasterEngine.IO;
using Microsoft.Win32;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using TileGen.Generators;
namespace TileGen
{
/// <summary>
/// Interaction logic fo... | 2.40164 | f1cdeab1191e6a8a5a69609eaca90cf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89775 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SungJJinKang/Unity_Scratch_System",
"max_stars_repo_path": "Assets/02.Scripts/Block/BooleanBlock/Operators/BinaryComparisonBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89776"
} | starcoder | <filename>Assets/02.Scripts/Block/BooleanBlock/Operators/BinaryComparisonBlock.cs
public abstract class BinaryComparisonBlock : BooleanBlock, IOperatorBlockType
{
} | 1.240328 | dbf1e9058fd3f4b4b527111547825353 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89776 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ssssyin/silverlightfx",
"max_stars_repo_path": "src/Client/Core/Data/VisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89777"
} | starcoder | <filename>src/Client/Core/Data/VisibilityConverter.cs
// VisibilityConverter.cs
// Copyright (c) <NAME>, 2008. All Rights Reserved.
// http://www.nikhilk.net
//
// Silverlight.FX is an application framework for building RIAs with Silverlight.
// This project is licensed under the BSD license. See the accompanying Lice... | 2.943504 | cffade451904f25ac505e963b86e1b30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89777 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smirnov-coder/startup-creative-agency-razor-pages",
"max_stars_repo_path": "tests/Web.RazorPages.Tests.Unit/PageModels/TestViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89778"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace StartupCreativeAgency.Web.RazorPages.Tests.Unit.PageModels
{
class TestViewModel
{
public int Id { get; set; }
public TestViewModel() { }
public TestViewModel(int id) => Id = id;
}
}
| 1.720532 | 56791e169f87be95814daf0fb5d0086f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89778 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "wwarby/TraktSharp",
"max_stars_repo_path": "TraktSharp.Examples.Wpf/NativeMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89779"
} | starcoder | <gh_stars>10-100
using System;
using System.Linq;
using System.Runtime.InteropServices;
namespace TraktSharp.Examples.Wpf {
internal static class NativeMethods {
[DllImport("urlmon.dll")]
[PreserveSig]
[return: MarshalAs(UnmanagedType.Error)]
private static extern int CoInternetSetFeatureEnabled(int featur... | 2.062884 | a42ad74e3479143f519313b6a14143d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beatthat/binding-behaviours",
"max_stars_repo_path": "Runtime/binding-behaviours/Utils/ValueHolderBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89780"
} | starcoder | using System;
using BeatThat.Pools;
using BeatThat.Properties;
using BeatThat.SafeRefs;
namespace BeatThat.Bindings
{
/// <summary>
/// Binds a (reference) value to a IHasValue<T> so that on Unbind, can clear the value from the value holder.
/// This is useful for say, a controller whose view has a HasText... | 3.014617 | 14043b78c0ce9144f9368845263abc85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scorpaust/The-Adventurer-of-Titania",
"max_stars_repo_path": "Assets/Scripts/UI/DoorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89781"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DoorController : MonoBehaviour
{
[SerializeField]
private Animator doorAnim;
private AudioSource openGateSFX;
private bool opened = false;
private void Awake()
{
openGateSFX = GetComponent<AudioS... | 1.760897 | e8290d429f1c366ffa9c0b51d0ee8550 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89781 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "krystalleon/my-academic-pyramid",
"max_stars_repo_path": "BackEnd/KFC.SIT.SecurityLayer/Authorization/SecurityContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89782"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessLayer;
using Newtonsoft.Json;
using SecurityLayer.Sessions;
namespace SecurityLayer.Authorization
{
public class SecurityContext
{
public int UserId { get; set; }
... | 2.726276 | 72e74152bcd5c970f99338f2f8b337cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89782 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MikeLimaSierra/Nuclear.Test.Apps",
"max_stars_repo_path": "src/Nuclear.Test.Console/AssemblyLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89783"
} | starcoder | <reponame>MikeLimaSierra/Nuclear.Test.Apps
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using log4net;
using Nuclear.Extensions;
namespace Nuclear.Test.Console {
internal class AssemblyLocator {
#region fields
private static reado... | 2.50517 | 98022506b2f54071e03b58bda80637c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89783 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "PacktPublishing/Unity-2018-Cookbook-Second-Edition",
"max_stars_repo_path": "Chapter15_editorExtensions/15_04_create_gameObject/_Scripts/Editor/ObjectManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89784"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace _Scripts.Editor
{
public class ObjectManager : EditorWindow
{
// [MenuItem("GameObject/MyObjectManager/Create New Empty Game Object", false, 10)]
[MenuItem("GameObject/MyObjectManager/Create New Empty Game Object")]
static void CreateCusto... | 2.418314 | fc1abc24f0457750928ca1b095d6cfd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KeenSoftwareHouse/Unreal.Net",
"max_stars_repo_path": "DotNetPlugin/Plugins/DotNet/Source/ThirdParty/DotnetInUE/Unreal.HeaderTool/NativeMetadata/UEMeta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89785"
} | starcoder | // Copyright (c) 2021 <NAME>
// Licensed under the MIT license.
namespace Unreal.NativeMetadata
{
public class UEMeta
{
public string Name { get; set; } = "";
public UETypeKind Kind { get; set; }
}
} | 1.219759 | df6c71c2487bde39a90527f24ce44294 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Psmaryan/ShuftiPro.Net",
"max_stars_repo_path": "src/ShuftiPro/Contracts/Abstractions/IShuftiProDocument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89786"
} | starcoder | <filename>src/ShuftiPro/Contracts/Abstractions/IShuftiProDocument.cs
using Newtonsoft.Json;
using ShuftiPro.Converters;
namespace ShuftiPro.Contracts.Abstractions
{
interface IShuftiProDocument : IShuftiProDocumentProof, IShuftiProDocumentBase
{
[JsonProperty("name", NullValueHandling = NullValueHandl... | 1.961299 | d92b23606b2eef365b1a058dd2374c6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89786 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "Drizin/codegencs",
"max_stars_repo_path": "src/CodegenCS/Extensions/CodegenTextWriterExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89787"
} | starcoder | <reponame>Drizin/codegencs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
namespace CodegenCS.Extensions
{
/// <summary>
/// One of the major features of CodegenTextWriter is that it allows to write FormattableStrings (interpolated ... | 3.073482 | dee42c895825f3f660d5afb7fae9db77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "waliarubal/Covid19",
"max_stars_repo_path": "Covid19/Controls/HeaderBar.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89788"
} | starcoder | <gh_stars>1-10
using Covid19.Services;
using Covid19.Shared;
using Covid19.Shared.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Covid19.Controls
{
[X... | 2.23414 | bbac04917dec0e8f87536653196b66cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seamuswin/FretboardTrainer",
"max_stars_repo_path": "Fretboard Trainer/Fretboard Trainer/Views/TimerPracPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89789"
} | starcoder | <filename>Fretboard Trainer/Fretboard Trainer/Views/TimerPracPage.xaml.cs
using Fretboard_Trainer.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Fretboard_Trai... | 2.70381 | 38eda162a3752d8ce22385577848b658 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xajler/instantcoach-api",
"max_stars_repo_path": "src/domain/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89790"
} | starcoder | <filename>src/domain/Constants.cs<gh_stars>0
namespace Domain
{
public static class Constants
{
public static class Validation
{
public const string RequiredMsg = "Requires a value.";
public const string GreaterThanZeroMsg = "Should be greater than 0.";
public... | 2.437718 | 247643eb4a4784d7214d37b439844f00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckpearson/Distrib",
"max_stars_repo_path": "Distrib/Distrib/Plugins/StandardPluginInteractionLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89791"
} | starcoder | /*
This software known as 'Distrib' is under the GNU GPL v2. License
This license can be found at: http://www.gnu.org/licenses/gpl-2.0.html
Unless this software has been made available to you under the terms of an alternative license by
<NAME>, your use of this software is dependent upon compliance with the... | 2.212459 | eff4939b1170958461f8fbda8f489363 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89791 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pranavnegandhi/Clarity",
"max_stars_repo_path": "Web/HttpContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89792"
} | starcoder | <gh_stars>1-10
using System;
namespace Clarity.Web
{
/// <summary>
/// Encapsulates all HTTP-communication related context required by
/// the server to process a request. A reference of this instance
/// is passed to the <code>IHttpModule</code> and <code>IHttpServer</code>
/// instances at the ti... | 2.381451 | 5833fc85d444f87a1c7a908e29a66e7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BUTR/BUTR.Authentication.NexusMods",
"max_stars_repo_path": "src/BUTR.Authentication.NexusMods/Options/TokenGeneratorOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89793"
} | starcoder | <filename>src/BUTR.Authentication.NexusMods/Options/TokenGeneratorOptions.cs
namespace BUTR.Authentication.NexusMods.Options
{
public sealed class TokenGeneratorOptions
{
public string EncryptionKey { get; set; } = default!;
}
} | 1.326101 | c356e6afc072c4f0008be2bdc623a267 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Turinqui/FilterPolishZ",
"max_stars_repo_path": "FilterPolishZ/Economy/RuleSet/UniqueRulesFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89794"
} | starcoder | <reponame>Turinqui/FilterPolishZ
using FilterEconomy.Processor;
using FilterPolishUtil.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FilterPolishZ.Economy.RuleSet
{
public static class UniqueRulesFactory
{
publi... | 1.975757 | 2a4733cb7f6558da82331f304824648f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89794 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "WildGums/Orc.CrashReporting",
"max_stars_repo_path": "src/Orc.CrashReporting.Xaml/Orc.CrashReporting.Xaml.Shared/ViewModels/CrashReportProvidersViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89795"
} | starcoder | <reponame>WildGums/Orc.CrashReporting<gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CrashReportProvidersViewModel.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copy... | 1.721335 | 6fc4ff01ebb35592846a02d05926f753 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89795 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "martinsstuff/DS4Windows",
"max_stars_repo_path": "DS4Windows/DS4Forms/OutputSlotManagerControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89796"
} | starcoder | using System;
using System.Windows;
using System.Windows.Controls;
using DS4Windows;
using DS4Windows.Shared.Common.Types;
using DS4Windows.Shared.Emulator.ViGEmGen1.Types.Legacy;
using DS4WinWPF.DS4Forms.ViewModels;
namespace DS4WinWPF.DS4Forms
{
/// <summary>
/// Interaction logic for OutputSlotManager.... | 1.856839 | 6cbb24003518a104774149515b5867ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArkadiNovikov/Darth-Matango",
"max_stars_repo_path": "Darth Matango/Darth Matango/Models/SaveDataModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89797"
} | starcoder | <reponame>ArkadiNovikov/Darth-Matango<filename>Darth Matango/Darth Matango/Models/SaveDataModel.cs
using PropertyChanged;
using SD3IO;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Text;
using System.Linq;
namespace DarthMatango.Models
... | 2.500441 | 19c5007cf2f4c34405156dc5c877f777 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrSim17/LaserCutterTools",
"max_stars_repo_path": "Common/MachineSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89798"
} | starcoder | <reponame>MrSim17/LaserCutterTools
namespace LaserCutterTools.Common
{
public sealed class MachineSettings : IMachineSettings
{
public decimal MaxX
{
get;
set;
}
public decimal MaxY
{
get;
set;
}
public de... | 1.660283 | be16831b0fb4b19b163ccb0f7772e1e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89798 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "frs535/LitleW",
"max_stars_repo_path": "LitleW/Views/Templates/FieldTemplate.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89799"
} | starcoder | using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace LitleW.Views.Templates
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class FieldTemplate : ContentView
{
public static readonly BindableProperty LabelProperty = BindablePro... | 2.850183 | 4c606cc0b58a6f4930aae1a91423294f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89799 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "enue/Unity_TSKT_UI",
"max_stars_repo_path": "Assets/Package/Runtime/HyphenationJpn/HyphenationJpn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89800"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.EventSystems;
#nullable enable
namespace TSKT
{
[RequireComponent(typeof(Text))]
[ExecuteInEditMode]
public class HyphenationJpn : UIBehaviour
{
// http://answers.unity3d.com/... | 2.276941 | e0e2768d623098b1ca692f966952ac5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89800 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wolkesson/SampleCrunch",
"max_stars_repo_path": "Sample Crunch/Model/MarkerModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89801"
} | starcoder | <reponame>wolkesson/SampleCrunch
namespace Sample_Crunch.Model
{
using PluginFramework;
using System;
using System.Runtime.Serialization;
[DataContract(IsReference = true)]
public class MarkerModel : IMarkerModel
{
[DataMember]
public string Title { get; set; }
... | 1.814063 | 1f6a41a0c591b898249c8fb0311efa81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsantoss/Form-Webcam.js",
"max_stars_repo_path": "FormWebcamJs/FormWebcamJs.Infra.Data/Repositories/PessoaRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89802"
} | starcoder | <reponame>lsantoss/Form-Webcam.js<filename>FormWebcamJs/FormWebcamJs.Infra.Data/Repositories/PessoaRepository.cs
using Dapper;
using FormWebcamJs.Domain.Interfaces.Repositories;
using FormWebcamJs.Domain.Models.Pessoa;
using FormWebcamJs.Infra.Data.Repositories.Queries;
using FormWebcamJs.Infra.Settings;
using System.... | 2.382527 | aa10e233c2df31412daf2d4d2d09a148 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sanmuru/luna",
"max_stars_repo_path": "src/Compilers/Core/Shared/SamLu.CodeAnalysis.Shared/Symbols/Symbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89803"
} | starcoder | <filename>src/Compilers/Core/Shared/SamLu.CodeAnalysis.Shared/Symbols/Symbol.cs
using System.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Symbols;
namespace SamLu.CodeAnalysis.
#if LANG_LUA
Lua
#elif LANG_MOONSCRIPT
MoonScript
#endif
;
[DebuggerDisplay("{GetDebuggerDisplay(), n... | 1.501937 | 4b7a56744af3008329092b812c19ae3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89803 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "inga-lovinde/RadeonResetBugFixService",
"max_stars_repo_path": "RadeonResetBugFixService/EnvironmentHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89804"
} | starcoder | namespace RadeonResetBugFixService
{
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Principal;
static class EnvironmentHelper
{
private static class NativeMethods
{
[DllImport("kernel32.dll")]
public st... | 2.392059 | ef392fe645c1f97d6e2553facd5cd747 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cwmill3r/foxhole",
"max_stars_repo_path": "foxhole/Question.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89805"
} | starcoder | <reponame>cwmill3r/foxhole
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace foxhole
{
public class Question
{
// just a container for info related to account
public int questionId;
public int creatorId;
public string questionText;
... | 1.535978 | f5fb5a1f6cde64a0de634667ba812847 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89805 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "dotnetfan/FluentSpotifyApi",
"max_stars_repo_path": "src/FluentSpotifyApi/Model/Audio/TimeInterval.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89806"
} | starcoder | using System.Text.Json.Serialization;
using FluentSpotifyApi.Core.Model;
namespace FluentSpotifyApi.Model.Audio
{
/// <summary>
/// The time interval.
/// </summary>
public class TimeInterval : JsonObject
{
/// <summary>
/// The start.
/// </summary>
[JsonPropertyNa... | 2.294426 | 49eb692919d91c34ec53cdc8882665e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89806 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "DesignEngrLab/OOOT",
"max_stars_repo_path": "OptimizationToolbox/Convergence Classes/abstractConvergenceClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89807"
} | starcoder | // ***********************************************************************
// Assembly : OptimizationToolbox
// Author : campmatt
// Created : 01-28-2021
//
// Last Modified By : campmatt
// Last Modified On : 01-28-2021
// ********************************************************************... | 2.447044 | 7cbc8e349e0012b71da9a8d3a3f8ce99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andsin811/TMS-DotNet-Siniauski",
"max_stars_repo_path": "src/TeachMeSkills.Siniauski.Homework5/Enums/AnimalClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89808"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TeachMeSkills.Siniauski.Homework5.Enums
{
public enum AnimalClass
{
Fish,
Amphibian,
Bird,
Reptile,
Mammal
}
}
| 1.891488 | 6c35d01b707ef6e49543f0d573fc1685 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ryogo-Z/gPadX",
"max_stars_repo_path": "WPF/RelayCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89809"
} | starcoder | using System;
using System.Diagnostics;
using System.Windows.Input;
namespace gPadX.WPF {
public class RelayCommand<T> : ICommand {
#region Fields
readonly Action<T> _execute = null;
readonly Predicate<T> _canExecute = null;
#endregion // Fields
#region Cons... | 2.989961 | 7ac616dff92465914af0558d76076ed4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "calico-crusade/siege-tournament-tracker",
"max_stars_repo_path": "SiegeTournamentTracker.Api/MatchStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89810"
} | starcoder | <filename>SiegeTournamentTracker.Api/MatchStatus.cs<gh_stars>0
namespace SiegeTournamentTracker.Api
{
/// <summary>
/// The server's best determination of the matches status
/// </summary>
public enum MatchStatus
{
/// <summary>
/// Unable to determine the matches status
///... | 2.933595 | 2306f60fb585ed44d16371b282a9f273 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89810 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "alas/s2geometry",
"max_stars_repo_path": "S2GeometryTests/S2ClosestCellQueryBaseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89811"
} | starcoder | <reponame>alas/s2geometry
using Xunit;
using static S2Geometry.S2TextFormat;
// This is a proof-of-concept prototype of a possible S2FurthestCellQuery
// class. The purpose of this test is just to make sure that the code
// compiles and does something reasonable.
using FurthestCellQuery = S2Geometry.S2ClosestCellQuer... | 2.491194 | 6bc02f23203583b742810724a773d760 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kostanikolov/SoftUni",
"max_stars_repo_path": "Projects/ProgrammingFundamentalsWithCSharp/03. Types-and-variables-Exercise/Integer-to-hex-and-binary/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89812"
} | starcoder | using System;
namespace Integer_to_hex_and_binary
{
class Program
{
static void Main(string[] args)
{
int decimalNum = int.Parse(Console.ReadLine());
string hexNum = Convert.ToString(decimalNum, 16).ToUpper();
string binaryNum = Convert.ToString(decimalNum,... | 3.543291 | db107b2d56ffb914424eb198b6ef0fe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89812 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "kunal2494/ASP.NET-Core-1.0-High-Performance",
"max_stars_repo_path": "Chapter 6/Hashing/Hashing/src/Hashing/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89813"
} | starcoder | <filename>Chapter 6/Hashing/Hashing/src/Hashing/Program.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
namespace Hashing
{
public class Program
{
private const int runs = 100000;
private const ... | 3.481099 | 1600c8ee50b816f1cdad51c4db94c9da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Junior007/MiTiendaMicroservices",
"max_stars_repo_path": "src/infra/infra.eventbus/bus/RabbitMQBus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89814"
} | starcoder | <filename>src/infra/infra.eventbus/bus/RabbitMQBus.cs
//using infra.eventbus.commands;
using infra.eventbus.events;
using infra.eventbus.interfaces;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Coll... | 2.371899 | 47bcf83670276fd009c1d27f7dd82536 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chances/surf",
"max_stars_repo_path": "xavierHTML/Layout/Rectangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89815"
} | starcoder | namespace xavierHTML.Layout
{
public struct Rectangle
{
public Rectangle(float width, float height) : this(0, 0, width, height) {}
public Rectangle(float x, float y, float width, float height)
{
X = x;
Y = y;
Width = width;
Height = height... | 3.271575 | 71921104fe77e235997ebb0ddecd8a14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89815 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "tragiclos/realtime-signalr",
"max_stars_repo_path": "src/Jarvis/Jarvis/Models/TwilioData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89816"
} | starcoder | <reponame>tragiclos/realtime-signalr
using System;
namespace Jarvis.Models
{
// Represents the payload from the Twilio request
public class TwilioData
{
public DateTime ApiVersion { get; set; }
public string FromCountry { get; set; }
public string ToCity { get; set; }
publi... | 1.36195 | b7877f5e988491d822ffd704bfcbeaa7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ReyStar/Orange.BetweenAirportsDistanceCalculator",
"max_stars_repo_path": "src/Orange.AirportToAirportDistanceCalculator.Domain/Services/HaversineGeoCalculatorService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89817"
} | starcoder | <reponame>ReyStar/Orange.BetweenAirportsDistanceCalculator
using System;
using Orange.AirportToAirportDistanceCalculator.Domain.Extensions;
using Orange.AirportToAirportDistanceCalculator.Domain.Interfaces;
using Orange.AirportToAirportDistanceCalculator.Domain.Models;
namespace Orange.AirportToAirportDistanceCalcula... | 3.005543 | ee510fc0934c4a91ca670d3aac1e7f9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "g-adolph/FluentQuery",
"max_stars_repo_path": "FluentQuery.Core/Commands/Model/FluentQueryJoinItemModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89818"
} | starcoder | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FluentQueryJoinItemModel.cs" company="">
//
// </copyright>
// <summary>
// The fluent query join item model.
// </summary>
// -----------------------------------... | 1.840498 | ab590915d7f47d2534b31ed77b4d6bc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89818 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "ikorin24/Elffy",
"max_stars_repo_path": "src/Elffy.Engine/UI/LayoutThickness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89819"
} | starcoder | #nullable enable
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace Elffy.UI
{
[DebuggerDisplay("{DebugDisplay}")]
[StructLayout(LayoutKind.Explicit)]
public struct LayoutThickness : IEquatable<LayoutThickness>
{
[FieldOffset(0)]
public float Left;
... | 2.797814 | d458a86b2a92b51fbb817573c76da839 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CharlesCarley/Cloud",
"max_stars_repo_path": "Sample/BookStore/BookStore.FrontEnd/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89820"
} | starcoder | <filename>Sample/BookStore/BookStore.FrontEnd/Views/Home/Index.cshtml
@{
ViewData["Title"] = "Home Page";
}
<div>
<h1 class="grey-fg-11 special-header">The Book Store</h1>
<p class="text-dark mt-2 indent-paragraph">
The book store is a test front end web application for the <a href="https://github.... | 2.437406 | 870ddd2044f5c695e0375666b7028ced |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89820 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mgrman/TycoonTerrain",
"max_stars_repo_path": "Assets/Votyra/Core.Editor/Tests/ScheduledSubjectTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89821"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using UniRx;
using Votyra.Core.Models;
namespace Votyra.Core
{
[TestFixture]
public class ScheduledSubjectTest
{
[Test]
public void ScheduledSubject_Ci... | 2.61906 | b739898d59e5e15fcf2c247ce6741aac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89821 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jraypdx/CSharpHelpers",
"max_stars_repo_path": "MVVM/ViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89822"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
namespace MyProgram
{
/*
* Important note: Viewmodel has to be set on the View (via DataContext) for bindings to work. This can be done in several different ways,... | 3.238314 | eaf68cd86639a8a157fe8c77feea465e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89822 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "sceelix/Sceelix",
"max_stars_repo_path": "Source/Sceelix.Surfaces/Data/FloatLayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89823"
} | starcoder | <filename>Source/Sceelix.Surfaces/Data/FloatLayer.cs
using Sceelix.Helpers;
using Sceelix.Mathematics.Data;
namespace Sceelix.Surfaces.Data
{
public abstract class FloatLayer : GenericSurfaceLayer<float>
{
protected float _min, _max;
protected FloatLayer(float[,] values) : base(values)
... | 3.045906 | 17443c699b5821fd9212d52230e16c28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89823 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "runceel/chino",
"max_stars_repo_path": "Sample.Common/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89824"
} | starcoder | using System;
namespace Sample.Common
{
public static class Constants
{
public const string TEKS_DIR = "temporary_exposure_keys";
public const string EXPOSURE_DETECTION_DIR = "exposure_detection";
public const string CONFIGURATION_DIR = "config";
public const string EXPOSURE_CO... | 1.479014 | c93aea7726f7649e12691a283f39dfba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89824 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Team-on/works",
"max_stars_repo_path": "0_homeworks/C#/TAO Framework/1/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89825"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Tao.FreeGlut;
using Tao.OpenGl;
using Tao.Platform.Windows;
namespace TaoTest {
p... | 2.02276 | 7878dc3c1a88279e77e906a67811d3b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pubnative/pubnative-unity-sdk",
"max_stars_repo_path": "Unity/Assets/Scripts/HyBidAdView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89826"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public abstract class HyBidAdView : MonoBehaviour
{
public string appToken;
public string placement;
protected string adID = "";
protected IAdViewListener adViewListener;
public IAdViewListen... | 2.077592 | 3fb598daafade200e4feeff61f43d75c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89826 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "openchargemap/ocm-system",
"max_stars_repo_path": "Import/OCM.Import.Common/Providers/ImportProvider_Bundesnetzagentur.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89827"
} | starcoder | using Newtonsoft.Json.Linq;
using OCM.API.Common.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OCM.Import.Providers
{
public class ImportProvider_Bundesnetzagentur : BaseImportProvider, IImportProvider
{
public ImportProvider_Bundesnetzagentur()... | 1.977898 | 3a515fe1e839bd9adef74a6955b80acf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89827 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "DonnYep/CosmosFramework",
"max_stars_repo_path": "Assets/CosmosFramework/Runtime/Modules/Network/SUDP/SUDP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89828"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.IO;
namespace SUDP
{
/********************************************************************************
Secured UDP Transfer Class -- UDP安全传输类
... | 2.7361 | 6a10de9c3d96da07e6ed14ccedc34389 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89828 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wellcomecollection/iiif-builder",
"max_stars_repo_path": "src/Wellcome.Dds/Wellcome.Dds.AssetDomainRepositories/Mets/MetsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89829"
} | starcoder | <filename>src/Wellcome.Dds/Wellcome.Dds.AssetDomainRepositories/Mets/MetsRepository.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Runtime.Internal.Util;
using Microsoft.Extensions.Logging;
using Utils;
using Well... | 2.252341 | d88b704c09f1cb67fa8b7b87c918dea6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpiatkowski/NOptional",
"max_stars_repo_path": "src/NOptional.Tests/ObjectConstruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89830"
} | starcoder | using System;
using Xunit;
namespace NOptional.Tests
{
public class ObjectConstruction
{
private const string TestValue = "Hello world";
[Fact]
public void EmptyFactoryReturnedNone()
{
var none = Optional<object>.Empty;
Assert.False(none.IsPresent);
... | 2.787437 | f523c9dc00ba56f722f4a6e820d673cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rukasakurai/toh2018",
"max_stars_repo_path": "Models/AnswerRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89831"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SimpleEchoBot.Models
{
public class AnswerRequest
{
public string userId { get; set; }
public int questionId { get; set; }
public int answerId { get; set; }
}
} | 1.555224 | d25085c654fe395a8aad7f495294641b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArielMAJ/WF_VD_Project",
"max_stars_repo_path": "WF_VD_Project/F_AddClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89832"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WF_VD_Project.DataBase;
using WF_VD_Project.Entities;
using WF_VD_Project.Entities.Exce... | 1.979231 | 79d41925729fe03620f0c8de5c358c56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89832 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.UnitTests/Umbraco.Core/Routing/UrlProviderWithHideTopLevelNodeFromPathTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89833"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using NUnit.Framework;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Routing;
using Umbraco.Cms.Infrastructure.PublishedCache;
using Umbraco.Cms.Tests.Common;
usin... | 1.555195 | dcccb3852d935d8ea39e302babf63b9f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.