added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Enhed/CronScheduler",
"max_stars_repo_path": "CronAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155932"
} | starcoder | <filename>CronAttribute.cs<gh_stars>0
using System;
/*
* * * * * *
- - - - - -
| | | | | |
| | | | | +--- day of week (0 - 6) (Sunday=0)
| | | | +----- month (1 - 12)
| | | +------- day of month (1 - 31)
| | +--------- hour (0 - 23)
| +----------- min (0 - 59)
+------------- sec (0 - 59)
*/
namespace CronScheduler
{
... | 2.84582 | 01b0a0719ff110bab30b4f0e05642ced |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmcconnell1618/BV-Commerce-Community",
"max_stars_repo_path": "App/source/BVSoftware.CommerceDTO/v1/Catalog/CategorySortOrderDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155933"
} | starcoder | <reponame>mmcconnell1618/BV-Commerce-Community<filename>App/source/BVSoftware.CommerceDTO/v1/Catalog/CategorySortOrderDTO.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace BVSoftware.CommerceDTO.v1.Catalog
{
[DataContract... | 2.020952 | 71ae0a443a9736569f398c594dcffc0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gerakul/FastQueue",
"max_stars_repo_path": "FastQueue/FastQueue.Server.Core/Abstractions/IServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155934"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace FastQueue.Server.Core.Abstractions
{
public interface IServer
{
void Restore();
Task Stop();
void CreateNewTopic(string name);
Task DeleteTopic(string name, bool deleteSub... | 1.677263 | 21bab2ee33d8f47d2d3af9d5131425b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myokapis/TemplateEngine",
"max_stars_repo_path": "TemplateEngine.Tests/TemplateTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155935"
} | starcoder | /* ****************************************************************************
Copyright 2018-2020 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE... | 2.461956 | 72df5849f66123d0de40de646d74ca32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836716 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ByteDev/ByteDev.Time",
"max_stars_repo_path": "src/ByteDev.Time/DateTimeIsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155936"
} | starcoder | using System;
namespace ByteDev.Time
{
/// <summary>
/// Extension methods for <see cref="T:System.DateTime" />.
/// </summary>
public static class DateTimeIsExtensions
{
/// <summary>
/// Returns whether the <see cref="T:System.DateTime" /> is the last day of the month.
//... | 3.675945 | c29c8b4d071fb614916f76bd41b760e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HydrologicEngineeringCenter/Framework",
"max_stars_repo_path": "View/NamedActionConverters/NamedActionButton.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155937"
} | starcoder | <gh_stars>0
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using HEC.MVVMFramework.Base.Events;
using HEC.MVVMFramework.Base.Interfaces;
namespace HEC.MVVMFramework.View.NamedActionConverters
{
/// <summary>
/// Interaction logic for NamedActionButton.xaml
/// </summary>
... | 1.947815 | de45633a2b9186550e26c26fb6e6bd4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "starkmsu/Lykke.HftApiV2",
"max_stars_repo_path": "src/HftApi/RabbitSubscribers/PublicTradesSubscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155938"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Autofac;
using AutoMapper;
using JetBrains.Annotations;
using Lykke.Common.Log;
using Lykke.HftApi.ApiContract;
using Lykke.HftApi.Services;
using Lykke.RabbitMqBroker;
using Lykke.RabbitMqBroker.Subscriber;
using Tr... | 1.926826 | 5f1bef90c8d06c795d029336096ac492 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836719 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "SharpOTServer/CoreOpenTibiaServer",
"max_stars_repo_path": "src/COMMO.Communications/Packets/Incoming/FinishAuctionsPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155939"
} | starcoder | // <copyright file="FinishAuctionsPacket.cs" company="2Dudes">
// Copyright (c) 2018 2Dudes. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
using System;
using COMMO.Server.Data;
using COMMO.Server.Data.Interfaces;
namespac... | 1.631987 | 85ca5ec97bcdf9c5517aee580c54dee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836720 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/V/VmfsDatastoreBaseOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155940"
} | starcoder | <reponame>octansIt/environmentassessment
namespace EnvironmentAssessment.Common.VimApi
{
public class VmfsDatastoreBaseOption : DynamicData
{
protected HostDiskPartitionLayout _layout;
protected bool? _partitionFormatChange;
public HostDiskPartitionLayout Layout
{
get
{
return this._layout;
}
... | 1.444128 | 9e270c3adb737fe0b37d93493ceb182a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mk-dev-team/mk-rise-engine",
"max_stars_repo_path": "source/Maker.Rise.Framework/Framework/Audio/AudioBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155941"
} | starcoder | <reponame>mk-dev-team/mk-rise-engine<filename>source/Maker.Rise.Framework/Framework/Audio/AudioBuffer.cs
using OpenTK.Audio.OpenAL;
using System;
namespace Maker.Rise.Framework.Audio
{
public sealed class AudioBuffer
{
public int Handle { get; private set; } = -1;
public int Channels {... | 2.618843 | 699bd815183cfedeac0b68bbe72b9a6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836722 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FanToMaS-api/Azino777",
"max_stars_repo_path": "DataBase/Types/WebUserSessionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155942"
} | starcoder | namespace DataBase.Types
{
/// <summary>
/// Статус сессии пользователя
/// </summary>
public enum WebUserSessionType
{
/// <summary>
/// Неопределённое состояние во время создания сессии
/// </summary>
Undefined = 0,
/// <summary>
/// Ак... | 2.617421 | 1372aeb38dc47485a654230d476f0c9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aliahmedaspose/Aspose.3D-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Working-with-LinearExtrusion/TwistOffsetInLinearExtrusion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155943"
} | starcoder | using Aspose.ThreeD;
using Aspose.ThreeD.Entities;
using Aspose.ThreeD.Utilities;
namespace Aspose._3D.Examples.CSharp.WorkingWithLinearExtrusion
{
public class TwistOffsetInLinearExtrusion
{
public static void Run()
{
// ExStart:TwistOffsetInLinearExtrusion
// The path... | 2.83895 | fdd671ab697511abf8cbad032dad8c0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Siphonophora/GenGen",
"max_stars_repo_path": "src/Gobie/Gobie/Models/Diagnostics/Diagnostics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155944"
} | starcoder | namespace Gobie.Models.Diagnostics
{
public static class Errors
{
private static readonly DiagnosticSeverity Severity = DiagnosticSeverity.Error;
public static DiagnosticDescriptor ClassIsNotParital =>
new("GB0001", "Gobie", "Class must be defined as partial.", "Gobie", Severity, t... | 2.84 | 539fb53d886c1057a2f9e3c198507dee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hgGeorg/Rx.NET",
"max_stars_repo_path": "Rx.NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/Do.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155945"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
#if !NO_PERF
using System;
namespace System.Reactive.Linq.ObservableImpl
{
class Do<TSource> : Produce... | 2.278149 | d6cf02d61a56c0cf314df228f5e1259e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j0nas500/amonguscapture",
"max_stars_repo_path": "AUCapture-WPF/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155946"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut gener... | 2.077044 | 41a27553145611c0054fa4d63cb26f5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836727 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "AleksAce/devchatterbot",
"max_stars_repo_path": "src/DevChatter.Bot.Core/Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155947"
} | starcoder | <filename>src/DevChatter.Bot.Core/Extensions/StringExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace DevChatter.Bot.Core.Extensions
{
public static class StringExtensions
{
public static int? SafeToInt(this string src)
... | 3.574817 | 5d0abbd5dfbc1dae02db24f362e95dff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836728 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "elky84/EzDotNetty",
"max_stars_repo_path": "Protocols/Common/Vector3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155948"
} | starcoder | <reponame>elky84/EzDotNetty
using ZeroFormatter;
namespace Protocols.Common
{
[ZeroFormattable]
public struct Vector3
{
[Index(0)]
public float x;
[Index(1)]
public float y;
[Index(2)]
public float z;
public Vector3(float x, float y, float z)
... | 2.394068 | 4d1415aaa1530a174d0685d9cebd2542 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevenbenner/ultrasfv",
"max_stars_repo_path": "UltraSFV/Comments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155949"
} | starcoder | using System;
using System.Windows.Forms;
using UltraSFV.Core;
namespace UltraSFV
{
public partial class Comments : Form
{
private HashFile sfv;
#region Contrsuctor
public Comments(HashFile file)
{
InitializeComponent();
sfv = file;
if (sfv != null)
textBoxComments.Text = sfv.Comments;
}
... | 2.650792 | 8ec4f454d5f52339c59d3bc6f2def1fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836730 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/STRINGS/ELEMENTS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155950"
} | starcoder | <filename>Managed/main/STRINGS/ELEMENTS.cs
namespace STRINGS
{
public class ELEMENTS
{
public class STATE
{
public static LocString SOLID = "Solid";
public static LocString LIQUID = "Liquid";
public static LocString GAS = "Gas";
public static LocString VACUUM = "None";
}
public class MATERIAL_... | 2.252601 | 6d1e94a90c8d5a5742845421bf7a9fc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eahs/Scholarships",
"max_stars_repo_path": "ADSBackend/Views/Task/Hangfire.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155951"
} | starcoder |
<div class="hangfire-container">
<iframe id="hangfireiframe" src="/hangfire" onload='javascript:(function(o){o.style.height=o.contentWindow.document.body.scrollHeight+"px";}(this));' style="height:200px;width:100%;border:none;overflow:hidden;"></iframe>
</div>
| 1.755294 | b549d5505e5ed7a299eec0ad118ddac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836732 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "GuOrg/Gu.Wpf.ToolTips",
"max_stars_repo_path": "Gu.Wpf.ToolTips.UiTests/Helpers/AssertToolTip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155952"
} | starcoder | <filename>Gu.Wpf.ToolTips.UiTests/Helpers/AssertToolTip.cs
namespace Gu.Wpf.ToolTips.UiTests
{
using System;
using System.IO;
using System.Windows.Automation;
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
internal static class AssertToolTip
{
internal static void IsOpen(bool ... | 2.200005 | 3d2d3cb85a4c1d1fd8ca2a7c27a13eba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Torque3D-Games-Demos/T3D_Ron_Demos",
"max_stars_repo_path": "data/FPSGameplay/tropical/art/shapes/Plants/Bush01/materials.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155953"
} | starcoder | singleton Material(Bush01_mat)
{
mapTo = "Bush01";
diffuseMap[0] = "./largeFiscus2.dds";
normalMap[0] = "./largeFiscus2_NRM.dds";
specularMap[0] = "./largeFiscus2_SPEC.dds";
doubleSided = "1";
alphaTest = "1";
alphaRef = "60";
}; | 0.9768 | 50971c8998fd3614ee8020185ed47e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HariHodzic/RSII-Seminarski-AIESEC_BiH",
"max_stars_repo_path": "AiesecBiH/Services/FileService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155954"
} | starcoder | <reponame>HariHodzic/RSII-Seminarski-AIESEC_BiH
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AiesecBiH.EF;
using AiesecBiH.Model.Insert;
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Task = System.Threading.Tasks.Task;
namespace Aie... | 2.352814 | 27b77bb4c240162fac0183ab7518105c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836735 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "FenPhoenix/AngelLoader",
"max_stars_repo_path": "AngelLoader/Forms/GameVersionsForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155955"
} | starcoder | using System.Windows.Forms;
using AL_Common;
using AngelLoader.Forms.CustomControls;
using static AngelLoader.GameSupport;
using static AngelLoader.Misc;
namespace AngelLoader.Forms
{
public sealed partial class GameVersionsForm : DarkFormBase
{
private readonly (DarkLabel Label, DarkTextBox TextBox)[... | 1.966837 | 9b6561490910fc78fd7196adb7040e5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LostPizzaMan/Project-Public",
"max_stars_repo_path": "Assets/Scripts/FlatLighting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155956"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlatLighting
{
public static Color GetLightValue(TerrainChunk tc, Vector3Int blockNeighbor, int x, int z)
{
Color lightLevel = Color.white;
lightLevel.a = 0;
if (ChunkDataUtilities... | 2.522861 | 33909d33268e5ebb81f2081d7a4dd2a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836737 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DarkShadow44/AudioDivider",
"max_stars_repo_path": "AudioDivider/AudioDivider/SoundHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155957"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Threading;
using System.IO;
using AudioDivider.WASAPI;
namespace AudioDivider
{
class SoundInfoDevice
{
public string name; // Name of the ... | 2.26797 | 41c09c846fb6f42345266249aa512bbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836738 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Core/Inputs/InstanceConfigurationInstanceDetailsSecondaryVnicArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155958"
} | starcoder | <filename>sdk/dotnet/Core/Inputs/InstanceConfigurationInstanceDetailsSecondaryVnicArgs.cs
// *** 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 Syst... | 1.857175 | 9cf10d27b2097de161a4db5ee6ccdd47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836739 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tscholze/dotnet-core-nomster",
"max_stars_repo_path": "Nomster.Web/Pages/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155959"
} | starcoder | <filename>Nomster.Web/Pages/Index.cshtml<gh_stars>1-10
@page
@model IndexModel
<div>
<div class="text-container">
<span class="ms-fontSize-su">Nomster</span>
<span class="ms-font-m ms-hiddenLgDown ms-fontColor-neutralTertiary subtitle">Manage your NomNom like a 🐹</span>
</div>
<div class="ms-Grid-co... | 2.474479 | 7973ebf27fb99d19130bfae553589a39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836740 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Quboid/NetworkSkins2",
"max_stars_repo_path": "NetworkSkins/Patches/TerrainSurfacePatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155960"
} | starcoder | <reponame>Quboid/NetworkSkins2<gh_stars>1-10
using System;
using NetworkSkins.Skins;
namespace NetworkSkins.Patches
{
/// <summary>
/// Temporarily changes m_createPavement, m_createGravel, m_createRuining and m_clipTerrain
/// of a NetInfo to the values defined in the skin of the node/segment
/// </s... | 2.441795 | db724eb09281e54600678f33e3ac181a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836741 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fforjan/TeslaVideoCenter",
"max_stars_repo_path": "TeslaVideoCenter.Common/ViewModels/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155961"
} | starcoder | // Copyright (c) <NAME>
// Licensed under MIT License
using System;
using System.IO;
using TeslaVideoCenter.Models;
namespace TeslaVideoCenter.Common.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private readonly EventsRepository repository;
public MainWindowViewModel()
... | 2.240813 | 37010f199b82cdacd3adba5b01b7f2b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Programming/High Quality Code/Homework/06. Control Flow, Conditional Statements and Loops/2. Refactor if statements/potato.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155... | starcoder | <reponame>todorm85/TelerikAcademy
namespace RefactorIf
{
internal class Potato
{
public bool IsPeeled { get; set; }
public bool IsRotten { get; set; }
internal void Cook()
{
System.Console.WriteLine("Potato is being cooked!");
}
}
}
| 2.338616 | 28d609b51ef02ec5f2529ecd0234f98c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaytilly/FMStudio",
"max_stars_repo_path": "FMStudio.App/ViewModels/ProjectViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155963"
} | starcoder | using FMStudio.App.Interfaces;
using FMStudio.App.Utility;
using FMStudio.Configuration;
using FMStudio.Lib;
using FMStudio.Utility.Logging;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
namespace FMStudio.App.ViewModels
{
... | 1.863451 | b5905932c9709f8c12ca0f5665067f05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "parkitect-mod-community/ShopLoader",
"max_stars_repo_path": "assets/Assets/GameObjectHashMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155964"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A hashmap helper for referencing asset game objects.
/// </summary>
public class GameObjectHashMap : MonoBehaviour
{
private static GameObjectHashMap _instance;
/// <summary>
/// ... | 2.906422 | 4e453682fc9d2c95d22e87c67a44bc6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836745 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mdamyanova/C-Sharp-Web-Development",
"max_stars_repo_path": "07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/PlanetHunters/PlanetHunters.Import/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155965"
} | starcoder | <gh_stars>1-10
namespace PlanetHunters.Import
{
public class Startup
{
public static void Main()
{
//JsonImport.ImportAstronomers();
//JsonImport.ImportTelescopes();
//JsonImport.ImportPlanets();
//XmlImport.ImportStars();
//XmlImport.... | 1.285552 | d956b1853bc224bc0bdc2ccd7ed0800c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836746 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VisualAcademy/Dul.Old",
"max_stars_repo_path": "Dul/02_Mathematics/Math.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155966"
} | starcoder | <filename>Dul/02_Mathematics/Math.cs
namespace Dul
{
/// <summary>
/// Math 클래스 모방
/// </summary>
public class Math
{
/// <summary>
/// 절댓값 구하기
/// </summary>
/// <param name="number">자연수</param>
/// <returns>절댓값</returns>
public static int Abs(int n... | 2.940793 | 1499c34cb7d0f1ea5f0799b5c7f31e01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tcunning/DotNet.Foundation",
"max_stars_repo_path": "Foundation/Foundation.Iot.Benchmark/BenchmarkRun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155967"
} | starcoder | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.InProcess.Emit;
using Foundation.Iot.Endian;
//[InProcessAttribute]
//public class TypeWithBenchmarks
//{
//}
[Config(typeof(Config))]
[MemoryDiagnoser]
public class BenchmarkRun... | 2.298734 | 2d811998d9d8965c1968e3a6734942e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RomainVivier/UniTime",
"max_stars_repo_path": "UniTime/Times/Clocks/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155968"
} | starcoder | <filename>UniTime/Times/Clocks/Extensions.cs
using System;
namespace Kratorg.Internal.Times
{
public static class Extensions
{
public static Clock Tick(this Action action) => Time.Tick(action);
public static Clock Tick(this Action<long> action)=> Time.Tick(action);
//public static voi... | 2.657097 | 4d052ed318c12d08e8104977cf5c711b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836749 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "swharden/AliCalc-Blazor",
"max_stars_repo_path": "src/AliCalc.Model/Syringe.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155969"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AliCalc.Model
{
public class Syringe : Solution
{
public readonly double DilutionFactor;
public Syringe(Volume volume, BathConcentration concentration, double dilutionFactor) : base(volume, concentration * dilutionFa... | 2.368354 | 9ee758353c39defc73efe976f5737f12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836750 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/Socket.----c__DisplayClass298_0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155970"
} | starcoder | <filename>_no_namespace/Socket.----c__DisplayClass298_0.cs
[CompilerGeneratedAttribute] // RVA: 0xBC460 Offset: 0xBC561 VA: 0xBC460
private sealed class Socket.<>c__DisplayClass298_0 // TypeDefIndex: 2019
{
// Fields
public Socket <>4__this; // 0x10
public IOSelectorJob job; // 0x18
public IntPtr handle; // 0x20
... | 1.459847 | 0b6586742f1fd85290ec4e257b93191e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836751 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "jakenuts/serilog-sinks-syslog",
"max_stars_repo_path": "sample/Serilog.Sinks.Syslog.ConfigSample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155971"
} | starcoder | // Copyright 2018 Ionx Solutions (https://www.ionxsolutions.com)
// Ionx Solutions licenses this file to you under the Apache License,
// Version 2.0. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsof... | 2.368951 | 2cccb8123319cda0dd1e5fd624fd2c94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836752 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "gompocp/MelonLoader",
"max_stars_repo_path": "SM_Il2Cpp/ApplicationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155972"
} | starcoder | using System;
using System.Reflection;
using UnityEngine;
namespace MelonLoader.Support
{
internal static class ApplicationHandler
{
private static MethodInfo Application_get_version = null;
private static MethodInfo Application_get_buildGUID = null;
static ApplicationHandler()
... | 2.250109 | 5a2984d2c8410feead7f3a730a0915ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836753 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ambocclusion/Unity-Performance-Examples",
"max_stars_repo_path": "Assets/UnityStarterProject/Scripts/PostProcessingManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155973"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
namespace UnityStarterProject
{
[ExecuteInEditMode]
public class PostProcessingManager : MonoBehaviour
{
// Assumes low to high
publi... | 2.313624 | 20c160464e889cd61720f03829e5ac4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836754 | {
"extension": "c-sharp",
"max_stars_count": "5220.0",
"max_stars_repo_name": "bitcrystal/temp",
"max_stars_repo_path": "src/functions_hook/polyhook_lib/Capstone/suite/MC/Sparc/sparc-atomic-instructions.s.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155974"
} | starcoder | <reponame>bitcrystal/temp
# CS_ARCH_SPARC, CS_MODE_BIG_ENDIAN, None
0x81,0x43,0xe0,0x0f = membar 15
0x81,0x43,0xc0,0x00 = stbar
0xd4,0x7e,0x00,0x16 = swap [%i0+%l6], %o2
0xd4,0x7e,0x20,0x20 = swap [%i0+32], %o2
0xd5,0xe6,0x10,0x16 = cas [%i0], %l6, %o2
0xd5,0xf6,0x10,0x16 = casx [%i0], %l6, %o2
| 1.467632 | 8b31ed804bb8165184a730249647bb1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836755 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SuperMap/iClient-for-Win8",
"max_stars_repo_path": "iClient60ForWinRT/SuperMap.WinRT.REST/Map/MapInfo/CoordSys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155975"
} | starcoder | using SuperMap.WinRT.Utilities;
using System;
using SuperMap.WinRT.Core;
using Windows.Data.Json;
namespace SuperMap.WinRT.REST
{
/// <summary>${REST_CoordSys_Title}</summary>
public class CoordSys
{
/// <summary>${REST_CoordSys_constructor_D}</summary>
public CoordSys()
{ }
... | 2.316569 | 3d88ce324e47c0129429cbbe457e8f4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836756 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Winforms/InstanceDescriptorSample/CS/instancedescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155976"
} | starcoder | //<snippet1>
namespace Microsoft.Samples.InstanceDescriptorSample
{
using System;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
using System.Drawing;
using System.Globalization;
using System.Reflection;
// This sample shows how to support code generation fo... | 3.392328 | fdedbed2508e487ee3ea3ba918c81c5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836757 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "patricksimonsontest/accessibility-insights-windows",
"max_stars_repo_path": "src/AccessibilityInsights.Extensions.GitHub/Properties/AutomationIDs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155977"
} | starcoder | <filename>src/AccessibilityInsights.Extensions.GitHub/Properties/AutomationIDs.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace AccessibilityInsights.Extensions.GitHub.Properties
{
public static c... | 1.785469 | f5051cc1d4a3e9099874dbe85205a91a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836758 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bogatykh/estate-cms",
"max_stars_repo_path": "src/Tti.Estate.Business/Services/PropertyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155978"
} | starcoder | using System;
using System.Threading.Tasks;
using Tti.Estate.Business.Dto;
using Tti.Estate.Business.Validators;
using Tti.Estate.Data.Entities;
using Tti.Estate.Data.Repositories;
using Tti.Estate.Data.Specifications;
using Tti.Estate.Infrastructure.Services;
namespace Tti.Estate.Business.Services
{
internal cla... | 2.209007 | 0322ec656e0127cb800c783373797982 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836759 | {
"extension": "c-sharp",
"max_stars_count": "422.0",
"max_stars_repo_name": "luchytskyi/lamar",
"max_stars_repo_path": "src/LamarCompiler.Testing/Bugs/Bug_185_empty_frame_list.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155979"
} | starcoder | using System;
using Baseline;
using LamarCodeGeneration;
using LamarCompiler;
using Shouldly;
using Xunit;
namespace Lamar.Testing.Bugs
{
public class Bug_185_empty_frame_list
{
public class TestControllerBase
{
public virtual string Get() { return "Got"; }
}
[Fact... | 2.221193 | fa4ec5cf6dc2a74f58c7aeba2ab8c75b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836760 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/query/ApplicationTypeDefinitionKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155980"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Fabric.Query
... | 2.102586 | b053c158575e2a92b3cd6fdb3005e542 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alasaidi/file-cs",
"max_stars_repo_path": "file/PooledObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155981"
} | starcoder | using System.Collections;
using UnityEngine;
namespace UltimateSurvival
{
/// <summary>
///
/// </summary>
public class PooledObject : MonoBehaviour
{
/// <summary>This event is raised when the object has been released.</summary>
public Message<PooledObject> Released = new Message<PooledObject>();
... | 2.43766 | 79a92d914dab52c263958d730ee3c217 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836762 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wiladams/TOAPI",
"max_stars_repo_path": "TOAPI.OleAut32/Ole32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155982"
} | starcoder | <filename>TOAPI.OleAut32/Ole32.cs
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace TOAPI.Ole
{
public class Ole32
{
// Supplies a pointer to an implementation of IBindCtx
[DllImport("ole32.dll")]
public static extern int Creat... | 2.318599 | c65e0647d3f387a5d3d0e4bb5a153568 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ricardolcarneiro/V2",
"max_stars_repo_path": "AppBarragem.WEB.ADM/Models/RelatorioEstoquePeriodoViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155983"
} | starcoder | <filename>AppBarragem.WEB.ADM/Models/RelatorioEstoquePeriodoViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AppBarragem.WEB.ADM.Models
{
public class RelatorioEstoquePeriodoViewModel
{
public int Id { get; set; }
public List<EstoqueCo... | 2.038137 | aedd30e9ca8ed706010dcb54a40b1d4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/presentation/Stride.Core.Presentation/Services/IFolderOpenModalDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155984"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license inf... | 1.560769 | 9b7d86a0c44c69c4cf32b93f3740540a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MVHubOpen/Core",
"max_stars_repo_path": "src/mvHub/ImvDataConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155985"
} | starcoder | <reponame>MVHubOpen/Core<gh_stars>0
using System;
using System.Diagnostics;
using System.Web.Configuration;
namespace mvHub
{
public abstract class ImvDataConnector
{
#region Constructors
protected ImvDataConnector()
{
Configuration = new HandlerConfiguration(this);
... | 2.175568 | 108fb5c95aed2301ef7dedb55f1de4a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836766 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "firatakyildiz/hackerrank",
"max_stars_repo_path": "HackerRank/Algorithms/Implementation/MinimumDistances.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155986"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank.Algorithms.Implementation
{
/// <summary>
/// Link : https://www.hackerrank.com/challenges/minimum-distances/problem
/// Difficulty : Easy
/// </summary>
public static class MinimumDistances
{
publi... | 3.62326 | 630fb6f80ee47a029fee328be56e6a49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mjeanrichard/silverback",
"max_stars_repo_path": "src/Silverback.Core.Model/Messaging/Publishing/IEventPublisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155987"
} | starcoder | // Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System.Collections.Generic;
using System.Threading.Tasks;
using Silverback.Messaging.Messages;
namespace Silverback.Messaging.Publishing
{
/// <summary>
/// Publishes the messages implementing <see... | 2.289646 | adb03d88964e163deeabb61b3cfdb15e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836768 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "capdiem/MASA.Contrib",
"max_stars_repo_path": "test/Masa.Contrib.Data.UoW.EF.Tests/TestUnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155988"
} | starcoder | <reponame>capdiem/MASA.Contrib
namespace Masa.Contrib.Data.UoW.EF.Tests;
[TestClass]
public class TestUnitOfWork : TestBase
{
private Mock<IDispatcherOptions> _options;
[TestInitialize]
public void Initialize()
{
_options = new();
_options.Setup(option => option.Services).Returns(new S... | 2.027085 | 929fc0c54cf6c12cf63ce252ad95f3c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836769 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "ryzngard/razor-tooling",
"max_stars_repo_path": "src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Completion/VSInternalCompletionListExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155989"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Razor.LanguageServer.Completion
{
i... | 2.010102 | a64c6024c16a25f87f42b6552b5ad57e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836770 | {
"extension": "c-sharp",
"max_stars_count": "169.0",
"max_stars_repo_name": "ori-d/ShinraMeter",
"max_stars_repo_path": "DamageMeter.Core/TeraDpsApi/UploadData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155990"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DamageMeter.TeraDpsApi
{
public struct UploadData
{
public bool Success { get; set; }
public DateTime Time { get; set; }
public string Message { get; set; }
... | 1.66462 | 4305a626e2ed61b0d68e0e665aca5040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836771 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "krist00fer/redis-sample",
"max_stars_repo_path": ".net/lightning-talk/demos/Demo03A.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155991"
} | starcoder | <reponame>krist00fer/redis-sample<filename>.net/lightning-talk/demos/Demo03A.cs
using ConsoleTools.Attributes;
using ConsoleTools.Commands;
using System;
using System.Threading;
namespace lightning_talk.demos
{
[Command("Demo03A")]
class Demo03A : DemoBase, IConsoleCommand
{
public void Execute(Co... | 2.722787 | 2297122febd3ef2250b58c7828ea5a6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836772 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wjezxujian/UnityShaderLearn",
"max_stars_repo_path": "Assets/Scripts/RayTracing/_M.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155992"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RayTracying
{
public class _M
{
public static Vector3 GetRandomPointInUnitSphere()
{
Vector3 p = 2f * new Vector3(_M.R(), _M.R(), 0) - new Vector3(1, 1, 0);
p = p.normali... | 2.723548 | e48237dec008c0dd0177f9f82eaa8e61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MBitcoinCash/MBitcoinCash.MerkleTree",
"max_stars_repo_path": "src/MBitcoinCash.MerkleTree.Tests/HierarchicalMerkleTreeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155993"
} | starcoder | <gh_stars>0
// <copyright file="HierarchicalMerkleTreeTests.cs" company="Modular Bitcoin Cash">
// Copyright (c) 2018-2018 Modular Bitcoin Cash developers.
// Distributed under the MIT software license, see the accompanying LICENSE file in the project root
// or http://www.opensource.org/licenses/mit-license.php for f... | 2.256251 | 6811bc2f607952e4af9e1b5df0eeb660 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836774 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SecretNest/RemoteAgency",
"max_stars_repo_path": "Source/Code/Code.RemoteAgency/ProxyCreator/ProxyCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155994"
} | starcoder | <reponame>SecretNest/RemoteAgency<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using SecretNest.RemoteAgency.Attributes;
namespace SecretNest.RemoteAgency
{
/// <summary>
/// The factory for creating a proxy object from the contract interface.
/... | 2.140494 | b6b13226392f1e4ea2ec7ec94a39cf2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unity-game-framework/ugf-debugtools",
"max_stars_repo_path": "Packages/UGF.DebugTools/Runtime/UI.Panels/DebugUIPanelDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155995"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using UGF.DebugTools.Runtime.UI.Functions;
namespace UGF.DebugTools.Runtime.UI.Panels
{
public class DebugUIPanelDrawer : DebugUIDrawerBase
{
public bool Display { get; set; }
public IReadOnlyCollection<Debug... | 2.372946 | e0a71e5a0111a845a8c5967f19c077b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redmoon-games/SimpleMergeSource",
"max_stars_repo_path": "Assets/Scripts/Game/Databases/Implementations/BuildingRequirementDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155996"
} | starcoder | using System.Collections.Generic;
using Core.Databases;
using Game.Databases.Helpers;
using Game.Models;
using GoogleSheetsToUnity;
using UnityEngine;
using Utils;
namespace Game.Databases.Implementations
{
[CreateAssetMenu(fileName = "BuildingRequirementDatabase", menuName = "Scriptable Database/BuildingRequirem... | 2.15846 | 4c0808bb2e1409f1d2d82520ad799a84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dimulski/CodexBank",
"max_stars_repo_path": "src/Data/CodexBank/CodexBank.Data/Seeding/ISeeder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155997"
} | starcoder | <reponame>Dimulski/CodexBank
using System.Threading.Tasks;
namespace CodexBank.Data.Seeding
{
public interface ISeeder
{
Task Seed();
}
}
| 1.471844 | e3179b38757ff1123f87a0bd5a26c243 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RamjotSingh/System.Text.Json.Extensions",
"max_stars_repo_path": "RamjotSingh.System.Text.Json.Extensions/Encoders/NewtonsoftJsonCompatibleEncoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155998"
} | starcoder | <reponame>RamjotSingh/System.Text.Json.Extensions
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Text.Encodings.Web.NewtonsoftJson
{
using System;
using System.Buffers;
using global::Internal.System.Text;
using RamjotSingh.EmojiNe... | 2.869146 | 241c4637a32989d7a448c34ae235eaea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836779 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sussumu/backoffice",
"max_stars_repo_path": "Backoffice.Application/Ports/IQueryRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155999"
} | starcoder | using Backoffice.Application.Commands;
using Backoffice.Application.Contracts;
using System.Threading.Tasks;
namespace Backoffice.Application.Ports
{
public interface IQueryRunner
{
Task<Result> Run(QueryRunnerCommand command);
}
}
| 1.145446 | 168dd112d52d98fe72a9a9fe2b04e10c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836780 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sschoener/unity-commander",
"max_stars_repo_path": "unity/Assets/Editor/SceneFinder/SceneFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156000"
} | starcoder | <gh_stars>1-10
using UnityEditor;
using UnityEngine;
namespace Pasta.Finder
{
public class SceneFinder : FinderPrompt<GameObject, GenericResultItem>
{
[MenuItem("Window/Scene Finder %#k")]
private static void Init()
{
var window = CreateInstance<SceneFinder>();
... | 1.569909 | a1060bcb4cbac45249e37d0eb81a4bc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iremsevim/Knife-Hit-Unity-Game",
"max_stars_repo_path": "Assets/Scripts/LevelAnimationBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156001"
} | starcoder | <reponame>iremsevim/Knife-Hit-Unity-Game<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelAnimationBase : MonoBehaviour
{
public virtual void PlayAnim()
{
}
}
| 1.441684 | f11f8eafd4976afc7cb67d99301ca23b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836782 | {
"extension": "c-sharp",
"max_stars_count": "322.0",
"max_stars_repo_name": "jairbubbles/csharp-language-server-protocol",
"max_stars_repo_path": "src/Protocol/Serialization/Converters/LocationOrLocationLinkConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156002"
} | starcoder | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters
{
public class LocationOrLocationLinkConverter : JsonConverter<LocationOrLocationLink>
{
public ove... | 2.592612 | 189fcf2ef0b5bda2bd812f55d7776ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.properties@1.5.0-preview/Runtime/Unity.Properties/Utility/Internal/PropertyWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1560... | starcoder | namespace Unity.Properties.Internal
{
interface IPropertyWrapper
{
}
struct PropertyWrapper<T> : IPropertyWrapper
{
class PropertyBag : ContainerPropertyBag<PropertyWrapper<T>>, IPropertyWrapper
{
public PropertyBag()
{
AddProperty(new Propert... | 2.403504 | d335cf31bd8a6b9f0884b002b280035a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836784 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "drolean/Servidor-WOW",
"max_stars_repo_path": "RealmServer/PacketReader/CMSG_SPLIT_ITEM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156004"
} | starcoder | <gh_stars>1-10
using Common.Helpers;
namespace RealmServer.PacketReader
{
public sealed class CMSG_SPLIT_ITEM : Common.Network.PacketReader
{
public byte Count;
public byte DstBag;
public byte DstSlot;
public byte SrcBag;
public byte SrcSlot;
public CMSG_SPLIT_... | 2.112252 | 3d5daab5debd963a8ab46792b6e7f2fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836785 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "newky2k/dscomponents",
"max_stars_repo_path": "src/DSoft.Datatypes.Grid/Data/DSDataTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156005"
} | starcoder | <reponame>newky2k/dscomponents<filename>src/DSoft.Datatypes.Grid/Data/DSDataTable.cs
// ****************************************************************************
// <copyright file="DSDataTable.cs" company="DSoft Developments">
// Created By <NAME>
// Copyright © <NAME> 2015
// </copyright>
// ****************... | 2.43624 | d43bd70328860fdedc1535a11d85b98c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836786 | {
"extension": "c-sharp",
"max_stars_count": "445.0",
"max_stars_repo_name": "bavison/opensmalltalk-vm",
"max_stars_repo_path": "platforms/Mac OS/vm/specialChangeSets/Old/FasterLookupMethod-JMM.1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156006"
} | starcoder | <reponame>bavison/opensmalltalk-vm<filename>platforms/Mac OS/vm/specialChangeSets/Old/FasterLookupMethod-JMM.1.cs
'From Squeak3.6beta of ''4 July 2003'' [latest update: #5373] on 6 August 2003 at 12:05:30 pm'!
"Change Set: FasterLookupMethod-JMM
Date: 6 August 2003
Author: <EMAIL>
Change lookupMethodInDictionary:... | 2.23498 | 0bc4df7ca1ff2ce6260a720983bee785 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drajwer/web-apps-generator",
"max_stars_repo_path": "WebAppsGenerator.Core/Models/Type.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156007"
} | starcoder |
namespace WebAppsGenerator.Core.Models
{
public class Type : BaseModel
{
public string EntityName { get; set; }
public TypeKind BaseTypeKind { get; set; }
public bool IsNullable { get; set; }
public bool IsArray { get; set; }
public string FullTypeName { get; set; }
... | 2.454077 | 25a7f39e663800346607f3437e1461d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836788 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "agileobjects/ReadableExpressions",
"max_stars_repo_path": "ReadableExpressions.UnitTests/Extensions/WhenGeneratingVariableNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156008"
} | starcoder | <reponame>agileobjects/ReadableExpressions
namespace AgileObjects.ReadableExpressions.UnitTests.Extensions
{
using System.Collections;
using System.Collections.Generic;
using Common;
using ReadableExpressions.Extensions;
#if !NET35
using Xunit;
#else
using Fact = NUnit.Framework.TestAttribute;
... | 2.448543 | 4e7546a479357d3139694a0cd94dfb1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836789 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jasondentler/lightning-bug",
"max_stars_repo_path": "src/LightningBug.Tests/Polly/Wrapper/NullPolicyProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156009"
} | starcoder | <reponame>jasondentler/lightning-bug
using System.Reflection;
using LightningBug.Polly.Providers;
using Polly;
namespace LightningBug.Polly.Wrapper
{
public class NullPolicyProvider : IPolicyProvider
{
public ISyncPolicy GetSyncPolicy(CallContextBase context)
{
return null;
... | 1.529862 | 3b3c2b791ed783571b502e36531b0ac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836790 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Grauenwolf/HemaDrillBook",
"max_stars_repo_path": "HemaDrillBook/HemaDrillBook.Services/UI/SectionForLists.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156010"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace HemaDrillBook.Services.UI
{
public class SectionForLists
{
public int SectionKey { get; set; }
public string? SectionNameWithPrefix => new string('_', Depth) + Formatter.MultiPart(Sec... | 2.065596 | 6b181422e309d0bab594852a2a1ae3a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbragagnolo/roslyn2famix",
"max_stars_repo_path": "FamixTest/VisualBasicUnitTest/NamespaceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156011"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FamixTest.VisualBasicUnitTest {
[TestClass]
public class NamespaceTest : VisualBasicUnitTest {
#region Assertions
public void AssertNamespaceContains(FAMIX.Namespace nspace, FAMIX.Namespace nspaceInside) {
... | 2.6124 | 0a61f03e21d8a5d4e64f6f4911174b1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kropisha/EHospital.Authorization",
"max_stars_repo_path": "EHospital.Authorization.Data/CurrentLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156012"
} | starcoder | <filename>EHospital.Authorization.Data/CurrentLogger.cs
using System;
namespace EHospital.Authorization.Data
{
/// <summary>
/// Set current logger for application
/// </summary>
public class CurrentLogger : ILogging
{
/// <summary>
/// type of logger
/// </summary>
... | 2.734787 | 4f3ee341cf6c30f1127bd41e77238699 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nagyistoce/mcocoa",
"max_stars_repo_path": "source/foundation/NSError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156013"
} | starcoder | <reponame>nagyistoce/mcocoa<filename>source/foundation/NSError.cs
// Copyright (C) 2008 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without ... | 1.993521 | 93a0f305a328c52fb588e2855484d10e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bitbird-dev/Bitbird.Core",
"max_stars_repo_path": "Bitbird.Core.Data.Net.Tests/RedisVersioningTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156014"
} | starcoder | <filename>Bitbird.Core.Data.Net.Tests/RedisVersioningTests.cs<gh_stars>0
using System;
using System.Threading.Tasks;
using Bitbird.Core.Data.Cache;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bitbird.Core.Data.Net.Tests
{
public class TestEntry : IEquatable<TestEntry>
{
public string... | 2.591944 | 05169ca743dd80735a8e4c98c19b29df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "squareJAO/Roleplay-ToolSet",
"max_stars_repo_path": "Roleplay-ToolSet/Roleplay-ToolSet/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156015"
} | starcoder | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Newtonsoft.Json;
namespace RoleplayToolSet
{
public partial class Form1 : Form
{
private Adventure _adventure;
private Settings _settings;
private FormPlayerOverlay _playerForm; // The form shown to ... | 2.4187 | 2090ab73ce0e6151311b089d691dacbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lihaiyang-xx/MyFrameworkPure",
"max_stars_repo_path": "Tool/MemoryTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156016"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Object = UnityEngine.Object;
namespace MyFrameworkPure
{
/// <summary>
/// 内存工具
/// </summary>
public static class MemoryTool
{
/// <summary>
/// 清理内存
/// <... | 1.947641 | 54b0c54a8b6486bcac056e0c8f4524fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836797 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BROCKHAUS-AG/contentmonkey",
"max_stars_repo_path": "MAIN/Default.WebUI/Views/Admin/UserEdit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156017"
} | starcoder | <reponame>BROCKHAUS-AG/contentmonkey
@model AdminViewModel
@{
Layout = "~/Views/Admin/__LayoutAdministration.cshtml";
ViewBag.Title = Model.CurrentUser.DisplayName;
}
<div class="row">
<div class="toolbar clearfix">
<ol class="breadcrumb">
<li><a href="/admin"><i class="fa fa-home"></i>... | 1.614251 | d39bc88b828b777764ca33c17d0ed570 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BTDev/MPZelda",
"max_stars_repo_path": "Assets/Photon Unity Networking/Demos/PUNGuide_M2H/zSharedAssets/Editor/FixBuildSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156018"
} | starcoder | using System.IO;
using UnityEngine;
using UnityEditor;
using System.Collections;
public class FixBuildSettings : MonoBehaviour
{
[MenuItem("PUN Guide/Reset build settings")]
static void FixBSet()
{
//
// SET SCENES
//
if (!EditorUtility.DisplayDialog("Resetting build set... | 2.043818 | 94b0e5f571540d0117d31bc6accc0bf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raminrahimzada/FluentDOM",
"max_stars_repo_path": "FluentDOM/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156019"
} | starcoder | using System.CodeDom;
using System.CodeDom.Compiler;
using System.IO;
using System.Text;
using Microsoft.CSharp;
namespace FluentDOM
{
public static class Extensions
{
public static void WriteToFile(this string content, string file)
{
File.WriteAllText(file, content);
}
... | 2.818125 | b26bab5a737794620e2dc4b9e71b5601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruben49/Catalogo-Plantas-Medicinales-Windows-8.1-Cuadricula",
"max_stars_repo_path": "GroupDetailPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156020"
} | starcoder | <filename>GroupDetailPage.xaml.cs
using Trabajo_Catalogo3.Data;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives... | 2.48379 | 82eebba3fea4fcca51939ed5ab643a29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrpb/Interview",
"max_stars_repo_path": "Palindrome/Interview.Palindrome/PalindromeValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156021"
} | starcoder | <filename>Palindrome/Interview.Palindrome/PalindromeValidation.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Interview.Palindrome
{
public class PalindromeValidation : IPalindromeValidation
{
public bool Validate(string... | 3.469382 | b416b99d6dcc5f991826549f829be5e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836802 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "InvaderZim85/MsSqlToolBelt",
"max_stars_repo_path": "MsSqlToolBelt/ViewModel/DefinitionExportControlViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156022"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Windows.Input;
using Microsoft.WindowsAPICodePack.Dialogs;
using MsSqlToolBelt.Business;
using MsSqlToolBelt.DataObjects.DefinitionExport;
using ZimLabs.Database.MsSql;
... | 2.24793 | d8831e8c9c9d924d9c512372ed066087 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836803 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "matteofabbri/Workday.WebServices",
"max_stars_repo_path": "Workday.Payroll/Payroll_Result_Detail_DataType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156023"
} | starcoder | <reponame>matteofabbri/Workday.WebServices
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.Payroll
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), Debugg... | 1.336522 | e5bea068157e0072880d7505df2991ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bollylu/BLTools",
"max_stars_repo_path": "BLTools.Reports/BLTools.Reports.45/Reports Text/ListAllProjects.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156024"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CaratFileManagementLib;
using System.Printing;
namespace CaratManagementReports.SmartReports {
[SmartReport(ReportTypeEnum.Table, "List all projects", PageOrientation.Landscape, ReportDestinationEnum.Text)]
public class L... | 2.689451 | fad9d8ccaaad0b0945a2ca7ad057b4f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cmberryau/maps",
"max_stars_repo_path": "Solution/Maps.OsmSharp/Geographical/Extensions/GeodeticBox2DExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156025"
} | starcoder | <reponame>cmberryau/maps
using Maps.Geographical;
using OsmSharp.Math.Geo;
namespace Maps.OsmSharp.Geographical.Extensions
{
/// <summary>
/// Provides extensions for the GeodeticBox2d class
/// specifically for the context of the OsmSharp provider
/// </summary>
public static class GeodeticBox2dEx... | 2.581804 | f68f510aa0172ed102d721253ce83cf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreKfm/easylog",
"max_stars_repo_path": "src/EasyKubeLog/EasyKubeLogService/Pages/Main.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156026"
} | starcoder | <reponame>AndreKfm/easylog<gh_stars>0
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace EasyKubeLogService.Pages
{
public class MainModel : PageModel
{
}
} | 0.949926 | 73e3db25f00e293b548d23d005c8445a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KBVStollhamm/Ramp-Festival",
"max_stars_repo_path": "Registration.Server/DatabaseSetup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156027"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infrastructure.EventSourcing.Sql;
using Registration.ReadModel.Implementation;
using Registration.ReadModel.Migrations;
namespace Registration.Server
{
/// <... | 1.356203 | 27e88c880d8c0075e8ed74453158b625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArtemGontar/phytime",
"max_stars_repo_path": "src/ViewModels/TestModels/TestResultModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156028"
} | starcoder | <gh_stars>1-10
namespace Phytime.ViewModels.TestModels
{
public class TestResultModel
{
public int Number { get; set; }
public string Answer { get; set; }
public string RightAnswer { get; set; }
}
}
| 1.687191 | b66fef7c01fd55e9f94c36bd456e6dab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836809 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hikipuro/SharpGlyph",
"max_stars_repo_path": "SharpGlyph/SharpGlyph/Tables/trak/TrakTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156029"
} | starcoder | <filename>SharpGlyph/SharpGlyph/Tables/trak/TrakTable.cs
using System;
namespace SharpGlyph {
/// <summary>
/// Tracking Table (trak).
/// <para>Apple Table</para>
/// </summary>
//[AppleTable]
public class TrakTable : Table {
/// <summary>
/// Version number of the tracking table
/// (0x00010000 for the c... | 2.202442 | 8ade4bbe0edb0093fbbd9e242382dfbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CliveTran/aspnetrun-microservices",
"max_stars_repo_path": "src/services/order/order.api/Extensions/DatabaseExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156030"
} | starcoder | <filename>src/services/order/order.api/Extensions/DatabaseExtension.cs<gh_stars>0
using Microsoft.AspNetCore.Builder;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
namespace order.api.Extensions
{
... | 2.513113 | f2cbdc61f13b0f897c553e417c4f3662 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trolit/Paper_Souls",
"max_stars_repo_path": "paper_souls/paper_souls/OrkB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156031"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace paper_souls
{
class OrkB : Przeciwnik, IRandomize
{
protected int sila;
public OrkB(int zywotnosc, string imie, int poziom, string rasa, int modyfikator_tr... | 2.135927 | 2b49e7c49842ab568ac9a2def297f61b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.