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 | 8836912 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "phanemy/POT-AU-JEU-2.0",
"max_stars_repo_path": "Le loup d'arnaque la poste/Assets/Script/Spawner/SpawnerManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156132"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnerManager : MonoBehaviour
{
public List<SpawnerAbstract> itemsSpawner;
public int nbToEnable;
private int nbEnable;
public void Awake()
{
nbEnable = 0;
int idxToEnable;
... | 2.420877 | c9155a5a16ea5c8f18ff2f9ebb1e4442 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836913 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "atruskie/IdSharpCore",
"max_stars_repo_path": "IdSharp.AudioInfo/MonkeysAudio/MonkeysAudio.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156133"
} | starcoder | <filename>IdSharp.AudioInfo/MonkeysAudio/MonkeysAudio.cs
using System;
using System.IO;
using System.Text;
using IdSharp.Common.Utils;
namespace IdSharp.AudioInfo
{
/// <summary>
/// Monkey's Audio
/// </summary>
public class MonkeysAudio : IAudioFile
{
private const int COMPRESSION_LEVEL_E... | 2.509284 | 05ebfd770dae7c08dcad297c8b043d7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmarchand/billboardery",
"max_stars_repo_path": "billboardery/Library/PackageCache/com.unity.shadergraph@12.1.2/Editor/Drawing/Controllers/BlackboardCategoryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156134"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor.Experimental.GraphView;
using UnityEditor.Graphing;
using UnityEditor.ShaderGraph.Internal;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UIElements;
using GraphDataStore = UnityEditor.ShaderGraph.DataStore<UnityEd... | 1.660996 | 8394f0f5ebaf2fcdabd7085c165c728b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jzabroski/SaritasaTools",
"max_stars_repo_path": "src/Saritasa.Tools.Messages/Internal/Elasticsearch/Query/IFieldNameQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156135"
} | starcoder | // Copyright (c) 2015-2016, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
namespace Saritasa.Tools.Messages.Internal.Elasticsearch.Query
{
internal interface IFieldNameQuery
{
string Field { get; set; }
}
}
| 0.96388 | c0155fd4e1f13ef331bc45a7fb5fecb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836916 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/DisplayBindings/SettingsEditor/Project/ProxyPropertyDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156136"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.ComponentModel;
using System.Reflection;
namespace ICSharpCode.SettingsEditor
{
/// <summary>
//... | 2.195727 | 2a869ffa7632db6ec66d770b4584b26d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ggraur/toDoList",
"max_stars_repo_path": "Class/ConvertExcelToXML.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156137"
} | starcoder | using Gestecnica;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using toDoClassLibrary;
using toDoClassLibrary47;
using toDoList.Models;
using toDoList.View... | 1.965968 | ffcd1932bbe8b1dfe31d4ad8674fdad5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vrobweis/WeisVincent-P0",
"max_stars_repo_path": "IceShop/IceShopDB/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156138"
} | starcoder | <reponame>vrobweis/WeisVincent-P0
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IceShopDB.Models
{
public abstract class User
{
public User(string name, string email, string password)
{
Name = name;
Email = e... | 2.407187 | 610fd68b03dca8fa2cc078b4c0ec5d0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836919 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Weidaicheng/jpush-api-csharp-client.Extensions",
"max_stars_repo_path": "src/Jiguang.JPush.Extensions/DependencyInjection/JPushServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156139"
} | starcoder | <gh_stars>1-10
using Jiguang.JPush.DependencyInjection.Options;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Jiguang.JPush.DependencyInjection
{
/// <summary>
/// 添加极光推送的DI扩展
/// </summary>
public static class JPushServiceCollectionE... | 1.96876 | 960ef9dc2a1981e8ead7fb16bc440db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avijitdey/AP_MID_SUM21",
"max_stars_repo_path": "LabCRUDTask/LabCRUDTask/Controllers/StudentsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156140"
} | starcoder | <filename>LabCRUDTask/LabCRUDTask/Controllers/StudentsController.cs
using DatabaseCRUD.Models.Database;
using LabCRUDTask.Models;
using LabCRUDTask.Models.ViewModel;
using LabCRUDTask.Filter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace LabCRUDT... | 2.451479 | 45a38e2599d4782db1e5acb5cdfd3c4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836921 | {
"extension": "c-sharp",
"max_stars_count": "7780.0",
"max_stars_repo_name": "jurajvt/MediatR",
"max_stars_repo_path": "samples/MediatR.Examples.PublishStrategies/AsyncPingedHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156141"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
namespace MediatR.Examples.PublishStrategies
{
public class AsyncPingedHandler : INotificationHandler<Pinged>
{
public AsyncPingedHandler(string name)
{
Name = name;
}
public string Name { get; set;... | 2.958899 | ecf9607b3f6af39129a25b5c33248069 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836922 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dazinator/AspNetCore",
"max_stars_repo_path": "src/Components/Server/src/Circuits/RemoteJSRuntime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156142"
} | starcoder | <filename>src/Components/Server/src/Circuits/RemoteJSRuntime.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.ExceptionServices;
using System.Text.Json;
using Micr... | 1.989264 | 7b4df8875a13be0d1e6a06763163e1c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836923 | {
"extension": "c-sharp",
"max_stars_count": "405.0",
"max_stars_repo_name": "v-shenoy/azure-functions-host",
"max_stars_repo_path": "test/WebJobs.Script.Tests/Diagnostics/DiagnosticEventLoggerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156143"
} | starcoder | <filename>test/WebJobs.Script.Tests/Diagnostics/DiagnosticEventLoggerTests.cs<gh_stars>100-1000
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
usin... | 1.876499 | 98cd561cf6389f68faf7a3685e72d47a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836924 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "interopxyz/GeoDex.GH",
"max_stars_repo_path": "GeoDex.GH/Curves/Fixed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156144"
} | starcoder | using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace Geodex.GH.Curves
{
public class Fixed : GeodexBase
{
/// <summary>
/// Initializes a new instance of the Fixed class.
/// </summary>
public Fixed()
: base("Fixed... | 2.396616 | b3ba7f71c4c7f65c63eaa46cdda11534 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peashooters/sugar.net",
"max_stars_repo_path": "src/Sugar.NetCore.NetCoreUnit/Document.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156145"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Sugar.NetCore
{
class Document
{
public void Example()
{
var value = "sugar.net";
//将当字符串为null时,转为string.Empty
var empty = NetString.ToEmptyIfNull(value);
... | 2.59431 | 2f263936ce2ad13d32e8fb26b3cafa3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836926 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aicd0/ComicReader",
"max_stars_repo_path": "src/ComicReader/Utils/Storage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156146"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.AccessCache;
namespace ComicReader.Utils
{
public class Storage
{
private static Dictionary<string, StorageFo... | 2.699271 | 64e8c7e7f9737bc7359e9a566a395a15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836927 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bradphelan/ImmutableObjectGraphLens",
"max_stars_repo_path": "src/ImmutableObjectGraphLens/ImmutableLens.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156147"
} | starcoder | <filename>src/ImmutableObjectGraphLens/ImmutableLens.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using ImmutableObjectGraph;
namespace ImmutableObjectGraphLens
{
public interface IImmutableLens<TRoot, TTarget>
{
TRoot ... | 3.103066 | a24dceecb6f59e300ac5b9569e293c1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dswisher/swish-svg",
"max_stars_repo_path": "test/SwishSvg.Tests/IO/ReflectionCacheTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156148"
} | starcoder | <reponame>dswisher/swish-svg
using System;
using System.Linq;
using FluentAssertions;
using SwishSvg.IO;
using SwishSvg.Shapes;
using SwishSvg.Structure;
using Xunit;
namespace SwishSvg.Tests.IO
{
public class ReflectionCacheTests
{
[Theory]
[InlineData("circle", typeof(SvgCircleElement))]
... | 2.221065 | 25ba9b8c8d128dc17aff7c3557fd4905 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neal-nankivell-cko/checkout-sdk-net",
"max_stars_repo_path": "src/CheckoutSdk/Payments/PaymentResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156149"
} | starcoder | namespace Checkout.Payments
{
/// <summary>
/// Defines a payment response catering for both pending and processed response scenarios.
/// </summary>
public class PaymentResponse
{
/// <summary>
/// Gets or sets the processed response returned following a successfully processed payme... | 2.941358 | 03242b2847ec32cbdda272fec5596221 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fqkw6/RewriteFrame",
"max_stars_repo_path": "other/Scripts/Editor/GUI/FieldDrawer/Drawers/FloatDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156150"
} | starcoder | using System.Reflection;
using UnityEditor;
namespace LeyoutechEditor.EGUI.FieldDrawer
{
[TargetFieldType(typeof(float))]
public class FloatDrawer : AFieldDrawer
{
public FloatDrawer(FieldInfo fieldInfo) : base(fieldInfo)
{
}
protected override void OnDraw(bool isReadonly,... | 2.086864 | 828611d69b092da4b22a0b78a5f31826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836931 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TortugaResearch/Chain",
"max_stars_repo_path": "Tortuga.Chain/Shared/DataSource/TransactionalDataSourceTrait`5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156151"
} | starcoder | using System.Collections.Concurrent;
using System.Data.Common;
using Tortuga.Chain.Core;
using Tortuga.Chain.DataSources;
using Tortuga.Chain.Metadata;
using Tortuga.Shipwright;
namespace Traits
{
[Trait]
class TransactionalDataSourceTrait<TRootDataSource, TConnection, TTransaction, TCommand, TDatabaseMetadata> :... | 2.211004 | 3ecd471872f37ec9b62cebeec9732af1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836932 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "imnista/LocationSpy",
"max_stars_repo_path": "LocationSpy/Models/CurrentStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156152"
} | starcoder | namespace LocationSpy.Models
{
using System.ComponentModel;
public enum CurrentStatus
{
[Description("待访问")]
NotReady = 100,
[Description("GPS 发现")]
FoundByGPS = 201,
[Description("IP 发现")]
FoundByIPAddress = 202,
[Description("无法找到")]
Not... | 2.307769 | fe9034f1b7d2aa7be08f0727db552757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isfarca/Game_Darwin_Unity_Csharp",
"max_stars_repo_path": "Darwin/Assets/Virtual Joystick Pack/Examples/3D Example/Player3DExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156153"
} | starcoder | using UnityEngine;
public class Player3DExample : MonoBehaviour
{
public float MoveSpeed = 8f;
public Joystick Joystick;
private void Update()
{
// Declare variables.
Vector3 moveVector = (Vector3.right * Joystick.Horizontal + Vector3.forward * Joystick.Vertical);
if (moveVector == Vector3.z... | 2.562146 | 135f8ed18c38d8079fd81f26d428510a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cwoac/StlVault",
"max_stars_repo_path": "Assets/Scripts/ViewModels/TagEditorModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156154"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using StlVault.Services;
using StlVault.Util;
using static StlVault.ViewModels.SelectionMode;
namespace StlVault.ViewModels
{
internal class TagEditorModel : TagInputModelBase
{
private readonly DetailMenuM... | 2.267148 | 8a371e76e25e76385777295a04cca7ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GestionSystemesTelecom/gst-library",
"max_stars_repo_path": "src/GST.Library.StoredProcedureHelper/StoredProcedureService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156155"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Data.Common;
namespace GST.Library.StoredProcedureHelper
{
// TODO Surveiller https://github.com/aspnet/EntityFramework/issues/1862 et faire en sorte qu'une requête sur une procédure stocké puisse être utilisé comme une Ique... | 2.801854 | ff59757202b35fccd30d6f03467e41c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Oktosha/unity-jr-programmer-theory-in-action",
"max_stars_repo_path": "Assets/Scripts/Coin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156156"
} | starcoder | using UnityEngine;
public class Coin : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.TryGetComponent<Inventory>(out Inventory inventory))
{
inventory.coinCount += 1;
Destroy(gameObject);
}
}
}
| 2.136608 | 03bfea4de16bdf6f965e01bd19d99a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836937 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "sanych-sun/RabbitMQ.Next",
"max_stars_repo_path": "src/RabbitMQ.Next/Transport/Methods/Basic/GetOkMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156157"
} | starcoder | using RabbitMQ.Next.Abstractions;
using RabbitMQ.Next.Abstractions.Methods;
namespace RabbitMQ.Next.Transport.Methods.Basic
{
public readonly struct GetOkMethod : IIncomingMethod
{
public GetOkMethod(string exchange, string routingKey, ulong deliveryTag, bool redelivered, uint messageCount)
{
... | 2.164037 | dc0199f4277529edaccfe9ccb1be6564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836938 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "noelpush/noelpush",
"max_stars_repo_path": "NPush/Services/CommandService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156158"
} | starcoder | using System;
using System.IO;
namespace NoelPush.Services
{
public static class CommandService
{
public static bool IsShellMode
{
get
{
var args = Environment.GetCommandLineArgs();
return args.Length == 3 && args[1] == "--file" && !stri... | 2.566765 | 8f04987060d57c57948723c087487e3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RixianOpenTech/RxWrappers",
"max_stars_repo_path": "Source/Wrappers/mscorlib/System.Runtime.InteropServices.IRegistrationServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156159"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Runtime.InteropServices
{
public static class __IRegistrationServices
{
public static IObservable<System.Boolean> RegisterAssembly(
this IObserv... | 1.956503 | 85b0095a940e7bd4351d315a8fa76d9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkairys/nhs",
"max_stars_repo_path": "Nhs/IFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156160"
} | starcoder | <reponame>vkairys/nhs
namespace Nhs
{
public interface IFilter<T>
{
void Execute(T entity);
}
} | 1.568241 | 8be5bf133a5025155c107bac5a272d9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836941 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ifm/iot-core",
"max_stars_repo_path": "source/ifmIoTCore/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156161"
} | starcoder | <filename>source/ifmIoTCore/AssemblyInfo.cs
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("ifmIoTCore.UnitTests")] | 1.043121 | bca61a495704af19c0b387379868c5be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "agc93/latency-check",
"max_stars_repo_path": "src/LatencyCheck.Service/CacheExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156162"
} | starcoder | <filename>src/LatencyCheck.Service/CacheExtensions.cs
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace LatencyCheck.Service
{
public static class CacheExtensions
{
public static void SetLatencySet(this IMemoryCache ... | 2.7238 | 4d94e4ced5ae3473a5704ee87ff7b47c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836943 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "ArwinNL/iridium",
"max_stars_repo_path": "src/Iridium.DB/DataProviders/Sql/SqlDataProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156163"
} | starcoder | #region License
//=============================================================================
// Iridium - Porable .NET ORM
//
// Copyright (c) 2015-2017 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software")... | 2.210272 | dfd0d596ab3f256c54e35720db638c78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonlipsky/raygun4net",
"max_stars_repo_path": "Mindscape.Raygun4Net/ProfilingSupport/SimpleRateSampler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156164"
} | starcoder | using System.Threading;
namespace Mindscape.Raygun4Net.ProfilingSupport
{
public class SimpleRateSampler : IDataSampler
{
private int _count;
public int Take { get; private set; }
public int Limit { get; private set; }
/// <summary>
/// Constructor a SimpleRateSampler by actual values.
/... | 3.024316 | 11d204a4c5c53b42fb02a995b50bcab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836945 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TonyFStark/WeiXinMPSDK",
"max_stars_repo_path": "Senparc.Weixin.Open/Senparc.Weixin.Open/CommonAPIs/CommonApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156165"
} | starcoder | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:CommonApi.cs
文件功能描述:通用接口(用于和微信服务器通讯,一般不涉及自有网站服务器的通讯)
创建标识:Senparc - 20150430
----------------------------------------------------------------*/
/*
API:http://mp.weixin.qq.com/wiki/index... | 1.945848 | e6a383ead3c83014b8c19909ce48e5ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gigi81/Vanara",
"max_stars_repo_path": "PInvoke/Shared/WinNT/ACCESS_MASK.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156166"
} | starcoder | <filename>PInvoke/Shared/WinNT/ACCESS_MASK.cs
using System;
namespace Vanara.PInvoke
{
/// <summary>Access flags.</summary>
[Flags]
public enum ACCESS_MASK : uint
{
/// <summary>The right to delete the object.</summary>
DELETE = 0x00010000,
/// <summary>
/// The right to read the information in the objec... | 2.467302 | 958effc7708bbaf9730cbcc8d07896d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836947 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "SuperDotNet/Super.NET",
"max_stars_repo_path": "Super/Runtime/Execution/IExecutionContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156167"
} | starcoder | using Super.Model.Results;
namespace Super.Runtime.Execution
{
public interface IExecutionContext : IResult<object> {}
} | 1.034954 | 73ea6697a03b0c1fd2767415a5d7ab99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sqeezy/ParticleSwarmOptimizer",
"max_stars_repo_path": "src/ParticleSwarmOptimizer/SimpleSwarmOptimizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156168"
} | starcoder | <reponame>sqeezy/ParticleSwarmOptimizer<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
namespace ParticleSwarmOptimizer
{
public class SimpleSwarmOptimizer
{
private readonly Function _func... | 2.751807 | 62d555a97003020220b60da9423cead6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836949 | {
"extension": "c-sharp",
"max_stars_count": "807.0",
"max_stars_repo_name": "sanmen359/abp-samples",
"max_stars_repo_path": "ClientSimulationDemo/test/ClientSimulationDemo.Simulator/Scenarios/UserManagement/Steps/GetUserListScenarioStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156169"
} | starcoder | <filename>ClientSimulationDemo/test/ClientSimulationDemo.Simulator/Scenarios/UserManagement/Steps/GetUserListScenarioStep.cs<gh_stars>100-1000
using System.ComponentModel;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Identity;
using Volo.ClientSimulation.Scenarios;
name... | 2.08462 | 06ffc88d0e5be4e618b56c134c3228bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.PayTransferValidation",
"max_stars_repo_path": "src/Lykke.Service.PayTransferValidation.Domain/SlidingPeriod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156170"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Lykke.Service.PayTransferValidation.Domain
{
[JsonConverter(typeof(StringEnumConverter))]
public enum SlidingPeriod
{
Day = 0,
Week,
Month,
Year
}
}
| 1.674122 | 676ef08dc2ad8c8b7ac80a21c862fd5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836951 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "debendramodi/MefContrib",
"max_stars_repo_path": "src/MefContrib/Hosting/RecursiveDirectoryCatalog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156171"
} | starcoder | <reponame>debendramodi/MefContrib
namespace MefContrib.Hosting
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Globalization;
using System.IO;
using System.Linq;
... | 2.623674 | c843f90b5502e9a57f1b38b3c92e61c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836952 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joshimoo/Challenges",
"max_stars_repo_path": "HackerRank/Algorithms/Warmup/TimeConversion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156172"
} | starcoder | <gh_stars>1-10
using System;
namespace HackerRank.Algorithms.Warmup
{
/// <summary>
/// Time Conversion Challenge
/// Description: Convert 12 Hour Format into 24 Hour Format
/// Problem Statement: https://www.hackerrank.com/challenges/time-conversion
/// </summary>
class TimeConversion
{
... | 3.996664 | 1a942c4769d07bb8a9cd32ed43f711d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ipetk0v/InvenioReportingSystem",
"max_stars_repo_path": "Libraries/Invenio.Services/Users/IUserAttributeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156173"
} | starcoder | using System.Collections.Generic;
using Invenio.Core.Domain.Users;
namespace Invenio.Services.Users
{
/// <summary>
/// User attribute service
/// </summary>
public partial interface IUserAttributeService
{
/// <summary>
/// Deletes a User attribute
/// </summary>
//... | 2.640877 | 7b51d954bcedca20c5d7158c6ad73945 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836954 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JanJorgensen/StepBro",
"max_stars_repo_path": "source/StepBro.Workbench.WPF/ToolItemDockSideConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156174"
} | starcoder | using System;
using System.Globalization;
using System.Windows.Data;
using ActiproSoftware.Windows.Controls;
namespace StepBro.Workbench
{
//
// NOTE: This converter and the related ToolItemDockSide enum can be used in scenarios where you don't wish for your models to directly
// reference types in... | 2.817026 | 3e2193655dda48a82db4c0ed22bbb65b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836955 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageServer/Core/Edit/StudyEditorHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156175"
} | starcoder | <reponame>SNBnani/Xian<gh_stars>1-10
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System... | 1.991143 | b5562bce434967a370deab804412fe40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mu-L/graphql-dotnet",
"max_stars_repo_path": "src/GraphQL.MemoryCache/AutomaticPersistedQueries/PersistedQueryUnsupportedVersionError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156176"
} | starcoder | using GraphQL.Execution;
namespace GraphQL.Caching;
/// <summary>
/// An error in case of unsupported version.
/// </summary>
public class PersistedQueryUnsupportedVersionError : RequestError
{
/// <summary>
/// Initializes a new instance.
/// </summary>
public PersistedQueryUnsupportedVersionError(st... | 1.867784 | 1104241c7e8b2639e0b263961a6ef713 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TomerMir/Tunnel",
"max_stars_repo_path": "TunnelUtils/CertUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156177"
} | starcoder | using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace TunnelUtils
{
public static class CertUtils
{
public static X509Certificate2 BuildSelfSignedServerCertificate(string certificateName)
{
X500DistinguishedName distinguis... | 2.445416 | 1762bc43820e45a4b747d63b75a94901 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836958 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "BlueDotBrigade/weevil",
"max_stars_repo_path": "Src/BlueDotBrigade.Weevil.Common/Diagnostics/WindowsProcessType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156178"
} | starcoder | <reponame>BlueDotBrigade/weevil<filename>Src/BlueDotBrigade.Weevil.Common/Diagnostics/WindowsProcessType.cs
namespace BlueDotBrigade.Weevil.Diagnostics
{
public enum WindowsProcessType
{
FileExplorer,
}
}
| 1.259807 | 89cbcab3bdc5516c8ab06750bdd7d646 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csitedexperts/CSE1322LecturesCS",
"max_stars_repo_path": "RefExample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156179"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RefExample
{
class Program
{
static void Main(string[] args)
{
int x = 85;
int y = 7;
Console.WriteLine("PRINTLINE 1: " ... | 3.164439 | ad51705251c17754933a2e288c28309b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Rhaeo/Rhaeo.Stun",
"max_stars_repo_path": "src/Rhaeo.Stun/Rhaeo.Stun/Attributes/XorMappedAddressStunMessageAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156180"
} | starcoder | <reponame>Rhaeo/Rhaeo.Stun
using Windows.Networking;
namespace Rhaeo.WebRtc.Stun.Attributes
{
public sealed class XorMappedAddressStunMessageAttribute
: StunMessageAttribute
{
#region Constructors
public XorMappedAddressStunMessageAttribute(HostName hostName, ushort port)
{
HostName = hostN... | 1.981782 | 2b8e95f3ada018818944a1fa40248625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836961 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "a465717049/mk",
"max_stars_repo_path": "DPE.Core.IRepository/IBuyDPEListRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156181"
} | starcoder | <gh_stars>1-10
using DPE.Core.IRepository.Base;
using DPE.Core.Model.Models;
namespace DPE.Core.IRepository
{
/// <summary>
/// IBuyDPEListRepository
/// </summary>
public interface IBuyDPEListRepository : IBaseRepository<BuyDPEList>
{
}
} | 1.152152 | a25e36e7c50d03b08298ccec53543f60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haseeb1431/ScHello",
"max_stars_repo_path": "ScHello/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156182"
} | starcoder | <reponame>haseeb1431/ScHello
using System;
using Starcounter;
using System.Linq;
using ScHello.Modul;
namespace ScHello
{
class Program
{
static void Main()
{
Db.Transact(() =>
{
var person = Db.SQL<Person>("SELECT p FROM Person p");... | 1.913173 | 573b960f6f2fcec871066bf2fa5e9f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836963 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "iwtexplode/OpenKh",
"max_stars_repo_path": "OpenKh.Bbs/Arc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156183"
} | starcoder | <reponame>iwtexplode/OpenKh
using OpenKh.Common;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xe.BinaryMapper;
namespace OpenKh.Bbs
{
public static class Arc
{
private const int MagicCode = 0x435241;
private const int Version = 1;
private const int MetaEn... | 2.487133 | 80d3bbaaae117c25b6f3cd5d619617f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836964 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "professorlust/Slorp-Bot",
"max_stars_repo_path": "Slorp/Core/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156184"
} | starcoder | <reponame>professorlust/Slorp-Bot
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Exceptions;
using DSharpPlus.Entities;
using DSharpPlus.EventArgs;
using Newtonsoft.Json;
using Slorp.Commands;
using Slorp.Modules;
using System;
using System.IO;
using System.Text;
using System.Threading.... | 2.476183 | 64e59ba444cf5dd58dcf33fea1573c52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freshncp/Larva.Core",
"max_stars_repo_path": "src/Larva.Core/Ioc/IContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156185"
} | starcoder | <reponame>freshncp/Larva.Core<gh_stars>0
using System;
using Larva.Core.Ioc.Events;
namespace Larva.Core.Ioc
{
/// <summary>
/// IoC容器
/// </summary>
public interface IContainer
{
/// <summary>
/// 注册类型
/// </summary>
/// <param name="implementationType... | 1.99105 | 2e416f02cc610dd9778e206beb692c25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836966 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sdk-team/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-emr/Emr/Model/V20160408/MetastoreDescribeKafkaTopicResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156186"
} | starcoder | <reponame>sdk-team/aliyun-openapi-net-sdk
/*
* 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 Lic... | 1.143943 | cba3f349f10708cf7ceac84ed2381562 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kkolodziejczak/Simple.Xamarin.Framework",
"max_stars_repo_path": "Simple.Xamarin.Framework.core/ViewModels/Base/BasePageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156187"
} | starcoder | <gh_stars>0
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Simple.Xamarin.Framework.core
{
/// <summary>
/// Base ViewModel to all Content Pages
/// </summary>
pub... | 2.261512 | 9ca89264a3d4b4ca5185b2e3f4a155b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lvermeulen/BuildMaster.Net",
"max_stars_repo_path": "src/BuildMaster.Net/Native/Issues/BuildMasterClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156188"
} | starcoder | <filename>src/BuildMaster.Net/Native/Issues/BuildMasterClient.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BuildMaster.Net.Common;
using BuildMaster.Net.Native.Models;
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
namespace BuildMaster.Net
{
... | 2.290076 | 6d7544dc3af9ee858f63c9bd9856ba4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836969 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Aptacode/Expressions",
"max_stars_repo_path": "Expressions.Tests/GenericExpressions/GenericExpression_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156189"
} | starcoder | using Aptacode.Expressions.Bool;
using Aptacode.Expressions.GenericExpressions;
using Moq;
using Xunit;
namespace Expressions.Tests.GenericExpressions
{
public class GenericExpression_Tests
{
private readonly IContext _context;
private readonly IType _typeObject1;
private readonly ITyp... | 2.437672 | 8c614e2b7c755d465f1263bb5e140b19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carael/squadron",
"max_stars_repo_path": "src/Core/IComposableResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156190"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Squadron
{
public interface IComposableResource
{
Dictionary<string, string> GetComposeExports();
Task InitializeAsync();
Task DisposeAsync();
void SetEnvironmentVariabl... | 1.860325 | d38ef082c6323c4bfded18b25f002505 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836971 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JMAfrico/DataPet-GerenciadorDePetshop",
"max_stars_repo_path": "Consultas_medicas/DAO/conexao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156191"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MySql.Data.MySqlClient;
namespace Consultas_medicas.DAO
{
//PASSO 1 : CRIAR A CONEXÃO
public class conexao
{
//string strconecta = "server=localhost;user=root;database=pets... | 2.380418 | 15604e57bc93aafaa9201f4d18424faf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836972 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iEmiya/SoundCloudProvider",
"max_stars_repo_path": "SoundCloudProvider/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156192"
} | starcoder | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SoundCloudProvider")]
[assembly: AssemblyDescription("")]
[assembly: Guid("986c16e6-93fc-463a-8632-2fa53455334a")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: InternalsVisibleTo... | 1.314389 | 2720a80ac65c7641f88c8387b1efd358 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kobush/ModernMoleculeViewer",
"max_stars_repo_path": "win10/src/ModernMoleculeViewer/Rendering/SphereBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156193"
} | starcoder | <reponame>kobush/ModernMoleculeViewer
using System.Collections.Generic;
using SharpDX;
using SharpDX.Toolkit.Graphics;
namespace ModernMoleculeViewer.Rendering
{
public class SphereBuilder
{
public static GeometricPrimitiveAdv<VertexPositionNormalTexture> New(GraphicsDevice device, int divisions = 3, b... | 2.471781 | 99083c3b0f826446c00a0c275084ef4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pankajdey198320/dey.security",
"max_stars_repo_path": "SecurityDemo/XSS/XSS/QueryString.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156194"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace XSS
{
public partial class QueryString : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lblMessage.Text ... | 2.024609 | 4250464bfbc26a3d75da772e02e58ac2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836975 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "marxxxx/beerkoenig",
"max_stars_repo_path": "Beerkoenig/Beerkoenig.Api/Controllers/AdminController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156195"
} | starcoder | <filename>Beerkoenig/Beerkoenig.Api/Controllers/AdminController.cs
using Beerkoenig.Services.Interfaces;
using Beerkoenig.Services.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.IO;
using System.T... | 2.19962 | 96b9f4ee0f42327f066aead466f8afea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836976 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SolomonRosemite/Unity-FutureCube",
"max_stars_repo_path": "FutureCube/Assets/Scripts/Leaderboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156196"
} | starcoder | <filename>FutureCube/Assets/Scripts/Leaderboard.cs
using UnityEngine.UI;
using UnityEngine;
public class Leaderboard : MonoBehaviour
{
public Text PlayerOfflineText;
void Start()
{
PlayerOfflineText.enabled = true;
if (Application.internetReachability != NetworkReachability.NotReachable)... | 2.257987 | d54972acd2f600bc19d7e54c39e00a95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afermon/TuBus",
"max_stars_repo_path": "WebApp/Views/Multa/vVerMulta.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156197"
} | starcoder | @using WebApp.Helpers;
@{
ViewBag.Title = "Ver multa";
Layout = "~/Views/Shared/_LayoutDashboard.cshtml";
}
<!-- Scripts -->
@section Scripts {
@Scripts.Render("~/Scripts/datatable")
<script src="~/Scripts/Views/Multa/vVerMulta.js"></script>
}
<!-- Page Content -->
<div class="row">
<div class="... | 1.916619 | a79a049cadb7b88debfab4c7faeea501 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Srynetix/sc-space-shooter",
"max_stars_repo_path": "tests/scenes/TestStatusToast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156198"
} | starcoder | <filename>tests/scenes/TestStatusToast.cs
using Godot;
public class TestStatusToast : Control {
[BindNode] private Player player;
[BindNodeRoot] private Debug debug;
private Console.Logger logger;
async public override void _Ready() {
this.BindNodes();
debug.EnableDebugMode();
... | 2.27688 | b1bae06b75f526b100d50c9c89cf0312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836979 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TheKingEagle/RMSoftware.ModularBot",
"max_stars_repo_path": "ModularBOT/Entity/GuildCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModularBOT.Component;
namespace ModularBOT.Entity
{
public class GuildCommand
{
public string Name { get; set; }
public string Action { get; set; }
public bool Requ... | 2.138527 | 80def4ffb2260a9b64eaae3e15d74473 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SixMinute/aws-sdk-unity-lambda",
"max_stars_repo_path": "Assets/AWSSDK/src/Core/Amazon.Runtime/SharedInterfaces/ICoreAmazonSQS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156200"
} | starcoder | <filename>Assets/AWSSDK/src/Core/Amazon.Runtime/SharedInterfaces/ICoreAmazonSQS.cs
//
// Copyright 2014-2015 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License").
// You may not use this file except in compliance with the
// License. A copy of ... | 2.042003 | 801fe5e0c2d58954d8f400f00689c9c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836981 | {
"extension": "c-sharp",
"max_stars_count": "428.0",
"max_stars_repo_name": "cping/LGame",
"max_stars_repo_path": "C#/WindowsPhone/LGame-XNA-lib/Loon.Action.Sprite.Node/LNAnimationTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156201"
} | starcoder | <gh_stars>100-1000
using System.Collections.Generic;
using Loon.Core.Graphics.Opengl;
using System;
namespace Loon.Action.Sprite.Node
{
public class LNAnimationTexture
{
protected internal float _duration;
private List<LTexture> _asList;
private List<Single> _timeList;
priva... | 2.533929 | 1dd87d2c9f5252357b692611fb59ccd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836982 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "not-kmahone/microsoft-ui-xaml",
"max_stars_repo_path": "dev/Repeater/APITests/Common/ElementAnimatorDerived.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156202"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
#if !BUILD_WINDOWS
using AnimationContext = Microsoft.UI.Xaml.Control... | 1.872025 | 716492f09d1ee4545c037d0565ffd387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Drawaes/dotnetXperiments",
"max_stars_repo_path": "PEQuick/PEQuick/TableRows/FieldRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156203"
} | starcoder | <reponame>Drawaes/dotnetXperiments
using System;
using System.Collections.Generic;
using System.Text;
using PEQuick.Flags;
using PEQuick.Importer;
using PEQuick.Indexes;
using PEQuick.MetaData;
namespace PEQuick.TableRows
{
public class FieldRow : Row
{
public override uint Ass... | 1.646597 | 12515a029c2955d6f26a6343c2bbbe77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jcopperman/QUpAutomationFramework",
"max_stars_repo_path": "TestProject/Hooks/HookInitialize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156204"
} | starcoder | using QUp.Framework.Base;
using TechTalk.SpecFlow;
namespace TestProject
{
[Binding]
public class HookInitialize : TestInitializeHook
{
public HookInitialize() : base(BrowserType.Chrome)
{
InitializeSettings();
NavigateSite();
}
[BeforeFeature]
... | 1.448128 | 38d353fb112ddd5fdeac1cd6b9f39713 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836985 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WestDiscGolf/ASP.NET-MVC-JavaScript-Routing",
"max_stars_repo_path": "Core/RouteSourceExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156205"
} | starcoder | using System;
using System.Web.Routing;
namespace JsRouting.Core
{
/// <summary>
/// Extension methods for <see cref="T:IRouteSource"/>
/// </summary>
public static class RouteSourceExt
{
/// <summary>
/// Generates a route collection from a route source
/// </summary>
... | 2.967238 | b9e2a26c11e8254040efcea8e532fdbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836986 | {
"extension": "c-sharp",
"max_stars_count": "392.0",
"max_stars_repo_name": "lumang/BaiduPCS_NET",
"max_stars_repo_path": "Sample/Sample_0_FileExplorer/Forms/frmWaiting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156206"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
namespace FileExplorer
{
public partial class frmWaiting : Form
{
public string _Title
{
get ... | 2.668651 | a55066378704ec70b103928e3eff1c5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tyayers/pressitter",
"max_stars_repo_path": "pressitter-functions/NewsUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156207"
} | starcoder | <reponame>tyayers/pressitter
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 Newtonsoft.Json;
using System.Collec... | 2.433056 | 9ba22f61b3311b7228b623d7dde0153a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836988 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wasim4Malik/paysafe_sdk_csharp",
"max_stars_repo_path": "Paysafe/CardPayments/CardPaymentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156208"
} | starcoder | /*
* Copyright (c) 2014 Optimal Payments
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, pub... | 2.251604 | d5fd6fd81c1296ab5521cfce797074e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luizinhovao/VirtualAgent",
"max_stars_repo_path": "VirtualAgent.LUIS.ActionBinding/Action/ILuisContextualAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156209"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VirtualAgent.LUIS.ActionBinding.Action
{
public interface ILuisContextualAction<T> : ILuisAction where T : ILuisAction
{
T Context { get; set; }
}
}
| 1.630444 | ffcf1a0150f6f7e66faf822ee07321b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836990 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yollelaw/FiiiCoin",
"max_stars_repo_path": "Node/Data/FiiiChain.DataAgent/UtxoSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156210"
} | starcoder | // Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Messages;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System... | 2.400723 | 4ac6aeb1dc9740ed60fd8e0bf6448171 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836991 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "fossabot/GenHTTP",
"max_stars_repo_path": "API/Infrastructure/IServerBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156211"
} | starcoder | <gh_stars>10-100
using System;
using System.Net;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using GenHTTP.Api.Content;
namespace GenHTTP.Api.Infrastructure
{
/// <summary>
/// Allows to configure and create a new <see cref="IServer"/> instance.
/... | 2.500458 | 025599a42d9d104e3ac6a61248d47f71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoshKearns/GE2-Test-2021-Starter",
"max_stars_repo_path": "Assets/Bark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156212"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bark : MonoBehaviour
{
public AudioClip[] barks;
private AudioSource _audio;
// Start is called before the first frame update
void Start()
{
_audio = GetComponent<AudioSource>();
}
// U... | 2.390039 | 395927343f6dc5faea873e2148134cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836993 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Const-me/Vrmac",
"max_stars_repo_path": "VrmacVideo/Containers/MKV/EBML.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156213"
} | starcoder | <reponame>Const-me/Vrmac
using System.IO;
namespace VrmacVideo.Containers.MKV
{
public sealed class EBML
{
public readonly uint version = 1, readVersion = 1;
public readonly string docType;
public readonly uint docTypeVersion = 1;
public EBML( Stream stream )
{
ElementReader reader = new ElementReader... | 2.080653 | 47ae29c598a56754eb7cc53634b26d2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rasmuseeg/SimpleForms",
"max_stars_repo_path": "SimpleForms/Models/FieldType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156214"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleForms.Models
{
public class FormField
{
public int Id { get; set; }
public string Name { get; set; }
public int FormId { get; set; }
public FieldDa... | 2.181131 | dd1ad33e72a1004d5c69f2f72f12c8e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvolveArt/Curving-Night",
"max_stars_repo_path": "Assets/Scripts/MenuManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156215"
} | starcoder | <filename>Assets/Scripts/MenuManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MenuManager : MonoBehaviour {
private int numberOfPlayers = 2;
public Transform panel;
public GameObject playerPanel... | 2.411168 | fe32854da4f16a93bb2e12a9fd6a12b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenx00x/ahhhhhhhhhhhh",
"max_stars_repo_path": "ahhhhhhhhhh/Library/PackageCache/com.unity.test-framework@1.1.9/UnityEditor.TestRunner/UnityTestProtocol/IUtpMessageReporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156216"
} | starcoder | <filename>ahhhhhhhhhh/Library/PackageCache/com.unity.test-framework@1.1.9/UnityEditor.TestRunner/UnityTestProtocol/IUtpMessageReporter.cs
version https://git-lfs.github.com/spec/v1
oid sha256:99ab5065c8aa78091594ae5db2e1127c3a622e664377f398b2b3d73ccc4ce91b
size 530
| 0.999136 | b7903d528d29f63818290ebde950dc7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836997 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TheBambino/tModLoader_Minions",
"max_stars_repo_path": "Core/Minions/Tactics/MinionTacticsGroupMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156217"
} | starcoder | <filename>Core/Minions/Tactics/MinionTacticsGroupMapper.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria.ModLoader;
using static AmuletOfManyMinions.Core.Minions.MinionTacticsPlayer;
namespace AmuletOfManyMinions.Cor... | 2.738785 | e0a5707d6ed10fc11109199950c6ff4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Darksxm/thelastjourny-SAM-VERSION",
"max_stars_repo_path": "the last journy/the last journey/Assets/4.prefabs/charecter/MainCharacter/system/Helper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156218"
} | starcoder | <filename>the last journy/the last journey/Assets/4.prefabs/charecter/MainCharacter/system/Helper.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Helper
{
public class PlayerInput
{
public static string Horizontal = "Horizontal";
public static strin... | 2.06524 | 5970edcb6fc676277c5c4cd12d0d8463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836999 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Unthrottled/doki-theme-visualstudio",
"max_stars_repo_path": "doki-theme-visualstudio/LocalAssetService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156219"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Shell;
using Newtonsoft.Json;
namespace doki_theme_visualstudio {
internal enum AssetChangedStatus {
... | 2.446035 | 5c8382cbd9febf85747214f5868a98c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837000 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "srollinet/testcontainers-dotnet",
"max_stars_repo_path": "src/Container.Abstractions/Images/NullImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156220"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TestContainers.Container.Abstractions.Images
{
/// <summary>
/// Represents a null image for ease of dependency injection
/// </summary>
public sealed class NullImage : IImage
{
/// <summary>
/// Instance ... | 2.929588 | 99b5e229cd5eecda20c86372e437ebc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StanislavTsanev/ComputerPartsCatalog",
"max_stars_repo_path": "Web/ComputerPartsCatalog.Web/Controllers/RatingsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156221"
} | starcoder | <reponame>StanislavTsanev/ComputerPartsCatalog<filename>Web/ComputerPartsCatalog.Web/Controllers/RatingsController.cs
namespace ComputerPartsCatalog.Web.Controllers
{
using System.Security.Claims;
using System.Threading.Tasks;
using ComputerPartsCatalog.Services.Data.Ratings;
using ComputerPartsCatalo... | 2.184402 | 085adbc7e2e58fe51ab37eeed3fabd8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tatsuya-midorikawa/Pluggy",
"max_stars_repo_path": "src/Pluggy/FlexibleOutlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156222"
} | starcoder | <reponame>tatsuya-midorikawa/Pluggy
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Pluggy
{
public sealed class FlexibleOutlet
{
private readonly List<Type> types;
priv... | 2.570643 | ab8ca8571f7f6b031ae8094833c90017 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peachii0z/coza-store-e-commerce",
"max_stars_repo_path": "CozaStore/Views/Blog/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156223"
} | starcoder | <filename>CozaStore/Views/Blog/Index.cshtml
@using CozaStore.Models;
@{
ViewBag.Title = "Index";
}
<!-- Title page -->
<section class="bg-img1 txt-center p-lr-15 p-tb-92" style="background-image: url('/Image/bg-02.jpg');">
<h2 class="ltext-105 cl0 txt-center">
Bài viết
</h2>
</section>
<!--... | 1.978631 | 657d7a49631fd569b6bffc54abe94676 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gy-soft/Gy.QySin",
"max_stars_repo_path": "src/Gy.QySin.Persistence/Sql/SqlRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156224"
} | starcoder | <reponame>gy-soft/Gy.QySin
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Gy.QySin.Application.Common.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace Gy.QySin.Persistence.Sql
{
public class SqlRepository<TContext, TEntity> : IRepository<TEntity>
wher... | 2.60621 | b45b745ffba37e30bb5a7478a991d35c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Poseidon - Low Poly Water System/Runtime/Scripts/Core/PSplineMeshCreator.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Pinwheel.Poseidon;
namespace Pinwheel.Poseidon
{
public class PSplineMeshCreator : IPMeshCreator
{
private PWater water;
public void Create(PWater water)
{
List<PSplineSegment> ... | 2.112205 | d60594363159296a36c659bb30304604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837006 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wanlitao/FCP.Web.Framework",
"max_stars_repo_path": "src/FCP.Web.Api/Filter/Log/ApiLogActionFilterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156226"
} | starcoder | using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System;
using System.Linq;
using FCP.Util;
using System.Threading.Tasks;
using System.Web.Http.Services;
namespace FCP.Web.Api
{
/// <summary>
/// 记录Api Action执行
/// </summary>
public abstract class ApiLogActionFilterAttribute : A... | 2.420919 | 5cf97e08eca6fa3749c0be88e2c5ae5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "turalp/Dictionary.Bot",
"max_stars_repo_path": "Dictionary.Domain/Repositories/Abstract/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156227"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Dictionary.Domain.Models.Abstract;
namespace Dictionary.Domain.Repositories.Abstract
{
public interface IRepository<T> where T : class, IEntity
{
IQueryable<T> GetAll();
Task<T> GetSingleAsync(... | 2.381709 | cf5863af0fa39e5fd01a3049f93cc24a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cqjinkong/component",
"max_stars_repo_path": "src/Jinkong.Hangfire/HangfireOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156228"
} | starcoder | using Shashlik.Kernel.Attributes;
namespace Jinkong.Hangfire
{
[AutoOptions("Jinkong.Hangfire")]
public class HangfireOptions
{
public bool Enable { get; set; } = true;
public bool EnableDashboard { get; set; }
}
} | 1.213889 | 763eaccb6fc69b87fdb2077070a99e89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837009 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrayone/knowledge.io",
"max_stars_repo_path": "src/IdentidadeAcesso/IdentidadeAcesso.API/Infrastrucuture/IoC/ApplicationQueries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156229"
} | starcoder | using IdentidadeAcesso.API.Application.Models;
using IdentidadeAcesso.API.Application.Queries;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Collections.Generic;
namespace IdentidadeAcesso.API.Infrastrucuture.IoC
{
public sta... | 1.88716 | 3873d6d3b641f49dd22a197ce1ce5bc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837010 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hbiarge/Experiments",
"max_stars_repo_path": "Messaging/Rebus/Common/Acheve.Common.Messages/AwaitExternalImageToBeProcessed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156230"
} | starcoder | <gh_stars>1-10
using System;
namespace Acheve.Common.Messages
{
public class AwaitExternalImageToBeProcessed
{
public AwaitExternalImageToBeProcessed(Guid caseNumber, int imageId)
{
CaseNumber = caseNumber;
ImageId = imageId;
}
public Guid CaseNumber { ... | 1.7692 | 9b4193719c72c4ff38b8997bdcb44aaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MengJie-Wangg/kms",
"max_stars_repo_path": "KmsService/KmsService/DingDingModel/GetUnionIDModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156231"
} | starcoder | <filename>KmsService/KmsService/DingDingModel/GetUnionIDModel.cs
namespace KmsService.DingDingModel
{
public class GetUnionIDModel
{
public int errcode { get; set; }
public string errmsg { get; set; }
public Result result { get; set; }
public string request_id { get; set; }
... | 1.304348 | 2e43f1098b4a1c8d02dd7919f82248b5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.