added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cranch-fur/DBD_ModInstallerbyGrundo",
"max_stars_repo_path": "DeadByDaylightModInstaller/Model/ISettingsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93962"
} | starcoder | namespace Dead_By_Daylight_Mod_Installer.Model
{
public interface ISettingsRepository
{
Settings Settings { get; }
void SaveSettings();
}
}
| 1.578085 | d7706211aca57e884b300f5d066a0b55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/Mage",
"max_stars_repo_path": "MageDisplayLib/GVPipelineSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93963"
} | starcoder | using System.Collections.Generic;
using System.Windows.Forms;
using Mage;
namespace MageDisplayLib
{
/// <summary>
/// <para>
/// This is a pipeline module
/// that can serve the contents of a GridViewDisplayControl to standard tabular output
///</para>
/// <para>
/// It is an ... | 3.030002 | 3400a389a9ef01f67285a6e5ccb63863 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93963 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ThreeBadBoys/NewUniversity",
"max_stars_repo_path": "newUniversity/Classes/Student.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93964"
} | starcoder | <reponame>ThreeBadBoys/NewUniversity
using System.Collections.Generic;
namespace newUniversity.Classes
{
class Student : User
{
static public void chooseCourse(StudentObject student, int courseId)
{
try
{
CourseObject course = Universal.instance.courses.... | 2.926735 | 330c6f0b8e5401fbd223df9ca869c31f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasarsoft/examples",
"max_stars_repo_path": "cs/jlp4/Poglavlje 21/Primjer 10/ClientHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93965"
} | starcoder | <filename>cs/jlp4/Poglavlje 21/Primjer 10/ClientHandler.cs
using System;
using System.Net;
using System.Net.Sockets;
namespace AsynchNetworkServer
{
class ClientHandler
{
private byte[] buffer;
private Socket socket;
private NetworkStream networkStream;
private AsyncCallback ca... | 3.071622 | af94e8042fa0d8263cc1877814000572 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93965 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PowerDG/dgCubeInit",
"max_stars_repo_path": "6.0.0/aspnet-core/src/dgCube.Core/Common/Student.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93966"
} | starcoder | <gh_stars>1-10
namespace dgCube.Common
{
internal class Student
{
}
} | 1.193296 | a2438e5d4a50fb16b9f7370e54d18b82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.IncreasticEventIndicators",
"max_stars_repo_path": "src/Lykke.Service.IntrinsicEventIndicators.AzureRepositories/ExternalEventHistoryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93967"
} | starcoder | using AzureStorage;
using JetBrains.Annotations;
using Lykke.Service.IntrinsicEventIndicators.Core.Domain;
namespace Lykke.Service.IntrinsicEventIndicators.AzureRepositories
{
[UsedImplicitly]
public class ExternalEventHistoryRepository : EventHistoryRepository, IExternalEventHistoryRepository
{
p... | 1.4223 | 34f0fe85bff1aef49cf881f9ecd92ba5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benjaminvanrenterghem/CQRS_Base",
"max_stars_repo_path": "DAL/Repositories/Generics/GenericWriteRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93968"
} | starcoder | <filename>DAL/Repositories/Generics/GenericWriteRepository.cs
using Domain.Abstract;
using Domain.Exceptions;
using Domain.Interfaces.Repositories.Generics;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespac... | 2.874247 | 9a2b736fb7ad3a1e1f7986b12666e851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanmayparikh/rosbridgesharp",
"max_stars_repo_path": "Messages/Std/Int16MultiArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93969"
} | starcoder | <reponame>tanmayparikh/rosbridgesharp
using Newtonsoft.Json;
namespace Rosbridgenet.Messages.Std
{
public class Int16MultiArray : Message
{
[JsonIgnore]
public const string ROSMessageType = "std_msgs/Int16MultiArray";
[JsonIgnore]
public override string MessageType
{
... | 1.874132 | a044ff19b80e865f58f92f63471dd9ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mprasanth/hello-world-dotnetcore",
"max_stars_repo_path": "Controllers/SecretsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93970"
} | starcoder | <reponame>mprasanth/hello-world-dotnetcore
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace hello_world_core.Controllers
{
[ApiController]
[Route("[controller]")]
public class Secr... | 2.152255 | 5db48a3fa14f92d6e68ab032f45c1277 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShadowDancer/StringEnumGenerator",
"max_stars_repo_path": "src/StringEnumGenerator/Generator/Model/EnumContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93971"
} | starcoder | <filename>src/StringEnumGenerator/Generator/Model/EnumContext.cs
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using StringEnumGenerator.Attributes;
namespace StringEnumGenerator.Generator.Model
{
... | 2.749063 | 8f85bc083c7e52fab22f1c85c6d32fb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93971 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KyubiB/Core-RCC",
"max_stars_repo_path": "Rahmat_Casting_Center/frmReportSAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93972"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using Microsoft.Reporting.WinForms;
using Microsoft.VisualBasic;
namespace... | 2.140499 | 03ae8916c2bd559e3bd440e0838d5d2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbeinder/S5Online",
"max_stars_repo_path": "IrcD.Net/Modes/ChannelModes/ModeBan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93973"
} | starcoder | /*
* The ircd.net project is an IRC deamon implementation for the .NET Plattform
* It should run on both .NET and Mono
*
* Copyright (c) 2009-2010 <NAME> <<EMAIL>>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ... | 2.175471 | 837b1aedb66d33224848b62dd7d0ab98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93973 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "Toysoft/spectnetide",
"max_stars_repo_path": "v2/Core/Spect.Net.SpectrumEmu/Abstraction/Configuration/IAudioConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93974"
} | starcoder | namespace Spect.Net.SpectrumEmu.Abstraction.Configuration
{
/// <summary>
/// This interface represents the configuration of the beeper device
/// </summary>
public interface IAudioConfiguration: IDeviceConfiguration
{
/// <summary>
/// The audio sample rate used to generate sound w... | 2.20767 | 58c45d15fa7d33b8155be6b273766fc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lDisciple/Watrix",
"max_stars_repo_path": "src/Core/COM/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93975"
} | starcoder | using System;
namespace Core.COM
{
/// <summary>
/// Various utilities that assist in working with COM Objects.
/// </summary>
public static class Utils
{
/// <summary>
/// Retrieve a service instance from the Immersive Shell with a specific GUID.
/// </summary>
... | 3.195948 | 8eb73c9f898de7034cc7d76b7cb053e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93975 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "krdbigsa/WcfClientProxyGenerator",
"max_stars_repo_path": "source/WcfClientProxyGenerator/OnInvokeHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93976"
} | starcoder | <filename>source/WcfClientProxyGenerator/OnInvokeHandler.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace WcfClientProxyGenerator
{
/// <summary>
/// Contains information about the invoked ... | 2.621692 | 7cc16e9bd4f23271efaa041fb80baa1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devdiv/test-exerciser",
"max_stars_repo_path": "TestExerciser/TestExerciser/Tools/ProjectManagement/ToolProjectStruct.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93977"
} | starcoder | namespace TestExerciser.Tools.ProjectManagement
{
partial class ToolProjectStruct
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.839535 | b0743da1a12a7c58a9eb5c96a40b65a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93977 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "ninject/Ninject.MockingKernel",
"max_stars_repo_path": "src/Ninject.MockingKernel/MockingKernel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93978"
} | starcoder | <reponame>ninject/Ninject.MockingKernel
// -------------------------------------------------------------------------------------------------
// <copyright file="MockingKernel.cs" company="Ninject Project Contributors">
// Copyright (c) 2010 bbv Software Services AG. All rights reserved.
// Copyright (c) 2010-2017 ... | 1.850108 | 20d51b434fdab05eedb35549d34aab78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cheng-z/xenadmin",
"max_stars_repo_path": "XenAdmin/TabPages/HomePage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93979"
} | starcoder | <reponame>cheng-z/xenadmin
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above... | 2.019051 | 94d102e3124c551e7995274a1e7cbf53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93979 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chuksogbolime/EcommerceMicroServices",
"max_stars_repo_path": "EcommerceMicroService.Api.Search/Core/Models/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93980"
} | starcoder | using System;
namespace EcommerceMicroService.Api.Search.Core.Models
{
public class Product
{
public int Id { get; set; }
public string Name { get; set; }
}
}
| 1.659953 | 761c6c5dcb4c0cd7be6f249fbe8e4d12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryuichi24/IMBox",
"max_stars_repo_path": "src/Services/Movie/Movie.API/src/Controllers/MoviesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93981"
} | starcoder | <filename>src/Services/Movie/Movie.API/src/Controllers/MoviesController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IMBox.Services.IntegrationEvents;
using IMBox.Services.Movie.API.DTOs;
using IMBox.Services.Movie.Domain.Entities;
using IMBox.Services.Movie.... | 2.252118 | b9ae7c424f72fd12a750b193fad6063c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nazmoonnoor/trending",
"max_stars_repo_path": "Publish/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93982"
} | starcoder | @{
ViewBag.Title = "Home Page";
}
<h4>
Time taken: @ViewData["second"] second
</h4> | 2.255858 | 09ce75dab49d25fe1f26291749045426 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hoge8086/MailToCalendar",
"max_stars_repo_path": "AppointmentParser/Date.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93983"
} | starcoder | using System;
namespace AppointmentParser
{
//日付クラス
public class Date : System.IComparable
{
//DataTimeのラッパーとして内部を実装
//private DateTime m_date;
public int Year { get; private set; }
public int Month { get; private set; }
public int Day { get; private set; }
... | 3.527276 | ca62451e2ca377b36c815ed206a25c09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93983 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "getsocial-im/getsocial-unity-sdk",
"max_stars_repo_path": "example/GetSocialSdkDemo/Assets/GetSocial/Scripts/Core/API/Common/Pagination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93984"
} | starcoder | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using GetSocialSdk.MiniJSON;
namespace GetSocialSdk.Core
{
public class PagingQuery<Q>
{
[JsonSerializationKey("limit")]
public int Limit { get; internal set; }
[JsonSerializationKey("next")]
pub... | 2.538104 | 42b25fc34729583fee40781611a857cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Radbuglet/Overlords",
"max_stars_repo_path": "game/player/mechanics/PlayerControlsLocal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93985"
} | starcoder | using Godot;
using Overlords.game.player.gui;
using Overlords.game.shared;
using Overlords.helpers.tree;
namespace Overlords.game.player.mechanics
{
public class PlayerControlsLocal : Node
{
private Vector2 _rotation;
public PlayerRoot Root => this.FindFirstAncestor<PlayerRoot>();
... | 1.884376 | e2a53b1ad2b5e0440da38cfaeabdff5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93985 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "rik-shaw/wesay",
"max_stars_repo_path": "src/Image Picker Test App/ImagePicker/ImageDisplayWidget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93986"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace ImagePicker
{
public partial class ImageDisplayWidget : UserControl
{
private string _fileName;
private string _storageFo... | 2.693086 | a90399a232dba681772f247eee60d144 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93986 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "dropsun/RoadFlowMvc",
"max_stars_repo_path": "RoadFlowDotPeek2.7.6/RoadFlow.Data.MySql/ProgramBuilderQuerys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93987"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: RoadFlow.Data.MySql.ProgramBuilderQuerys
// Assembly: RoadFlow.Data.MySql, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 29B652D7-5F6F-4A7D-AD1C-9F2C643FD784
// Assembly location: C:\inetpub\wwwroot\RoadFlowMvc\bin\RoadFlow.Data.MySql.dll
using MySql.D... | 1.880046 | c8f185cce8c6de64293c28d34aff7a1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "digitalinteraction/bootlegger-android",
"max_stars_repo_path": "Bootleg.Android/Adapters/SliverEditAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93988"
} | starcoder | /* Copyright (C) 2014 Newcastle University
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Views;
using Android.Support.V7.Widget;
using A... | 2.067349 | 4b2d45b53381b1114e550ba92a1b96ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93988 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "34j/ZoomCloser_",
"max_stars_repo_path": "ZoomCloser/Utils/StartUpHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93989"
} | starcoder | using Microsoft.WindowsAPICodePack.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.IO;
namespace ZoomCloser.Modules
{
internal static class StartUpHandler
{
public static string StartUpFol... | 2.395324 | 8164a798a2d3612843a88d72a2d96c3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93989 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nitrictech/dotnet-sdk",
"max_stars_repo_path": "Nitric.Test/Faas/ResponseTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93990"
} | starcoder | <filename>Nitric.Test/Faas/ResponseTest.cs
// Copyright 2021, Nitric Technologies Pty Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENS... | 2.072566 | 990e2d9a8b10b3a91c4076bce8a16b1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93990 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skarab42/ValheimTwitchGUI",
"max_stars_repo_path": "Assets/Scripts/MainPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93991"
} | starcoder | using UnityEngine;
using UnityEngine.EventSystems;
public class MainPanel : MonoBehaviour
{
public void ToggleActive()
{
gameObject.SetActive(!gameObject.activeSelf);
}
public void SetActive(bool active)
{
gameObject.SetActive(active);
}
}
| 2.146657 | df8278ad9a5f780a980aaec13aac3bde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xavierjohn/Domain-Driven-Design",
"max_stars_repo_path": "test/DomainDrivenDesignTests/Entity{T}Spec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93992"
} | starcoder | using CWiz.DomainDrivenDesign;
using System.Collections.Generic;
using Xunit;
namespace DomainDrivenDesignTests
{
[Trait("Category", "Entity")]
public class Entity_T_Spec
{
[Theory, MemberData(nameof(EqualEntity))]
public void Equal_should_return_true_for_two_different_entities_with_same_k... | 2.766006 | 6feb43792778ac6a5449f36c63ebb926 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artisna/SharpDump",
"max_stars_repo_path": "SharpDump.Test/MinidumpTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93993"
} | starcoder | <reponame>artisna/SharpDump
using FluentAssertions;
using Moq;
using SharpDump.Logic;
using Xunit;
namespace SharpDump.Test
{
public class MinidumpTest
{
[Theory]
[InlineData(int.MaxValue)]
[InlineData(int.MinValue)]
[InlineData(0)]
public void Minidump_AnyResult(int pr... | 1.834901 | 4f72a1362c6c2fd950c04984d2b08384 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hungabor01/Hungabor01Website",
"max_stars_repo_path": "Hungabor01Website/Database/Repositories/Interfaces/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93994"
} | starcoder | using Database.Core;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Database.Repositories.Interfaces
{
public interface IRepository<TEntity> where TEntity : class
{
public void Initialize(AppDbContext context);
public TEn... | 2.62438 | aa0247458e71a7c2db1ee6c0d8d4838c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93994 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Szaman97/IPv4-Setter",
"max_stars_repo_path": "IPv4Setter/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93995"
} | starcoder | <reponame>Szaman97/IPv4-Setter
namespace IPv4Setter
{
class Program
{
/// <summary>
/// Entry point for the program
/// </summary>
/// <param name="args">Startup arguments (not implemented)</param>
static void Main(string[] args)
{
Core.Run(... | 1.691503 | 3800f53fcc622375bd4b44979cdae82a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93995 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Colectica/cogs",
"max_stars_repo_path": "Cogs.Tests/DotSchemaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93996"
} | starcoder | using Cogs.Dto;
using Cogs.Model;
using Cogs.Publishers;
using System.IO;
using Xunit;
using System;
namespace Cogs.Tests
{
public class DotSchemaTests
{
[Fact]
public void SvgForHamburgersTest()
{
string path = Path.Combine(Directory.GetCurrentDirectory(), "..", "..", ".."... | 2.344098 | ba32425ffd58b58d23665ed2f6efad53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93996 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "IlyaFinkelshteyn/IdentityServer4.Contrib.LiteDB",
"max_stars_repo_path": "src/IdentityServer4.LiteDB.Tests/Mappers/ClientMapperProfileTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93997"
} | starcoder | using System.Linq;
using AutoMapper;
using IdentityServer4.LiteDB.Mappers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IdentityServer4.LiteDB.Tests.Mappers
{
[TestClass]
public class ClientMapperProfileTests
{
[TestMethod]
public void Map()
{
var model... | 2.503486 | 84ee0487b566c2195b75a2e4586483a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93997 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jagregory/boolangstudio",
"max_stars_repo_path": "Source/BooLangService/Document/Nodes/ReferencedNamespaceTreeNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93998"
} | starcoder | using Boo.BooLangService.Document.Origins;
using Boo.BooLangService.Intellisense;
namespace Boo.BooLangService.Document.Nodes
{
public class ReferencedNamespaceTreeNode : NamespaceTreeNode
{
public ReferencedNamespaceTreeNode(ISourceOrigin sourceOrigin) : base(sourceOrigin)
{}
public o... | 1.437163 | e3e73d7fe8c10c088bda5e8525deedf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93998 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "pulumi/pulumi-cloudflare",
"max_stars_repo_path": "sdk/dotnet/LogPushOwnershipChallenge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93999"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.962051 | b9c967ab946162607c298e1d66aeb2d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fernandosgodoy/ConstructoIt-Test",
"max_stars_repo_path": "ConstructoIt.Api/ConstructoIt.Domain/Interfaces/Services/IMoradorService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94000"
} | starcoder | <reponame>fernandosgodoy/ConstructoIt-Test
using ConstructoIt.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace ConstructoIt.Domain.Interfaces.Services
{
public interface IMoradorService
: IServiceBase<Morador>
{
}
}
| 0.967726 | 8462510c824192c22f3946a121a48013 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GTEVO/MessagePackAOTSimple",
"max_stars_repo_path": "Program/UnitTestProject1/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94001"
} | starcoder | <reponame>GTEVO/MessagePackAOTSimple
using System.Threading.Tasks;
using MsgDefine.TestMsg;
using CommonLib;
using Xunit;
using System.Threading;
using CommonLib.Network;
using System.Net;
using System.Buffers;
using System.IO;
using System;
using System.Buffers.Binary;
namespace UnitTestProject1
{
public class ... | 2.098439 | c425e562082763243294a1bfa0e0582b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94001 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fabiosilvalima/FSL.EbookRealWorldProgramming",
"max_stars_repo_path": "FSL.eBook.RWP.DesignPatterns/DecoratorChapter/SmallPizza.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94002"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FSL.eBook.RWP.DesignPatterns.DecoratorChapter
{
public class SmallPizza : Pizza
{
public SmallPizza()
{
Description = "Small Pizza";
}
public override double CalculateCos... | 2.747855 | 7a724513066ed0e3f1c0dfed6268da5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovichikhinAlexey/Lykke.Service.PayInvoice",
"max_stars_repo_path": "src/Lykke.Service.PayInvoice.Services/Extensions/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94003"
} | starcoder | using System.Collections.Generic;
using Lykke.Service.PayInvoice.Core.Domain;
namespace Lykke.Service.PayInvoice.Services.Extensions
{
public static class Extensions
{
public static bool IsPaidStatus(this InvoiceStatus status)
{
var paidStatuses = new List<InvoiceStatus>() {
... | 2.194008 | 1160d76f5a387ca09f35f9339345b70d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94003 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lemoissonneur/VariableReference",
"max_stars_repo_path": "Scripts/Editor/CustomVariables/CustomVariableReferenceCreatorEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94004"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.IO;
namespace CobayeStudio.VariableReference
{
[CustomEditor(typeof(CustomVariableReferenceCreator), true)]
public class CustomVariableReferenceCreatorEditor : Editor
{
public override void OnInspectorGUI()
{
SerializedObject ... | 2.316009 | f805a50caacc44bee51fc2ab18abcad8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94004 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Database/Inputs/DbSystemDbSystemOptionsGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94005"
} | starcoder | <reponame>EladGabay/pulumi-oci
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usi... | 1.465878 | 939524126523ff301dd274f384943491 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebnema/HttpAbstractions-1.0.0-rc1-NoAuthHandler",
"max_stars_repo_path": "src/Microsoft.AspNet.Http.Extensions/SendFileResponseExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94006"
} | 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.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Extensions;
using Microsoft.AspNet.Http.Features;
names... | 2.333484 | 402d3a010985070c0d70e15c4ac80eab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94006 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "prefectover/FrameWorkStudy",
"max_stars_repo_path": "Assets/QFramework/Core/Singleton/QMonoSingletonAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94007"
} | starcoder | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace QFramework
{
[AttributeUsage(AttributeTargets.Class)]
public class QMonoSingletonAttribute : System.Attribute
{
private string m_AbsolutePath;
public QMonoSingletonAttribute(string relat... | 2.382124 | 808049034c4e29b0603e0393ffc7a8ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94007 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jfevia/ProductivityShell",
"max_stars_repo_path": "src/Jfevia.ProductivityShell.Vsix/Solutions/StartupProfileChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94008"
} | starcoder | <filename>src/Jfevia.ProductivityShell.Vsix/Solutions/StartupProfileChangedEventArgs.cs
using System;
using Jfevia.ProductivityShell.Configuration;
namespace Jfevia.ProductivityShell.Vsix.Solutions
{
internal class StartupProfileChangedEventArgs : EventArgs
{
/// <inheritdoc />
/// <summary>
... | 2.21295 | 3bd662a30b061e012a6afcbb0ac6a27c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94008 | {
"extension": "c-sharp",
"max_stars_count": "834.0",
"max_stars_repo_name": "mavasani/visualstudio-docs",
"max_stars_repo_path": "docs/vsto/codesnippet/CSharp/trin_exceladdindynamiccontrols4/class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94009"
} | starcoder | <reponame>mavasani/visualstudio-docs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trin_ExcelAddInDynamicControls4
{
class Class1
{
private void OtherMethod()
{
Microsoft.Office.Interop.Excel.Worksheet nativeWorksh... | 1.781101 | b52c6db720e01ff545479c1d7335ca4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yortw/Yort.Http.Pipeline",
"max_stars_repo_path": "src/Yort.Http.ClientPipeline.Portable/OAuth2/OAuth2Token.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94010"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Http;
namespace Yort.Http.ClientPipeline.OAuth2
{
/// <summary>
/// Represents a simple/base OAuth 2.0 token (bearer style token).
/// </summary>
/// <remarks>
/// <para>Other... | 2.674293 | c4cad1a604f36321546199938da71707 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94010 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UI/UI/Xaml/Controls/ViewBox/Viewbox.wasm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94011"
} | starcoder | <filename>src/Uno.UI/UI/Xaml/Controls/ViewBox/Viewbox.wasm.cs
using Windows.UI.Xaml.Markup;
namespace Windows.UI.Xaml.Controls
{
public partial class Viewbox : global::Windows.UI.Xaml.FrameworkElement
{
partial void OnChildChangedPartial(UIElement previousValue, UIElement newValue)
{
if (previousValue != nul... | 2.008154 | 1dba784ab16d7f44a63fccfd361c0e47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flowertwig-org/polisensvolontarer-api",
"max_stars_repo_path": "Api/Controllers/ChangePasswordController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94012"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text.RegularExpressions;
using Api.Contracts;
using Api.Helpers;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
namespace Api.Controllers
{
[Route("api/[controller]")]
public class Chang... | 2.129312 | adc5c25020e1c64f3f99765c7ec832db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94012 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "James-LeHa/Automate_With_Actions_DemoDay2020",
"max_stars_repo_path": "src/ReadingTime3.Web/Controllers/BookController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94013"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using ReadingTime3.Web.Services;
namespace ReadingTime3.Web.Controllers
{
public class BookController : Controller
{
private readonly BookService bookService;
public BookController()
{
bookService = new BookService();
}
// G... | 2.110873 | b41c1f98e1248187ed70eaf3f1b5de23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Poyser1911/ServerBrowser",
"max_stars_repo_path": "Cod4ServerBrowser/Converters/BoolToMark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94014"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace Cod4ServerBrowser.Converters
{
public class BoolToMarkConverter : IValueConverter
{
pub... | 2.050758 | 14c7dd705b0d967e9ebee6e08cd8af78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/VarietyMattersImproved",
"max_stars_repo_path": "Source/VarietyMatters/Pawn_VarietyTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94015"
} | starcoder | <filename>Source/VarietyMatters/Pawn_VarietyTracker.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using UnityEngine;
using Verse;
namespace VarietyMatters
{
// Token: 0x0200000C RID: 12
public class Pawn_VarietyTracker : IExposable
{
// Token: 0x0... | 1.994164 | 4be6228d9bf7c9c868d97dff96beedab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yogeshchaudhari16991/RemoteNoSQLDB",
"max_stars_repo_path": "RemoteNoSQLDB/Communication Channel/Sender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94016"
} | starcoder | <filename>RemoteNoSQLDB/Communication Channel/Sender.cs
/////////////////////////////////////////////////////////////////////////
// Sender.cs - CommService Sender connects and sends messages //
// Ver 1.0 //
// Application: Demonstration for CSE681-... | 2.746765 | 6298278123000f40a868af9cd306b651 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurienanofab/labscheduler",
"max_stars_repo_path": "LNF.Web.Scheduler/Handlers/FacilityDowntimeHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94017"
} | starcoder | using LNF.Data;
using LNF.Mail;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using LNF.Web.Scheduler.FacilityDownTime;
namespace LNF.Web.Scheduler.Handlers
{
... | 2.283411 | 9849d5c91f9ccfdaab94b0c6d31d06f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94017 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RookieIndieDev/ChaosTerraria",
"max_stars_repo_path": "Structs/ObservedAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94018"
} | starcoder | <reponame>RookieIndieDev/ChaosTerraria<gh_stars>1-10
namespace ChaosTerraria.Structs
{
public struct ObservedAttributes
{
public string attributeId;
public string attributeValue;
public string species;
}
}
| 1.563954 | 0ce0319e3c8348389c3cd06b97f66868 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gligor8/ASP.NET_MVC_Homeworks",
"max_stars_repo_path": "SEDC.PizzaApp.Refactored(HW_class7&8)/SEDC.PizzaApp.Refactored/Controllers/OrderController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94019"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using SEDC.PizzaApp.Domain.Models;
using SEDC.PizzaApp.Refactored.Models;
using SEDC.PizzaApp.Services.Services.Implementation;
using SEDC.PizzaApp.Services.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace S... | 2.41366 | 607552506b9f9a2b39974afd713d1750 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cormacpayne/Oryx",
"max_stars_repo_path": "src/BuildScriptGenerator/Php/IPhpVersionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94020"
} | starcoder | <reponame>cormacpayne/Oryx
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
... | 1.384226 | 7dcb308ebc061b2c738899f1f87783e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaywgraves/seedQuest",
"max_stars_repo_path": "Unity/Legacy/SeedQuest/Assets/SeedQuest/Scripts/GameUI/MainMenu/MainMenuIcon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94021"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenuIcon : MonoBehaviour {
// Update is called once per frame
void Update () {
//transform.Rotate(new Vector3(45, 30, 0) * Time.deltaTime);
transform.Rotate(new Vector3(0, 45, 0) * Time.deltaTi... | 1.657715 | 4fe67ab30d7736adf35eedb18f429175 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdemeuse1204/GoGet",
"max_stars_repo_path": "GoGet/Get.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94022"
} | starcoder | <filename>GoGet/Get.cs
/*
* GoGet v1.0
* License: The MIT License (MIT)
* Code: https://github.com/jdemeuse1204/GoGet
* Email: <EMAIL>
* Copyright (c) 2015 <NAME>
*/
namespace GoGet
{
public class Get
{
public Get(string navigationPathLast, object foundObject)
{
NavigationPat... | 2.258017 | dec35298e865edf3d976e007598c19c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94022 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "OneCodeTeam/How to bind commands to a button in the DataTemplate in UWP apps/[C#]-How to bind commands to a button in the DataTemplate in UWP apps/C#/CSUWPAppCommandBindI... | starcoder | <filename>OneCodeTeam/How to bind commands to a button in the DataTemplate in UWP apps/[C#]-How to bind commands to a button in the DataTemplate in UWP apps/C#/CSUWPAppCommandBindInDT/Model/Customer.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
us... | 2.929909 | 47896ba97586400fe1b410d1795146d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeeeeeC/TelerikAcademy2015-2016",
"max_stars_repo_path": "03. OOP/06. CommonTypeSystem/01. StudentClass/Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94024"
} | starcoder | namespace _01.StudentClass
{
using System;
public class Test
{
public static void Main()
{
Student firstStudent = new Student();
Student secondStudent = new Student();
secondStudent.Course = 5;
secondStudent.FistName = "Pesho";
se... | 3.593636 | e5d48ae37e4a00f079569adbd9cc70a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zrusev/ddd-architecture",
"max_stars_repo_path": "TimeOffManager/TimeOffManager.Web/Features/RequestsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94025"
} | starcoder | <reponame>zrusev/ddd-architecture
namespace TimeOffManager.Web.Features
{
using Application.Common;
using Application.Vacations.Requests.Commands.Approve;
using Application.Vacations.Requests.Commands.Create;
using Application.Vacations.Requests.Queries.ByTeam;
using Application.Vacations.Requests.... | 2.176829 | b2d493f7ac2c5924255345ceb545dbd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SlapPandas/PremierService-Solutions-FrontEnd",
"max_stars_repo_path": "PremiereSolutionProject/PremiereSolutionProject/DAL/JobDH.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94026"
} | starcoder | <gh_stars>0
using PremiereSolutionProject.BLL;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PremiereSolutionProject.DAL
{
public class JobDH : DatabaseConnection
{
EmployeeDH employeeDH = new ... | 2.148551 | bc8659fdf5ded1415748b391a9ef33e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wesley-brown/MessagingApp",
"max_stars_repo_path": "src/MessagingApp.Data/Messages/MessagesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94027"
} | starcoder | <reponame>wesley-brown/MessagingApp
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using MessagingApp.Domain;
namespace MessagingApp.Data.Messages
{
public sealed class MessagesService
{
private readonly MessagingAppDbContext context;
public MessagesService(MessagingA... | 2.624769 | 45ae7c52be2dd9c7eb00ccda3d983ab8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelson1987/ProjetoPadraoTDD",
"max_stars_repo_path": "Code/1_Presentation/WebForLink.Web/Controllers/FornecedorPreCadastroController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94028"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using WebForLink.Web.Controllers.Extensoes;
using WebForLink.Web.ViewModels;
using WebForLink.Web.ViewModels.WebForLink;
namespace WebForLink.Web.Controllers
{
public class FornecedorPreCadastroController : ControllerPadrao
{
[... | 2.181184 | 1874b9ff73ee2dcd1b9597c594d49fc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hbence/MeshBuilder",
"max_stars_repo_path": "MeshBuilderDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94029"
} | starcoder | <filename>MeshBuilderDrawer.cs
using UnityEngine;
using Unity.Jobs;
namespace MeshBuilder
{
[System.Serializable]
public class MeshBuilderDrawer : MeshDrawer, System.IDisposable
{
public Builder MeshBuilder { get; private set; }
public T Get<T>() where T : Builder { return MeshBuilder as T... | 2.650053 | 4b8bc478f14ae066d8039c5f4bfaf371 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsolano/qsd_study",
"max_stars_repo_path": "Core/Boundaries/ISecretHasher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94030"
} | starcoder | <gh_stars>0
namespace QSDStudy.Core.Boundaries
{
public interface ISecretHasher
{
string Hash(string secret);
}
}
| 1.120438 | 7858b5c364bc7434e22728f7bb8664db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rile-s/riles.Weaver",
"max_stars_repo_path": "Editor/WeaverStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94031"
} | starcoder | <filename>Editor/WeaverStatus.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace riles.Weaver {
public static class WeaverStatus {
#region Constants
internal const string WEAVER_READY = "WEAVER_READY";
internal const string WEAVE... | 1.997816 | 2a9ba05306dcb819332d5b2f086361fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgarbsch/GenericObjectsFramework",
"max_stars_repo_path": "EnumObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94032"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xUtilities.Attributes;
namespace GenericObjectsFramework
{
/// <summary>
/// Model layer base class used to specify an enumeration.
/// </summary>
/// <remarks></remarks>
[Serializable]
public abstract ... | 2.991341 | eeca5dcb18d4cb683e96844fa5cc5ebb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeObsessed/drumbleapp",
"max_stars_repo_path": "DrumbleApp.Shared/Messages/Classes/PointOnMapMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94033"
} | starcoder | <gh_stars>0
using DrumbleApp.Shared.Entities;
using DrumbleApp.Shared.Messages.Base;
using DrumbleApp.Shared.Messages.Enums;
using DrumbleApp.Shared.ValueObjects;
namespace DrumbleApp.Shared.Messages.Classes
{
public sealed class PointOnMapMessage : BaseMessage<PointOnMapMessage>
{
public PointOnMapMe... | 1.938594 | 854693e3fcaa1418fa24e68148a892a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94033 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "indrivo/bizon360_crm",
"max_stars_repo_path": "src/GR.Extensions/GR.Crm.Extension/GR.Crm.Extensions/GR.Crm.Leads/GR.Crm.Leads.Abstractions/ILeadService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94034"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using GR.Core.Helpers;
using GR.Core.Helpers.Pagination;
using GR.Crm.Leads.Abstractions.Models;
using GR.Crm.Leads.Abstractions.ViewModels;
using Microsoft.AspNetCore.Http;
namespace GR.Crm.Lead... | 2.078575 | f858ff7d91dce119bf32bb6b75dd91f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kokonut27/Sugar.lang",
"max_stars_repo_path": "Sugar/Sugar/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94035"
} | starcoder | using System;
using Sugar.Language;
namespace Sugar
{
internal static class Program
{
static void Main(string[] args)
{
var source = "namespace name { class X { Y: y; } } namespace name2 { class Y { } }";
new Compiler(source).Compile();
Console.ReadKey();
... | 1.870273 | 4a6ff161a6e2e5ff93045ad5ee4103bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "murat1347/ShoppingAppDotnet",
"max_stars_repo_path": "HYS.WEBUI/Controllers/AccountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94036"
} | starcoder | <reponame>murat1347/ShoppingAppDotnet
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using shopapp.business.Abstract;
using shopapp.webui.EmailServices;
using shopapp.webui.Extensions;
using shopapp.webui.Identity;
using shopapp.we... | 2.177028 | 5329ae24657f0ffb4cb71aa9a0981791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MuhammadFaizanKhan/3DWalker",
"max_stars_repo_path": "3DWalker/Assets/3D Walker/Scripts/Camera/CamFly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94037"
} | starcoder | using UnityEngine;
using System.Collections;
using ThreeDWalker;
/// <summary>
/// Function: Handle Cam Fly
/// Author: <NAME>
/// </summary>
namespace ThreeDWalker
{
public class CamFly : MonoBehaviour
{
[Header("Cam Fly Settings")]
public float speed = 10;
public float updownSpeed = 5... | 2.492421 | 7c036675c59010dec93e716a821e59fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StarlightNL/WiimoteLib",
"max_stars_repo_path": "WiimoteLib/DataTypes/CalibrationInfo/BalanceBoardCalibrationInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94038"
} | starcoder | <reponame>StarlightNL/WiimoteLib<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WiimoteLib.DataTypes
{
/// <summary>
/// Calibration information
/// </summary>
public struct BalanceBoardCalibrationInfo
{
/// <... | 1.955627 | e4ed61b6f193858d694f825d986a7b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuanGarza88/PactOfNineTesis",
"max_stars_repo_path": "Assets/Scripts/Scripts/DestroyOnComplete.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94039"
} | starcoder | <reponame>JuanGarza88/PactOfNineTesis
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyOnComplete : MonoBehaviour
{
private void OnComplete()
{
Destroy(gameObject); //este metodo es llamado en a animacion de la paricula del efecto como un evento... | 1.838473 | 00548891a22678baabc7f752e5e86e30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/FaraMedia",
"max_stars_repo_path": "src/Libraries/FaraMedia.Data/Mapping/Components/HistoryComponentMap.fixed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94040"
} | starcoder | namespace FaraMedia.Data.Mapping.Components {
using FaraMedia.Core.Domain.Components;
using NHibernate.Mapping.ByCode.Conformist;
public sealed class HistoryComponentMap : ComponentMapping<HistoryComponent> {
public HistoryComponentMap() {
ManyToOne(hc => hc.Invoker);
Property(hc => hc.InvokerIp);
Prope... | 1.679356 | 936ffac3379afd2bad665560e8194a95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "purehaTime/BotChannel",
"max_stars_repo_path": "BotChannel/Services/UpdateService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94041"
} | starcoder | <reponame>purehaTime/BotChannel
using System.Linq;
using System.Threading.Tasks;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using BotChannel.BotCommand;
namespace BotChannel.Services
{
public class UpdateService : IUpdateService
{
private readonly IBotService _botService;
private static int? _p... | 2.576611 | 0ed0965ca32ceb73de61dd00185d732f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94041 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "terrajobst/debugger-libs",
"max_stars_repo_path": "Mono.Debugger.Soft/Mono.Debugger.Soft/Location.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94042"
} | starcoder | using System;
namespace Mono.Debugger.Soft
{
public class Location : Mirror
{
MethodMirror method;
//long native_addr;
int il_offset;
string source_file;
int line_number;
byte[] hash;
int column_number;
int end_line_number;
int end_column_number;
internal Location (VirtualMachine vm, MethodMir... | 2.328356 | 5cfe170b7be1b534fec0b84bd07037dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94042 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "OpenBapul/iamport-rest-client-net",
"max_stars_repo_path": "Samples/Sample.AspNetCore/Views/DirectPayment/Result.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94043"
} | starcoder | @model Sample.AspNetCore.ViewModels.PaymentViewModel
@using Sample.AspNetCore.Models
@{
ViewData["Title"] = "비인증-결제 데모: 결제 진행상태";
}
<div class="row">
<h1>@ViewData["Title"]</h1>
<div>
<p>이 페이지는 현재 결제 결과를 표시합니다.</p>
</div>
<div class="panel panel-default">
<div class="panel-heading... | 2.432313 | 1725c5dc0b818aed5e328788129c11f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94043 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lmgrill/StockSharp",
"max_stars_repo_path": "Messages/BoardLookupResultMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94044"
} | starcoder | namespace StockSharp.Messages
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// Boards search result message.
/// </summary>
[DataContract]
[Serializable]
public class BoardLookupResultMessage : BaseResultMessage<BoardLookupResultMessage>
{
/// <summary>
/// Initializes a new instance ... | 1.948419 | 533d2c9b216f01a4e4980ac4cb13443d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kurbat89/PilotRevitIntegrator",
"max_stars_repo_path": "Ascon.Pilot.SDK.RevitShareAgregator/DataObserver/PersonalSettingsObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94045"
} | starcoder | <filename>Ascon.Pilot.SDK.RevitShareAgregator/DataObserver/PersonalSettingsObserver.cs
using System;
using System.Collections.Generic;
namespace Ascon.Pilot.RevitShareAgregator.DataObserver
{
public class PersonalSettingsObserver : IObserver<KeyValuePair<string, string>>
{
private readonly Action<KeyV... | 2.517897 | e2057d43d8b9c66d5b8ceeb014e0b6bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94045 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "MessagePack/Unity/Vector4Formatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94046"
} | starcoder | public sealed class Vector4Formatter : IMessagePackFormatter<Vector4>, IMessagePackFormatter // TypeDefIndex: 5183
{
// Methods
// RVA: 0x1BD3B30 Offset: 0x1BD3C31 VA: 0x1BD3B30 Slot: 4
public void Serialize(ref MessagePackWriter writer, Vector4 value, MessagePackSerializerOptions options) { }
// RVA: 0x1BD3BC0 O... | 1.574756 | 672a3c191e92036e28c3427da68b5d63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KatherineSimba/DejandoHuella",
"max_stars_repo_path": "Migrations/20180318164022_empleado-detalle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94047"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Empresa.Migrations
{
public partial class empleadodetalle : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<b... | 1.62108 | ba936c3a5991615c2c6c975324486bcf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prjm/SharpFloatLibrary",
"max_stars_repo_path": "SharpFloat/src/ExtF80/ExtF80ToLong.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94048"
} | starcoder | <reponame>prjm/SharpFloatLibrary
/* This library is a port of the standard softfloat library, Release 3e, from <NAME> to C#.
*
* Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the
* University of California. All rights reserved.
*
* Copyright 2018, 2019 <NAME>. All rights ... | 2.011783 | d22711a4b57de9c453ab477f4044319e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anderson-rancan/simplecaddms",
"max_stars_repo_path": "src/SimpleCadDms.Business/CadDmsFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94049"
} | starcoder | <reponame>anderson-rancan/simplecaddms
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleCadDms.Business
{
public static class CadDmsFactory
{
public static ICadDms CreateNew()
{
return new CadDms();
... | 1.65727 | 9839aaf1d19638dc1c5450c0da3c75a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefguggisberg/PxWeb",
"max_stars_repo_path": "PCAxis.Query/OperationsTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94050"
} | starcoder | using PCAxis.Query.Serializers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PCAxis.Paxiom.Operations;
namespace PCAxis.Query
{
/// <summary>
/// Tracks made operations
/// </summary>
public class OperationsTracker
{
private List<WorkStep> _s... | 2.827485 | f511f6ab3c14d8b0646e6afe9664535e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94050 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jugstalt/gview5",
"max_stars_repo_path": "gView.Interoperability.GeoServices/Rest/Json/JsonGenerateToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94051"
} | starcoder | <filename>gView.Interoperability.GeoServices/Rest/Json/JsonGenerateToken.cs
using gView.Interoperability.GeoServices.Rest.Reflection;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace gView.Interoperability.GeoServices.Rest.Json
{
public class JsonGenerateToken
... | 2.184892 | f5ac9817c723a0ddab764ece2019b85e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94051 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "acidbubbles/vam-varbsorb",
"max_stars_repo_path": "src/Logging/ILogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94052"
} | starcoder | using System.Threading.Tasks;
namespace Varbsorb.Logging
{
public interface ILogger
{
bool Enabled { get; }
Task DumpAsync();
void Log(string message);
}
}
| 2.115169 | 761d50a480ceca98cdc73d9191cdfeae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94052 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/Transcoder/V1Beta1/Outputs/MpegCommonEncryptionResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94053"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
name... | 1.43641 | 4c230e9de4de9ff8be55a0938b09a6ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nike4613/IPA-Reloaded",
"max_stars_repo_path": "IPA.Loader/Logging/UnityLogInterceptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94054"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace IPA.Logging
{
internal static class UnityLogInterceptor
{
internal static Logger Logger;
public static Logger UnityLogger => Logger ?? (Logger = new StandardLogger("UnityEngine"));
public static Logger.Level LogTypeToLevel(LogType type)
... | 1.872827 | 1e0bba556c27ccaddcf92bba791df306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "engilas/AspNetCore-Infrastructure",
"max_stars_repo_path": "test/Infrastructure.Tests/Infrastructure/Extensions/StringExtensions_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94055"
} | starcoder | <filename>test/Infrastructure.Tests/Infrastructure/Extensions/StringExtensions_Tests.cs
using System;
using Infrastructure.Extensions;
using Newtonsoft.Json;
using Shouldly;
using Xunit;
namespace Infrastructure.Tests.Infrastructure.Extensions
{
public class StringExtensions_Tests
{
private readonly s... | 2.851859 | 85dd140c183e053bbb3b5c4bc7926cbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "100Bandz/ImageProcessing",
"max_stars_repo_path": "Image-Processing/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94056"
} | starcoder |
namespace Image_Processing
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 2.28793 | 5df68f0f43eba6d7dbf8b006e90ba30b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AVAVT/BarcodeDungeon",
"max_stars_repo_path": "Assets/Generated/Game/GameComponentsLookup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94057"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentsLookupGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gener... | 1.165689 | 6c7c2ba229aedaf508fd8642218e4c2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94057 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AbpApp/WMS",
"max_stars_repo_path": "modules/Hd.Container/src/Hd.Container.Domain/Settings/ContainerSettingDefinitionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94058"
} | starcoder | using Volo.Abp.Settings;
namespace Hd.Container.Settings
{
public class ContainerSettingDefinitionProvider : SettingDefinitionProvider
{
public override void Define(ISettingDefinitionContext context)
{
/* Define module settings here.
* Use names from ContainerSettings ... | 1.634527 | 18ea8f2e9aaa69ded83c6648dff5f362 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94058 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "BENALIsalahEDDINE/QuizEMI",
"max_stars_repo_path": "Web/QuizEMI.Web/Areas/Administration/Views/_ViewStart.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94059"
} | starcoder | <gh_stars>10-100
@{
this.Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
| 1.061402 | 690c1245f63a1caf06de21457ecff319 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nagasudhirpulla/wrldc_codes_mgmt",
"max_stars_repo_path": "src/WebApp/Pages/CodeRequestRemarks/Edit.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94060"
} | starcoder | <filename>src/WebApp/Pages/CodeRequestRemarks/Edit.cshtml.cs
using Application.CodeRequestRemarks.Queries.GetRawCodeRequestRemark;
using Application.CodeRequestRemarks.Commands.EditCodeRequestRemarks;
using Core.Entities;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Au... | 2.150985 | c6e81a346b82908d93554ba0157eff88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XanatosX/OpenLoganalyzer",
"max_stars_repo_path": "OpenLoganalyzerLib/Core/Enum/LoaderTypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94061"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenLoganalyzerLib.Core.Enum
{
/// <summary>
/// Enum of all the available loader types for the factory
/// </summary>
public enum LoaderTypeEnum
{
FileLoader
}... | 1.671887 | 5af54d6996e0404a7005b53b8f00bc66 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.