added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teppoyev/Game-Bomberman",
"max_stars_repo_path": "Game-Bomberman/Game Logic/Enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95562"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game_Bomberman.Game_Logic
{
abstract class Enemy : Creature
{
private int direction;
public int Direction { get => direction; set => direction = value; }
}
}
| 2.415545 | 991401e6a5ea63a10421347c048876ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manastalukdar/iot-edge",
"max_stars_repo_path": "samples/dotnet_core_module_sample/modules/HelloWorldModule/DotNetHelloWorldModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95563"
} | starcoder | using System;
using Microsoft.Azure.Devices.Gateway;
namespace HelloWorldModule
{
public class DotNetHelloWorldModule : IGatewayModule, IGatewayModuleStart
{
private string configuration;
public void Create(Broker broker, byte[] configuration)
{
this.configuration = System.... | 2.58253 | 1eafc8d0047ba22577fb40501776dbcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95563 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MertYumer/Tech-Module-2018",
"max_stars_repo_path": "07. Objects and Classes - More Exercises/P04-RawData/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95564"
} | starcoder | <gh_stars>1-10
namespace P04_RawData
{
using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
int lines = int.Parse(Console.ReadLine());
var cars = new List<Car>();
for (int i = 0; i... | 3.545599 | 90d299c1a9b239f72895fba4936b4ea4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quangdo3112/AElf",
"max_stars_repo_path": "src/AElf.Kernel.Consensus.DPoS/Application/IConsensusInformationGenerationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95565"
} | starcoder | <filename>src/AElf.Kernel.Consensus.DPoS/Application/IConsensusInformationGenerationService.cs
using System;
using System.Threading.Tasks;
using Google.Protobuf;
namespace AElf.Kernel.Consensus.Application
{
public interface IConsensusInformationGenerationService
{
IMessage GetTriggerInformation(Trigge... | 1.886818 | 6e788ffb9645b18ff737e6f9a1b7de35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TaiwanSpring/L1CSharpTW",
"max_stars_repo_path": "LineageServer/Serverpackets/S_Lawful.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95566"
} | starcoder | <gh_stars>0
using LineageServer.Server;
namespace LineageServer.Serverpackets
{
class S_Lawful : ServerBasePacket
{
private const string S_LAWFUL = "[S] S_Lawful";
private byte[] _byte = null;
public S_Lawful(int objid, int lawful)
{
buildPacket(objid, lawful);
... | 1.960251 | d28b616654e08948294d4a0baee2b0cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95566 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hygoh2k/dumbo",
"max_stars_repo_path": "ServiceProvider/Service.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95567"
} | starcoder | <reponame>hygoh2k/dumbo
using System;
using System.Net;
namespace Dombo.ServiceProvider
{
public class ServiceConfig
{
public string BaseUrl { get; set; }
public string Token { get; set; }
public string GetImageUrl { get; set; }
public string PostImageUrl { get; set... | 1.492612 | 689c9ba670ab4146f89a7ffc0aa24583 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95567 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "DazEdword/AKClipper",
"max_stars_repo_path": "AKCCore/Clippings/ClippingStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95568"
} | starcoder | <reponame>DazEdword/AKClipper
using System.Collections.Generic;
namespace AKCCore {
public class ClippingStorage {
public List<Clipping> finalClippingsList;
public Dictionary<int, Clipping> numberedClippings;
public ClippingStorage() {
finalClippingsList = new List<Clipping>(... | 3.192163 | 29d0bd7c8a158016e2d304fb10874479 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95568 | {
"extension": "c-sharp",
"max_stars_count": "485.0",
"max_stars_repo_name": "ScriptBox99/reaqtor",
"max_stars_repo_path": "Reaqtive/Core/Reaqtive.Scheduler/Reaqtive/Scheduler/SchedulerStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95569"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.
namespace Reaqtive.Scheduler
{
/// <summary>
/// Represents the status of a logical scheduler.
/// </su... | 2.313206 | e1943552fca296cb137c26521a0110c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95569 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xeinaemm/Xeinaemm.Standard",
"max_stars_repo_path": "src/Xeinaemm.Quartz/Configuration/JobBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95570"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="JobBase.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
// ---------------------------... | 2.114214 | f07ce2d04718c68e4caeb5a3b2c792ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95570 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hilts-vaughan/OpenORPG",
"max_stars_repo_path": "OpenORPG.Server/Game/Network/Packets/Server/ServerJoinChannelPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95571"
} | starcoder | using Server.Infrastructure.Network.Packets;
namespace Server.Game.Network.Packets
{
public struct ServerJoinChannelPacket : IPacket
{
public int ChannelId;
public string ChannelName;
public ChannelType ChannelType;
public ServerJoinChannelPacket(int channelId, ChannelType ch... | 2.194685 | b090c2ffa718382a7a5f8584a1f76acb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95571 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PLCnext/PLCnext_CLI",
"max_stars_repo_path": "src/Test.PlcNext/Tools/Abstractions/Mocked/MockedProcessManagerAbstraction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95572"
} | starcoder | #region Copyright
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Phoenix Contact GmbH & Co KG
// This software is licensed under Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////
#endregion
using System;
using... | 2.137798 | bb5031896dcf33033f10069e5ea443ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95572 | {
"extension": "c-sharp",
"max_stars_count": "1425.0",
"max_stars_repo_name": "helpspace-co/tinkerpop",
"max_stars_repo_path": "gremlin-dotnet/src/Gremlin.Net/Driver/Messages/ResponseResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95573"
} | starcoder | <gh_stars>1000+
#region License
/*
* 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, Ve... | 1.849349 | c85a936efeee5d2e8306eb5f85069053 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95573 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "alecsza/LearnAppCenter",
"max_stars_repo_path": "Start/GoGoGiphy/GoGoGiphy/Converters/UrlToPathConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95574"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Xamarin.Forms;
namespace GoGoGiphy.Core.Converters
{
public class UrlToPathConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
... | 2.76547 | ec08c5c6a1d30de5b2fe95a61b150b9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95574 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "codewriter-packages/Package-Symlinker",
"max_stars_repo_path": "Editor/PackageSymLinkerWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95575"
} | starcoder | #if UNITY_EDITOR_WIN
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;
namespace CodeWriter.PackageSymLinker
{
public class PackageSymLi... | 2.214826 | 1a3b5f6f3f93d4c4f26946882873c4e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wotakuro/UnityReadTestProject",
"max_stars_repo_path": "Assets/ReadSpeedTester/Editor/GenerateDummyFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95576"
} | starcoder | <filename>Assets/ReadSpeedTester/Editor/GenerateDummyFile.cs
using System.IO;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class GenerateDummyFile
{
[MenuItem("Tools/CreateDummyFile")]
public static void CreateDummyFile()
{
var streamingPath = Application.streamin... | 2.62183 | 5df862b60cfb1b244526dd6b68e0df4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "securenative/securenative-dotnet",
"max_stars_repo_path": "SecureNative.SDK/Utils/RequestUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95577"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Http;
using SecureNative.SDK.Config;
namespace SecureNative.SDK.Utils
{
public static class RequestUtils
{
public const string SecurenativeCookie = "_sn... | 2.2303 | baef3aa76519a1f212bc7d90308c6a4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icaro56/DDD_RestAPI_NET",
"max_stars_repo_path": "RestAPIModeloDDD.Domain.Core/Interfaces/Repositories/IRepositoryBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95578"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace RestAPIModeloDDD.Domain.Core.Interfaces.Repositories
{
public interface IRepositoryBase<TEntity> where TEntity : class
{
Task Add(TEntity obj);
Task Update(TEntity obj);
Task Remove(TEntity obj);
Task<... | 2.341262 | 777cf6636ece80fc2c4648f551379284 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95578 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "timiil/OpenRpg",
"max_stars_repo_path": "src/OpenRpg.Localization/Queries/GetBatchLocalesQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95579"
} | starcoder | using System.Collections.Generic;
using OpenRpg.Data.Queries;
namespace OpenRpg.Localization.Queries
{
public class GetBatchLocalesQuery : IFindAllQuery<string>
{
public IReadOnlyList<string> Ids { get;}
public GetBatchLocalesQuery(IReadOnlyList<string> ids)
{ Ids = ids; }
pub... | 2.488974 | bd9ca49052c04966a4ff3ba19cab4dc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95579 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "AutomateThePlanet/Meissa",
"max_stars_repo_path": "SmallMSTestTestProject/OperaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95580"
} | starcoder | <filename>SmallMSTestTestProject/OperaTests.cs
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SmallMSTestTestProject
{
[TestClass]
public class OperaTests
{
[TestMethod]
[TestCategory("CI")]
public void OperaTest1()
{
Thread... | 2.559175 | ba8e2dc1272a86b74e4cf7d405cad8fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adirelle/CentralizedClimateControl",
"max_stars_repo_path": "Source/ActiveBuildings/AreaShapeUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95581"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Verse;
namespace CentralizedClimateControl
{
internal static class AreaShapeUtility
{
public static AreaShape? GetAreaShape(this ThingComp comp)
{
return comp.parent.GetAreaShape();
}
public sta... | 2.66872 | f24b552f80fd2f5d4cdf3589f993b42f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95581 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeadlyKitten/SlimeModdingUtilities",
"max_stars_repo_path": "SlimeModdingUtilities/Utilities/SharedCoroutineStarter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95582"
} | starcoder | using System.Collections;
using UnityEngine;
namespace SMU.Utilities
{
/// <summary>
/// Utility class for running coroutines from non-Monobehaviours.
/// </summary>
public class SharedCoroutineStarter : MonoBehaviour
{
private static SharedCoroutineStarter _instance;
/// <summary... | 2.885727 | 59e24f48df3a268947288f7169447fc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95582 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "OsvaldoMartini/Blazor_Projects",
"max_stars_repo_path": "Blazume/Blazume.App/Pages/Contact.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95583"
} | starcoder | @page "/contact"
<div id="contact" class="container">
<h2>Contact Me</h2>
<form>
<input type="text" placeholder="<NAME>">
<input type="text" placeholder="Your Email">
<input type="text" placeholder="Website (Optional)">
<textarea rows="3" style="width:... | 2.028156 | bca93cec2b23981cf8f54d20a2e92a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivaylo-R/CSharp-WebBasics-May2021",
"max_stars_repo_path": "Exams/CSharp Web Development Basics Exam - 26 June 2021/SharedTrip/Models/Users/UserLoginFormModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95584"
} | starcoder | <reponame>ivaylo-R/CSharp-WebBasics-May2021<gh_stars>0
namespace SharedTrip.Models.Users
{
public class UserLoginFormModel
{
public string Username { get; init; }
public string Password { get; init; }
}
}
| 1.425371 | 7038184d516f5d067ea7b237c0636d61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95584 | {
"extension": "c-sharp",
"max_stars_count": "155.0",
"max_stars_repo_name": "eincioch/freechat",
"max_stars_repo_path": "FreeChat/FreeChat.iOS/Effects/BorderlessEditorEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95585"
} | starcoder | <reponame>eincioch/freechat
using System;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportEffect(typeof(FreeChat.iOS.Effects.BorderlessEditorEffect), nameof(FreeChat.iOS.Effects.BorderlessEditorEffect))]
namespace FreeChat.iOS.Effects
{
public class BorderlessEditorEffect : PlatformEffect
... | 1.602726 | ada2f128c2a664ca3d34915c1079ba50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95585 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Peefy/PeefyLeetCode",
"max_stars_repo_path": "src/CSharp/801-900/874.WalkingRobotSimulation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95586"
} | starcoder |
using System;
using System.Linq;
using System.Collections.Generic;
namespace PeefyLeetCode.RobotSim
{
public class Solution {
public int RobotSim(int[] commands, int[][] obstacles) {
int x = 0;
int y = 0;
int xdelta = 0;
int ydelta = 1;
int dis = 0;
HashSet<KeyValue... | 3.213176 | 85247bc736b11ac874037d39eb0a6aa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95586 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mono/stetic",
"max_stars_repo_path": "libstetic/TypedPropertyDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95587"
} | starcoder | <reponame>mono/stetic
using System;
using System.ComponentModel;
using System.Collections;
using System.Reflection;
using System.Xml;
namespace Stetic
{
public class TypedPropertyDescriptor : PropertyDescriptor {
PropertyInfo memberInfo, propertyInfo, runtimePropertyInfo, runtimeMemberInfo;
ParamSpec pspec;
T... | 2.452158 | b76c714d0354284a86e449b6a1ae1fd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95587 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "wabbajack-tools/wabbajack",
"max_stars_repo_path": "Wabbajack.Server/DataLayer/ArchiveDownloads.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95588"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using Wabbajack.Compiler;
using Wabbajack.DTOs;
using Wabbajack.DTOs.DownloadStates;
using Wabbajack.Hashing.xxHash64;
using Wabbajack.Server.DTOs;
namespace Wabbajack.Server.DataLayer
{
... | 2.218371 | 873fc70288f73f9f5b2ad625b12fef85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95588 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "horker/pscntk",
"max_stars_repo_path": "source/Horker.PSCNTK/MsgPack/MsgPackSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95589"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using MsgPack.Serialization;
namespace Horker.PSCNTK
{
public class MsgPackSerializer
{
private static Dictionary<string, Tuple<float[], int[]>> ConvertToSerializableObject(DataSourceSet ds... | 2.899994 | 3eccdb3bfb7ca624065a03780a295868 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95589 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xyx0826/WwiseParser",
"max_stars_repo_path": "WwiseParserLib/Structures/Objects/WwiseObjectBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95590"
} | starcoder | namespace WwiseParserLib.Structures.Objects
{
/// <summary>
/// The base class of all Wwise object structures.
/// </summary>
public abstract class WwiseObjectBase
{
}
}
| 1.795378 | c08f59db9f732c34cb4e886b1ec8f69c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95590 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "beachmiles/androidmono",
"max_stars_repo_path": "jni/MonoJavaBridge/android/generated/android/text/AutoText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95591"
} | starcoder | <filename>jni/MonoJavaBridge/android/generated/android/text/AutoText.cs
namespace android.text
{
[global::MonoJavaBridge.JavaClass()]
public partial class AutoText : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
static AutoText()
{
InitJNI();
}
protected Auto... | 1.70428 | 08a0c093c0a659eed11a234ae95e3647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95591 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tranphuong02/mvc5-web-framework",
"max_stars_repo_path": "Framework/Transverse/Interfaces/DAL/IDatabaseMigrationsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95592"
} | starcoder | <gh_stars>1-10
using Framework.DI.Contracts.Interfaces;
namespace Transverse.Interfaces.DAL
{
public interface IDatabaseMigrationsRepository : IDependency
{
/// <summary>
/// Migration data
/// </summary>
void ApplyDatabaseMigrations();
}
} | 1.587942 | 3d22fb3ee38d628b82cd9671cf127288 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OpenMagic/CQRSMagic",
"max_stars_repo_path": "Projects/CQRSMagic/Command/ICommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95593"
} | starcoder | <reponame>OpenMagic/CQRSMagic
using System;
namespace CQRSMagic.Command
{
public interface ICommand
{
Guid AggregateId { get; }
}
} | 1.459416 | c750093693af547c620c667f9c4d68be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kcr55/CrewChiefV4",
"max_stars_repo_path": "CrewChiefV4/F1_2018/F12018UDPreader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95594"
} | starcoder | <filename>CrewChiefV4/F1_2018/F12018UDPreader.cs
using F1UdpNet;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using Syst... | 2.218077 | 545aa404c9c51fb5c707dcc034abf03d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kawai125/Boids-ECS-hecomi",
"max_stars_repo_path": "Assets/Script/ECS/Bootstrap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95595"
} | starcoder | using UnityEngine;
using Unity.Collections;
using Unity.Entities;
using Unity.Transforms;
using Unity.Mathematics;
public class Bootstrap : MonoBehaviour
{
public static Bootstrap Instance { get; private set; }
public static Param Param { get { return Instance.param; } }
//[SerializeField] Vector3 boid... | 1.75458 | 24f7ed26d98fae835ebaebe482736796 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95595 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kasskata/Unity3d-UIDragAndDrop",
"max_stars_repo_path": "Assets/Plugins/BetweenUI/Scripts/Custom/BetweenGlobalPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95596"
} | starcoder | using UnityEngine;
/// <summary>
/// Transition position.
/// </summary>
[AddComponentMenu("BetweenUI/Between Global Position")]
public class BetweenGlobalPosition : BetweenBase
{
public Vector3 From;
public Vector3 To;
private Transform trans;
private Transform CachedTransform
{
get
... | 2.286272 | 08bd294ad1992dbde13a13597e881196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CosmicVoyageur/Tsl.AsciiProtocol.Pcl",
"max_stars_repo_path": "Tsl.AsciiProtocol/Tsl.AsciiProtocol.Pcl/FileDownloadResponder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95597"
} | starcoder | <filename>Tsl.AsciiProtocol/Tsl.AsciiProtocol.Pcl/FileDownloadResponder.cs<gh_stars>0
// Decompiled with JetBrains decompiler
// Type: TechnologySolutions.Rfid.AsciiProtocol.FileDownloadResponder
// Assembly: TechnologySolutions.Rfid.AsciiProtocol.FX35, Version=1.1.5423.27429, Culture=neutral, PublicKeyToken=null
// M... | 2.53154 | 303fedb10dafb2e15904461947b2ebd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95597 | {
"extension": "c-sharp",
"max_stars_count": "253.0",
"max_stars_repo_name": "jakdaniel/TMDbLib",
"max_stars_repo_path": "TMDbLib/Objects/General/MediaType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95598"
} | starcoder | using Newtonsoft.Json;
using TMDbLib.Utilities;
using TMDbLib.Utilities.Converters;
namespace TMDbLib.Objects.General
{
[JsonConverter(typeof(EnumStringValueConverter))]
public enum MediaType
{
Unknown,
[EnumValue("movie")]
Movie = 1,
[EnumValue("tv")]
Tv = 2,
... | 2.093987 | 6e55f2732908962c5894c2db3cacc4c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sereilly/MixedReality-SpectatorView",
"max_stars_repo_path": "src/SpectatorView.Unity/Assets/SpectatorView/Scripts/StateSynchronization/Demo/StateSynchronizationDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95599"
} | starcoder | <filename>src/SpectatorView.Unity/Assets/SpectatorView/Scripts/StateSynchronization/Demo/StateSynchronizationDemo.cs<gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Mi... | 2.349854 | 9ce102cc4ee81760cfcdb5e4e19b29e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95599 | {
"extension": "c-sharp",
"max_stars_count": "305.0",
"max_stars_repo_name": "AngusParsonson/Neo4jClient",
"max_stars_repo_path": "Neo4jClient.Tests/Cypher/CypherFluentQueryMatchTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95600"
} | starcoder | using System;
using System.Linq;
using Neo4jClient.Cypher;
using NSubstitute;
using Xunit;
namespace Neo4jClient.Tests.Cypher
{
public class CypherFluentQueryMatchTests : IClassFixture<CultureInfoSetupFixture>
{
[Fact]
public void MatchRelatedNodes()
{
// http://docs.neo4j.... | 2.414828 | 8c395b6953effcd1a3838a1c7999f93a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Is-Broke/CodeBreaker",
"max_stars_repo_path": "SyntacsApp/Migrations/20180704173412_initial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95601"
} | starcoder | using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SyntacsApp.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
n... | 2.12254 | 3469c1a1ba92e1351f8422a2e1ed3d2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95601 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tobytop/Pudding",
"max_stars_repo_path": "src/Pudding.Core/Logger/ServiceExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95602"
} | starcoder | using Autofac;
using AutofacSerilogIntegration;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.Elasticsearch;
using System;
using System.IO;
namespace Pudding.Core
{
public static partial class ServiceExtension
{
/// <summary>
/// 日志输出到自定义模式
... | 2.531598 | 12ebd79184d2cbb7298b924d8239cb81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95602 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alekseynemiro/Nemiro.Convertion",
"max_stars_repo_path": "TestProject1/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95603"
} | starcoder | <filename>TestProject1/UnitTest1.cs
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nemiro;
namespace TestProject1
{
/// <summary>
/// Сводное описание для UnitTest1
/// </summary>
[TestClass]
public class UnitT... | 2.981689 | 6436f6df1b717a0b574ff3348e0820e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95603 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Altenhh/GD-Difficulty-Calculator",
"max_stars_repo_path": "Online/Models/OnlineLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95604"
} | starcoder | <filename>Online/Models/OnlineLevel.cs
// Copyright (c) Alten. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GD.Calculator.Online.Requests;
using GDAPI.Objects.GeometryDa... | 2.179832 | eacd1b79317f18d34b75c18b34b6f53d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95604 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Ghetaldus/retro-dungeon-crawler-kit",
"max_stars_repo_path": "Scripts/_UI/ButtonEventChoice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95605"
} | starcoder | <filename>Scripts/_UI/ButtonEventChoice.cs<gh_stars>1-10
// =======================================================================================
// RETRO DUNGEON CRAWLER KIT (Support Forum: www.dungeoncrawler.net)
//
// --- DO NOT CHANGE ANYTHING BELOW THIS LINE (UNLESS YOU KNOW WHAT YOU ARE DOING) ---
// ========... | 2.226803 | 0b4e5246eb0b531e7bdfbcbf00d36e7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrHarrisonBarker/CorruptusConscribo",
"max_stars_repo_path": "CorruptusConscribo/Parser/Expressions/BinaryOperators/NotEqual.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95606"
} | starcoder | <gh_stars>0
namespace CorruptusConscribo.Parser.Expressions.BinaryOperators
{
public class NotEqual : BinaryOperator
{
public NotEqual(Scope scope) : base(scope,"!=", "cmpq\t%rax,%rcx\nmovq\t$0,%rax\nsetne\t%al")
{
}
}
} | 1.481776 | fffa5efc2447c882b4f2c59cc020ba3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95606 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "seanlinmt/tradelr",
"max_stars_repo_path": "bajula/Models/facebook/FacebookSelectedTab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95607"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace tradelr.Models.facebook
{
public enum FacebookSelectedTab
{
CANVAS,
SHOP,
INVITE
}
} | 1.354361 | 76386cd1014b3a371985a33a9ca1b7b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95607 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "VolatileMindsLLC/sqlmap-sharp",
"max_stars_repo_path": "sqlmap-sharp/Example/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95608"
} | starcoder | using System;
using sqlmapsharp;
using System.Collections.Generic;
namespace Example
{
class MainClass
{
public static void Main (string[] args)
{
using (SqlmapSession session = new SqlmapSession("127.0.0.1", 8775))
{
using (SqlmapManager manager = new SqlmapManager(session))
{
string taskid =... | 2.430136 | 841e32cc3efe583c9d933bfdf4bef475 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95608 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BinaryEvolved/DiscordEvolved",
"max_stars_repo_path": "DiscordEvolved/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95609"
} | starcoder | <gh_stars>1-10
using System;
using System.Reflection;
using System.Threading.Tasks;
using DiscordEvolved.Commands;
using DiscordEvolved.Properties;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Exceptions;
namespace DiscordEvolved
{
public class Program
{
public readon... | 2.60212 | 720fde084ec98d133f34a477ca905f7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95609 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tonchevaAleksandra/HackerRank-Problem-Solving",
"max_stars_repo_path": "HackerRank/CountingValleys/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95610"
} | starcoder | <filename>HackerRank/CountingValleys/Program.cs
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Se... | 3.145076 | 955ef634fa049cd93fdd731d75b4eede |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "042020-dotnet-uta/joseAguilar-repo0",
"max_stars_repo_path": "codingchallenge/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95611"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
namespace codingchallenge
{
class Program
{
static void Main(string[] args)
//NOTE: I overall referred myself to https://www.w3schools.com/cs/default.asp when I don't get the syntax right
{
... | 3.847097 | e5ca6ed986255c480eabceec2968e997 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95611 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "studentutu/coreutils",
"max_stars_repo_path": "Packages/CoreUtils/Runtime/StateMachine/StateEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95612"
} | starcoder | <filename>Packages/CoreUtils/Runtime/StateMachine/StateEvents.cs
using UnityEngine;
using UnityEngine.Events;
namespace CoreUtils {
public class StateEvents : MonoBehaviour {
[SerializeField, AutoFill] private State m_State;
public UnityEventBool StateActiveEvent;
public UnityEvent OnState... | 2.518888 | 191419570c535c5d81e6e01a1708167f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95612 | {
"extension": "c-sharp",
"max_stars_count": "400.0",
"max_stars_repo_name": "tenor/RestBus",
"max_stars_repo_path": "src/Common/RestBus.Common/InterlockedBoolean.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95613"
} | starcoder | <filename>src/Common/RestBus.Common/InterlockedBoolean.cs
using System;
using System.Threading;
namespace RestBus.Common
{
/// <summary>
/// Provides a boolean value that can be atomically modified using Interlocked operations.
/// Use this struct only as a field in a class and access it directly from any... | 3.501504 | 59d593229f858c827f68a17d528ae93e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95613 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MartsTech/IT-Career",
"max_stars_repo_path": "02. Programming/02 - Data types/05. Data-types-integer/06. DecimalDevider/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95614"
} | starcoder | using System;
namespace DecimalDevider
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var sum = 0;
for (int i = 0; i < n; i++)
{
var a = int.Parse(Console.ReadLine());
va... | 3.092053 | 1516fdc7791fe9bfd4f17be69c642a4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95614 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nissemand243/Dwarfs_and_Giants",
"max_stars_repo_path": "Core/IRepositories/ITagRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95615"
} | starcoder | namespace SE_training.Core;
public interface ITagRepository
{
Task<(Status status, TagDTO tag)> CreateAsync(CreateTagDTO tag);
Task<IReadOnlyCollection<TagDTO>> ReadAsync(int materialId);
Task<IReadOnlyCollection<TagDTO>> ReadAllAsync();
Task<Status> DeleteAsync(int tagId);
Task<Status> DeleteAllAs... | 1.667348 | b3d05a5ce36672b5bdee87234aa4f7f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95615 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "builttoroam/BuildIt",
"max_stars_repo_path": "src/BuildIt.CognitiveServices/BuildIt.CognitiveServices/CognitiveServicesSwagger/Models/Error.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95616"
} | starcoder | // Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace BuildIt.CognitiveServices.Models
{
using System.Linq;
public partial class Error
{
/// <summary>
/// Initializes a new insta... | 2.127972 | 883cbd0fc831e1ec86616874f37b3c4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95616 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "awesome-github-repo/XClipper",
"max_stars_repo_path": "XClipper.App/Data/helpers/ExplorerHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95617"
} | starcoder | <gh_stars>10-100
using SHDocVw;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Threading;
#nullable enable
namespace Components
{
public static class ExplorerHelper
{
#region Public methods
private static DispatcherTimer... | 2.419827 | 93e5673143f816df6202cfd922d18192 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95617 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Codeer-Software/LambdicSql",
"max_stars_repo_path": "Project/LambdicSql.Shared/ConverterServices/Inside/SupportedTypeSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95618"
} | starcoder | <gh_stars>10-100
using LambdicSql.MultiplatformCompatibe;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LambdicSql.ConverterServices.Inside
{
static class SupportedTypeSpec
{
static List<Type> _supported = new List<Type>();
static SupportedTypeSpec()
{
... | 2.48136 | 24159ac38585abdedfad6397f5cde959 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaSch0212/headless-web-container",
"max_stars_repo_path": "src/HeadlessWebContainer/Services/_Interfaces/IFileSystemService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95619"
} | starcoder | using MaSch.Presentation.Wpf;
using System;
using System.Windows.Media.Imaging;
namespace HeadlessWebContainer.Services
{
public interface IFileSystemService
{
BitmapImage LoadImage(string imageFilePath);
BitmapImage LoadDefaultImage();
void CopyDefaultImage(string profileDir);
... | 1.846823 | 9b5923249fe00df43667ec7e31bf9684 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95619 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Foundation.Tests/MvvmCross/ViewModels/SelectDateFormatViewModelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95620"
} | starcoder | using System;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using Toggl.Foundation.MvvmCross.ViewModels;
using Toggl.Foundation.MvvmCross.ViewModels.Selectable;
using Toggl.Multivac;
using Xunit;
namespace Toggl.Foundation.Tests.MvvmCross.ViewModels
{
public sealed class SelectDateForma... | 2.34764 | d00868e04c50b3adf6d65ef806f2abdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95620 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ajlopez/AjSharp",
"max_stars_repo_path": "Src/AjSharp/Hosting/WcfHostServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95621"
} | starcoder | <gh_stars>1-10
namespace AjSharp.Hosting
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjLanguage;
public class WcfHostServer : AjLanguage.Hosting.Wcf.WcfHostServer
{
public WcfHostServer(string address)
: this(... | 1.840378 | 75daab0180a56cb15929ce500c3d96b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/UNET/ScriptBindings/UNETTransportConfig.bindings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95622"
} | starcoder | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Net;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using UnityEngineInternal;
using UnityEngine.Networking... | 1.67022 | 9ae1ae65ef3852a6f8d44ab1f4c2541c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SokolovYaroslav/SPBU-practice.ParallelProgramming",
"max_stars_repo_path": "AtomicSnapshots/Snapshot/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95623"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Snapshot
{
public class Logger
{
private readonly ConcurrentDictionary<int, string> _messagesQueue;
private readonly string _fileName;
public Logger(stri... | 3.04863 | 2ea60fd0569d60cba9a03fcbe70f732f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95623 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Indemos/Option-Chains",
"max_stars_repo_path": "Gateway/Oanda/Models/InputDealListModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95624"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Gateway.Oanda.ModelSpace
{
public class InputDealListModel
{
[JsonProperty("trades")]
public List<InputDealModel> Deals { get; set; } = new List<InputDealModel>();
}
}
| 1.353784 | ea7609eeab30077ed0c4d5a2de0f4cac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95624 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KemberlyMiliano/COVIDHelp",
"max_stars_repo_path": "COVIDHelp/COVIDHelp/COVIDHelp/Services/IApiCovitServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95625"
} | starcoder | <gh_stars>1-10
using COVIDHelp.Models;
using Refit;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace COVIDHelp.Services
{
public interface IApiCovitServices
{
[Post("/api/Users")]
Task<User> PostUser([Body]User user);
[Post("/a... | 1.925927 | fd6c0ae124b2b2569d0e947afbf58715 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95625 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "MrMonk3y/vimrc",
"max_stars_repo_path": "tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.ConsistencyCheck/RoundtripTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95626"
} | starcoder | <reponame>MrMonk3y/vimrc<gh_stars>100-1000
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// 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, inc... | 2.110122 | ee157a318ada1c2799cd87ed7da52ac7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alissonads/Estudos-C-Sharp",
"max_stars_repo_path": "Web/Mvc_ControlePedido/Business/ItemPedido.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95627"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataBase;
namespace Business
{
[OpcoesBase(NomeTabela = "Itens_Pedido")]
public class ItemPedido : Base
{
private Material material;
private Pedido pedido;
[Op... | 2.638969 | e6d92aef363d75ded81fb9ef182bedf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95627 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alan-lisboa/Shift.Order",
"max_stars_repo_path": "src/Shift.Web/Config/CultureConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95628"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace Shift.Web.Config
{
public static class CultureConfig
... | 2.337893 | 6ac58ec0f7857302fe410a2b830e82c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95628 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "BlauFx/RhythmBox",
"max_stars_repo_path": "RhythmBox.Tests/VisualTests/Screens/TestSceneMainMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95629"
} | starcoder | <gh_stars>1-10
using System;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osuTK;
using RhythmBox.Window.Screens;
namespace RhythmBox.Tests.VisualTests.Screens
{
[TestFixture]
public class TestSceneMainMenu ... | 1.872662 | 041df1feffa2636bb2cceff6add51f78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kabieror/PropertyBot",
"max_stars_repo_path": "src/PropertyBot.Provider.KSK/Entity/Attributes16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95630"
} | starcoder | using System.Text.Json.Serialization;
namespace PropertyBot.Provider.KSK.Entity
{
public class Attributes16 {
[JsonPropertyName("stand")]
public string Stand { get; set; }
}
} | 1.788835 | d93a176bed5bd8315feb015434995c40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logwinow/Test-Task-Amaya-Soft",
"max_stars_repo_path": "Test Task Amaya Soft/Assets/Scripts/Game Logic/Cell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95631"
} | starcoder | <filename>Test Task Amaya Soft/Assets/Scripts/Game Logic/Cell.cs<gh_stars>0
using System;
using UnityEngine;
using DG.Tweening;
public class Cell : MonoBehaviour
{
[SerializeField] private SpriteRenderer _icon;
[SerializeField] private SpriteRenderer _selfSpriteRenderer;
[SerializeField] private ParticleS... | 2.268921 | 7b354d50b5d2a1dadb8e6fa2b240d8ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitrievgs/Udemy-CSharp-OOP",
"max_stars_repo_path": "Udemy-CSharp-OOP/P06/P6T09-Caesar-Cipher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95632"
} | starcoder | <reponame>dimitrievgs/Udemy-CSharp-OOP<gh_stars>0
// Caesar Cipher App
using System;
using System.Collections.Generic;
using System.Text;
namespace P6T09
{
public class Solution
{
public static void Main(string[] args)
{
WriteLine("Welcome!");
bool repeat = true;
... | 3.744813 | 2c6df653d18507250343490f5d52dc23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95632 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SBortz/TodoAppDdd",
"max_stars_repo_path": "Source/Core/TodoAppDdd.App.Contracts/Query/Handler/IGetTodoItemsQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95633"
} | starcoder | using System.Collections.Generic;
namespace TodoAppDdd.App.Contracts.Query.Handler
{
public interface IGetTodoItemsQueryHandler
{
IEnumerable<TodoItemDto> Handle(GetTodoItemsQuery query);
}
} | 1.625792 | 0764878c3c64c4076d4408c6d8819bb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WycliffeAssociates/ScriptureRenderingPipeline",
"max_stars_repo_path": "ScriptureRenderingPipeline/Rendering.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95634"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System.Net.Http;
using System.Net;
using System.IO.Compression;
... | 2.118834 | a81b8b8ae48b731508c743abebffc00d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95634 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing",
"max_stars_repo_path": "Cloud Enter/Epi.Cloud.Common/Configuration/DependencyHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95635"
} | starcoder | using System;
using System.Web.Mvc;
namespace Epi.Cloud.Common.Configuration
{
public static class DependencyHelper
{
public static IDependencyResolver DependencyResolver { get { return System.Web.Mvc.DependencyResolver.Current; } }
public static T GetService<T>()
{
return ... | 1.809494 | 9e020260d1b772194807940c9341e873 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yantian001/3DSniper",
"max_stars_repo_path": "Assets/Behavior Designer/Runtime/Variables/SharedGenericVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95636"
} | starcoder | using UnityEngine;
namespace BehaviorDesigner.Runtime
{
[System.Serializable]
public class GenericVariable
{
[SerializeField]
public string type = "SharedString";
[SerializeField]
public SharedVariable value;
}
[System.Serializable]
public class SharedGenericVar... | 2.471487 | cf7d47b990de0669685fdf46de944f27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95636 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vpereira01/roslyn-analyzers",
"max_stars_repo_path": "src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiDesignGuidelines/DoNotDeclareVisibleInstanceFieldsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95637"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Diagnostics;
using Test.Utilities;
using Xunit;
namespace Microsoft.CodeQuality.Analyzers.ApiDesignGuidelines.UnitTests
{
pu... | 1.999202 | 9f480ede9e461c12378b1c8cf84c22de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "workgroupengineering/xFunc",
"max_stars_repo_path": "xFunc.Maths/Parser.TokenReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95638"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace xFunc.Maths;
/// <summary>
/// The parser for mathematical expressions.
... | 2.644619 | 62446eda6c126413edecace1a70daa96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LMR589281/Tinkering-Audio-Team-22",
"max_stars_repo_path": "Assets/Scripts/PlayerMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95639"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
/// <summary>The PlayerMovement script captures all of the inputs of the user, and interacts with the character in the game, accordingly.
/// 'speed' controls how fast the player is ab... | 2.921656 | 9c0e28d164f3432b226a58bd4f8a4325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95639 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dalyl/LazyWelfare",
"max_stars_repo_path": "src/Mobile/MicroBluer.AndroidUtils/Animation/AnimEndListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95640"
} | starcoder | namespace MicroBluer.AndroidUtils.Animation
{
using Android.Animation;
using System;
public class AnimEndListener : AnimatorListenerAdapter
{
Action<Animator> End { get; }
public AnimEndListener(Action<Animator> end)
{
End = end;
}
public override ... | 2.219998 | 466171fc54580cd13ec95663ab73bcc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Items/Clothing/Shoes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95641"
} | starcoder | using System;
namespace Server.Items
{
public abstract class BaseShoes : BaseClothing
{
public BaseShoes( int itemID ) : this( itemID, 0 )
{
}
public BaseShoes( int itemID, int hue ) : base( itemID, Layer.Shoes, hue )
{
}
public BaseShoes( Serial serial ) : base( serial )
{
}
public override b... | 2.163325 | c1cb55c0df4ccb31f7fba05c61d1d107 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iremezoff/AspNet.Hal",
"max_stars_repo_path": "tests/AspNet.Hal.Tests/ResolvingHalResourceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95642"
} | starcoder | <reponame>iremezoff/AspNet.Hal<filename>tests/AspNet.Hal.Tests/ResolvingHalResourceTest.cs
using System.IO;
using System.Net.Http;
using ApprovalTests;
using ApprovalTests.Reporters;
using AspNet.Hal.Test.HypermediaAppenders;
using AspNet.Hal.Test.Representations;
using Xunit;
namespace AspNet.Hal.Test
{
public c... | 2.248523 | 322abd0562114bcbd54faa16e5c00e89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KalevRK/ld49",
"max_stars_repo_path": "unity/LD49/Assets/Scripts/BuildingRandomizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95643"
} | starcoder | <reponame>KalevRK/ld49
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BuildingRandomizer : MonoBehaviour {
[MinMaxSlider(1.0f, 10.0f, FlexibleFields = true)] public Vector2 heightRange = new Vector2(2.0f, 5.0f);
[MinMaxSlider(-1.0f, 1.0f)] public Vector2 positionRange =... | 2.117641 | c53ca06a8b44c40cdcc08aa7fd981684 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95643 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "piovezan/SOpt",
"max_stars_repo_path": "CSharp/Exception/GeneralHandle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95644"
} | starcoder | catch (MyException ex) {
ex.Handle();
}
try {
//Algum trecho de código
} catch (MyException myException) {
ex.Handle();
} catch (Exception ex) {
ex.Handle();
}
public static void Handle(this MyException exp) {
//Aqui faço alguma coisa
}
public static void Handle(this MyException exp, string messag... | 2.137789 | c982886b8610dd12833369f83c926242 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "src/Raven.Client/Documents/Session/DocumentsById.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95645"
} | starcoder | <filename>src/Raven.Client/Documents/Session/DocumentsById.cs
using System;
using System.Collections;
using System.Collections.Generic;
namespace Raven.Client.Documents.Session
{
internal class DocumentsById : IEnumerable<KeyValuePair<string, DocumentInfo>>
{
private readonly Dictionary<string... | 2.856279 | 09138d1ceddfb3d5af8ceca419dfe36a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95645 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "OneCodeTeam/Create a soft keyboard (CSSoftKeyboard)/[C#]-Create a soft keyboard (CSSoftKeyboard)/C#/CSSoftKeyboard/Controls/KeyButton.cs",
"provenance": "train-00000-of... | starcoder | <reponame>zzgchina888/msdn-code-gallery-microsoft
/****************************** Module Header ******************************\
* Module Name: KeyButton.cs
* Project: CSSoftKeyboard
* Copyright (c) Microsoft Corporation.
*
* This control represents a key board button.
*
*
* This source is subject to t... | 2.6312 | 6469ef5fca51c6ef76bb0331a2cc9950 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phncosta/e-commerce_webapp",
"max_stars_repo_path": "src/HeavensHall.Commerce.Domain/Entities/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95647"
} | starcoder | <filename>src/HeavensHall.Commerce.Domain/Entities/Customer.cs<gh_stars>0
using HeavensHall.Commerce.Domain.Common;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HeavensHall.Commerce.Domain.Entities
{
[Table("customers")]
public class Customer : Bas... | 2.484156 | 54d9b0e9e568c165250e7a21eaa24c9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "winie/space-station-14",
"max_stars_repo_path": "Content.Shared/Alert/AlertManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95648"
} | starcoder | <filename>Content.Shared/Alert/AlertManager.cs
using System.Collections.Generic;
using System.Linq;
using Content.Shared.Prototypes.Kitchen;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Prototypes;
namespace Content.Shared.Alert
{
/// <summary>
/// Provides access to all configured al... | 2.8201 | c9dc04eff0cd3f4c47d1da845c80f7d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Patrickkk/Tests",
"max_stars_repo_path": "TypedDotNet-old/TypedDotNet/TypedDotNet/TypescriptInterfaceCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95649"
} | starcoder | using System;
using FunctionalSharp.DiscriminatedUnions;
using TypescriptGeneration.Model;
using FunctionalSharp.OptionTypes;
using System.Collections.Generic;
using System.Linq;
namespace TypedDotNet
{
public class TypescriptInterfaceCreator : TypescriptTypeCreatorBase, ITypescriptTypeCreator
{
priva... | 2.671911 | c3f8efe323ff2026202c9497d7f93274 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95649 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "electroball09/GRPExplorer",
"max_stars_repo_path": "UnityIntegrationEditor/Inspectors/cYetiLayerInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95650"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEditor;
using UnityIntegration.Components;
namespace UnityIntegrationEditor.Inspectors
{
[CustomEditor(typeof(cYetiLayer))]
public class cYetiLayerInspector : Edito... | 2.254707 | c7f6ca3b03c116672041ef5ac4dae98a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "troytowson/obeliskagi-csharp",
"max_stars_repo_path": "src/Obelisk.Agi/Commands/SendImageCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95651"
} | starcoder | <filename>src/Obelisk.Agi/Commands/SendImageCommand.cs
using System;
namespace Obelisk.Agi.Commands
{
/// <summary>
/// Represents a command for sending an image.
/// </summary>
public class SendImageCommand : ObeliskCommand
{
/// <summary>
/// Gets or sets the image.
/// <... | 3.220568 | 9e73d2ae9d3a5da4e450123b4a98e6ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95651 | {
"extension": "c-sharp",
"max_stars_count": "923.0",
"max_stars_repo_name": "v4nyl/Sharp-Suite",
"max_stars_repo_path": "Londor/Londor/hFrida.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95652"
} | starcoder | <reponame>v4nyl/Sharp-Suite
using System;
using System.Collections.Generic;
using Console = Colorful.Console;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Text;
using Frida;
using Newtonsoft.Json;
using System.Drawing;
namespace Londor
{
class... | 2.253355 | 14106b26f9f927b58d3f208e6d20a17d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trzcina19/AudiobookShop",
"max_stars_repo_path": "Shop/Shop/Models/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95653"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Shop.Models
{
public class Order
{
public int OrderId { get; set; }
public string UserId { get; set; }
public virtual ApplicationUser User... | 2.429934 | d0bffae3df378e269243ad77e2a072ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95653 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "zhaoyun95/CoolFish",
"max_stars_repo_path": "CoolFish/CoolFish/Utilities/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95654"
} | starcoder | <reponame>zhaoyun95/CoolFish<filename>CoolFish/CoolFish/Utilities/Utilities.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Controls;
using System.Xml.Linq;
using CoolFishNS.Properties;
namespace CoolFishNS.Utilities
{
... | 2.622259 | febf333c3fa35a3a1e5b7a3c06e4e980 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95654 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "perf-cat/SpaInspector",
"max_stars_repo_path": "src/SpaInspector/Components/SpectraView.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95655"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Plotly.Blazor;
using Plotly.Blazor.LayoutLib;
using Plotly.Blazor.LayoutLib.XAxisLib;
using Plotly.Blazor.Traces;
using Plotly.Blazor.Traces.ScatterGlLib;
using SpaInspectorReader;
using Ticks... | 2.161288 | a5110d87ffef79654852029f8d0d607f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamlesh-microsoft/SmICSCore",
"max_stars_repo_path": "SmICSCoreLib/AQL/Patient_Stay/Stationary/StationaryFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95656"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using SmICSCoreLib.REST;
using SmICSCoreLib.AQL.General;
using SmICSCoreLib.AQL.Patient_Stay.Stationary.ReceiveModel;
namespace SmICSCoreLib.AQL.Patient_Stay.Stationary
{
public class StationaryFactory : IStationaryFactory
{
private IR... | 2.593157 | 168129c735cff8d80cda88c6ec81f624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "addupsolutions/AddUp.RabbitMQ.Fakes",
"max_stars_repo_path": "src/AddUp.FakeRabbitMQ/RabbitQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95657"
} | starcoder | <reponame>addupsolutions/AddUp.RabbitMQ.Fakes
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace AddUp.RabbitMQ.Fakes
{
internal sealed class RabbitQueue
{
private readonly HashSet<EventHandler<RabbitMessage>> messagePublishedEventHandlers;
... | 2.521722 | fc5a2511ee5370fe595214ffcc1cf1f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95657 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "RedpointGames/UnityAutomaticLicensor",
"max_stars_repo_path": "UnityAutomaticLicensor/UnityExecutorRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95658"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace UnityAutomaticLicensor
{
public class UnityExecutorRequest
{
public string UnityExecutablePath { get; set; }
public List<string> ArgumentList { get; set; } = new List<string>();
public Func<string... | 1.65962 | 1d55965cf0c26f2fc1fb0feca1814cc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95658 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Hina-softwareEngineer/Police-Station-Management-System-in-c-",
"max_stars_repo_path": "login page/login page/Form8.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95659"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
using System.IO;
namespace login_page
{
public partial class Form8 : Form
{
public Form8()
... | 2.342099 | 7ddbaf6fff11d5df836744d62cf4c28f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95659 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Archway-SharedLib/Nut.MediatR",
"max_stars_repo_path": "test/Nut.MediatR.ServiceLike.Test/MediatorServiceDescriptionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95660"
} | starcoder | <reponame>Archway-SharedLib/Nut.MediatR
using FluentAssertions;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Xunit;
namespace Nut.MediatR.ServiceLike.Test
{
public class MediatorServiceDescriptionTest
{
... | 2.174043 | 4495615bc015872a2cd77eb0a5d6e69d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergkrause/texxtoor",
"max_stars_repo_path": "Texxtoor/Solution/Texxtoor.Portal/Views/Home/News.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95661"
} | starcoder | @model IDictionary<string, string>
@{
PageData["Title"] = Loc("title1", "News");
Layout = Url.GetGlobalLayout("_LayoutCommon");
}
@using (Html.BtDiv(BtStyle.Well)){
Loc("text1", "See what happend recently.");
}
@if (Model != null && Model.Any()) {
foreach (var news in Model) {
<h2>@news.Key</h2>
<div class... | 2.435128 | 511009d83498daae96ed98975ef4cab9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.