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.396Z | 2023-09-08T23:13:54.396Z | 8810018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lucky786/VoIPCustomerWebPortal",
"max_stars_repo_path": "src/Core/VoipProjectEntities.Application/Features/Menu/Commands/DeleteMenu/DeleteMenuCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129238"
} | starcoder | using MediatR;
using Microsoft.AspNetCore.DataProtection;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using VoipProjectEntities.Application.Contracts.Persistence;
using VoipProjectEntities.Application.Exceptions;
using VoipProjectEntities.Dom... | 2.216309 | 8bbc002ec22de846da1434148154b722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WTCWR68/space-station-14",
"max_stars_repo_path": "Content.Client/Explosion/ExplosionOverlaySystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129239"
} | starcoder | using Content.Shared.CCVar;
using Content.Shared.Explosion;
using Content.Shared.GameTicking;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.ResourceManagement;
using Robust.Shared.Configuration;
using Robust.Shared.Map;
using Robust.Shared.Prototypes;
namespace Content.Client.Explo... | 2.038836 | 1d6d8707f7bf7f6e01290d1f6dd21d85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodedByJim/Nevo.Api",
"max_stars_repo_path": "Nevo.Business/Nutrients/GetNutrientHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129240"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Coded.Core.Handler;
using Coded.Core.Query;
using Nevo.Contract.V1.Nutrients;
using Nevo.Data;
using Nevo.Data.Nutrients;
namespace Nevo.Business.Nutrients
{
/// <summary>
/// Handles <see cref="GetNutrientRequest" />.
/// </summ... | 2.512907 | 0cc835a6c61f49d4f721f3bddff64dae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810021 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/corlib/Test/System.Security.AccessControl/FileSecurityTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129241"
} | starcoder | <reponame>lefb766/mono<filename>mcs/class/corlib/Test/System.Security.AccessControl/FileSecurityTest.cs
// FileSecurityTest.cs - NUnit Test Cases for FileSecurity
//
// Authors:
// <NAME> (<EMAIL>)
using System;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
using NUnit.Framewor... | 2.394832 | 8766f31fe166617a6835e833b0b29a50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/workers/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129242"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Reflection;
using Microsoft.Extension... | 1.66193 | 1bed25b9b52a794111394fe102825940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810023 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "roryprimrose/Headless",
"max_stars_repo_path": "Headless/IHtmlElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129243"
} | starcoder | <gh_stars>10-100
namespace Headless
{
using System.Xml.XPath;
/// <summary>
/// The <see cref="IHtmlElement" />
/// interface defines the structure of an element in an <see cref="IHtmlPage" />.
/// </summary>
public interface IHtmlElement
{
/// <summary>
/// Get... | 2.549297 | 506fe1e690a88ab95e5cb4385033b45a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810024 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR/CodeDOM Class Sample/CS/SampleCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129244"
} | starcoder | <filename>snippets/csharp/VS_Snippets_CLR/CodeDOM Class Sample/CS/SampleCode.cs
//<Snippet99>
//--------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect ... | 3.420818 | a67ce1fa255dbc4b5fca3f1a77d18641 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dorianxxxx/RoomMateExpress",
"max_stars_repo_path": "RoomMateExpressWebApi/Controllers/CityController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129245"
} | starcoder | <filename>RoomMateExpressWebApi/Controllers/CityController.cs
using System;
using System.Threading.Tasks;
using AspNet.Security.OAuth.Validation;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using RoomMateExpressWebApi.EF.Models;
using RoomMateExpressWebApi.EF.Services;
using RoomMateExpre... | 2.623742 | e16210b6e4bbc99fff5acc8b117d55ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebash1992/DesignPatterns",
"max_stars_repo_path": "Creational/AbstractFactory/Interfaces/IDoorFittingExpert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129246"
} | starcoder | namespace AbstractFactory.Interfaces
{
public interface IDoorFittingExpert
{
void GetDescription();
}
}
| 1.801607 | a387722073b8c8d5c0dbc854eba36db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810027 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "viku85/Fluent.TradierClient",
"max_stars_repo_path": "Fluent.TradierClient/RequestBuilder/Market/TimeAndSale/Interface/IIntervalBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129247"
} | starcoder | <reponame>viku85/Fluent.TradierClient<filename>Fluent.TradierClient/RequestBuilder/Market/TimeAndSale/Interface/IIntervalBuilder.cs
namespace Fluent.TradierClient.RequestBuilder.Market.TimeAndSale.Interface
{
/// <summary>
/// Time sale interval builder.
/// </summary>
/// <seealso cref="IBuild" /... | 2.139992 | 59c3733a21c892fda1bbf294e33935af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimeTravelPenguin/AllOverIt",
"max_stars_repo_path": "Demos/AllOverIt/FileSearch/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129248"
} | starcoder | using AllOverIt.Io;
using System;
using System.Diagnostics;
namespace FileSearchDemo
{
class Program
{
static void Main(string[] args)
{
var rootPath = Environment.SystemDirectory;
Console.WriteLine($"Finding all files under {rootPath}.");
Console.WriteLine... | 3.03312 | fa760c5136e88218fd89b25c8e99be17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810029 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "cetusfinance/qwack",
"max_stars_repo_path": "src/Qwack.Core/Basic/Capital/SaCcrParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129249"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Qwack.Transport.BasicTypes;
namespace Qwack.Core.Basic.Capital
{
public static class SaCcrParameters
{
public static Dictionary<SaCcrAssetClass, double> SupervisoryFactors = new()
{
{ SaCcrAssetClass.InterestRa... | 1.950766 | cad44c4ef93e2a41ed56fa0ac7153603 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Samuel89Su/Common",
"max_stars_repo_path": "src/Jelly.Extensions.Queue/IQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129250"
} | starcoder | using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
namespace Jelly.Threading.Channels.Queue
{
public interface IQueue<T>
{
IQueueProducer<T> QueueProducer { get; }
IAsyncEnumerable<T> ReadAllAsync([EnumeratorCancellation] CancellationToken cancell... | 1.918627 | 5c95918eca871e00758b85d06ede2cbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810031 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "almostengr/greenhouse",
"max_stars_repo_path": "Almostengr.GardenMgr.Api/Database/PlantWateringRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129251"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Almostengr.GardenMgr.Api.Models;
using Almostengr.GardenMgr.Api.DataTransferObjects;
using Almostengr.GardenMgr.Api.Relays;
using Microsoft.EntityFrameworkCore;
using System;
namespace Almostengr.GardenMgr.Api.Datab... | 2.447268 | 15e021fbf2d69693eb75ee0f80870eff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muratkugic/oop-basics-1",
"max_stars_repo_path": "SimpleGuestBook/GuestBookLibrary/Models/GuestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129252"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GuestBookLibrary.Models
{
public class GuestModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string MessageToHost { get... | 2.426789 | 0dd205a4527a693cbc697cd5fb08c046 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810033 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brumschlag/rhino-tools",
"max_stars_repo_path": "rhino-mocks/Rhino.Mocks/Constraints/TextArg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129253"
} | starcoder | <gh_stars>1-10
using System;
using System.Text;
namespace Rhino.Mocks.Constraints
{
/// <summary>
/// Provides access to the constraintes defined in the class <see cref="Text"/> to be used in context
/// with the <see cref="Arg"/> syntax.
/// </summary>
public class TextArg
{
internal TextArg() { ;}... | 2.926141 | c4aabe3f53326ab1d92d9292932f93b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eccsolutions/inedox-tfs",
"max_stars_repo_path": "TFS/BuildMasterExtension/Legacy/BuildImporter/TfsBuildImporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129254"
} | starcoder | using System;
using System.ComponentModel;
using System.Linq;
using Inedo.Agents;
using Inedo.BuildMaster;
using Inedo.BuildMaster.Artifacts;
using Inedo.BuildMaster.Data;
using Inedo.BuildMaster.Extensibility.Agents;
using Inedo.BuildMaster.Extensibility.BuildImporters;
using Inedo.BuildMaster.Files;
using ... | 1.804607 | a25e0e43f208abd1e3e116d399bc1054 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810035 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "0xC0000054/pdn-avif",
"max_stars_repo_path": "src/Avif Container/ImageGridMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129255"
} | starcoder | <filename>src/Avif Container/ImageGridMetadata.cs
////////////////////////////////////////////////////////////////////////
//
// This file is part of pdn-avif, a FileType plugin for Paint.NET
// that loads and saves AVIF images.
//
// Copyright (c) 2020, 2021 <NAME>
//
// This file is licensed under the MIT License.
/... | 2.600281 | 2651c05999ae61c0c09d1fa7de4e7eb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810036 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "geffzhang/abp-next-admin",
"max_stars_repo_path": "aspnet-core/modules/webhooks/LINGYUN.Abp.Webhooks/LINGYUN/Abp/Webhooks/AbpWebhooksModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129256"
} | starcoder | <gh_stars>10-100
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.Features;
using Volo.Abp.Guids;
using Volo.Abp.Http.Client;
using Volo.Abp.Modularity;
namespace LINGYUN.Abp.Webhooks;
[DependsOn(typeof(AbpBackgro... | 1.891078 | b4bc3db5e00f8970abbc9fffdeb46dcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mhroth/fireancestor",
"max_stars_repo_path": "visualiser/Fire Ancestor visualiser/Assets/FireAncestorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129257"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using SharpOSC;
// Thread-safe message queue
public class SendMessageQueue {
private readonly object _msgQueueSync = new object();
private readonly Queue<SharpOSC.OscMessage> _msgQueue = new Queue<SharpOSC.OscMessage>();
... | 2.265382 | 42bbf89f9a4033af3cbb56a5b4f90ac7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810038 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "bmjoy/CSky-Dynamic-Sky-Unity",
"max_stars_repo_path": "AC/CSky/Scripts/Classes/SkySphere/Helper/CSky_CelestialObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129258"
} | starcoder | <reponame>bmjoy/CSky-Dynamic-Sky-Unity
///////////////////////////////////////////
/// CSky.
/// Name: Celestial Object.
/// Description: Celestial object class.
///
///////////////////////////////////////////
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AC.CSky
{
[S... | 2.29674 | ed52630b2c77b10707ecfdc56c89bbbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CSharpLanguageInstructionDecoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129259"
} | 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.
using System;
using Microsoft.CodeAnalysis.ExpressionEvaluator;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using ... | 1.201325 | afeb2f60fefd4569b0a8edcf757a28d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810040 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gordon-matt/MBG.Extensions",
"max_stars_repo_path": "MBG.Extensions/Data/DataColumnExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129260"
} | starcoder | <reponame>gordon-matt/MBG.Extensions<filename>MBG.Extensions/Data/DataColumnExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MBG.Extensions.Collections;
using MBG.Extensions.Reflection;
namespace MBG.Extensions.Data
{
public static class ... | 3.034873 | 1c0fb0c6f164b43e244cae81600e754f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ForNeVeR/Reinforced.Tecture",
"max_stars_repo_path": "Features/Reinforced.Tecture.Features.Orm/Commands/Add/AddExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129261"
} | starcoder | <reponame>ForNeVeR/Reinforced.Tecture
using Reinforced.Tecture.Commands;
using Reinforced.Tecture.Channels;
namespace Reinforced.Tecture.Features.Orm.Commands.Add
{
public static partial class Extensions
{
public static Add<T1> Add<T1>(this Write<CommandChannel<Command>,T1> c... | 1.650282 | a0d3fbca1b6f6ba5b71470b132914cc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codewright-io/stores",
"max_stars_repo_path": "Stores.Github/RepositoryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129262"
} | starcoder | using Octokit;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevKnack.Stores.Github
{
public class RepositoryService : IRepositoryService
{
private readonly GitHubClient _client;
public RepositoryService(GitHubClient client)
{
... | 2.583053 | bab7694dac42c1b4900a362ad8865cfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810043 | {
"extension": "c-sharp",
"max_stars_count": "669.0",
"max_stars_repo_name": "curlysemi/Scripty",
"max_stars_repo_path": "src/Scripty.Core.Tests/Resolvers/TestCs/ReferencedClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129263"
} | starcoder | #pragma warning disable 1591
using System;
namespace Scripty.Core.Tests.TestCs
{
using System.Data;
/// <summary>
/// This example class is for testing the Resolvers namespace"/>
/// </summary>
/// <remarks>
/// This should have a little bit of everything common
/// </remark... | 2.923553 | 163b6c0b18893066726b7c29de9fb2c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkStraub/ba21-virtual-reality-szenario",
"max_stars_repo_path": "Assets/Scripts/Theory/TheoryInitialisation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129264"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class TheoryInitialisation : MonoBehaviour
{
// Theory
public GameObject theory;
public Text theoryTitle;
public Text theoryText;
public Button backT;
public Button nextT;
// Quiz
public GameObject quiz;
public Text quizTitle;
... | 2.237465 | 65315949ba3fab03289afbd73d656689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theMickster/AdventureWorks",
"max_stars_repo_path": "src/AdventureWorks.Domain/Entities/SalesPersonQuotaHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129265"
} | starcoder | using System;
using AdventureWorks.Core.Interfaces;
namespace AdventureWorks.Core.Entities
{
public class SalesPersonQuotaHistory : BaseEntity, IAggregateRoot
{
public int BusinessEntityId { get; set; }
public DateTime QuotaDate { get; set; }
public decimal SalesQuota { get; set; }
... | 1.544114 | 98e08abb90c025c11ee32761019a4ded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810046 | {
"extension": "c-sharp",
"max_stars_count": "5945.0",
"max_stars_repo_name": "KAW0/UniRx",
"max_stars_repo_path": "Tests/UniRx.Tests/ReactivePropertyTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129266"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UniRx.Tests
{
[TestClass]
public class ReactivePropertyTest
{
[TestMethod]
public void ValueType()
{
... | 2.423486 | 3be9ca86d0baad2a2445ca59cecde34b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukeattard/SDRSharpNG",
"max_stars_repo_path": "Radio/PortAudio/AudioDevice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129267"
} | starcoder | using System.Collections.Generic;
using PortAudioSharp;
namespace SDRSharp.Radio.PortAudio
{
public class AudioDevice
{
public int Index { get; set; }
public string Name { get; set; }
public string Host { get; set; }
public DeviceDirection Direction { get; set; }
public... | 2.696841 | 4a03bc75c7a9c063830d7b0be1769e30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ameksike/dotnet-app",
"max_stars_repo_path": "rest/src/Models/DAO/AppDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129268"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using rest.src.Models.ORM;
namespace rest.src.Models.DAO
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbContext> options) : base(opt... | 1.985187 | ca224d204dd9ce0823bb71ed1f7dd063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artem-bayandin/udemy-azure-devops-ci-cd",
"max_stars_repo_path": "dotnetcore-webapp-ef-mssql/src/WebApp2/Controllers/OrderLinesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129269"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Data;
using Data.Entities;
namespace WebApp2.Controllers
{
public class OrderLinesController : Contr... | 2.457687 | 229cf2ff80f7738ab35db292c76064aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomcook82/Jodie",
"max_stars_repo_path": "src/Jodie/Interfaces/IMessageDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129270"
} | starcoder | using System;
using System.Reflection;
namespace Jodie
{
public interface IMessageDispatcher
{
bool SingleThreadedMode { get; set; }
void AddHandlerFor<TCommand>(IHandleCommand<TCommand> commandHandler);
void AddRouterFor<TEvent>(IRoute<TEvent> router);
void AddSubscriberFor<TE... | 2.04903 | 2718fac7cde896796c373f01d63c35fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexanderwjrussell/Foo.Bar",
"max_stars_repo_path": "src/api/Foo.Bar.API/Controllers/Item/AddMenuItemController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129271"
} | starcoder | <filename>src/api/Foo.Bar.API/Controllers/Item/AddMenuItemController.cs<gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Foo.Bar.API.Models.Requests;
using Foo.Bar.API.Models.Responses;
n... | 2.731732 | cd68eeedec6b2be1f29a711e9fe4da72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eXiz7/unityterraintools",
"max_stars_repo_path": "Assets/MassiveGrass/Scripts/MassiveGrass.Editor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129272"
} | starcoder | using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using Directory = UnityEngine.Windows.Directory;
#endif
namespace Mewlist.MassiveGrass
{
#if UNITY_EDITOR
public partial class MassiveGrass
{
private bool bak... | 2.054105 | 4cf9708c4301b0cee0623bf6162d4e44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810053 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnasr/arcgis-pro-sdk-community-samples",
"max_stars_repo_path": "Framework/DockPaneBookmarkAdvanced/Module1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129273"
} | starcoder | <gh_stars>1-10
//Copyright 2015 Esri
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or a... | 2.281348 | 76e43601b073932ffd8ccc4f4a8d8fae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alex-Ferreira-Santos/primeiro-projeto-integrador",
"max_stars_repo_path": "projeto/Artes_da_lineh final/Models/UsuarioRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129274"
} | starcoder | using System.Collections.Generic;
using System.IO;
using MySql.Data.MySqlClient;
using System.Security.Cryptography;
namespace Artes_da_lineh_final.Models
{
public class UsuarioRepository : Repository
{
public void insert(Usuario u)
{
conexao.Open();
string sql="INSERT IN... | 2.767031 | 6ea7d339a76186a5533c8e4f7035360b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810055 | {
"extension": "c-sharp",
"max_stars_count": "262.0",
"max_stars_repo_name": "yyjdelete/SpanNetty",
"max_stars_repo_path": "src/DotNetty.Codecs.Http/WebSockets/Utf8FrameValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129275"
} | starcoder | <gh_stars>100-1000
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICEN... | 1.82527 | 84043e9c5f02faaa59d77d72da4b1e14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810056 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "PacktPublishing/Microsoft-Dynamics-365-Extensions-Cookbook",
"max_stars_repo_path": "Chapter06/OptimisticConcurrencyControl/UpdateActivitiesWorkflow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129276"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Tooling.Connector;
using Packt.Xrm.Entities;
using Microsoft.Crm.Sdk.Messages;
using System.ServiceModel;
//using Microsoft.Crm.Sdk.Messages;
//using Microsoft.Xrm.Sdk;
//using Microsoft.Xrm.Sd... | 1.915779 | dce4cbd436e6c78151d3db4c0318358c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810057 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "tests/Tests/Search/SearchTemplate/RenderSearchTemplate/RenderSearchTemplateUrlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129277"
} | starcoder | <gh_stars>1-10
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Threading.Tasks;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Nest;
using T... | 1.354472 | 6d6ce02d4b85f38cb059609cb166eebf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810058 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "mPowerGames/Steamworks-Platform",
"max_stars_repo_path": "Assets/Scripts/SteamworksPlatform/ISocialPlatform/SteamworksPlatformConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129278"
} | starcoder | <gh_stars>1-10
// This file is provided under The MIT License as part of ISocialPlatform implementation
// Copyright (c) 2018-2019 <NAME>
// Please see the included LICENSE.txt for additional information.
#if UNITY_ANDROID || UNITY_IOS || UNITY_TIZEN || UNITY_TVOS || UNITY_WEBGL || UNITY_WSA || UNITY_PS4 || UNITY_WII |... | 2.17523 | c1fdaa92a504c2c82ccdc20ecd67e5e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810059 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "xiongfang/UnrealCS",
"max_stars_repo_path": "Script/UnrealEngine/GeneratedScriptFile/FCollisionResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129279"
} | starcoder | using System;
namespace UnrealEngine
{
public partial struct FCollisionResponse
{
/// <summary>
/// Types of objects that this physics objects will collide with. // @todo : make this to be transient, so that it doesn't have to save anymore
/// // we have to still load them until resave
/// </summary>
public... | 1.746037 | 31b68fd3fc741f93acd87b07b0745ec3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExtraBB/chess-wasm",
"max_stars_repo_path": "Moves/PawnMoves.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129280"
} | starcoder | using ChessWasm.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ChessWasm.Moves
{
public static class PawnMoves
{
public static IEnumerable<Move> CalculateWPawnMoves(Board board, Move lastMove)
{
return CalculateWPawnPushes(board).Concat(Calcula... | 2.661834 | 9101317f526e8c99e3c033abf4b8cad9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810061 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "Eliav2rll2v/Justin-E-Taylorj",
"max_stars_repo_path": "component/Opc/IOPCDa.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129281"
} | starcoder | <reponame>Eliav2rll2v/Justin-E-Taylorj<filename>component/Opc/IOPCDa.cs<gh_stars>10-100
// <copyright file="IOPCDa.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Titani... | 1.538407 | 0c10863cfea5f6562560951be7ba8227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xier2012/apollo.net",
"max_stars_repo_path": "Apollo.OpenApi/IOpenApiFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129282"
} | starcoder | using Com.Ctrip.Framework.Apollo.Core;
namespace Com.Ctrip.Framework.Apollo.OpenApi
{
public interface IOpenApiFactory
{
IAppClusterClient CreateAppClusterClient(string appId);
INamespaceClient CreateNamespaceClient(string appId, string env,
string cluster = ConfigConsts.ClusterNa... | 1.185 | 1e3e8ecb30a8ebb98bbba5815e1e15c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810063 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "huguesjohnson/MDLib",
"max_stars_repo_path": "MegaDriveIO/MDInteger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129283"
} | starcoder | /*
MegaDriveIO: Utilities to read/write a Mega Drive binary ROM image
Originally created for Aridia: Phantasy Star III ROM Editor
Modified for Eisfrei: Herzog Zwei ROM Editor
Copyright (c) 2007-2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate... | 2.757984 | bf912a703535d0de08b6e3b04fab5387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810064 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JBurlison/Pandaros.Civ",
"max_stars_repo_path": "Pandaros.Civ/TextureType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129284"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pandaros.Civ
{
public enum TextureType
{
aldebo,
emissive,
height,
normal,
npc,
icon,
image,
none
}
}
| 1.523322 | f78715c92211881529a5402fd440998d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810065 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TeamHellfallUG/balance-client",
"max_stars_repo_path": "BalanceClient/BalanceClient/Utils/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129285"
} | starcoder | <reponame>TeamHellfallUG/balance-client<filename>BalanceClient/BalanceClient/Utils/Config.cs
using System;
namespace Balance.Utils
{
public class Config
{
public String hostname;
public Int32 port;
public Boolean debugLog;
public Config()
{
this.hostname = "localhost";
this.port = 1337;
... | 2.104173 | 59f0a874361d47fc22890aa42215849a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terrajobst/reactive",
"max_stars_repo_path": "Rx.NET/Source/src/System.Reactive/Disposables/StableCompositeDisposable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129286"
} | starcoder | <gh_stars>0
// 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.
using System.Collections.Generic;
using System.Threading;
namespace System.Reactive.Disposables
{
... | 2.740477 | ed9eefec73ee9905719b2dfc9c0333db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bschorno/CommonCoreLibrary",
"max_stars_repo_path": "01 src/CommonCoreLibrary/CommonCoreLibrary/Algorithm/Path/AStarPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129287"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonCoreLibrary.Algorithm.Path
{
public class AStarPath
{
private AStarPriorityQueue<AStarNode> _openList = new AStarPriorityQueue<AStarNode>(new AStarNodeComparer());
private Lis... | 2.923901 | 95d378db86583526b8df5611dc8dcdd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ratokuzmanic/FESB.Hydrocontest",
"max_stars_repo_path": "Fesb.Hydrocontest.Infrastructure/Extensions/IntExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129288"
} | starcoder | namespace Fesb.Hydrocontest.Infrastructure.Extensions
{
public static class IntExtension
{
public static bool IsWithinRange(this int value, int minimum, int maximum)
=> value >= minimum && value <= maximum;
}
}
| 2.322746 | 48973eb278632fd44a127cdff2b4c53e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-events",
"max_stars_repo_path": "src/SFA.DAS.Events.Domain/Repositories/IAgreementEventRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129289"
} | starcoder | using System;
using SFA.DAS.Events.Domain.Entities;
namespace SFA.DAS.Events.Domain.Repositories
{
public interface IAgreementEventRepository : IEventRepository<AgreementEvent> {}
}
| 0.898266 | 7fdeffba6cdb64247f6eba7bc38e8f04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shervinw/OpenActive.Server.NET",
"max_stars_repo_path": "OpenActive.Server.NET/OpenBookingHelper/Rpde/RpdeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129290"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using OpenActive.DatasetSite.NET;
using OpenActive.NET;
using OpenActive.NET.Rpde.Version1;
namespace OpenActive.Server.NET.OpenBookingHelper
{
public interface IOpportunityDataRpdeFeedGenerator : IRpdeFeedGenerator
{
strin... | 2.134223 | d688b61de8e8d49df36b35c835872f45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810071 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Macabresoft/Macabresoft.Core",
"max_stars_repo_path": "Core/ResettableLazy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129291"
} | starcoder | <filename>Core/ResettableLazy.cs<gh_stars>1-10
namespace Macabresoft.Core {
using System;
/// <summary>
/// Wraps a <see cref="Lazy{T}" /> in a way that lets it be reset with the same <see
/// cref="Func{T}" /> over and over.
/// </summary>
/// <typeparam name="T">The lazy type.</typeparam>
... | 3.365137 | 9335a13e5efae938b6858812d07fbec7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810072 | {
"extension": "c-sharp",
"max_stars_count": "558.0",
"max_stars_repo_name": "MicroWorldwide/ultraviolet",
"max_stars_repo_path": "Source/Ultraviolet.Presentation.Tests.ViewModels/Shared/UPF_DirNav_Contained_VM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129292"
} | starcoder | using Ultraviolet.Presentation;
using Ultraviolet.Presentation.Controls;
namespace Ultraviolet.Presentation.Tests.ViewModels
{
public class UPF_DirNav_Contained_VM
{
public void HandleViewOpening(DependencyObject dobj, RoutedEventData data)
{
btn1.Focus();
}
privat... | 1.23869 | b37bb730cadea52496d3fde2c89c31d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Wxpay/ShopWxpayApplyRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129293"
} | starcoder | <reponame>OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat<filename>src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Wxpay/ShopWxpayApplyRequest.cs
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /shop/wxpay/apply 接口的请求。</para>
/// </s... | 1.997265 | b271dfe80dc36009d0348fa165ffa029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lykkecloud/MT.AccountManagement",
"max_stars_repo_path": "src/MarginTrading.AccountsManagement.AccountHistoryBroker/Services/ConvertService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129294"
} | starcoder | // Copyright (c) 2019 <NAME>.
// See the LICENSE file in the project root for more information.
using System;
using AutoMapper;
using JetBrains.Annotations;
using AccountBalanceChangeReasonType = MarginTrading.AccountsManagement.AccountHistoryBroker.Models.AccountBalanceChangeReasonType;
namespace MarginTrading.Acco... | 2.288234 | 727f5a07ebfb6201086f3d5fcc824461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810075 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "jonathdb93/Slipe-Core",
"max_stars_repo_path": "Slipe/Core/Source/SlipeShared/Elements/PhysicalElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129295"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
using Slipe.MtaDefinitions;
using Slipe.Shared.CollisionShapes;
using Slipe.Shared.Helpers;
using Slipe.Shared.Markers;
using System.ComponentModel;
using Slipe.Shared.IO;
using Slipe.Shared.Peds;
using Slipe.Shared.Elements.Even... | 2.395929 | 249e9231d14f3c29ae5bd097b022fc6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810076 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "motl2000/ant-design-blazor",
"max_stars_repo_path": "components/time-picker/TimePickerLocale.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129296"
} | starcoder | namespace AntDesign
{
public class TimePickerLocale
{
public string Placeholder { get; set; }
public string[] RangePlaceholder { get; set; }
}
}
| 1.411049 | 2fc5691cddfa5716b32f5780adfa5193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810077 | {
"extension": "c-sharp",
"max_stars_count": "9108.0",
"max_stars_repo_name": "oising/orleans",
"max_stars_repo_path": "src/Orleans.Runtime/Catalog/ActivationCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129297"
} | starcoder | <reponame>oising/orleans<gh_stars>1000+
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Orleans.Configuration;
using Orleans.Interna... | 1.882287 | 2835647de757563d801659a93e50fb96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810078 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "indieza/Sharemundo.bg",
"max_stars_repo_path": "SharemundoBulgaria/SharemundoBulgaria/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129298"
} | starcoder | @using SharemundoBulgaria
@using SharemundoBulgaria.Models
@using SharemundoBulgaria.Models.User
@using Microsoft.AspNetCore.Identity
@using SharemundoBulgaria.Constraints
@using SharemundoBulgaria.ViewModels.Home
@using SharemundoBulgaria.Models.Enums
@using SharemundoBulgaria.ViewModels.Contact
@using SharemundoBulg... | 1.374295 | 26565e1910ed955aec970e67496d728d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NessDisk/Crewild",
"max_stars_repo_path": "Assets/PRACTICA/NPC_Dialoge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129299"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityEngine.Events;
//using UnityEngine.SceneManagement; //Allows us to use SceneManager
public class NPC_Dialoge : MonoBehaviour {
public bool stopDialogue;
p... | 1.786277 | 211d263d5942d20122c32c373e4244e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810080 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "Programing Basics/Exam - Preparation/Try Exam 1/02. EasterGuests/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129300"
} | starcoder | <gh_stars>1-10
using System;
namespace _02._EasterGuests
{
class Program
{
static void Main(string[] args)
{
int guests = int.Parse(Console.ReadLine());
double budget = double.Parse(Console.ReadLine());
double countKozunaks = guests / 3.0;
doubl... | 3.717682 | 45ec747be9f2c2c8bf94ca17470f39a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirna-k/OOP-zadace",
"max_stars_repo_path": "DZ3/ClassLibrary_DZ3/IPrinter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129301"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ClassLibrary_DZ3
{
public interface IPrinter
{
public void Print(string text);
}
}
| 1.965898 | ee2add73968a0f6e2bb1656e6279f682 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxalmonte14/xunit",
"max_stars_repo_path": "src/xunit.v3.runner.utility/Frameworks/v2/Xunit2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129302"
} | starcoder | <reponame>maxalmonte14/xunit
using System;
using System.Collections.Generic;
using System.Reflection;
using Xunit.Abstractions;
using Xunit.Internal;
using Xunit.Runner.Common;
using Xunit.Runner.v2;
using Xunit.v3;
#if NETSTANDARD
using System.IO;
#endif
namespace Xunit
{
/// <summary>
/// This class be used to d... | 2.031181 | 5c0ffefca0b11c1c51f41f1e8be0a609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810083 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "BaristaLabs/BaristaLabs.Skrapr",
"max_stars_repo_path": "src/BaristaLabs.Skrapr.ChromeDevTools/Tracing/DataCollectedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129303"
} | starcoder | namespace BaristaLabs.Skrapr.ChromeDevTools.Tracing
{
using Newtonsoft.Json;
/// <summary>
/// Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.
/// </summary>
public sealed cl... | 2.10843 | ed3a7ea4293c97cb95d34fc14e219ce2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FINTmodels/FINT.Information.Model",
"max_stars_repo_path": "FINT.Model.Resource.Arkiv/Noark/KlasseResources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129304"
} | starcoder | <reponame>FINTmodels/FINT.Information.Model<filename>FINT.Model.Resource.Arkiv/Noark/KlasseResources.cs<gh_stars>0
using FINT.Model.Resource;
namespace FINT.Model.Arkiv.Noark
{
public class KlasseResources : AbstractCollectionResources<KlasseResource>
{
}
}
| 1.37064 | b472eeac955864ede33d595456fa7878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamil-mrzyglod/AosRooster",
"max_stars_repo_path": "Roster/MainWindow.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129305"
} | starcoder | <gh_stars>0
namespace Roster
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.78905 | e8115b8360123aaa20c6b62d29b69448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810086 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pulumi/pulumi-splunk",
"max_stars_repo_path": "sdk/dotnet/GlobalHttpEventCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129306"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.699889 | 79df3b79d246c393e41e6db8ed071642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810087 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kernel-P-Systems/kPWorkbench",
"max_stars_repo_path": "src/kPFlame/Rules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129307"
} | starcoder | <filename>src/kPFlame/Rules.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KpCore;
namespace KpFLAME
{
public class FlameRulesGenerator
{
private ObjectsId objectsId;
private MembraneId membraneId;
p... | 2.571059 | 4d4fad08626eaaffb53ec3a39126c8f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810088 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "lylythechosenone/WinPath",
"max_stars_repo_path": "WinPath.Updater/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129308"
} | starcoder | <reponame>lylythechosenone/WinPath
using System;
using System.IO;
using System.Diagnostics;
namespace WinPath.Updater
{
class Program
{
private static string executableDirectory = Path.Combine(
Path.GetTempPath(),
... | 2.418659 | 55e31b0a5fe7cbf51b7200d246610ba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tgkenney/FarmSolutionKenney",
"max_stars_repo_path": "MVCWebAppKenney/Views/Forecasts/AddDemandForecast.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129309"
} | starcoder | @model Forecast
@{
ViewData["Title"] = "Add Demand Forecast";
}
<h1>@ViewData["Title"]</h1>
<form asp-action="AddDemandForecast" method="post">
<div class="form-group">
<label>Choose a Crop</label>
<select asp-for="CropID" class="form-control" asp-items="ViewBag.CropList"></select>
<... | 2.376973 | 3341ed89fe00cb944039ba056a472134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/core/src/memory/contracts/IAddressable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129310"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
/// <summary>
/// Characterizes an object that advertises its memory location
... | 2.343911 | a5b4b15879703a05d15ac8128a61c950 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810091 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "zrolfs/Informed-Proteomics",
"max_stars_repo_path": "InformedProteomics.Tests.DevTests/TopDownAnalysis/TestLikelihoodScorer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129311"
} | starcoder | <filename>InformedProteomics.Tests.DevTests/TopDownAnalysis/TestLikelihoodScorer.cs
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using InformedProteomics.Backend.Data.Biology;
using InformedProteomics.Backend.Data.Composition;
using InformedProteomics.Backend.Data.Sequence;
using I... | 2.057497 | 019500119f14ca5533179ee778177c70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810092 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "salajlan/camundacsharpclient",
"max_stars_repo_path": "CamundaCSharpClient/Query/ProcessInstance/GetProcessInstanceQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129312"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CamundaCSharpClient.Model;
using CamundaCSharpClient.Helper;
using RestSharp;
using CamundaCSharpClient.Model.ProcessInstance;
namespace CamundaCSharpClient.Query.ProcessInstance
{
public class GetProcessInstanceQuery : Qu... | 2.426151 | 6fc284b86957378c685da71c30b1d846 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abidram/bit-framework",
"max_stars_repo_path": "Foundation/Server/Bit.Data.EntityFramework/Implementations/EfEntityWithDefaultKeyRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129313"
} | starcoder | using Foundation.DataAccess.Contracts;
using Foundation.Model.Contracts;
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Threading;
using System.Collections.Generic;
using System.Data.Entity;
namespace Bit.Data.EntityFramework.Implementations
{
public class EfEntityWithDefaultKeyReposi... | 2.59046 | f6c557432550d5c92219a8ee11dfc258 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoolPurist/BaseNumberCalculator",
"max_stars_repo_path": "NumberBaseConversionLibrary/NumberBaseConverting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129314"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace NumberBaseConversionLibrary
{
/// <summary>
/// Class provides a way of converting a text number with a certain base into either a integer or
/// a string as a number with a different base.
/// </summ... | 3.671738 | 332d062c859e1a4cd758dc7ad66bd76f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810095 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "felixzhu1989/Compass",
"max_stars_repo_path": "Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129315"
} | starcoder | using System;
namespace Models
{
/// <summary>
/// 用户
/// </summary>
[Serializable]
public class User
{
public int UserId { get; set; }
public int UserGroupId { get; set; }
public string UserAccount { get; set; }
public string UserPwd { get; set; }
publi... | 1.734023 | 4587aa9e725231a042f0fdb298c88b88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810096 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-aliyuncvc/Aliyuncvc/Transform/V20191030/JoinLiveResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129316"
} | starcoder | <filename>aliyun-net-sdk-aliyuncvc/Aliyuncvc/Transform/V20191030/JoinLiveResponseUnmarshaller.cs
/*
* 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. Th... | 1.180979 | 6987fc9fb97d57f5c0834c4fd47170a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavoFG28/CidadesDeMarte",
"max_stars_repo_path": "Projeto3_Marte/Projeto base - apCaminhosMarte/apCaminhosMarte/Cidade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129317"
} | starcoder | <reponame>gustavoFG28/CidadesDeMarte
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Cidade : IComparable<Cidade>
{
/*
Atributos inteiros constantes que armazenam os inicios e tamanhos de cada um dos atributos da class... | 3.346326 | 66435783847d938004cb174eb76b7448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810098 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "WildGums/Orc.NuGetExplorer",
"max_stars_repo_path": "src/Orc.NuGetExplorer.Tests/Orc.NuGetExplorer.Xaml.approved.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129318"
} | starcoder | <reponame>WildGums/Orc.NuGetExplorer
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Orc.NuGetExplorer.Tests")]
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName="")]
[assembly: System.Wind... | 1.688101 | e5328b4c0563c29ff388b88ca305f66c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810099 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "truongndnnguyen/win_auto_clicker",
"max_stars_repo_path": "MouseKeyboardActivityMonitor/HotKeys/HotKeySetsListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129319"
} | starcoder | <reponame>truongndnnguyen/win_auto_clicker
using MouseKeyboardActivityMonitor.WinApi;
namespace MouseKeyboardActivityMonitor.HotKeys
{
///<summary>
/// A very thin wrapper around the KeyboardHookListener that provides everything the KeyboardHookListener does but adds the ability to
/// add and hotswap Ho... | 2.991353 | 0b2ed3977064f779845b9946d2778239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamboTrener/collect-it",
"max_stars_repo_path": "src/CollectIt.API/CollectIt.API.WebAPI/DTO/RegisterDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129320"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace CollectIt.API.WebAPI.DTO;
public class RegisterDTO
{
[Required]
[MinLength(6)]
public string Username { get; set; }
[Required]
[EmailAddress]
public string Email { get; set; }
[Required]
[MinLe... | 2.206797 | dbc31cc9c93335464d3e9a1f39e382a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810101 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "nativecode-dev/oss-xamarin",
"max_stars_repo_path": "src/Demo/Demo/Views/ChooserView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129321"
} | starcoder | <reponame>nativecode-dev/oss-xamarin
namespace Demo.Views
{
using Demo.ViewModels;
using Xamarin.Forms;
public partial class ChooserView : ContentPage
{
public ChooserView()
{
this.InitializeComponent();
this.BindingContext = new ChooserViewModel();
}
... | 1.201657 | cc01fa4936ee41cbdb644464986eef76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810102 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alishan-1/public-transport-route-finder",
"max_stars_repo_path": "BusApp/Views/Routes/ViewMap.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129322"
} | starcoder | @model BusApp.Models.Route
@{
ViewBag.Title = "Map of Route - " + Model.Name;
}
<h2>ViewMap</h2>
<div>
<h4>@ViewBag.Title</h4>
<hr />
<div id="MapDiv" style="width:auto; height:600px; padding:10px;">
</div>
</div>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIza... | 2.606282 | ac24a4266461a46e874cf1af0e3653f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BJin2/screen-capture",
"max_stars_repo_path": "screen-capture/MainForm/ImageSettingControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129323"
} | starcoder | <reponame>BJin2/screen-capture
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace screen_capture
{
public partial class ImageSettingControl : Us... | 1.976057 | dcf9d8546155ac6d6ed086a8b7fc2210 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aromaa/Platform-Racing-3-Backend",
"max_stars_repo_path": "PlatformRacing3.Common/Authenication/AuthenicationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129324"
} | starcoder | using System.Security.Cryptography;
using PlatformRacing3.Common.Redis;
using StackExchange.Redis;
namespace PlatformRacing3.Common.Authenication;
public class AuthenicationManager
{
private const int TOKEN_LENGTH = 64;
public static async Task<string> CreateUniqueLoginTokenAsync(uint userId)
{
if (userId == 0... | 2.427805 | fb74519a18f06457a2cabac6e8c81fa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niklaslundberg/Arbor.RequestDiagnostics",
"max_stars_repo_path": "src/RemoteIPTest/EnvironmentVariables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129325"
} | starcoder | using System;
using System.Collections;
using System.Collections.Immutable;
using System.Linq;
namespace RemoteIPTest
{
public static class EnvironmentVariables
{
public static ImmutableDictionary<string, string> All =>
Environment.GetEnvironmentVariables()
.OfType<Dictiona... | 2.256765 | 0802def98f4face5b16d01f886142c7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chinajinwanjun/Conflux.net.SDK",
"max_stars_repo_path": "src/Nethereum.Signer.EIP712/MemberDescription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129326"
} | starcoder | namespace Conflux.Signer.EIP712
{
public class MemberDescription
{
public string Name { get; set; }
public string Type { get; set; }
}
} | 1.365604 | 7ef7d76bed08f730c7084f1af15c3f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810107 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "IceLanguage/LinHowe_GameAlgorithm",
"max_stars_repo_path": "Assets/Scripts/06-collisionDetection/Component/SphereComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129327"
} | starcoder | <reponame>IceLanguage/LinHowe_GameAlgorithm<filename>Assets/Scripts/06-collisionDetection/Component/SphereComponent.cs<gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CollisionDetection;
namespace LinHoweCollisionDetection
{
public class SphereComponent : Mono... | 2.410938 | 6584a02cccfa2f0edf7707e295099ad9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810108 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "epananth/roslyn-analyzers",
"max_stars_repo_path": "src/Roslyn.Diagnostics.Analyzers/CSharp/CSharpAvoidOptSuffixForNullableEnableCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129328"
} | starcoder | <reponame>epananth/roslyn-analyzers
// 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 System;
using System.Collections.Immutable;
using System.Threading;
using Analyzer.Utilities;
using Analyzer.Utilit... | 1.747214 | 576525a9aabf170605c88b4388982c34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810109 | {
"extension": "c-sharp",
"max_stars_count": "151.0",
"max_stars_repo_name": "shirok1/Spectrogram",
"max_stars_repo_path": "src/Spectrogram.Tests/ColormapValues.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129329"
} | starcoder | using Microsoft.VisualStudio.TestPlatform.Utilities;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace Spectrogram.Tests
{
class ColormapValues
{
[Test]
public void Test_Colormap_ExtendedFractionsReturnEdgeValues()
... | 2.52365 | bfa1dd219332287248d5fa5d4629fcb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810110 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/CS/client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129330"
} | starcoder | <reponame>BohdanMosiyuk/samples<filename>snippets/csharp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/CS/client.cs
// <Snippet5>
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels.Tcp;
using System.Runtime.Remoting.Channels;
public class Client {
public static void M... | 2.571832 | 5a0fe4c4673372a283f839e864ca58b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iotbusters/assistant.net",
"max_stars_repo_path": "src/Storage/Abstractions/IStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129331"
} | starcoder | <reponame>iotbusters/assistant.net
using Assistant.Net.Unions;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Assistant.Net.Storage.Abstractions
{
/// <summary>
/// An abstraction over storing mechanism for specific <typeparamref name="TKey"/> and <typeparamref name="TValue"/... | 2.711265 | 13bcec03b7ef04bec58af26a2ec1808d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810112 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "oetyng/SAFE.AppendOnlyDb",
"max_stars_repo_path": "SAFE.AppendOnlyDb/Models/MdMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129332"
} | starcoder | <reponame>oetyng/SAFE.AppendOnlyDb<filename>SAFE.AppendOnlyDb/Models/MdMetadata.cs
namespace SAFE.AppendOnlyDb
{
internal class MdMetadata
{
public int Level; // tree level, set at init
public ulong StartIndex; // key of first item, set at init
public byte[] Snapshot;
public MdL... | 1.532091 | d64c67a289b360a824b8f0531d95519d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810113 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "deccer/Xacor",
"max_stars_repo_path": "Xacor/GraphicsOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129333"
} | starcoder | using System.Drawing;
namespace Xacor
{
public class GraphicsOptions
{
public RenderApi RenderApi { get; }
public Size WindowResolution { get; }
public Size RenderResolution { get; }
public WindowState WindowState { get; }
public bool VSync { get; }
public ... | 2.421403 | b6996c04843c6e6aeff452039e6fc392 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkinSpotlights/LoLCustomSharp",
"max_stars_repo_path": "LoLCustomSharp/OverlayPatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129334"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading;
namespace LoLCustomSharp
{
public class OverlayPatcher
{
... | 2.277238 | 556769fedb84eb3ae65781cdd1d0a140 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810115 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Seuleuzeuh/WPFTabTipW10",
"max_stars_repo_path": "WPFTabTip/Models/OSVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129335"
} | starcoder | <reponame>Seuleuzeuh/WPFTabTipW10
namespace WPFTabTipMixedHardware.Models
{
internal enum OSVersion
{
Undefined,
Win7,
Win8Or81,
Win10
}
}
| 1.151804 | 3585cd4406388873df99b9701723990f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810116 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kdcllc/Bet.Extensions.Resilience",
"max_stars_repo_path": "src/Bet.Extensions.Resilience.Data.SqlClient/Options/SqlPolicyOptionsKeys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129336"
} | starcoder | <gh_stars>1-10
namespace Bet.Extensions.Resilience.Data.SqlClient.Options
{
public static class SqlPolicyOptionsKeys
{
public const string DefaultHttpPolicy = "SqlPolicies";
public const string SqlAdvancedCircuitBreakerPolicy = nameof(SqlAdvancedCircuitBreakerPolicy);
public const stri... | 1.170381 | 0512e58cd535b74c7fe3d5b1e42bbadc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810117 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.SmsValidator/LINGYUN/Abp/IdentityServer/AbpIdentityServerSmsValidatorModule.cs",
"provenance": "train-000... | starcoder | <filename>aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.SmsValidator/LINGYUN/Abp/IdentityServer/AbpIdentityServerSmsValidatorModule.cs
using LINGYUN.Abp.IdentityServer.SmsValidator;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.IdentityServer;
using Volo.Abp.IdentityServer.Localization... | 1.79528 | 2ba3c84095b8202e6552042a2a8e7d5e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.