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 | 7737 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "avodovnik/roslyn",
"max_stars_repo_path": "src/Workspaces/Remote/Core/TestUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7738"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using... | 2.059922 | 6e1ead9df16990f90376ef90d6ec9889 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxim-kozlov/AnalysisAlgorithms",
"max_stars_repo_path": "Lab_06/src/Lab_06/Path.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7739"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Lab_06
{
public class Path
{
private List<int> _path;
private int _dist;
private Map _map;
public Path(List<int> path, Map map)
{
_path = path;
_map ... | 3.586386 | 9e4e45e5cffee428b6ba3368b02da41f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7739 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CharlesMendes/SpreadRecon",
"max_stars_repo_path": "src/starkdev.spreadrecon.business/security/PermissaoProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7740"
} | starcoder | <reponame>CharlesMendes/SpreadRecon
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;
namespace starkdev.spreadrecon.business.security
{
public class PermissaoProvider : RoleProvider
{
private UsuarioBLL _bllU... | 2.458666 | 1bd049cdb7cadce9fb7495475e4c1821 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7740 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "FXTi/peachfuzz-code",
"max_stars_repo_path": "Peach.Core.Test/Fixups/SequenceRandomFixupTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7741"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using Peach.Core;
using Peach.Core.Dom;
using Peach.Core.Analyzers;
namespace Peach.Core.Test.Fixups
{
[TestFixture]
class SequenceRandomFixupTests : DataM... | 2.385082 | 048e7dcd25ff96d06ae2dfbc76ae2b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7741 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "fdhgfg/abc123",
"max_stars_repo_path": "src/TygaSoft/BLL/Pandian.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7742"
} | starcoder | <filename>src/TygaSoft/BLL/Pandian.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
namespace TygaSoft.BLL
{
public partial class Pandian
{
#region Pandian Member
... | 1.982652 | 02e1b1d2c90b8c56cbbe2de0ee9860bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7742 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "Yiwei-Ding/sarif-sdk",
"max_stars_repo_path": "src/Test.UnitTests.Sarif/MockFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7743"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Moq;
namespace Microsoft.CodeAnalysis.Sarif
{
internal static class MockFactory
{
public static IFileSystem MakeMockFileSystem(st... | 2.638431 | ddf915f18a9c718dc9136a8eeab8bcbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PacktPublishing/Writing-Secure-Code-in-ASP.NET",
"max_stars_repo_path": "cross_site_request_forgery/exploitation_csrf/exploitation_csrf/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7744"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using exploitation_csrf
@using exploitation_csrf.Data
@namespace exploitation_csrf.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.538911 | a70d1a22826d366ac11adb1c7c00b040 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qintao1976/Mobius",
"max_stars_repo_path": "csharp/Adapter/Microsoft.Spark.CSharp/Core/SparkContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7745"
} | starcoder | <reponame>qintao1976/Mobius
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
u... | 1.714897 | 6dbb2c9d9cb5f8a1839f46edbbcf9dde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7745 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coveo/mono",
"max_stars_repo_path": "mcs/errors/cs0411-24.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7746"
} | starcoder | // CS0411: The type arguments for method `C.Foo<T>(out T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
// Line: 8
public class C
{
public static void Main ()
{
Foo (out var y);
}
static void Foo<T> (out T t)
{
t = default (T);
}
} | 2.792182 | 2ba0d4a1b68242c00a748f15b48bde6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adriel-Nicolau/PEWB_1819",
"max_stars_repo_path": "ResidualCenter/ResidualCenter/Views/Client/_listRequestSucess.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7747"
} | starcoder | @model ResidualCenter.Models.ServiceRequest
@using (Html.BeginForm("CancelRequest", "Client", FormMethod.Post, new { id = "cancel", @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<div class="jumbotron " style="background-color:lightgreen; font-size:small; height:auto;width:unset">
... | 2.189802 | 34d2c08ed720347b52f83d6be8fd177e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Syadeu/CoreSystem",
"max_stars_repo_path": "Runtime/Database/ITerminate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7748"
} | starcoder | namespace Syadeu.Collections
{
public interface ITerminate
{
void Terminate();
}
}
| 1.76886 | 6257fbf754ddce73971024932459f414 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoeRobich/flashdevelop",
"max_stars_repo_path": "FlashDevelop/Dialogs/HashDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7749"
} | starcoder | <reponame>JoeRobich/flashdevelop
using System;
using System.Text;
using System.Drawing;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using PluginCore.Localization;
using PluginCore.Utilities;
using PluginCore.Helpers;
namespace FlashDevelop.Dialogs
{
public class Hash... | 2.070799 | 6c60f3b06c51ce65048e4cc40067a401 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7749 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Team-on/works",
"max_stars_repo_path": "0_homeworks/C#/9 wcf/4/Bank/Bank/IBank.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7750"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace DualHttp {
[ServiceContract(CallbackContract = typeof(IClientCallback))]
public interface IBank {
[OperationContract]
int CreateAccount(int m);
[Opera... | 2.20115 | b1cd3a8c17d4454c0e71418602e6410c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SwarmingFleet/SF",
"max_stars_repo_path": "src/SwarmingFleet.Broker/DAL/BrokerContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7751"
} | starcoder | <gh_stars>0
namespace SwarmingFleet.Broker.DAL
{
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class BrokerContext : DbContext
{
public BrokerContext(DbContextOptions<BrokerContext>... | 1.35892 | 7f2fda650a28249c4d9ab3228425cd57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7751 | {
"extension": "c-sharp",
"max_stars_count": "258.0",
"max_stars_repo_name": "G-arj/XRTK-Core",
"max_stars_repo_path": "XRTK-Core/Packages/com.xrtk.core/Runtime/Definitions/Lines/DistortionMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7752"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace XRTK.Definitions.Lines
{
/// <summary>
/// How to apply the distortion along the line.
/// </summary>
public enum Distor... | 2.144951 | d9dff63d034dd865bdca6e21b3a037bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7752 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashwanibalwani/ConferenceVision_b1bc95o1",
"max_stars_repo_path": "ConferenceVision/ConferenceVision/Views/Renderers/CameraPreview.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7753"
} | starcoder | using System;
using Xamarin.Forms;
using System.Diagnostics;
using System.Windows.Input;
namespace ConferenceVision.Views.Renderers
{
public enum CameraOptions
{
Rear,
Front
}
public class CameraPreview : View
{
protected override void OnSizeAllocated(double width, double height... | 2.454031 | 752d7f509361b6d9831773ee8c91d11a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7753 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edisonlee0212/Galaxy",
"max_stars_repo_path": "Assets/GalaxyScripts/Presentation/StarMarker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7754"
} | starcoder | <reponame>edisonlee0212/Galaxy<filename>Assets/GalaxyScripts/Presentation/StarMarker.cs
using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
using UnityEngine.UI;
namespace Galaxy
{
public class StarMarker : MonoBehavi... | 1.911972 | 1e5b7667f1f52003cec50e43396e48c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7754 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jeffrey987/DotnetSpider",
"max_stars_repo_path": "src/DotnetSpider.Core/Pipeline/ICollectionPipeline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7755"
} | starcoder | using System.Collections.Generic;
namespace DotnetSpider.Core.Pipeline
{
/// <summary>
/// 所有数据结果存在内存中.
/// </summary>
public interface ICollectionPipeline : IPipeline
{
/// <summary>
/// Get all results collected.
/// </summary>
/// <param name="owner">数据拥有者</param>
/// <returns>All results collected</... | 2.317591 | 05062ebf3dad752687a303258f70a9ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/MarketingBox.BackOffice.Service",
"max_stars_repo_path": "src/MarketingBox.Affiliate.ServiceBus/CampaignBoxes/ActivityHours.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7756"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace MarketingBox.Affiliate.Service.Messages.CampaignBoxes
{
[DataContract]
public class ActivityHours
{
[DataMember(Order = 1)]
public DayOfWeek Day { get; set; }
[DataMember(Order = 2)]
public bool IsActive { get; se... | 1.780962 | 1e19bcf4721f240cd3a73f7b857d43b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ugiacobbi/OpenRiaServices",
"max_stars_repo_path": "src/OpenRiaServices.DomainServices.Hosting.Local/Framework/Resource.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7757"
} | starcoder | <filename>src/OpenRiaServices.DomainServices.Hosting.Local/Framework/Resource.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorr... | 2.049172 | 1fb6e91bc14a83a7807716145efcdb15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7757 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "AlexNik235/RxBim",
"max_stars_repo_path": "src/RxBim.Application.Ribbon/Models/Configurations/Ribbon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7758"
} | starcoder | namespace RxBim.Application.Ribbon.Models.Configurations
{
using System.Collections.Generic;
/// <summary>
/// Plugin ribbon menu configuration.
/// </summary>
public class Ribbon
{
/// <summary>
/// Ribbon tabs
/// </summary>
public List<Tab> Tabs { get; set; }... | 2.432636 | c8789d451cc71f10a81b569ce1953968 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7758 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "deepakkumar1984/mxnetlib",
"max_stars_repo_path": "src/MxNet/_ffi/Function.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7759"
} | starcoder | using MxNet.Interop;
using MxNet.Numpy;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace MxNet._ffi
{
public class Function : FunctionBase
{
public static (MXNetValue[], TypeCode[], int) Make... | 2.177191 | 36c58cda3d0cee13b33bef485618297d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scotteza/duplicate-file-finder",
"max_stars_repo_path": "DuplicateFileFinder/DuplicatePatternMatchers/DuplicatePatternMatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7760"
} | starcoder | using System.Collections.Generic;
namespace DuplicateFileFinder.DuplicatePatternMatchers
{
public interface DuplicatePatternMatcher
{
List<DuplicateFile> FindDuplicates(List<FileData> files);
}
} | 1.703716 | 3932b8b39ec864ad66c8aa338005fad0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MathWiz86/SNORT-Combinatorial-Game",
"max_stars_repo_path": "WilliamsCraig_SNORT_Project/Assets/_Plugins/ENTITY/Scripts/Kits/Math/EKIT_Math.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7761"
} | starcoder | <gh_stars>0
/**************************************************************************************************/
/*!
\file EKIT_Math.cs
\author <NAME>
\par Unity Version: 2019.3.5
\par Updated:
\par Copyright: Copyright 2019-2020 <NAME>
\brief
A toolkit for Math functions. This includes various helper ... | 2.893467 | d8dce998a192bd55f4d05f0fb067cafd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Master109/open-brush",
"max_stars_repo_path": "Assets/Scripts/GUI/BrushTypeButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7762"
} | starcoder | // Copyright 2020 The Tilt Brush 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
//
// Unless required by applicable law or a... | 1.520115 | e0f171a8db48f0f3c41ba1598dd0cb54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RondineleG/AgendaRaven",
"max_stars_repo_path": "Agenda/WinContato.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7763"
} | starcoder | <gh_stars>0
using Agenda.Model;
using Agenda.Repositorio;
using System.Windows;
namespace Agenda
{
public partial class WinContato : Window
{
public ModelContato contato { get; set; }
RepositorioDeCliente repositorio;
public WinContato()
{
InitializeCo... | 2.212005 | 57fbb74bd8817cd82565fcb70665fd38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ResolveStudios/ClubOrbital",
"max_stars_repo_path": "Assets/3ed-Party/Editor/ProbeGenerator/Raycasting/OctreeRaycast.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7764"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Object = UnityEngine.Object;
/// <summary>
/// This does the raycasting stuff using a octree.
/// We use the bounds octree from https://github.com/mcserep/UnityOctree
/// The TestIntersection is if from http... | 2.677182 | 25a838b22ef6b3d5086109d8a8ab075e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7764 | {
"extension": "c-sharp",
"max_stars_count": "2504.0",
"max_stars_repo_name": "dujianxin/Windows-universal-samples",
"max_stars_repo_path": "Samples/Notifications/cs/Notifications/ScenarioPages/Toasts/AdaptiveTemplates/Image/Src/FromAppData/ScenarioElement.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.g... | starcoder | using System;
using Windows.Storage;
using Windows.UI.Notifications;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace Notifications.Sc... | 2.204481 | 00c3c0fa0af8cb02fa242931b80fa840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7765 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "modelingevolution/plumberd",
"max_stars_repo_path": "ModelingEvolution.Plumberd.Tests/Integration/Configuration/ClearTextHttpMultiplexingMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7766"
} | starcoder | using System.IO.Pipelines;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.CSharp.RuntimeBinder;
namespace ModelingEvolution.Plumberd.Tests.Integration.Configuration
{
class ClearTextHttpMultiplexingMiddl... | 2.198488 | 4b62bc0d048fdd54a1504d3119491830 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkuryakov/itext7-dotnet",
"max_stars_repo_path": "itext/itext.kernel/itext/kernel/pdf/canvas/parser/data/PathRenderInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7767"
} | starcoder | <reponame>vkuryakov/itext7-dotnet<filename>itext/itext.kernel/itext/kernel/pdf/canvas/parser/data/PathRenderInfo.cs
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: <NAME>, <NAME>, et al.
This program is free software; you can redistribute it and/or modify
it under the te... | 1.815301 | a1f858c7fbf71dc94ad7782c34b5bafe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeamonHunter/AWBW-Replay-Player",
"max_stars_repo_path": "AWBWApp.Game/UI/Select/ReplayCarouselPanelBackground.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7768"
} | starcoder | <reponame>DeamonHunter/AWBW-Replay-Player<filename>AWBWApp.Game/UI/Select/ReplayCarouselPanelBackground.cs
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK;
using... | 2.166495 | cbc6550801957bdb0bf2169b508721ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apapadimoulis/inedox-azure",
"max_stars_repo_path": "Azure/Common/Configurations/AppServicePlanConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7769"
} | starcoder | <filename>Azure/Common/Configurations/AppServicePlanConfiguration.cs
#if BuildMaster
using Inedo.BuildMaster.Extensibility;
using Inedo.BuildMaster.Extensibility.Configurations;
using Inedo.BuildMaster.Extensibility.Credentials;
using Inedo.BuildMaster.Web.Controls;
#elif Otter
using Inedo.Otter.Extensibility;
using I... | 1.997704 | 916f2f65a30e5d60ade559d5c5a4a325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7769 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "EzyWebwerkstaden/rhino-esb",
"max_stars_repo_path": "Rhino.ServiceBus.Autofac/AutofacBootStrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7770"
} | starcoder | <reponame>EzyWebwerkstaden/rhino-esb
using System.Collections.Generic;
using System.Reflection;
using Autofac;
using Autofac.Core;
using Rhino.ServiceBus.Actions;
using Rhino.ServiceBus.Hosting;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.Internal;
namespace Rhino.ServiceBus.Autofac
{
public cla... | 1.790292 | 869dea757b911fc43abadab44d7d5f81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jBijsterboschNL/Prism.Maui",
"max_stars_repo_path": "src/Prism.Maui.Rx/IGlobalNavigationObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7771"
} | starcoder | using System;
namespace Prism.Navigation;
public interface IGlobalNavigationObserver
{
IObservable<NavigationRequestContext> NavigationRequest { get; }
}
| 1.443183 | 0b8c2f8775400e7fc5fba230a505bd75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7771 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "horseyhorsey/Hypermint.2.0",
"max_stars_repo_path": "src/Modules/Hs.Hypermint.WheelCreator/Converters/ColorConvert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7772"
} | starcoder | <reponame>horseyhorsey/Hypermint.2.0
namespace Hs.Hypermint.WheelCreator.Converters
{
public class ColorConvert
{
public static System.Drawing.Color ColorFromMediaColor(System.Windows.Media.Color clr)
=> System.Drawing.Color.FromArgb(clr.A, clr.R, clr.G, clr.B);
}
}
| 1.923172 | 7f00fb8e736fe98ea0f9ac204f64880e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7772 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Shadowrabbit/BigBiaDecompilation",
"max_stars_repo_path": "Source/Assembly-CSharp/ShotGunCardLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7773"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShotGunCardLogic : CardLogic
{
public override void Init()
{
base.Init();
this.Color = CardLogicColor.red;
this.displayName = "霰弹";
this.NeedEnergyCount = new Vector3Int(0, 1, 0);
this.Desc = "对前方第一个敌... | 2.001164 | dc1ac7758914ad75daeaf3802ee1298c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelcnx/NetControl4BioMed",
"max_stars_repo_path": "NetControl4BioMed/Pages/Content/Databases/DatabaseTypes/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7774"
} | starcoder | @page
@model DetailsModel
@{
ViewData["Title"] = "Database type details";
}
<partial name="_NavigationTitleCardPartial" model="@Helpers.ViewModels.NavigationTitleCardViewModel.GetDatabaseTypeNavigationTitleCard(Model.View.DatabaseType)" />
@if (User.IsInRole("Administrator"))
{
<a asp-page="/Administration/Da... | 2.394546 | 0c1cd2cd13b6ae90eed32b6bbe464dcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feng1995911/demo_tankWar3D",
"max_stars_repo_path": "Assets/GameMain/Input/VirtualButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7775"
} | starcoder | <reponame>feng1995911/demo_tankWar3D
namespace GameMain
{
public class VirtualButton : CrossPlatformInputManager.VirtualButton
{
public string Name { get; }
public VirtualButton(string name) : base(name)
{
Name = name;
}
}
}
| 1.810511 | 1508c5b243b87f66cc73412ad31344bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7775 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "emmielewis/xamarin-forms-local-sqlite",
"max_stars_repo_path": "LocalDbTest/LocalSqlDbLibrary/BlogHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7776"
} | starcoder | using LocalSqlDbLibrary.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LocalSqlDbLibrary
{
/// <summary>
/// This is not a typical install and only a quick test with
/// Xamarin Essentials for a local DB
/// </summary>
public static class BlogHelper
{
... | 3.019614 | cc9db1b2f49967da2dec4fd13fddee0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RookTKO/iBite",
"max_stars_repo_path": "ImageToByte/iBite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7777"
} | starcoder | <filename>ImageToByte/iBite.cs<gh_stars>0
using System; //3
using System.IO; //4
using System.Text; //1
using System.Drawing; //4
using Newtonsoft.Json;
using System.Collections.Generic;
namespace ImageToByte
{
class iBite
{
static void Main(string[] args)
{
Console.WriteLine("----... | 3.150702 | 73752f9ca6d2e3cbf8c9ea57aaf36a9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7777 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Vacko/DotaSharp-Core",
"max_stars_repo_path": "DotaSharp/DotaSharpKernel/Models/NetVars.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7778"
} | starcoder | <filename>DotaSharp/DotaSharpKernel/Models/NetVars.cs
using System;
using System.Runtime.InteropServices;
namespace DotaSharp.DotaSharpKernel.Models
{
[StructLayout(LayoutKind.Explicit)]
internal class NetVars
{
#region Fields
[FieldOffset(0x24)] public int m_ClassId;
[FieldOffse... | 1.7754 | d15296746bf9bb9ecffe5b1a29849eb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDsilvaA/dio-mrv",
"max_stars_repo_path": "bestiario.mythos/Classes/Bestiario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7779"
} | starcoder | using System;
using bestiario.mythos.Enum;
namespace bestiario.mythos
{
public class Bestiario : EntidadeBase
{
// Atributos
private string Nome { get; set; }
private string Descricao { get; set; }
private string Habilidade { get; set; }
private Pistas Pistas ... | 3.003178 | 5615aaedab2e2a717cd35b5d4586163d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7779 | {
"extension": "c-sharp",
"max_stars_count": "631.0",
"max_stars_repo_name": "BTDevelop/BeatPulse",
"max_stars_repo_path": "tests/FunctionalTests/BeatPulse.NpgSql/RedisLivenessTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7780"
} | starcoder | <gh_stars>100-1000
using FluentAssertions;
using FunctionalTests.Base;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace BeatPulse.Npgsql
{
[Collection("execu... | 1.834189 | c6b84e3e6e8ff0dbe0f95d4f6a11ac25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laicasaane/irony",
"max_stars_repo_path": "Irony/Parsing/_new/Scanner/CompilerDirective/CompilerDirectiveBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7781"
} | starcoder | <reponame>laicasaane/irony
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Irony.Parsing.New {
public abstract class CompilerDirectiveBase {
public abstract IEnumerable<string> GetKeywords();
public abstract IEnumerable<SourceSegment> Scan(ParsingC... | 1.498008 | 920bbc7c0ca678bb9055551e9cc441b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SINTEF-9012/MusicStore4Cirrus",
"max_stars_repo_path": "test/E2ETests/PublishAndRunTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7782"
} | starcoder | <reponame>SINTEF-9012/MusicStore4Cirrus
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using E2ETests.Common;
using Microsoft.AspNetCore.Server.IntegrationTesting;
using Microsoft.AspNetCore.Testing.xunit;
using Microsoft.DotNet.PlatformAbstractions... | 1.710578 | b7bd9ee630251ca0134f152a415fa0ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Domin1k/Open-Lyrics",
"max_stars_repo_path": "server/src/Application/UseCases/Lyrics/Details/DetailsLyricsUseCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7783"
} | starcoder | namespace Application.UseCases.Lyrics.Details
{
using Application.Interfaces.Repositories;
using System.Linq;
using System.Threading.Tasks;
public class DetailsLyricsUseCase<T> : IDetailsLyricsInputHandler<T>
{
private readonly ILyricRepository _lyricRepository;
public DetailsLyri... | 2.694127 | 82759cd3437bd520aff70225862109a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7783 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "WoA-project/WoA-Deployer",
"max_stars_repo_path": "Source/Deployer.Core/Scripting/ZipExtractor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7784"
} | starcoder | <filename>Source/Deployer.Core/Scripting/ZipExtractor.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using SharpCompress.Archives.Zip;
using SharpCompress.Common;
using Zafiro.Core;
using Zafiro.Core.FileSystem;
namespace Deployer.Core.Scripting
{
... | 2.693405 | 17b29a9020fea859906faf7c55af5a41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SonicTheCat/KeepFitStore",
"max_stars_repo_path": "KeepFitStore/KeepFitStore.WEB/Middlewares/CreateRoleMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7785"
} | starcoder | namespace KeepFitStore.WEB.Middlewares
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using KeepFitStore.WEB.Common;
public class CreateRoleMiddleware
{
private readonly RequestDelegate next;
public CreateRoleMiddleware(... | 2.502945 | a717a19f0a970c5cdd8d48cc24b1330a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AerisG222/mikeandwan.us",
"max_stars_repo_path": "src/Maw.Domain/Captcha/GoogleCaptchaConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7786"
} | starcoder | <reponame>AerisG222/mikeandwan.us
namespace Maw.Domain.Captcha
{
public class GoogleCaptchaConfig
{
public string SiteKey { get; set; }
public string SecretKey { get; set; }
}
}
| 1.026612 | dad793b5f6efbb900b6fd64979bbec58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7786 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidomid/ServiceLayer",
"max_stars_repo_path": "ExampleAspNetCoreWebApp/Controllers/DocumentController_NoServiceLayer_Exceptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7787"
} | starcoder | using System;
using ExampleServices.NoServiceLayer.Exceptions;
using Microsoft.AspNetCore.Mvc;
using Document = ExampleServices.NoServiceLayer.Exceptions.Document;
using IDocumentStorageService = ExampleServices.NoServiceLayer.Exceptions.IDocumentStorageService;
namespace ExampleAspNetCoreWebApp.Controllers
{
[Rou... | 2.211491 | ab54def16c1d40993613875fa696ba04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victorvoronin/Behavioral.Automation",
"max_stars_repo_path": "src/Behavioral.Automation/Services/FileService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7788"
} | starcoder | <gh_stars>0
using System.Data;
using System.IO;
using System.Text;
using ExcelDataReader;
namespace Behavioral.Automation.Services
{
/// <summary>
/// Methods to interact with downloaded files
/// </summary>
public static class FileService
{
/// <summary>
/// Convert Excel file ... | 2.389075 | 7e44b415c650902adac2ea0b262099f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrPurple6411/ToolKit-Addons",
"max_stars_repo_path": "ZombieLand/Patches/Event_FireEvents_Patches.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7789"
} | starcoder | namespace ZombieLand_Addon.Patches
{
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using HarmonyLib;
using ToolkitCreator;
using ZombieLand_Addon.ActionWorkers;
[HarmonyPatch(typeof(Event), nameof(Event.FireEvents))]
public static class Event_FireEv... | 2.682966 | 6fa70d4dd2469c001a9e0b0b58fd76e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7789 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "minuz/gl-dotnet-restkit",
"max_stars_repo_path": "src/GeekLearning.RestKit.FormData/MultipartFormDataFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7790"
} | starcoder | <gh_stars>1-10
namespace GeekLearning.RestKit.FormData
{
using GeekLearning.RestKit.Core;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net.Http;
public class MultipartFormDataFormatter : IMediaFormatter
{
public MultipartFormDataFormatt... | 2.459716 | d2818f412fe0ed0b538a6aa5cd6b469d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7790 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "xoniuqe/EntityFrameworkCore.Jet",
"max_stars_repo_path": "src/EFCore.Jet.Data/JetStoreSchemaDefinition/JetInformationSchema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7791"
} | starcoder | using System;
using System.Data;
using System.Data.Common;
using System.Text.RegularExpressions;
namespace EntityFrameworkCore.Jet.Data.JetStoreSchemaDefinition
{
internal static class JetInformationSchema
{
private static readonly Regex _regExParseInformationSchemaCommand;
static JetInformat... | 2.628959 | b6da21b80bdb6521775a915b0688dab4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7791 | {
"extension": "c-sharp",
"max_stars_count": "884.0",
"max_stars_repo_name": "rt112000/CDM",
"max_stars_repo_path": "objectModel/CSharp/Microsoft.CommonDataModel.ObjectModel/Cdm/CdmTraitReferenceBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7792"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.CommonDataModel.ObjectModel.Cdm
{
/// <summary>
/// The CDM definition interface for a generic reference to either a trait or a trait ... | 2.076429 | 1bddcdd2003ea88214ae3844938a1c4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.SimplexPayment",
"max_stars_repo_path": "src/Service.SimplexPayment.Domain/Models/GetQuoteResponseModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7793"
} | starcoder | <filename>src/Service.SimplexPayment.Domain/Models/GetQuoteResponseModel.cs
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Service.SimplexPayment.Domain.Models;
public class GetQuoteResponseModel
{
[JsonPropertyName("user_id")]
public string UserId { get; set; ... | 2.187983 | a38310110144ca184785de7ec9867b7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7793 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "SwissLife-OSS/Boost",
"max_stars_repo_path": "src/Tool/src/Boost.Core/GraphQL/Workspace/CreateFileFromBase64Payload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7794"
} | starcoder | using Boost.Workspace;
namespace Boost.GraphQL
{
public class CreateFileFromBase64Payload
{
public CreateFileFromBase64Payload(WorkspaceFile file)
{
File = file;
}
public WorkspaceFile File { get; }
}
}
| 1.740843 | 439d9aa2ab5829fb217067bc616a4809 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7794 | {
"extension": "c-sharp",
"max_stars_count": "155.0",
"max_stars_repo_name": "fossabot/WopiHost",
"max_stars_repo_path": "WopiHost.Core/HttpHeaderAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7795"
} | starcoder | using Microsoft.AspNetCore.Mvc.ActionConstraints;
using System;
using System.Linq;
namespace WopiHost.Core
{
/// <summary>
/// A header-based constraint for HTTP actions.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class HttpHeaderAttribute : Attribute, IActionConstraint
{
... | 2.836032 | 5ecb92511f118a09c0a67f062d73195f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7795 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "quinmars/opc-ua-client",
"max_stars_repo_path": "UaClient/ServiceModel/Ua/IEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7796"
} | starcoder | // Copyright (c) Converter Systems LLC. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml.Linq;
namespace Workstation.ServiceModel.Ua
{
public interface IEncoder
{
void PushNamespace(string namespa... | 1.832822 | 69088a3f8973aa1d170177ec9ed47737 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7796 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "christophediericx/AVRControlFlowGraphGenerator",
"max_stars_repo_path": "Source/AVRControlFlowGraphGenerator/AVRControlFlowGraphGenerator/BasicBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7797"
} | starcoder | <filename>Source/AVRControlFlowGraphGenerator/AVRControlFlowGraphGenerator/BasicBlock.cs
using AVRDisassembler;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AVRControlFlowGraphGenerator
{
public class BasicBlock : List<AssemblyStatement>
{
public Guid Guid { get; } = Gu... | 2.624333 | de48c05ffb37d67e93c8eb7d2413927d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eapbokma/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Analysis/ReSampleCells.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7798"
} | starcoder | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using DotSpatial.Data;
using NetTopologySuite.Geometries;
namespace DotSpatial.Analysis
{
/// <summary>
/// This class r... | 2.632942 | fca965d360c7d8de84e9ac29674f619c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7798 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "sergey-su/logjoint",
"max_stars_repo_path": "trunk/presenters/UserDefinedFormatsWizardPresenter/CustomFormatPageUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7799"
} | starcoder | <reponame>sergey-su/logjoint
using LogJoint.Drawing;
using System;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Linq;
namespace LogJoint.UI.Presenters.FormatsWizard
{
static class CustomFormatPageUtils
{
public static string GetParameterStatusString(bool statusOk)
{
return sta... | 2.141983 | 36e1027c94fc16cd170cc2c1745aef1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yuyang158/UnityGameTransition",
"max_stars_repo_path": "Assets/ReorderableList/Editor/ReorderableList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7800"
} | starcoder | <reponame>yuyang158/UnityGameTransition
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Malee.Editor {
public class ReorderableList {
private const float ELEMENT_EDGE_TOP = 1;
private const float ELEMENT_EDGE... | 1.560415 | aeff4871386459442084e68f8c47c1bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frank12001/ENEOnline",
"max_stars_repo_path": "Client/Script/S3/Log/LogBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7801"
} | starcoder | <filename>Client/Script/S3/Log/LogBase.cs
using UnityEngine;
using TMPro;
public class LogBase : MonoBehaviour {
// Use this for initialization
void Start () {
}
public void SetColor(Color color)
{
TextMeshPro text = this.GetComponent<TextMeshPro>();
text.color = color;
}
p... | 2.135744 | 3035ede98865a52370de702f8bfa34e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olohmann/parts-unlimited-web-driver-tests",
"max_stars_repo_path": "PageObjects/Categories.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7802"
} | starcoder | <filename>PageObjects/Categories.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PartsUnlimited.WebDriverTests.PageObjects
{
public class Categories
{
public const string WheelsAndTires = "Wheels & Tires";
... | 1.788267 | f845308875a8ca14a9956aabf14aaefc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7802 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "shawnlu96/jpush-api-csharp-client",
"max_stars_repo_path": "Jiguang.JPush/Model/DevicePayload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7803"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Jiguang.JPush.Model
{
public class DevicePayload
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("mobile")]
public string Mobile { get; set; }
[JsonProperty("tags")]
p... | 2.305184 | ff6319126dcafc7c992014e4b75b9aad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7803 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JonPSmith/MultiProgPackTool",
"max_stars_repo_path": "MultiProjPackTool/HelperExtensions/ProjectHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7804"
} | starcoder | <reponame>JonPSmith/MultiProgPackTool<gh_stars>1-10
// Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System;
using System.IO;
namespace MultiProjPackTool.HelperExtensions
{
... | 2.634158 | bd7385453d4e71a4b34088d94916a29b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7804 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "vijayraavi/demo-first-response-online",
"max_stars_repo_path": "src/client/MSCorp.FirstResponse.Client.iOS/Maps/Heat/INavigationDelegateCallback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7805"
} | starcoder | <reponame>vijayraavi/demo-first-response-online
namespace MSCorp.FirstResponse.Client.iOS.Maps.Heat
{
public interface INavigationDelegateCallback
{
void OnPageLoaded();
}
} | 0.625754 | 91e6303f290e77e2ac440496f88eb3c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bhekinkosi12/Xamarin.Essentials-in-Xamarin.Forms",
"max_stars_repo_path": "src/RealEstateApp/Views/PropertyListView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7806"
} | starcoder | <reponame>Bhekinkosi12/Xamarin.Essentials-in-Xamarin.Forms<filename>src/RealEstateApp/Views/PropertyListView.xaml.cs
using System.ComponentModel;
using Xamarin.Forms;
namespace RealEstateApp.Views
{
[DesignTimeVisible(true)]
public partial class PropertyListView : ContentPage
{
public PropertyList... | 0.912296 | 64675017649cea362f0748b050fb68d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderMorou/AbstractionProject",
"max_stars_repo_path": "Libraries/Utilities/Security/Utilities/Security/StrongNameKeyInfoType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7807"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AllenCopeland.Abstraction.Utilities.Security
{
/// <summary>
/// The kind of information stored within the strong name
/// key pair info.
/// </summary>
public enum StrongNameKeyInfoType
... | 2.420545 | fd12a6847b05a62fba01461126424914 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7807 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "devmentors/Inflow",
"max_stars_repo_path": "src/Modules/Customers/Inflow.Modules.Customers.Core/Exceptions/InvalidCustomerEmailException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7808"
} | starcoder | <reponame>devmentors/Inflow
using System;
using Inflow.Shared.Abstractions.Exceptions;
namespace Inflow.Modules.Customers.Core.Exceptions;
internal class InvalidCustomerEmailException : InflowException
{
public Guid CustomerId { get; }
public InvalidCustomerEmailException(Guid customerId)
: base($"C... | 1.84997 | 299bc9d3e1ba22589358dfe09e5652ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7808 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "craigs100/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Persistence/Repositories/Implement/ServerRegistrationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7809"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using NPoco;
using Umbraco.Core.Cache;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Entities;
using Umbraco.Core.Persistence.Dtos;
using Umbraco.Core.Persistence.Factories;
using Umbraco.Core.Persistence.Querying;
us... | 1.835291 | 41a17e6b28e7b8c46b14b58237c9abba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khreenberg/ludum-dare-33",
"max_stars_repo_path": "Ludum Dare 33/Assets/Scripts/Spawnable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7810"
} | starcoder | #pragma warning disable 0649 // Disables warnings for "Field XYZ is never assigned to..."
using UnityEngine;
public class Spawnable : MonoBehaviour
{
public AnimationCurve Prevalence; // is that a word?
}
#pragma warning restore 0649
| 1.841874 | 58af5b1025b9f895acb1dc67bfdb64f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jetelain/Arma3Event",
"max_stars_repo_path": "Arma3ServerToolbox/ArmaPersist/PersistBackup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7811"
} | starcoder | <filename>Arma3ServerToolbox/ArmaPersist/PersistBackup.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BIS.Core.Config;
namespace Arma3ServerToolbox.ArmaPersist
{
public class PersistBackup
{
public PersistBackup()
{
}
pu... | 2.618488 | be47adcf771c9489808bb325532dcf93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7811 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "orhankarabak/FastCommerce",
"max_stars_repo_path": "FastCommerce.Business/DTOs/User/ResetPasswordResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7812"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace FastCommerce.Business.DTOs.User
{
public class ResetPasswordResponse
{
[DefaultValue(false)]
public bool isResetMailSent { get; set; }
}
}
| 1.593361 | c3557cf35c648b29a252040b561826fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mnrazan/corefx",
"max_stars_repo_path": "src/System.Transactions.Local/tests/TransactionScopeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7813"
} | starcoder | <reponame>mnrazan/corefx
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Transactions.Tests
{
// Ported from Mono
public cla... | 1.923437 | 3c5bcbade66744dd569eddb7f6260708 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7813 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ezaruba/nodejstools",
"max_stars_repo_path": "Nodejs/Product/TypeScript/TypeScriptHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7814"
} | starcoder | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 1.907966 | b6af116f69bb9f959356918ead8733c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7814 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/AutoScaling/ScalingPolicy/PredictiveScalingPredefinedLoadMetric.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7815"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.AutoScaling.ScalingPolicy
{
/// <summary>
/// AWS::AutoScaling::ScalingPolicy PredictiveScalingPredefinedLoadMetric
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/U... | 2.085559 | 5f436f25acfea69926b8acacb54978ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7815 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DavidKarlas/xwt",
"max_stars_repo_path": "Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7816"
} | starcoder | <reponame>DavidKarlas/xwt
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Xwt.Backends;
namespace Xwt.WPFBackend
{
class CanvasCellViewBackend: CellViewBackend, ICanvasCellViewBackend
{
public void QueueDraw()
{
}
}
... | 1.321642 | 2bdaa23b0698a61064738ed732f3e3dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vreniose95/UST.Spatial",
"max_stars_repo_path": "UST.Spatial/Markup/Converters/ZoomViewScaleToStrokeThicknessConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7817"
} | starcoder | using Ccr.Xaml.Markup.Converters.Infrastructure;
namespace UST.Spatial.Markup.Converters
{
public class ZoomViewScaleToStrokeThicknessConverter
: XamlConverter<
double,
double,
double,
ConverterParam<double>,
double>
{
public override double Convert(
double zoomScale,
... | 2.31956 | a7f207ee8031fb29cd11f9be0c6f9f8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CGVG-Poli/BIOPACInterface",
"max_stars_repo_path": "Assets/BIOPACInterface/Runtime/BIOPACInterfaceServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7818"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using UnityEngine;
using LiteNetLib;
using LiteNetLib.Utils;
using Utils;
public class BIOPACInterfaceServer : Singleton<BIOPACInterfaceServer>, INetEventListener, INetLogger
{
p... | 2.078052 | 0413979b9020f51590fa0533d5c31b94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Emetico/vendr-payment-provider-quickpay",
"max_stars_repo_path": "src/Vendr.Contrib.PaymentProviders.QuickPay/Api/Models/QuickPayPaymentRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7819"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Vendr.Contrib.PaymentProviders.QuickPay.Api.Models
{
public class QuickPayPaymentRequest
{
/// <summary>
/// Unique order id (must be between 4-20 characters).
/// </summary>
[JsonProperty("order_id")]
p... | 1.914026 | 3383f7f9c7cc6af555acfa480579723e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7819 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "r00f/LeyLineNetworking",
"max_stars_repo_path": "workers/unity/Assets/Scripts/ECSPrototype/Systems/Server/ExecuteActionsSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7820"
} | starcoder | <gh_stars>1-10
using Unity.Entities;
using Unit;
using Improbable.Gdk.Core;
using Generic;
using LeyLineHybridECS;
using System.Collections.Generic;
using Unity.Jobs;
using Improbable.Gdk.PlayerLifecycle;
using UnityEngine;
using Cell;
using Improbable.Gdk.Core.Commands;
using Improbable;
[DisableAutoCreation, UpdateI... | 1.474042 | 3c69e0c9d056f88fd17117127b7ab2a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7820 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode.Test/1301-1350/1314-MatrixBlockSum-Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7821"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _1314_MatrixBlockSum_Test
{
[TestMethod]
public void MatrixBlockSum_1()
{
var solution = new _1314_MatrixBlockSum();
var result = solution.MatrixBlockSum(ne... | 2.793936 | 380a915558c4cf35be000aa6a110679d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7821 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ReeceRose/JWT-FullStack-Example",
"max_stars_repo_path": "JWT.Application/User/Query/SearchUsersByEmail/SearchUsersByEmailQueryValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7822"
} | starcoder | <reponame>ReeceRose/JWT-FullStack-Example<filename>JWT.Application/User/Query/SearchUsersByEmail/SearchUsersByEmailQueryValidator.cs
using FluentValidation;
namespace JWT.Application.User.Query.SearchUsersByEmail
{
public class SearchUsersByEmailQueryValidator : AbstractValidator<SearchUsersByEmailQuery>
{
... | 2.214099 | 817508c14b1ac10c1d07b9e0197a209f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7822 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "xiongfang/UnrealCS",
"max_stars_repo_path": "Script/UnrealEngine/GeneratedScriptFile/UAtmosphericFogComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7823"
} | starcoder | <filename>Script/UnrealEngine/GeneratedScriptFile/UAtmosphericFogComponent.cs
using System;
namespace UnrealEngine
{
public partial class UAtmosphericFogComponent:USceneComponent
{
/// <summary>Set PrecomputeParams, only valid in Editor mode</summary>
public extern void SetPrecomputeParams(float DensityHeight,int... | 1.795009 | 362dfaff086b318a974175dc85f40844 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7823 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "AsakyraZ/diadocsdk-csharp",
"max_stars_repo_path": "src/DiadocHttpApi.Events.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7824"
} | starcoder | using System.Net;
using Diadoc.Api.Http;
using Diadoc.Api.Proto.Events;
namespace Diadoc.Api
{
public partial class DiadocHttpApi
{
public BoxEventList GetNewEvents(
string authToken,
string boxId,
string afterEventId = null,
string afterIndexKey = null,
string departmentId = null,
string[] mess... | 1.840137 | 79f0f5c2be2d98c0fdaec5a47990599f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damianfraszczak/nefbdaa",
"max_stars_repo_path": "src/NEFBDAACommons/DynamicForms/Services/EntityFormFieldsDefinitionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7825"
} | starcoder | using NEFBDAACommons.Database.Models;
using NEFBDAACommons.Database.Services;
using NEFBDAACommons.DI.Attributes;
using NEFBDAACommons.DynamicForms.Attributes;
using NEFBDAACommons.DynamicForms.Models;
using NEFBDAACommons.DynamicForms.Services;
using NEFBDAACommons.Security.Models.Auth;
using NEFBDAACommons.Shared.Dy... | 1.793978 | 971ef90fb293a745b33789c4991aa5c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keinich/WorldSim",
"max_stars_repo_path": "Assets/TerrainGeneration/TerrainGraph/HeightMapInputNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7826"
} | starcoder | <reponame>keinich/WorldSim
using System;
using UnityEngine;
[Serializable]
public class HeightMapInputNode : TerrainNode {
public Texture2D heightMap;
public string outputNodeId;
public HeightMapInputNode() {
heightmapOutputs.Add(new HeightmapOutput(this) { name = "Heightmap Output" });
nodeName = "He... | 2.058672 | cfd6bc260d9f423a39f56aec349c6037 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrdving/Spire-Like",
"max_stars_repo_path": "Scripts/Card/CardEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7827"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class CardEffect : MonoBehaviour
{
public virtual void OnPlay(EffectInfo info) { }
public virtual void OnBreak(EffectInfo info) { }
}
| 1.619276 | 050d17035c5295310cdaa1fee3943ecf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexDimo/ITCareerProjectGDN",
"max_stars_repo_path": "ToolBoxGNA/GNA/FileManager/Entities/BindingModels/MoveFileBindingModel/MoveFileBindingModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7828"
} | starcoder | using System.Collections.Generic;
namespace FileSearcherDemo.Entities.BindingModels.MoveFileBindingModel
{
/* this is a class that saves all information about choosen files to be moved from the User */
public class MoveFileBindingModel
{
private string fileSourcePath;
private string fileDe... | 3.229403 | 90bb54292d3a42d8b9c56e433e95bcc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7828 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Daryl-L/hduin",
"max_stars_repo_path": "hduhelp/hduhelp.Shared/Helper/JsonHelper/OneCardCashData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7829"
} | starcoder | <reponame>Daryl-L/hduin<filename>hduhelp/hduhelp.Shared/Helper/JsonHelper/OneCardCashData.cs
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace hduhelp.Helper.JsonHelper
{
[DataContract]
class OneCardCashData
{
[DataMember]
publ... | 1.806204 | b0be83c87ba4cc84a482c18650e900fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7829 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "LanceMcCarthy/xamarin-forms-sdk",
"max_stars_repo_path": "XamarinSDK/SDKBrowser/SDKBrowser.iOS/Examples/CalendarControl/FeaturesCategory/CustomRendererExample/CustomCalendarDelegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7... | starcoder | using Telerik.XamarinForms.InputRenderer.iOS;
using TelerikUI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
namespace SDKBrowser.iOS.Examples.CalendarControl.StylingCategory.CustomRendererExample
{
// >> calendar-styling-custom-renderers-custom-delegate
public class CustomCalendarDelegate : Calendar... | 2.503014 | 68589a7d28c630ddbc7616b1b124fb85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7830 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "soelske/mbunit-v3",
"max_stars_repo_path": "src/Extensions/VisualStudio/Gallio.VisualStudio.Shell/Core/ShellPackage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7831"
} | starcoder | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <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.... | 1.448088 | 459affe0efe657aad42794f0057ff4b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecl1ps/orbital-devastation",
"max_stars_repo_path": "Application/Core/Scene/Controls/Implementations/AsteroidDroppingSingularityControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orbit.Core.Scene.Entities.Implementations;
using Orbit.Core.Helpers;
using Orbit.Core.Scene.Entities;
using Lidgren.Network;
using Orbit.Core.Scene.CollisionShapes;
using Orbit.Core.Scene.Controls.Collisions.Implementations;
u... | 2.130589 | e0f9ec1633d6fa7d7149e827210669f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CorneliusCornbread/Siege-Defense",
"max_stars_repo_path": "Siege-Defense/Assets/Scripts/Game/BulletDamage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7833"
} | starcoder | using UnityEngine;
using Mirror;
namespace SiegeDefense.Game
{
[RequireComponent(typeof(Rigidbody2D))]
public class BulletDamage : NetworkBehaviour
{
[SerializeField]
private int damage = 10;
[SerializeField]
private string targetTag;
private void OnCollisionEnter2D(Collision2D coll... | 2.266541 | 455c02b65115867173b1ac36ab91b781 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7833 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "josesimoes/azure-iot-sdks",
"max_stars_repo_path": "csharp/service/Microsoft.Azure.Devices/AmqpServiceClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7834"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices
{
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading... | 1.634944 | 8b9f59a46e5c886bcf49ac8956a19c9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7834 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "couven92/thnetii-windows-api",
"max_stars_repo_path": "src-shared/THNETII.WinApi.WindowsDataTypes/LPCTSTR.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7835"
} | starcoder | <filename>src-shared/THNETII.WinApi.WindowsDataTypes/LPCTSTR.cs<gh_stars>1-10
using System;
using System.Runtime.InteropServices;
using THNETII.InteropServices.Memory;
namespace THNETII.WinApi.Native
{
/// <summary>
/// A pointer to a constant null-terminated string of platform-dependant characters.
/// <... | 2.349681 | d0a01be99bac76087f294b0412c577ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7835 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "YunusOzdemirr/BlogApi",
"max_stars_repo_path": "src/v2/CmnSoftwareBackend.Services/Abstract/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7836"
} | starcoder | <reponame>YunusOzdemirr/BlogApi
using System;
using System.Threading.Tasks;
using CmnSoftwareBackend.Entities.ComplexTypes;
using CmnSoftwareBackend.Entities.Dtos.UserDtos;
using CmnSoftwareBackend.Shared.Utilities.Results.Abstract;
namespace CmnSoftwareBackend.Services.Abstract
{
public interface IUserService
... | 1.591942 | 0082664f66d32884a37f14237d31a21f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WebPx/WebPx.Events",
"max_stars_repo_path": "src/Events/MessageCenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7837"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace WebPx.Events
{
public static class MessageCenter
{
private static MessageSubscribers _channels = null;
public static void Subscribe<T>(MessageEventHa... | 2.365212 | 619f58d9edfdc211d17fc2c69c3543b4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.