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 | 8847940 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "devlead/Statiq.Framework",
"max_stars_repo_path": "src/core/Statiq.Common/IO/PathEqualityComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167160"
} | starcoder | <filename>src/core/Statiq.Common/IO/PathEqualityComparer.cs
using System;
using System.Collections.Generic;
namespace Statiq.Common
{
/// <summary>
/// Compares <see cref="NormalizedPath"/> instances.
/// </summary>
public sealed class PathEqualityComparer : IEqualityComparer<NormalizedPath>
{
... | 3.456562 | 1d37a25c4be05c146e9369d141e48329 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847941 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thegrandpoobah/TorrentUploader",
"max_stars_repo_path": "Cleverscape.UTorrentClient.WebClient/ServiceDefinition/JsonContentTypeMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Channels;
namespace Cleverscape.UTorrentClient.WebClient.ServiceDefinition
{
class JsonContentTypeMapper: WebContentTypeMapper
{
public override WebContentFormat
... | 2.295588 | 530ec6524fdf064a72ce5151dd6b7320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847942 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "instance-id/uStableObject",
"max_stars_repo_path": "uStableObject.Pathfinding/IPathfinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167162"
} | starcoder | using System;
using System.Collections.Generic;
namespace uStableObject.Utilities
{
public interface IPathfinder<T>
{
IReadOnlyCollection<T> GetPath(T from, T to, List<T> path = null);
void Init(Action<T, List<T>> neighbours, Func<T, T, int> heuristic, int ancestorsFactor);
}
} | 2.290242 | 8def0fca965a2fb05ac65462e4369f14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847943 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GMS-online/wt-libraries",
"max_stars_repo_path": "wt.core-test/Classes/Components/TestComponents/ConfigTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167163"
} | starcoder | namespace WhileTrue.Classes.Components.TestComponents
{
[Component]
internal class ConfigTest1 : ITestFacade1
{
public ConfigTest1(Config config)
{
this.Config = config;
}
public Config Config { get; }
}
} | 1.925434 | 35842a04f16e240ed0ad97d1fb4bf6a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847944 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "dbruning/MediaPipe.NET",
"max_stars_repo_path": "Mediapipe.Net/Native/UnsafeNativeMethods/Gpu/GlTextureBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167164"
} | starcoder | // Copyright (c) homuler and The Vignette Authors
// This file is part of MediaPipe.NET.
// MediaPipe.NET is licensed under the MIT License. See LICENSE for details.
using System.Runtime.InteropServices;
using Mediapipe.Net.Gpu;
namespace Mediapipe.Net.Native
{
internal unsafe partial class UnsafeNativeMethods : ... | 1.479451 | 3baa74b162fcae08da67702e6c20cf5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847945 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "c0nnex/PureVoice",
"max_stars_repo_path": "LiteNetLib/NetEndPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167165"
} | starcoder | <reponame>c0nnex/PureVoice
using System;
using System.Net;
using System.Net.Sockets;
namespace LiteNetLib
{
/// <summary>
/// Network End Point. Contains ip address and port
/// </summary>
public sealed class NetEndPoint
{
public static readonly string IPv4Any = IPAddress.Any.ToString();
... | 2.676419 | 6877b16176f5bf4cdfdc5e4d63b6cbc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaredthirsk/LionFire.Core",
"max_stars_repo_path": "src/LionFire.UI.Entities/Entities/Entities/UIRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167166"
} | starcoder | #if DEPRECATED // Replaced with IUIRoot.QuerySubPath(this IHasPathCache<>)
using Caliburn.Micro;
using LionFire.Collections;
using System;
using System.Collections.Concurrent;
using System.Net.NetworkInformation;
namespace LionFire.UI.Entities
{
public interface IUIRegistry
{
T Query<T>(string path)
... | 2.130189 | 8a5b1ac7fec1230c51b1f92986decc4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "STARasGAMES/Save-System",
"max_stars_repo_path": "Assets/SaG/SaveSystem/Samples/Platformer2D/Scripts/UI/InventoryUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167167"
} | starcoder | <reponame>STARasGAMES/Save-System
using System.Text;
using UnityEngine;
using UnityEngine.UI;
namespace SaG.SaveSystem.Samples.Platformer2D.UI
{
public class InventoryUI : MonoBehaviour
{
[SerializeField] private Text text = default;
private Inventory _playerInventory;
private void Aw... | 2.24897 | add333cdee0e6d4efa4ca8c6b00bd17c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "namikitakeo/oauth",
"max_stars_repo_path": "Controllers/DiscoveryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167168"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using myop.Models;
namespace myop.Controllers
{
pu... | 2.020848 | c30fa7eb8b464b3defae2728d9a1dab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "farmerconnect/farmerconnect-azure",
"max_stars_repo_path": "samples/Messaging/Consumer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167169"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using FarmerConnect.Azure.Messaging;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Consumer
{
/// <summary>
/// NOT... | 2.523344 | 6eb6df493a7d5b332ec588aea48c100d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "japerales/codelearnstuff",
"max_stars_repo_path": "Assets/Design Patterns/Structurals/Strategy/ISeekBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167170"
} | starcoder | <filename>Assets/Design Patterns/Structurals/Strategy/ISeekBehaviour.cs
//la interface contiene el método que va a ejecutar la estrategia
public interface ISeekBehaviour
{
void Seek();
} | 2.208867 | b95e892d6b1a28bf8cfa7c8ef4f25494 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847951 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Terricide/ReVision",
"max_stars_repo_path": "src/WebSite/ZebraForm.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167171"
} | starcoder | <reponame>Terricide/ReVision
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebSite
{
public partial class ZebraForm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... | 1.867422 | b35e669b053a64579a267cce437c20fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexTrepanier/Uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Display.Core/DisplayManagerResultWithState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167172"
} | starcoder | <filename>src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Display.Core/DisplayManagerResultWithState.cs
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.Display.Core
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.N... | 1.920836 | 208ab852d088ac91d9fc43dde4bf79e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "digitalinteraction/bootlegger-sync",
"max_stars_repo_path": "OurStory.Sync.Lib/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167173"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using System.Linq;
namespace OurStory.Sync.Lib
{
public class Settings
{
static Settings()
{
var assembly = Assembly.GetExecutingAssembly();
string resourceName = assembly.GetManifestResourceNames().Single(str => s... | 2.41664 | 49d3a16ace1bbd29d62b62e81837bbd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847954 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Prastiwar/ForgeModGenerator",
"max_stars_repo_path": "ForgeModGenerator/app/ForgeModGenerator.Wpf/Source/Controls/Collection/FolderExpanderControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167174"
} | starcoder | <reponame>Prastiwar/ForgeModGenerator
using Prism.Commands;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace ForgeModGenerator.Controls
{
public class FolderExpanderControl : ContentControl
{
static FolderExpanderControl() => DefaultStyleKeyProperty.OverrideMe... | 2.14449 | 02d235e998206be7f2f76b404ef42234 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NimbusServices/SAEON.ObservationsDatabase",
"max_stars_repo_path": "SAEON.Observations.Data/Generated/VObservationApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167175"
} | starcoder | using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... | 2.214112 | 81cfc1e703e14cdcd0cc765cc43fd604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847956 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "georgevella/shipbot",
"max_stars_repo_path": "src/Shipbot.Deployments/Internals/DeploymentNotificationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167176"
} | starcoder | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Octokit;
using Scriban;
using Shipbot.Applications;
using Shipbot.Controller.C... | 1.898693 | 3becb2b789acd365b1ec297558e3b67a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847957 | {
"extension": "c-sharp",
"max_stars_count": "417.0",
"max_stars_repo_name": "gdalsnes/vs-streamjsonrpc",
"max_stars_repo_path": "src/StreamJsonRpc/Reflection/IJsonRpcFormatterTracingCallbacks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167177"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace StreamJsonRpc.Reflection
{
using System.Buffers;
using StreamJsonRpc.Protocol;
/// <summary>
/// Optionally i... | 2.041671 | 53f975f7acdbba9a80696800f32926b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JavierCanon/TypicalSouthernFoods",
"max_stars_repo_path": "src/TypicalSouthernFoods.BootstrapWebForms/Views/TasksDataTable.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167178"
} | starcoder | <filename>src/TypicalSouthernFoods.BootstrapWebForms/Views/TasksDataTable.aspx.cs
using DevExpress.Web;
using DevExpress.Web.Bootstrap;
using System;
using System.Collections.Generic;
using System.Linq;
using TypicalSouthernFoods.Webforms;
namespace TypicalSouthernFoods.Webforms.Views {
public partial class TasksD... | 2.144526 | 609e20598f35c813d2ac72c7e72aa769 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/polyrand/src/x/PolyCells.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167179"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Collection... | 2.355313 | bd9bfead275ea1ac9e564ccc04d79c6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847960 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UnlimitedHugs/RimworldRemoteTech",
"max_stars_repo_path": "Source/Comp/CompProperties_WiredDetonationTransmitter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167180"
} | starcoder | <filename>Source/Comp/CompProperties_WiredDetonationTransmitter.cs
// ReSharper disable UnassignedField.Global
using Verse;
namespace RemoteTech {
public class CompProperties_WiredDetonationTransmitter : CompProperties {
public float signalDelayPerTile;
public CompProperties_WiredDetonationTransmitter() {
co... | 1.889451 | cf1c5d3fc28c9ea879fe692e673e2d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveHaar/gnat-bootstrap",
"max_stars_repo_path": "server/Service/General/Mappers/BaseCompanyMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167181"
} | starcoder | using Domain.General;
using System.Collections.Generic;
using System.Linq;
using Vstack.Services.Data.General;
using Vstack.Services.Mapper.General;
using Vstack.Services.Service.General;
namespace Service.General.Mappers
{
public abstract class BaseCompanyMapper<TDmn>
: BaseMapper<TDmn>, IChildMapper<TDm... | 2.228986 | e2e6c4f718b508864ab565aa26fdfa73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847962 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "ImageViewer/IDicomPresentationImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167182"
} | starcoder | <filename>ImageViewer/IDicomPresentationImage.cs<gh_stars>1-10
#region License
// Copyright (c) 2009, ClearCanvas 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:
//
// * Red... | 1.897699 | 9aaa9768e7cf7350b1e24d09d088a326 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TemplarRei/TelerikAcademy",
"max_stars_repo_path": "CSharpTwo/0203.Methods/13.SolveTasks/SolveTasks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167183"
} | starcoder | //Write a program that can solve these tasks:
// Reverses the digits of a number
// Calculates the average of a sequence of integers
// Solves a linear equation a * x + b = 0
// Create appropriate methods.
// Provide a simple text-based menu for the user to choose which task to solve.
// Valida... | 3.937405 | 530ddacf60d37384d966c8ab2a2e8ef0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexnoddings/Elvet",
"max_stars_repo_path": "Plugins.InCharacter/Data/Migrations/00000000000000_InCharacterInitial.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167184"
} | starcoder | <reponame>alexnoddings/Elvet<filename>Plugins.InCharacter/Data/Migrations/00000000000000_InCharacterInitial.Designer.cs<gh_stars>0
// <auto-generated />
using Elvet.InCharacter.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
us... | 1.899103 | 2720d96d111b59de76227e182b3d8cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847965 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sinantok/microservices-demo-rabbitmq-netcore",
"max_stars_repo_path": "src/Microservices/Transfer/Api/Transfer.Api/Controllers/TransferController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167185"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Transfer.Application.Interfaces;
using Transfer.Domain.Models;
namespace Transfer.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class TransferController : ControllerBase
{
private readonly ITransferS... | 2.200897 | 2f4dd4ea7f3b28cad98c2600550ef29b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "char1ey/Mesher",
"max_stars_repo_path": "Mesher.Core/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167186"
} | starcoder | using System;
using System.Windows.Forms;
namespace Mesher.Core
{
static class Program
{
public static MesherApplication MesherApplication { get; set; }
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
[STAThread]
static void Main()
... | 2.197965 | 799b7abb95468bb1c700059bb62c41e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847967 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AonaSuzutsuki/KeyConverter",
"max_stars_repo_path": "LowLevelKeyboardLib/KeyMap/KeyMapConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167187"
} | starcoder | <reponame>AonaSuzutsuki/KeyConverter
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace LowLevelKeyboardLib.KeyMap
{
public class KeyMapConverter
{
/// <summary>
/// Convert int keycode to Or... | 2.646917 | 89740ee74267a4e78355d76b85f29dd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RomeshPanditha/holdem_bots_display",
"max_stars_repo_path": "Bots/SleepyBot/SleepyBot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HoldemPlayerContract;
namespace SleepyBot
{
// this bot will sleep for X seconds before calling. This is used to test that the controller can timeout bots if they are taking too long
// t... | 2.968632 | 0de8daef773d437ddcd8438d16a80ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847969 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "kant/IIS.Administration",
"max_stars_repo_path": "src/Microsoft.IIS.Administration/Security/ApiKeys/IApiKeyStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167189"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.IIS.Administration.Security {
using Microsoft.IIS.Administration.Core.Security;
using System.Collections.Ge... | 1.559096 | b6f11d38eceea24768921669b32261eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oneananda/C_Sharp_Examples",
"max_stars_repo_path": "SOLID Principle Examples/OpenClosedPrincipleExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167190"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenClosedPrincipleExample
{
class Program
{
static void Main(string[] args)
{
string SavePath = string.Empty;
// Without OCP Example
... | 3.118932 | 44fba41c003bc32c5c3933711875d8c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aa770417/UUU",
"max_stars_repo_path": "App_Code/TomCustomUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167191"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
/// <summary>
/// Summary description for CustomUtility
/// </summary>
public class TomCustomUtility
{
//將id 轉成員工姓名
public static string getEName(int EID)
{
... | 3.013131 | a7c68732faf235178849d8ec36cea847 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847972 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "SaxxonPike/roton",
"max_stars_repo_path": "Source/Roton/Emulation/Original/OriginalTimers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167192"
} | starcoder | using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Original
{
[Context(Context.Original)]
public sealed class OriginalTimers : ITimers
{
public OriginalTimers(IMemory memory)
{
Player = new MemoryTim... | 1.747704 | 203656fb4ae73bc17806a005e1705657 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847973 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hobogalaxy/ISA",
"max_stars_repo_path": "Unity/Assets/Utils/CoinSpawner/coinRotater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167193"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class coinRotater : MonoBehaviour
{
public int speedOfRotation = 100;
// Update is called once per frame
void Update()
{
transform.Rotate(0,0,speedOfRotation * Time.deltaTime);
}
}
| 2.027626 | 2005df10ff434ab55227c9ca12d6edd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marygordeeva/XT-2018Q4",
"max_stars_repo_path": "Epam.Tasks10,11/Epam.Task06/Epam.Task10.WebUI/_AddUser.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167194"
} | starcoder | <filename>Epam.Tasks10,11/Epam.Task06/Epam.Task10.WebUI/_AddUser.cshtml
@{
Layout = "~/_Layout.cshtml";
PageData["Title"] = "Add user";
}
<div>
<p>New user</p>
<form action="~/index.cshtml" method="post" id="addUserForm">
<label for="name">First Name</label>
<input type="text" id="nam... | 2.116472 | 99eedc49c8c6701324c6784befa5e48f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vakuzar/Multithreaded-Blood-Sim",
"max_stars_repo_path": "Blood/Library/PackageCache/com.unity.burst@1.3.0-preview.12/Runtime/BurstString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167195"
} | starcoder | <reponame>Vakuzar/Multithreaded-Blood-Sim
version https://git-lfs.github.com/spec/v1
oid sha256:651e2ed66e63e043a52fde65f94c5822993617cfeebefdcf001d11b3adcbc934
size 37578
| 0.677781 | 3cb24b75c5c68293ccf8af56d06d73ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Rafy/Plugins/Other/Rafy.MultiLanguages/Rafy.MultiLanguages.WPF/Commands/WebTranslators/Baidu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167196"
} | starcoder | <reponame>zgynhqf/trunk
/*******************************************************
*
* 作者:胡庆访
* 创建时间:20121109 17:11
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20121109 17:11
*
*******************************************************/
using System;
using System.Collections.Gen... | 2.283545 | 5f17056936c2dfb65499e51d400398c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847977 | {
"extension": "c-sharp",
"max_stars_count": "318.0",
"max_stars_repo_name": "Apple-Yuki/UniVRM",
"max_stars_repo_path": "Assets/VRM10/Editor/Vrm10InstanceEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167197"
} | starcoder | <reponame>Apple-Yuki/UniVRM
using System.Linq;
using UniGLTF;
using UnityEditor;
using UnityEngine;
namespace UniVRM10
{
[CustomEditor(typeof(Vrm10Instance))]
public class Vrm10InstanceEditor : Editor
{
const string SaveTitle = "Save VRM10Object to...";
static string[] SaveExtensions = new ... | 2.18339 | 492b570d6a32d273f91f773643dd0e46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847978 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aurigma/WinControls",
"max_stars_repo_path": "WinControls/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167198"
} | starcoder | using System.Reflection;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: System.Runtime.InteropServices.ComVisible(false)]
[assembly: System.CLSCompliant(true)]
[a... | 1.661218 | 0ae2cb107b6bcf2be2cbdaa90ccbdaff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ondrejsotolar/Alguin",
"max_stars_repo_path": "Alguin/Alguin/VisualMethods/Visual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using TestStack.White.UIItems;
using TestStack.White.UIItems.Finders;
namespace Alguin.VisualMethods
{
/// <summary>
/// Class in an entry point to visual methods
/// </summary>
public class Visua... | 2.947125 | 75ce3dcd369ff93d9ec2b9bc1cda8718 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847980 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sichenn/Maumer",
"max_stars_repo_path": "Editor/MeshTool/MeshToolWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167200"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace Maumer
{
/// <summary>
/// Usage:
/// Goto Window->MeshTool. You can use this tool to show some information about a mesh
/// (such as its vert count, normals, etc..)
/// </summary>
publi... | 2.517442 | 94ec8309d20a821fc81ea1c29621f2ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847981 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "TMPro/TMP_Glyph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167201"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata<filename>TMPro/TMP_Glyph.cs
[Serializable]
public class TMP_Glyph : TMP_TextElement_Legacy // TypeDefIndex: 5782
{
// Methods
// RVA: 0x155EC30 Offset: 0x155ED31 VA: 0x155EC30
public static TMP_Glyph Clone(TMP_Glyph source) { }
// RVA: 0x155ECF0 Offset: 0x155EDF1 VA: 0x15... | 1.160549 | 1e33e822bc69e6aa35dc1f72bedad400 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasvir234/jasshop_Ecorp",
"max_stars_repo_path": "Jasshop/Data/ApplicationDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167202"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Jasshop.Models;
namespace Jasshop.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextO... | 1.811021 | 49e7f9c2c9f5a143feb4fa7379b2e6a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847983 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_4AA6CA44.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167203"
} | starcoder | <reponame>Mike111177/OWLib<filename>TankLib/STU/Types/STU_4AA6CA44.cs
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x4AA6CA44)]
public class STU_4AA6CA44 : STUInstance {
[STUFieldAttribute(0x0D30E40C, ReaderType = typeof(Inl... | 0.92582 | c1efc3abe0bc539014367f78ecca6ab1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847984 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "samusaran/SharpReverseProxy",
"max_stars_repo_path": "test/SharpReverseProxy.Tests/HttpContextFakes/HttpResponseFake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167204"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace SharpReverseProxy.Tests.HttpContextFakes {
public class HttpResponseFake : HttpResponse {
private HttpContext _httpContext;
public override int StatusCode { get; set; }
public override IH... | 2.242964 | 0d47df423be08767e585f038b0630ede |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847985 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ColdVolcano/GamesToGo",
"max_stars_repo_path": "GamesToGo.Common/Online/Requests/AddUserRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167205"
} | starcoder | using System.Net.Http;
using GamesToGo.Common.Online.RequestModel;
using Newtonsoft.Json;
using osu.Framework.IO.Network;
namespace GamesToGo.Common.Online.Requests
{
internal class AddUserRequest : APIRequest<User>
{
private UserLogin user;
public AddUserRequest(UserLogin newUser)
{
... | 2.217032 | 334ea1c19df0b8568fc987d2258a6490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847986 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "ianxmason/Fewshot_Learning_of_Homogeneous_Human_Locomotion_Styles",
"max_stars_repo_path": "AI4Animation/Assets/Scripts/DeepLearning/Tensor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167206"
} | starcoder | using System;
using UnityEngine;
namespace DeepLearning {
public class Tensor {
public IntPtr Ptr;
private bool Deleted;
public Tensor(int rows, int cols) {
Ptr = Eigen.Create(rows, cols);
Deleted = false;
}
~Tensor() {
Delet... | 2.979939 | 14aa35c5b8e0edb17d3821a6397c2d9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847987 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akovanev/CqsDecorator",
"max_stars_repo_path": "CqsDecorators/LoggerHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167207"
} | starcoder | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace CqsDecorators
{
public class LoggerHandler<TQuery, TResult> : IQueryHandler<TQuery, TResult>
{
private readonly IQueryHandler<TQuery, TResult> handler;
private readonly ILogger logger;
public LoggerHandler(IQ... | 2.493926 | ed65d71e535d751618755a93a59f6b63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/efcore",
"max_stars_repo_path": "src/EFCore.Relational/Storage/StoreTypePostfix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167208"
} | starcoder | <reponame>belav/efcore<gh_stars>0
// 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.
namespace Microsoft.EntityFrameworkCore.Storage
{
/// <summary>
/// Indicates which values should be append... | 1.646137 | 912b814887a804e239cba90067b9dae1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "android-crack/joework",
"max_stars_repo_path": "GameCode/4399Code2_/ICSharpCode/SharpZipLib/Zip/IDynamicDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167209"
} | starcoder | <gh_stars>1-10
namespace ICSharpCode.SharpZipLib.Zip
{
using System;
using System.IO;
public interface IDynamicDataSource
{
Stream GetSource(ZipEntry entry, string name);
}
}
| 1.739175 | e0b8a5d7cdb907ad41b74f3e932abed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angusmf/rltk_unity_roguelike",
"max_stars_repo_path": "Assets/Part1-HelloWorld/1.5a-TakingATurn/Common/MoveSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167210"
} | starcoder | <filename>Assets/Part1-HelloWorld/1.5a-TakingATurn/Common/MoveSystem.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
namespace RLTKTutorial.Part1_5A
{
[DisableAutoCreation]
p... | 2.335399 | 1edf1b2fc8a7c0b02088132e89f14bfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafalpienkowski/async-performance-benchmark",
"max_stars_repo_path": "src/SuperTrouperApi/Controllers/ServicesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167211"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace SuperTrouperApi.Controllers
{
[Route("api/[controller]")]
public class Servi... | 2.647759 | ed0ef01c50187acfc7370791b1421207 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847992 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bastie/JavApi",
"max_stars_repo_path": "JavApi_Core/javax/annotation/Resource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167212"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 1.886483 | a584ab7c58c3da75019bfef51add222e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847993 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LBHackney-IT/lbh-adult-social-care-api",
"max_stars_repo_path": "LBH.AdultSocialCare.Api/V1/Boundary/Payments/Response/DepartmentFlatResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167213"
} | starcoder | <reponame>LBHackney-IT/lbh-adult-social-care-api<filename>LBH.AdultSocialCare.Api/V1/Boundary/Payments/Response/DepartmentFlatResponse.cs
namespace LBH.AdultSocialCare.Api.V1.Boundary.Payments.Response
{
public class DepartmentFlatResponse
{
public int Id { get; set; }
public string Name { get;... | 1.714326 | 715aab7e56331db10a85541fd65b358e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asolanki/Azure-Media-Services-Explorer",
"max_stars_repo_path": "AMSExplorer/PlayReadyLicense.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167214"
} | starcoder | namespace AMSExplorer
{
partial class PlayReadyLicense
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.650724 | 32a1c5ca80e2ee9192701d0fc9a29297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "levule/VideoKlub",
"max_stars_repo_path": "VideoKlub/ViewModels/MovieFormViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167215"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using VideoKlub.Models;
namespace VideoKlub.ViewModels
{
public class MovieFormViewModel
{
public IEnumerable<Genre> Genres { get; set; }
public int? Id { get; set... | 2.765357 | 9f6034e962bee51d7d730f9bd2508c5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847996 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "SeanKilleen/SpecFlow",
"max_stars_repo_path": "TechTalk.SpecFlow.Generator/ITestUpToDateChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167216"
} | starcoder | <filename>TechTalk.SpecFlow.Generator/ITestUpToDateChecker.cs
using System.Linq;
using TechTalk.SpecFlow.Generator.Interfaces;
namespace TechTalk.SpecFlow.Generator
{
public interface ITestUpToDateChecker
{
bool? IsUpToDatePreliminary(FeatureFileInput featureFileInput, string generatedTestFullPath, Up... | 1.611821 | ab5d3f968661dd65f6777bf7a8198632 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-providerpayments",
"max_stars_repo_path": "src/PeriodEnd/CoInvestedPayments/SFA.DAS.Payments.Calc.CoInvestedPayments/Infrastructure/Data/Entities/ProviderEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | <gh_stars>0
namespace SFA.DAS.Payments.Calc.CoInvestedPayments.Infrastructure.Data.Entities
{
public class ProviderEntity
{
public long Ukprn { get; set; }
}
} | 0.991249 | 1ebe7bdbe99554a5cf4c2d0fd6d41868 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847998 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rbirkby/mscui",
"max_stars_repo_path": "Solutions/Main/NhsCui.Toolkit.Web/DateInputBoxControl/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167218"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.312
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gen... | 2.083436 | 6600986b865dcbf54cb7a0d38dbc44ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847999 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "uoyoCsharp/StepFly",
"max_stars_repo_path": "src/StepFly/Services/LeXin/LeXinStepFlyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167219"
} | starcoder | using MiCake.Core;
using MiCake.Core.Util;
using Microsoft.Extensions.Logging;
using StepFly.Core;
using StepFly.Domain;
using StepFly.Dtos;
using StepFly.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using ... | 2.100047 | d6e38272d58fc3504c91d2f4f3c7c3bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tristanles/gameoflife-calisthenics-csharp",
"max_stars_repo_path": "GameOfLife/State/StateHolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167220"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using GameOfLife.Space;
namespace GameOfLife.State
{
public class StateHolder : IStateHolder
{
private readonly IDictionary<IPosition, CellState> _states = new Dictionary<IPosition, CellState>();
public void SetState(IPosition aPosition, CellState ... | 2.566765 | d7202111119f093b73f3930fc082bb28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mystiick/SaintCoinach",
"max_stars_repo_path": "SaintCoinach.Cmd/Commands/JsonCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167221"
} | starcoder | <filename>SaintCoinach.Cmd/Commands/JsonCommand.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using SaintCoinach.Ex.Relational;
using SaintCoinach.Ex.Relational.Definition;
using SaintCoinach.Xiv;
u... | 2.481694 | 1c65384b2cbf093e931165d1b2da9f5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848002 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ReneLergner/Capstone.NET",
"max_stars_repo_path": "CapstoneCMD/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167222"
} | starcoder | using Gee.External.Capstone;
using Gee.External.Capstone.Arm;
using Gee.External.Capstone.Arm64;
using Gee.External.Capstone.X86;
using System;
namespace CapstoneCMD {
/// <summary>
/// Main Program.
/// </summary>
internal static class Program {
/// <summary>
/// Run Main Prog... | 2.539515 | 74accdb9a55ffd421a0dbc88001dc80c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimPurdum/NetNotes",
"max_stars_repo_path": "NetNotes.Business/Elements/NoteHead.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167223"
} | starcoder | <reponame>TimPurdum/NetNotes<filename>NetNotes.Business/Elements/NoteHead.cs<gh_stars>0
using System;
namespace NetNotes.Business.Elements
{
public struct NoteHead
{
public NoteHead(NoteHeadShape shape)
{
Shape = shape;
}
public NoteHeadShape Shape { get; set; }
... | 2.227993 | c8b97df657bcda253c7acbc30f295642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848004 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "nomada2/monitor-table-change-with-sqltabledependency",
"max_stars_repo_path": "TableDependency.Tests/TableDependency.IntegrationTest/DatabaseObjectAutoCleanUpAfterHugeInsertsTestSqlServer.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | using System;
using System.Configuration;
using System.Data.SqlClient;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TableDependency.IntegrationTest.Helpers.SqlServer;
using TableDependency.SqlClient;
namespace TableDependency.IntegrationTest
{
public class DatabaseObjectAutoCl... | 2.109828 | 76d2875b7eec4195ddea835b9584591c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848005 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "hhnguyen/xRM-Portals-Community-Edition",
"max_stars_repo_path": "Framework/Adxstudio.Xrm/Caching/ObjectCacheOutputCacheProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167225"
} | starcoder | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
namespace Adxstudio.Xrm.Caching
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using... | 2.206916 | c014b2b7b474b74d9fff7e0ffd73aee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madeso/PrettyGood.net",
"max_stars_repo_path": "Diagram/Controllers/ZoomWithScrollWheel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167226"
} | starcoder | <filename>Diagram/Controllers/ZoomWithScrollWheel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Diagram.Controllers
{
public class ZoomWithScrollWheel : Controller
{
public override void scroll(int delta, Pnt worldPos, Pnt viewPos)
{
Pnt wp = Wo... | 2.405325 | f40cf1374c521b4a5dedcf44ab00c937 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shenrui93/saker",
"max_stars_repo_path": "ShareCode/Web/Session/WebDataSerializerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167227"
} | starcoder | <filename>ShareCode/Web/Session/WebDataSerializerBase.cs
/***************************************************************************
*
* 创建时间: 2017/8/15 13:10:59
* 创建人员: 沈瑞
* CLR版本号: 4.0.30319.42000
* 备注信息: 提供对象基础验证和序列化操作
*
* *************************************************************************/
... | 2.46805 | 8bd592893230fe76e11fd334edf9d07b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848008 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "p-unity-lineage/ecma_basic",
"max_stars_repo_path": "src/ECMABasic.Core/IEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167228"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ECMABasic.Core
{
/// <summary>
/// The environment that a program is run in.
/// </summary>
public interface IEnvironment : IErrorReporter
{
/// <summary>
/// The full program, ready ... | 3.23076 | 8120cb656c2c7544cf88e57d702bd11d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MickeySuperS/GGJ_2022",
"max_stars_repo_path": "Gorilla Warfare/Assets/TopDown/Enemies/Scripts/Enemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167229"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TopDown
{
public abstract class Enemy : MonoBehaviour, IHitable
{
public int healthPoints;
protected int currentHp;
protected Player target;
public int enemyDamage = 20;
protected E... | 2.77917 | d81d2143cdd176191d3da17bdcade4d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848010 | {
"extension": "c-sharp",
"max_stars_count": "5448.0",
"max_stars_repo_name": "Terra-jin/Humanizer",
"max_stars_repo_path": "src/Humanizer.Tests.Shared/Localisation/it/CollectionFormatterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167230"
} | starcoder | <reponame>Terra-jin/Humanizer
using System.Collections.Generic;
using Xunit;
namespace Humanizer.Tests.Localisation.it
{
[UseCulture("it")]
public class CollectionFormatterTests
{
[Fact]
public void OneItem()
{
var collection = new List<int>(new int[] { 1 }... | 2.756848 | 5049163334d7ddccfa62f333e2105d8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848011 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "KingNemesis/ProjectMastermind",
"max_stars_repo_path": "Project Mastermind/Assets/Scripts/Bonus/Elevator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167231"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Elevator : MonoBehaviour
{
public GameObject movePlatform;
public bool upOrDown = true; //true = up , false = down
public float up_elevatorContraintY;
public float down_elevatorContraintY;
private void O... | 2.515069 | f40ff5369b46ed90f68fe850c29f2c53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vendrcontrib/vendr-product-reviews",
"max_stars_repo_path": "src/Vendr.Contrib.Reviews/Persistence/ReviewRepositoryFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167232"
} | starcoder | <reponame>vendrcontrib/vendr-product-reviews<filename>src/Vendr.Contrib.Reviews/Persistence/ReviewRepositoryFactory.cs
using Vendr.Common;
using Vendr.Contrib.Reviews.Persistence.Repositories;
using Vendr.Contrib.Reviews.Persistence.Repositories.Implement;
using Vendr.Infrastructure;
#if NETFRAMEWORK
using Umbraco.Co... | 1.543506 | 555a3e6378b04adb7cd21f92f4a4d689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848013 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "waseems/inbox2_desktop",
"max_stars_repo_path": "Code/Client/Inbox2/UI/Controls/Setup/ChannelAddControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167233"
} | starcoder | using System;
using System.Windows.Controls;
using Inbox2.Platform.Channels.Configuration;
namespace Inbox2.UI.Controls.Setup
{
/// <summary>
/// Interaction logic for ChannelAddControl.xaml
/// </summary>
public partial class ChannelAddControl : UserControl
{
/// <summary>
... | 1.954007 | ded460dc9b24aec85ca51e07f76a6417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacksoncafazzo/AddressBook-csharp-CodeReview1",
"max_stars_repo_path": "Views/header.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167234"
} | starcoder | <reponame>jacksoncafazzo/AddressBook-csharp-CodeReview1
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="/Content/css/styles.css" media="screen">
<title>Address Book of Greatness</title>
</... | 1.69012 | 148f948447eabdb997cc9945263cb727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848015 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "vluedeling/InfoCarrier.Core",
"max_stars_repo_path": "test/InfoCarrier.Core.FunctionalTests/TestUtilities/InfoCarrierTestHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167235"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
namespace InfoCarrier.Core.FunctionalTests.TestUtilities
{
using System;
using InfoCarrier.Core.Client;
using Microsoft.EntityFrameworkCore;
using Microsof... | 1.777388 | 0600003bad3389a2a860f57175af0cf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848016 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "pirica/FTN-Power",
"max_stars_repo_path": "src/FTNPowerApplication/FTNPower.Core/DomainService/SubRepositories/GuildRepo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167236"
} | starcoder | using Discord;
using Discord.WebSocket;
using Fortnite.Localization;
using FTNPower.Core.ApplicationService;
using FTNPower.Core.Interfaces;
using FTNPower.Model.Tables;
using System;
using System.Collections.Generic;
namespace FTNPower.Core.DomainService.SubRepositories
{
public class GuildRepo
{
pri... | 2.09473 | 984c10585d13b9c46fdbb30c691ef5f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xknife-erian/nknife.jeelusrc",
"max_stars_repo_path": "NKnife.App.WebsiteBuilder/SimplusOM/Client/Win/Core/CoreForm/AidForm/User/ChargeUserForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167237"
} | starcoder | <reponame>xknife-erian/nknife.jeelusrc
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Jeelu.SimplusOM.Client
{
public partial class ChargeUserForm : Form
{
//实际充值数量
p... | 2.306965 | b5d9f3ae53843fd6b7a9a7d699485fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TeamAojilu/sukisukisukiman_u1w202012_akeru",
"max_stars_repo_path": "Assets/SilCilSystem/Scripts/Variables/Internals/Events/Struct/EventVector3Int.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167238"
} | starcoder | <filename>Assets/SilCilSystem/Scripts/Variables/Internals/Events/Struct/EventVector3Int.cs
using System;
using UnityEngine;
namespace SilCilSystem.Variables
{
internal class EventVector3Int : GameEventVector3Int
{
private event Action<Vector3Int> m_event;
public override void Publish(Vector3In... | 2.432008 | dfc6cecff2c4e346ed3a894541fcf09f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brucecrust/GunsAndGoblins",
"max_stars_repo_path": "Assets/Scripts/Inventory/Inventory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167239"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Inventory : MonoBehaviour {
// -- Constants --
private const int GUN_ONE_HOT_SLOT = 0;
private const int GUN_TWO_HOT_SLOT = 1;
private const int POWER_UP_HOT_SLOT = 2;
... | 1.857133 | 4dcd7e384f9c0994ceed948cd205339e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848020 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "henrikac/blazor-wasm-jwt",
"max_stars_repo_path": "BlazorWasmJwt/BlazorWasmJwt.Core/Profiles/UserProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167240"
} | starcoder | using AutoMapper;
using BlazorWasmJwt.Core.Dtos;
using BlazorWasmJwt.Core.Models;
namespace BlazorWasmJwt.Core.Profiles
{
public class UserProfile : Profile
{
public UserProfile()
{
CreateMap<User, UserReadDto>();
CreateMap<UserCreateDto, User>();
}
}
} | 1.63402 | ea85f171e924e6aff94c05d6d59a14b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OrionsSystems/CrossModules",
"max_stars_repo_path": "Orions.Systems.CrossModules.Components/Components/Workflow/WorkflowInstanceVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167241"
} | starcoder | <reponame>OrionsSystems/CrossModules
using Orions.Common;
using Orions.Infrastructure.HyperMedia;
using Orions.Node.Common;
using System.Linq;
using System.Threading.Tasks;
namespace Orions.Systems.CrossModules.Components
{
public class WorkflowInstanceVm
{
public IHyperArgsSink HyperStore { get; set; }
publi... | 2.078036 | c24804347aa8ab361e72a5580eb92336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848022 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "undergroundwires/safeOrbit",
"max_stars_repo_path": "src/SafeOrbit/Common/Exceptions/UnexpectedEnumValueException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167242"
} | starcoder | using System;
using SafeOrbit.Exceptions.SerializableException;
#if !NETSTANDARD1_6
using System.Runtime.Serialization;
using System.Security.Permissions;
#endif
namespace SafeOrbit.Exceptions
{
/// <summary>
/// An exception to throw when an <see cref="Enum" /> is out of range.
/// </summary>
//... | 2.88363 | 4a83e9e47442dcdc9d421d0b77f89eb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexCuse/PathFinder",
"max_stars_repo_path": "PathFinder/Transformation/TransformExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167243"
} | starcoder | using System.IO;
using PathFinder.Domain;
using PathFinder.Utilities;
namespace PathFinder.Transformation
{
public static class TransformExtensions
{
public static GPSData Read(this ITextTransform transform, string data)
{
transform.ThrowIfNull("transform");
data.ThrowI... | 2.342474 | c7bed43fdd368032028b35c7f1da9891 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848024 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "odalet/CertXplorer",
"max_stars_repo_path": "src/Delta.CertXplorer.Common/PluginsManagement/HostService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167244"
} | starcoder | using Delta.CertXplorer.Extensibility;
namespace Delta.CertXplorer.PluginsManagement
{
internal class HostService : IHostService
{
#region IHostService Members
/// <summary>
/// Gets the host application name.
/// </summary>
public string Name
{
ge... | 2.07147 | df4df41ec092b1b45ca6ce2b0159e77e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848025 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kruzifix/Klaesh-Proto",
"max_stars_repo_path": "unity/Assets/Code/UI/Navigator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167245"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Klaesh.Core;
using UnityEngine;
namespace Klaesh.UI
{
public interface INavigator
{
Navigate CurrentNavigate { get; }
void CloseCurrentWindow();
}
public class Navigator : ManagerBehaviour, INavigator
... | 2.612571 | 2f23a9e6fc6ac688eae3e0b78eae5950 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848026 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pha4/kentico",
"max_stars_repo_path": "src/Kentico.Ecommerce/Services/ShoppingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167246"
} | starcoder | <reponame>pha4/kentico
using CMS.Ecommerce;
using CMS.SiteProvider;
using EcommerceActivityLogger = Kentico.Activities.EcommerceActivityLogger;
namespace Kentico.Ecommerce
{
/// <summary>
/// Provides methods for managing shopping carts.
/// </summary>
public class ShoppingService : IShoppingService
... | 2.29464 | 696bab057149ea87fcc530d089216f11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848027 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HealthCatalyst/Fabric.Databus",
"max_stars_repo_path": "Fabric.Databus.Shared/SqlConnectionFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167247"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SqlConnectionFactory.cs" company="">
//
// </copyright>
// <summary>
// Defines the SqlConnectionFactory type.
// </summary>
// -------------------------------... | 1.760699 | 244579028221ff8785561814ebabdcb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thiagooromanelli/balancoFinanceiro",
"max_stars_repo_path": "BalancoFinanceiro/BalancoFinanceiro/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167248"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BalancoFinanceiro.Domain.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions... | 1.819897 | f48c4cff495ab436ee84493dc9a91b68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ApanLoon/Breakout",
"max_stars_repo_path": "src/Breakout/Assets/Scripts/GameController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167249"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
namespace Assets.Scripts
{
public class GameController : MonoBehaviour
{
public static GameController Instance;
private void Awake()
{
if (Instance == null)
{
Instance = this;
}
... | 2.696083 | 7f7bcc95ab58c441437cb6e0454bdb42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848030 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alperenozkaya/DualityGame",
"max_stars_repo_path": "Assets/Scripts/Movement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167250"
} | starcoder | <reponame>alperenozkaya/DualityGame
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Movement : MonoBehaviour
{
private BoxCollider2D collider;
private SpriteRenderer sprenderer;
public ParticleSystem particle;
public Audi... | 1.951203 | e8cee3ed44c15d80fa568c6dc8429999 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848031 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JerryBian/blog.laobian.me",
"max_stars_repo_path": "src/share/Grpc/Response/GrpcResponseBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167251"
} | starcoder | <filename>src/share/Grpc/Response/GrpcResponseBase.cs
using System.ComponentModel;
using System.Runtime.Serialization;
using Laobian.Share.Grpc.Request;
using ProtoBuf;
namespace Laobian.Share.Grpc.Response;
[DataContract]
[ProtoInclude(100, typeof(LogGrpcResponse))]
[ProtoInclude(200, typeof(BlogGrpcResponse))]
[Pr... | 1.841725 | 49b484ff468adbcf6b7e8623b75a21f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848032 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ThisNetWorks/ThisNetWorks.OrchardCore.CKEditor",
"max_stars_repo_path": "src/ThisNetWorks.OrchardCore.CKEditor/ViewModels/CKEditorConfigurationIndexViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167252"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using ThisNetWorks.OrchardCore.CKEditor.Models;
namespace ThisNetWorks.OrchardCore.CKEditor.ViewModels
{
public class CKEditorConfigurationIndexViewModel
{
public IList<CKEditorConfigurationEntry> Configurations { get; set; }
public CKEditorConfi... | 1.456768 | 8b7bd07a88cacac2ba45438dd94e5df9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848033 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mwhelan/Specify",
"max_stars_repo_path": "src/Samples/AspNetCoreApi/specs/Specs.Acceptance/_CurrentSprint/MasterFiles/DisposalReasons/UpdateMany/UpdateSingleDisposalReasonWithInvalidData.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using ApiTemplate.Api.Application.Common.Extensions;
using ApiTemplate.Api.Application.Features.MasterFiles;
using ApiTemplate.Api.Contracts;
using ApiTemplate.Api.Domain.Model.MasterFiles;
using FluentAssertions;
using Specs.Lib... | 2.042281 | 9f938bf7709af9107c869cfd09feb784 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salt-k2t/VertexAnimationTextureUnityShaderGraph",
"max_stars_repo_path": "Assets/Editor/SetVertexIdToUV.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167254"
} | starcoder | <reponame>salt-k2t/VertexAnimationTextureUnityShaderGraph
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEditor;
public class SetVertexIdToUV : EditorWindow
{
private Mesh target;
[MenuItem("Tools/Open SetVertexIdToUV2")]
private static void ... | 2.132023 | 89ab82c8526dcf8914d61dedcf4d6275 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848035 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "tiggerite/Tesseract",
"max_stars_repo_path": "src/HouseofCat.Dataflows/IWorkState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167255"
} | starcoder | <filename>src/HouseofCat.Dataflows/IWorkState.cs
using System.Collections.Generic;
using System.Runtime.ExceptionServices;
namespace HouseofCat.Dataflows
{
public interface IWorkState
{
IDictionary<string, object> Data { get; set; }
// Routing Logic
IDictionary<string, bool> StepSucce... | 1.958901 | cba308ec9531fe337215b56acbba4988 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvmijares/PublicDungeonsAndWagons",
"max_stars_repo_path": "Dungeons and Wagons/Assets/Scripts/Over World/Path.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167256"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Overworld {
public class Path : MonoBehaviour {
public string pathName;
public Node a; //each path is represented by 2 points
public Node b;
public EasySplinePath2D path;
private void... | 2.229877 | 8746fb5727804cde2db43c4a1bac9466 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848037 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "markeverard/POSSIBLE.WordPress.XmlRpcClient",
"max_stars_repo_path": "src/POSSIBLE.WordPress.XmlRpcClient/Models/PostThumbnailImageMeta.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167257"
} | starcoder | <reponame>markeverard/POSSIBLE.WordPress.XmlRpcClient
namespace POSSIBLE.WordPress.XmlRpcClient.Models
{
public struct PostThumbnailImageMeta
{
public int aperture { get; set; }
public string credit { get; set; }
public string camera { get; set; }
public string caption { ... | 1.236827 | fbdd908fb9bbd68b8d3104a2fffd1b8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdgewareRoad/asn1",
"max_stars_repo_path": "Asn1/Asn1T61String.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167258"
} | starcoder | <reponame>EdgewareRoad/asn1
using System.IO;
using System.Text;
using System.Xml.Linq;
namespace Asn1 {
public class Asn1T61String : Asn1Node {
public const string NODE_NAME = "T61";
public string Value { get; set; }
public Asn1T61String() {
}
public Asn1T61String(string... | 2.701798 | 0487d248fbd79bee8df0fd5a42960029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "oxysoft/PokeSharp",
"max_stars_repo_path": "src/MapEditor.Data/Actions/MultiAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167259"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using General.Common;
namespace MapEditor.Data.Actions {
public class MultiAction : IAction, IEncodable {
public List<IAction> Actions;
private string name = null;
public virtual string Name {
get {
if (name != null) return name;
r... | 2.813314 | 5a4045bfe5f4786d412ab360803e0048 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.