added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71333 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FransBouma/AdventOfCode2021",
"max_stars_repo_path": "src/AoC2021.Tests/Day14Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71334"
} | starcoder | using System;
using System.IO;
using AoC2021.Core;
using AoC2021.Core.Day14;
using NUnit.Framework;
namespace AoC2021.Tests
{
public class Day14Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Puzzle1_ExampleInput()
{
var input = InputReader.GetInputAsDay14PolymerProducer("..\\..\\..\\Pu... | 2.451777 | f594a1168d0975e9ed98c3a9e038dfb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71334 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "corefan/Mvc",
"max_stars_repo_path": "src/Microsoft.AspNet.Mvc.Core/Routing/ActionSelectionDecisionTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71335"
} | starcoder | // 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.Collections.Generic;
#if NET451
using System.ComponentModel;
#endif
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.... | 2.100078 | 7376b01481e42201112eb08c9b428ce5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/ProviderAddressTests/AddAddressPostcodePost/When_ModelState_IsInvalid.cs",
"provenance": "tra... | starcoder | <filename>src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/ProviderAddressTests/AddAddressPostcodePost/When_ModelState_IsInvalid.cs
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using Sfa.Tl.ResultsAndCertification.Common.Helpers;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.ProviderA... | 1.99314 | 3a6e6bbb6b47d2f4da63016c67e3ff08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "orjan/GitVersion",
"max_stars_repo_path": "src/GitVersionCore/Configuration/IncrementStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71337"
} | starcoder | namespace GitVersion
{
public enum IncrementStrategy
{
None,
Major,
Minor,
Patch,
/// <summary>
/// Uses the increment strategy from the branch the current branch was branched from
/// </summary>
Inherit
}
} | 2.468562 | c58bb85ff2e4e69ab4dfa01ff06e18f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71337 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "isabella232/google-cloud-visualstudio",
"max_stars_repo_path": "GoogleCloudExtension/GoogleCloudExtension.DataSources/GPlusDataSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71338"
} | starcoder | // Copyright 2016 Google Inc. All Rights Reserved.
//
// 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 applicabl... | 2.119073 | 719c6e7aadfcf3ad6e1e38a7f0b914da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BirgitBoss/aasx-package-explorer",
"max_stars_repo_path": "src/AasxGenerate/UriIdentifierRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71339"
} | starcoder | <filename>src/AasxGenerate/UriIdentifierRepository.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
us... | 2.501327 | bbb55eca21cb1d13366ea54e8d0ec1dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71339 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "fiseni/QuerySpecification",
"max_stars_repo_path": "QuerySpecification/tests/QuerySpecification.UnitTests/Fixture/Specs/StoresOrderedSpecByName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71340"
} | starcoder | <filename>QuerySpecification/tests/QuerySpecification.UnitTests/Fixture/Specs/StoresOrderedSpecByName.cs
using PozitronDev.QuerySpecification.UnitTests.Fixture.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace PozitronDev.QuerySpecification.UnitTests.Fixture.Specs
{
public cla... | 2.072152 | 945f6fb569fb5d95d2dc2f4ed24f9ccd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71340 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SkillsFundingAgency/das-employerapprenticeshipsservice",
"max_stars_repo_path": "src/SFA.DAS.EmployerFinance.UnitTests/Services/LevyTransferMatchingServiceTests/WhenIGetAPledgesCount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7... | starcoder | using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerFinance.Infrastructure.OuterApiRequests.Transfers;
using SFA.DAS.EmployerFinance.Infrastructure.OuterApiResponses.Transfers;
using SFA.DAS.EmployerFinance.Interfaces.OuterApi;
using SFA.DAS.EmployerFinance.Services;
namespace SFA.DA... | 2.164593 | 154a8aefdea05afa3a995021ad7a90a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71341 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbModel/DataContracts/Songs/ComparedSongsContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71342"
} | starcoder | #nullable disable
using VocaDb.Model.DataContracts.Versioning;
using VocaDb.Model.Domain.Songs;
namespace VocaDb.Model.DataContracts.Songs
{
public class ComparedSongsContract : ComparedVersionsContract<ArchivedSongContract>
{
public ComparedSongsContract(ComparedVersionsContract<ArchivedSongContract> co... | 2.096397 | 9983d7a6c0be68f1ce6ac6fad79db446 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71342 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fluffynuts/dotnet-utils",
"max_stars_repo_path": "shared.tests/TestArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71343"
} | starcoder | <filename>shared.tests/TestArgs.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NExpect;
using PeanutButter.Utils;
using static NExpect.Expectations;
using static PeanutButter.RandomGenerators.RandomValueGen;
namespace shared.tests
{
... | 2.573886 | b518fce6d0e2e6c63e243325c9e923eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71343 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emir3100/death-by-fury",
"max_stars_repo_path": "ActionGame/Assets/Scripts/Weapons/Missile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71344"
} | starcoder | <reponame>emir3100/death-by-fury
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Missile : MonoBehaviour
{
public GameObject[] ExplosionPrefabs;
public bool isToucing = false;
public float radius = 7;
public float explosionForce = 800f;
public float Dam... | 2.448903 | 3a8126427956c0892e7d55738afa6d5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IliyanIlievPH/MAVN.Service.DashboardStatistics",
"max_stars_repo_path": "client/MAVN.Service.DashboardStatistics.Client/Models/VoucherStatistic/VoucherDailyStatisticsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71345"
} | starcoder | using System;
namespace MAVN.Service.DashboardStatistics.Client.Models.VoucherStatistic
{
/// <summary>
/// Model for daily statistics of smart vouchers
/// </summary>
public class VoucherDailyStatisticsModel
{
/// <summary>
/// date
/// </summary>
public DateTime D... | 1.896364 | 60fcb6312ef442e7b3a6afba1baf4825 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71345 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Data/YJC.Toolkit.AdoData/Data/ISqlDataAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71346"
} | starcoder | using System.Data;
namespace YJC.Toolkit.Data
{
internal interface ISqlDataAdapter : IDbDataSource
{
IDbDataAdapter DataAdapter { get; }
}
}
| 1.56527 | f3f904d6fdc2cdd5bc2d28bc3007d6f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71346 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DepletedNova/CustomParagons",
"max_stars_repo_path": "MagicParagons/Towers/Sub/ParagonPheonix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71347"
} | starcoder | using Assets.Scripts.Models.Towers;
using Assets.Scripts.Models.Towers.Behaviors;
using Assets.Scripts.Models.Towers.Behaviors.Attack;
using Assets.Scripts.Models.Towers.Behaviors.Attack.Behaviors;
using Assets.Scripts.Models.Towers.Filters;
using Assets.Scripts.Models.Towers.Projectiles.Behaviors;
using Assets.Script... | 1.558738 | eb81c9e6a643a8f0ecf5a044a0a9a3c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71347 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sartrey/vapula",
"max_stars_repo_path": "Model/vf_flow_x/Model/Node/Nodes/NodeBatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71348"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using Vapula.Helper;
using Vapula.Model;
namespace Vapula.Flow
{
/// <summary>
/// 节点:批处理
/// </summary>
public class NodeBatch : Node
{
public override NodeType Type
{
get { return NodeType.Batch; }
}
pu... | 1.82722 | 04979b5c5eaa8b7e1cc64de997c23eae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taidevops/reverse-proxy",
"max_stars_repo_path": "src/OperatorFramework/test/UnitTests/Controller/Rate/ReservationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71349"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Kubernetes.Fakes;
using System;
using Xunit;
namespace Microsoft.Kubernetes.Controller.Rate;
public class ReservationTests
{
[Fact]
public void NotOkayAlwaysReturnsMaxValueDelay()
{
var clock = new FakeSys... | 2.242432 | 7f1588c16ad2a45dadba314a5e0c3e98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71349 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "tgjones/rasterizr",
"max_stars_repo_path": "src/Rasterizr/Pipeline/Rasterizer/ShaderOutputInputBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71350"
} | starcoder | using SlimShader.Chunks.Common;
using SlimShader.Chunks.Shex;
using SlimShader.Chunks.Xsgn;
namespace Rasterizr.Pipeline.Rasterizer
{
internal class ShaderOutputInputBinding
{
public int Register;
public ComponentMask ComponentMask;
public InterpolationMode InterpolationMode;
p... | 1.165775 | 70a26bdcc431978785ff3e22f8906c56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cambloid/ABU_Cards",
"max_stars_repo_path": "ABU_Cards/Cards/CardGroup/Year2018/Card_005.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71351"
} | starcoder | <reponame>Cambloid/ABU_Cards<gh_stars>0
using ABU_Cards.Cards.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ABU_Cards.AnswerBox.Base;
using System.Windows.Forms;
namespace ABU_Cards.Cards.CardGroup.Year2018
{
/// <summary>
///
... | 2.487324 | 12042d4ae64669b0982a900c1e138615 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71351 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "sergegommers/OpenSleigh",
"max_stars_repo_path": "tests/OpenSleigh.Core.Tests/Unit/BackgroundServices/OutboxBackgroundServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71352"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NSubstitute;
using OpenSleigh.Core.BackgroundServices;
using OpenSleigh.Core.Messaging;
using Xunit;
namespace OpenSleigh.Core.Tests.Unit.BackgroundServices
{
... | 2.141325 | 37b8a10b1911e29e8b3134070a9a7fb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Literal92/CrawlRadio",
"max_stars_repo_path": "src/MusicProject.Services/Contracts/Content/IContentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71353"
} | starcoder | <filename>src/MusicProject.Services/Contracts/Content/IContentService.cs
using Microsoft.AspNetCore.Http;
using MusicProject.ViewModels.Content;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace MusicProject.Services.Contracts.Content
{
public inte... | 1.809163 | 032ea5890e4f7930f2f20e82f57d57f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71353 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "nminchow/HeyListen",
"max_stars_repo_path": "HeyListen/Modules/Info.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71354"
} | starcoder | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using HeyListen.Controllers.Admin;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HeyListen.Controllers.Info;
namespace HeyListen.Modules
{
public class Info : ModuleBase<SocketCommandContext>
{
priva... | 2.219273 | c48cd782aef7a55e9963b47475aeece9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71354 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "gagandeepp/vonage-dotnet-sdk",
"max_stars_repo_path": "Nexmo.Api.Test.Unit/Legacy/NumberVerifyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71355"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Nexmo.Api.Test.Unit.Legacy
{
public class NumberVerifyTest : TestBase
{
[Theory]
[InlineData(false)]
[InlineData(true)]
public void SendControl(bool passCreds)
{
//ARR... | 2.114295 | f9379f02998cbf6c0faab44bf0634dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71355 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "deuko/UnifiedOddsSdkNet",
"max_stars_repo_path": "src/Sportradar.OddsFeed.SDK.API/ISportDataProviderV3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71356"
} | starcoder | /*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Sportradar.OddsFeed.SDK.Entities.REST;
using Sportradar.OddsFeed.SDK.Messages;
namespace Sportradar.OddsFeed.SDK.API
{
/// <summar... | 2.214975 | baae01f6e7a3f58e9c665b1d504a59fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71356 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "developers-payu-latam/payu-latam-net-payments-sdk",
"max_stars_repo_path": "PayuNetSdk/PayU/Messages/CreditCardRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71357"
} | starcoder | <reponame>developers-payu-latam/payu-latam-net-payments-sdk
// <copyright file="CreditCardRequest.cs" company="PayU Latam">
// PayU Latam. All rights reserved.
// </copyright>
// <author><NAME></author>
namespace PayuNetSdk.PayU.Messages
{
using PayuNetSdk.PayU.Model.RecurringPayments;
/// <summary>
/... | 1.348641 | 1628c63c67496e3b651d73b47072210c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ubspy/PhysicsSim",
"max_stars_repo_path": "Assets/Scripts/MusicSelection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71358"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MusicSelection : MonoBehaviour
{
// Private audio source file grabbed from camera object
private AudioSource audio;
// Public audio clip files
public AudioClip map1, map2, map3, map4, map5, map6;
void Start ()
... | 2.783365 | 2cb54d8d50eace0e18113bd05f055ca5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71358 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "pawlos/RserveCLI2",
"max_stars_repo_path": "RServeCLI2/Async.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71359"
} | starcoder | <reponame>pawlos/RserveCLI2
//-----------------------------------------------------------------------
// Original work Copyright (c) 2015, <NAME>. All rights reserved.
// Portions Copyright (c) Microsoft. All rights reserved.
//-----------------------------------------------------------------------
namespace RserveCLI... | 2.488168 | abc261b184dc6f58bf2df5c50216420d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soulbox/TWINX",
"max_stars_repo_path": "Printooth/PrintoothCore/Devices/IDeviceBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71360"
} | starcoder | <reponame>soulbox/TWINX
using System;
using System.Collections.Generic;
using System.Text;
namespace PrintoothCore.Devices
{
public interface IDeviceBase
{
byte[] Reciept { get; set; }
}
}
| 1.408136 | e83e56e3f61ca4850d486383bc0c7a6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zory/HexMapLibrary",
"max_stars_repo_path": "Assets/Wunderwunsch/Examples/Scripts/GenericExample1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71361"
} | starcoder | <reponame>zory/HexMapLibrary<filename>Assets/Wunderwunsch/Examples/Scripts/GenericExample1.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Wunderwunsch.HexMapLibrary;
using Wunderwunsch.HexMapLibrary.Generic;
#if ENABLE_INPUT_SYSTEM
using UnityEngine.InputSystem;
#endif
namespa... | 2.605673 | 53cf4d765a89ded573643fad779779c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chiccomotta/EasyNetQTest",
"max_stars_repo_path": "Subscriber/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71362"
} | starcoder | <filename>Subscriber/Program.cs
using System;
using System.Threading.Tasks;
using EasyNetQ;
using Messages;
namespace Subscriber
{
class Program
{
static void Main(string[] args)
{
using (var bus = RabbitHutch.CreateBus("host=localhost"))
{
... | 3.327429 | d64e13a30f13aae7f670098d223cdaca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenshinthebattosai/DotNetAnalytics.Google",
"max_stars_repo_path": "src/LinqAn.Google/Dimensions/Dimension187.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71363"
} | starcoder | using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
/// <summary>
/// The name of the requested custom dimension, where 187 refers the number/index of the custom dimension.
/// </summary>
[Description("The name of the requested custom dimension, where 187 refers the number/index of the custom dimens... | 2.381095 | 7afc9e01e0b3c0ef0ce177d09a6ed9b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71363 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "collector-bank/serilog-enricher-sensitiveinformation",
"max_stars_repo_path": "src/Collector.Serilog.Enrichers.SensitiveInformation/DestructuringPolicies/SensitiveInformationPropertyMarkingDestructuringPolicy.cs",
"provenance": "trai... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Collector.Serilog.Enrichers.SensitiveInformation.Util;
using Serilog.Core;
using Serilog.Events;
namespace Collector.Serilog.Enrichers.SensitiveInformation.DestructuringPolicies
{
internal class SensitiveInfo... | 2.519091 | 65b01051c9a17784ab5a7e5ee2e76783 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71364 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "EternalQuasar0206/git-grabber",
"max_stars_repo_path": "GitGrabber.Tests/Activity/GithubCommitTestsAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71365"
} | starcoder | <reponame>EternalQuasar0206/git-grabber
using GitGrabber.Abstractions.Connections;
using GitGrabber.Abstractions.Services;
using GitGrabber.Activity;
using GitGrabber.Connections;
using GitGrabber.Misc;
using GitGrabber.Services;
using GitGrabber.Social;
using GitGrabber.Tests.ConfigModels;
using System;
using System.... | 2.181452 | 2eda28f004168ec6c892401c780b786b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71365 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "dazinator/Dotnettency",
"max_stars_repo_path": "src/Dotnettency/Mapping/TenantMappingArrayBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71366"
} | starcoder | <filename>src/Dotnettency/Mapping/TenantMappingArrayBuilder.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
namespace Dotnettency.Mapping
{
public class TenantMappingArrayBuilder<TKey>
{
private List<TenantMapping<TKey>> _list = new List<TenantMapping<TKey>>();
public voi... | 2.820551 | 63c8997b6044084e5caf7589c9adb7ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "herculys2/Flappy-Flor-Livre",
"max_stars_repo_path": "Assets/Flappy Flor/Scripts/Flappy Flor/Game Logic/Moedas_controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71367"
} | starcoder | <reponame>herculys2/Flappy-Flor-Livre
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Moedas_controller : MonoBehaviour
{
public static Moedas_controller instance;
[Header("Lógica das Moedas")]
public int moedas;
private void Awake()
{
//SINGLET... | 2.057921 | 3b90b4485d6c7ad84a5267610eac79b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TizianoHrabinskiRuta/Mayor-de-3",
"max_stars_repo_path": "Assets/ScriptsFolder/Ejercicio10.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71368"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ejercicio10 : MonoBehaviour
{
int HORA_APERTURA = 10;
int HORA_CIERRE = 18;
bool estaAbierto;
public int HoraActual;
// Start is called before the first frame update
void Start()
... | 2.070099 | 12e1dc84230e242f35ef3c609a4b65d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71368 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DFE-Digital/get-into-teaching-api",
"max_stars_repo_path": "GetIntoTeachingApiTests/Models/Validators/ClientValidatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71369"
} | starcoder | <gh_stars>1-10
using FluentAssertions;
using FluentValidation.TestHelper;
using GetIntoTeachingApi.Models;
using GetIntoTeachingApi.Models.Validators;
using Xunit;
namespace GetIntoTeachingApiTests.Models.Validators
{
public class ClientValidatorTests
{
private readonly ClientValidator _validator;
... | 2.432136 | e6d5ebd1b6e01d21a17f7544d6046aeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71369 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "FlorianLiebeskind/MVVM-Samples",
"max_stars_repo_path": "samples/MvvmSample.Core/Services/ISettingsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71370"
} | 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 System.Diagnostics.Contracts;
namespace MvvmSample.Core.Services
{
/// <summary>
/// T... | 2.793136 | 4ff1717f0d6f765758adda8bc6adac43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KDahir247/DOTSAnimationPratice",
"max_stars_repo_path": "Assets/Scripts/ECS/Animation/System/005/BlendTree1DSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71371"
} | starcoder | <reponame>KDahir247/DOTSAnimationPratice
using Unity.Animation;
using Unity.DataFlowGraph;
using Unity.Entities;
public sealed class BlendTree1DSystem : BlendTree1DSystemBase
{
protected override void CreateGraph(Entity entity, ref Rig rig, ref BlendTree1DRuntime blendTreeData)
{
var ecb = EcbSystem.CreateCommand... | 1.793106 | ee49554e0762a10f7150388cdd00bb12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71371 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nhs-digital-gp-it-futures/Buying-Catalogue-Private-Beta",
"max_stars_repo_path": "crm/src/Gif.Service/Services/StandardsApplicableReviewsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71372"
} | starcoder | #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System;
using Gif.Service.Attributes;
using Gif.Service.Contracts;
using Gif.Service.Crm;
using Gif.Service.Models;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Linq;
namespace Gif.Service.Ser... | 2.137636 | 428f472a5b70649914ccb56f2ebe1b06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71372 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zulkir/ClarityWorlds",
"max_stars_repo_path": "Source/Clarity.Ext.Gui.EtoForms/StoryGraph/StoryGraphGui.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71373"
} | starcoder | <gh_stars>1-10
using Clarity.App.Worlds.StoryGraph;
using Clarity.App.Worlds.Views;
using Clarity.App.Worlds.WorldTree;
using Eto.Forms;
namespace Clarity.Ext.Gui.EtoForms.StoryGraph
{
public class StoryGraphGui : IStoryGraphGui
{
public Command ViewStoryGraphCommand { get; }
public StoryGrap... | 1.644933 | a327aa8e8553d45e40ee09ee86ae8279 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mitkokazakov/C-OOP",
"max_stars_repo_path": "Encapsulation/ShoppingSpree/Engine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71374"
} | starcoder | using ShoppingSpree.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace ShoppingSpree
{
public class Engine
{
private List<Person> people;
private List<Product> products;
public Engine()
{
this.people = new List<P... | 3.527735 | 86aeabbba77b1c0d5e57806c22f36275 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71374 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "junalmeida/tenor-framework",
"max_stars_repo_path": "Tenor/Mail/MailMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71375"
} | starcoder | using System.Diagnostics;
using System;
using System.Collections;
using Tenor.Data;
using System.Data;
using System.Collections.Generic;
using System.IO;
using System.Net.Mail;
namespace Tenor.Mail
{
/// <summary>
/// The MailMessage class can be used to send emails using either text and html t... | 2.913384 | a5dec4c73bd9b3ae051715d7d8e3d44e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jarena3/JLSScheduler",
"max_stars_repo_path": "JLSScheduler/Forms/CustomHolidayForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71376"
} | starcoder | namespace JLSScheduler.Forms
{
partial class CustomHolidayForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.328914 | 946cbe6487b5d4544522a829228ab499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71376 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbModel/Database/Queries/Partial/UpdateEventNamesQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71377"
} | starcoder | <gh_stars>100-1000
#nullable disable
using NLog;
using System.Collections.Generic;
using System.Linq;
using VocaDb.Model.Database.Repositories;
using VocaDb.Model.DataContracts;
using VocaDb.Model.Domain;
using VocaDb.Model.Domain.Globalization;
using VocaDb.Model.Domain.ReleaseEvents;
using VocaDb.Model.Hel... | 2.540218 | bf0a4e3c688cd29e0a1a0f1216ee09b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkoritzinsky/aspnetcore",
"max_stars_repo_path": "src/Shared/TryParseMethodCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71378"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Linq.E... | 2.119925 | a4a9bf7a0ffa56e3def72aa20f50816d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douglaswdias/Start-GameDev",
"max_stars_repo_path": "Assets/Scripts/Dialogue/DialogueSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71379"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CreateAssetMenu(fileName = "New Dialogue", menuName = "Dialogue/New Dialogue")]
public class DialogueSettings : ScriptableObject
{
[Header("Settings")]
public GameObject actor;
[Header("Dialogue")... | 2.051855 | a7aa5453fcb60425e63e3b287737137b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakehyvonen/DeviceBatchWPF",
"max_stars_repo_path": "DeviceBatchWPF/Windows/DevBatchVoltageSweepSchedulingWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71380"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Med... | 1.948421 | 28ea73a5e28257350a219e8f64093d50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "verticalsoftware/vertical-csdependencies",
"max_stars_repo_path": "src/Vertical/Tools/CSharpDependencies/Services/OutputFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71381"
} | starcoder | <filename>src/Vertical/Tools/CSharpDependencies/Services/OutputFormatter.cs
// Copyright(c) 2019 Vertical Software - All rights reserved
//
// This code file has been made available under the terms of the
// MIT license. Please refer to LICENSE.txt in the root directory
// or refer to https://opensource.org/licenses/MI... | 2.735367 | 186aa6015d25ca31cbadf2e90e0ff697 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71381 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "phongnguyend/DddDotNet",
"max_stars_repo_path": "src/DddDotNet/DddDotNet.Infrastructure/Excel/EPPlus/ExcelWorksheetExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71382"
} | starcoder | <reponame>phongnguyend/DddDotNet
using OfficeOpenXml;
using System;
using System.Collections.Generic;
namespace DddDotNet.Infrastructure.Excel.EPPlus
{
public static class ExcelWorksheetExtensions
{
public static string GetCellValue(this ExcelWorksheet worksheet, string col, int row)
{
... | 2.47596 | 4110216c9a5d2755629ab6abe3552f69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71382 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Zamir7/Urho3DMaterialGraphEditor",
"max_stars_repo_path": "src/Urho3DMaterialEditor.Unit.Tests/Model/TranslationPasses/InsertVaryingsTestFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71383"
} | starcoder | <filename>src/Urho3DMaterialEditor.Unit.Tests/Model/TranslationPasses/InsertVaryingsTestFixture.cs
using System.Linq;
using NUnit.Framework;
using Toe.Scripting.Helpers;
namespace Urho3DMaterialEditor.Model.TranslationPasses
{
[TestFixture]
public class InsertVaryingsTestFixture : BaseTestFixture
{
... | 2.146941 | c5dc8174f65bed41f8235211a4c14b00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71383 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "inspoy/Instech",
"max_stars_repo_path": "SampleProject~/Assets/Scripts/MyGameMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71384"
} | starcoder | <reponame>inspoy/Instech
// == SampleProject~ ==
// Assembly: Game
// FileName: MyGameMain.cs
// Created on 2021/07/12 by inspoy
// All rights reserved.
using Game.GameState;
using Instech.Framework.Common;
using Instech.Framework.Gameplay;
using JetBrains.Annotations;
using UnityEngine;
namespace Game
{
[UsedImp... | 1.891705 | d1bad4c4092b5a793e183c959984fefa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71384 | {
"extension": "c-sharp",
"max_stars_count": "415.0",
"max_stars_repo_name": "xuejmnet/sharding-core",
"max_stars_repo_path": "src/ShardingCore/Sharding/MergeEngines/AggregateMergeEngines/SumAsyncInMemoryMergeEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71385"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using ShardingCore.Exceptions;
using ShardingCore.Extension... | 2.097282 | 296f6c96e16ce68744d357dd52e63c3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71385 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LucidDion/TASC-Extensions",
"max_stars_repo_path": "TASCExtensions/TASCExtensions/WPPO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71386"
} | starcoder | <reponame>LucidDion/TASC-Extensions
using QuantaculaCore;
using QuantaculaIndicators;
using System.Collections.Generic;
using System.Drawing;
namespace TASCExtensions
{
public class WPPO : IndicatorBase
{
//constructors
public WPPO() : base()
{
}
public WPPO(TimeSeries ... | 2.683232 | c21cc6df39b26dbcdb0ff2828dab67d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71386 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tralivali1234/vs-threading",
"max_stars_repo_path": "src/Microsoft.VisualStudio.Threading/AsyncBarrier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71387"
} | starcoder | <reponame>tralivali1234/vs-threading
/********************************************************
* *
* © Copyright (C) Microsoft. All rights reserved. *
* *
***********************************************... | 2.946944 | e1bd5c08ddf5002e21de3b328e41656f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71387 | {
"extension": "c-sharp",
"max_stars_count": "932.0",
"max_stars_repo_name": "punker76/snoopwpf",
"max_stars_repo_path": "Snoop.Core/Views/TriggersTab/Triggers/TriggerItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71388"
} | starcoder | namespace Snoop.Views.TriggersTab.Triggers
{
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Snoop.Infrastructure.Helpers;
public class TriggerItem : TriggerItemBase
{
private readonly DependencyObject source;
private readonly Trigger trigger;
... | 2.428685 | 6cd031a0448d99bc023a4f0787cebef9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeStiCap/DSC-Input",
"max_stars_repo_path": "Scripts/Controllers/DSC_Input_Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71389"
} | starcoder | using DSC.Core;
using UnityEngine;
using UnityEngine.InputSystem;
using static UnityEngine.InputSystem.InputAction;
namespace DSC.Input
{
[RequireComponent(typeof(PlayerInput))]
public class DSC_Input_Player : MonoBehaviour
{
#region Variable
PlayerInput m_hInput;
int m_nPlayerID... | 1.816969 | e95430a8694b5ddbc862db51e42b677f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PROCESIO/procesio-sdk-dotnet",
"max_stars_repo_path": "ProcesioSDK/Contracts/IUploadResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71390"
} | starcoder | using Newtonsoft.Json;
namespace ProcesioSDK.Contracts
{
public interface IUploadResponse
{
[JsonProperty("id")]
string FileID { get; set; }
}
}
| 1.718992 | ac95bf97ee093b8a096c4451ffc2ef3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71390 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "Jcw87/SteamWebAPI2",
"max_stars_repo_path": "src/SteamWebAPI2/Mappings/SteamRemoteStorageProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71391"
} | starcoder | <reponame>Jcw87/SteamWebAPI2
using System.Collections.Generic;
using AutoMapper;
using Steam.Models;
using SteamWebAPI2.Models;
using System.Linq;
using System;
namespace SteamWebAPI2.Mappings
{
public class SteamRemoteStorageProfile : Profile
{
public SteamRemoteStorageProfile()
{
... | 2.044366 | 9927f2a10da9434e8de79614ee7da279 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saifabushamma/laravelTask",
"max_stars_repo_path": "WB04HF123/netcore-static/Angle/Angle/Views/Extras/Mailbox.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71392"
} | starcoder | <gh_stars>0
@{
ViewBag.Title = "Mailbox";
}
<div class="content-heading">MailBox</div>
<div class="row">
<div class="col-xl-3 col-lg-4">
<div class="d-flex mb-2">
<a class="btn btn-purple btn-sm mb-compose-button" href="#">
<em class="fas fa-pencil-alt"></em>
<span... | 1.765619 | d8e9aa4a0a2ddc9fe035721e49d93056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "illegitimis/AspNetCore.Diagnostics.HealthChecks",
"max_stars_repo_path": "src/HealthChecks.UI/Core/HostedService/IHealthCheckReportCollector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71393"
} | starcoder | <gh_stars>0
namespace HealthChecks.UI.Core.HostedService
{
internal interface IHealthCheckReportCollector
{
Task Collect(CancellationToken cancellationToken);
}
}
| 0.738054 | bb43af4564101d020eca10ed0f76ed5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71393 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pdxparrot/ggj2020",
"max_stars_repo_path": "Assets/Scripts/ggj2020/Players/MechanicBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71394"
} | starcoder | <gh_stars>1-10
using System;
using JetBrains.Annotations;
using pdxpartyparrot.Core.Effects;
using pdxpartyparrot.Core.Effects.EffectTriggerComponents;
using pdxpartyparrot.Core.Util;
using pdxpartyparrot.Core.World;
using pdxpartyparrot.Game.Interactables;
using pdxpartyparrot.ggj2020.Actors;
using pdxpartyparrot.gg... | 1.646974 | 8f24218df9d2b6dff1448412f26292be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71394 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "andrew-bn/ObjectSql",
"max_stars_repo_path": "tests/ObjectSql.Test/CoreTests/InsertionInfoExtractorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71395"
} | starcoder | //using Moq;
//using ObjectSql.Core.QueryBuilder.InfoExtractor;
//using ObjectSql.Core.SchemaManager;
//using ObjectSql.Core.Bo;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Linq.Expressions;
//using System.Text;
//using System.Threading.Tasks;
//using ObjectSql.Core.SchemaMa... | 2.20842 | cb7d27ddfc0fa108bc919ded71d66ed8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larspl/Expand",
"max_stars_repo_path": "Xpand/Xpand.ExpressApp.Modules/WorldCreator/NodeUpdaters/ShowOwnerForExtendedMembersUpdater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71396"
} | starcoder | <filename>Xpand/Xpand.ExpressApp.Modules/WorldCreator/NodeUpdaters/ShowOwnerForExtendedMembersUpdater.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
using DevExpress.ExpressApp.Model.NodeGenerators;
using Xp... | 1.862975 | 2ba1599f481854784b0c7db8a3a42a35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71396 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2644783865/fytsoa_3.1",
"max_stars_repo_path": "src/FytSoa.Application/Filters/AuditLogActionFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71397"
} | starcoder | using System;
using System.Diagnostics;
using System.Reflection;
using System.Threading.Tasks;
using FytSoa.Application.Interfaces;
using FytSoa.Domain.Models.Sys;
using FytSoa.Infra.Common;
using FytSoa.Infra.Common.Logger;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.Asp... | 2.277868 | 45005dadb5f9349e44a5b6d31bd54915 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71397 | {
"extension": "c-sharp",
"max_stars_count": "198.0",
"max_stars_repo_name": "azraelrabbit/MQTTnet",
"max_stars_repo_path": "Source/MQTTnet/Protocol/MqttUnsubscribeReasonCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71398"
} | starcoder | <reponame>azraelrabbit/MQTTnet<gh_stars>100-1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace MQTTnet.Protocol
{
public enum MqttUnsubscribeReasonC... | 1.4454 | fac7729648a8d4f15b179aa3c6caa8df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ringostarr80/RL.Gnu",
"max_stars_repo_path": "libc/MemorySubsystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71399"
} | starcoder | <filename>libc/MemorySubsystem.cs
using System.Runtime.InteropServices;
namespace RL.Gnu
{
/// <summary>
/// This is a wrapper-class for several libc functions.
/// </summary>
public partial class libc
{
/// <summary>
/// The <c>getpagesize</c> function returns the page size of the process. This valu... | 2.480377 | 1947e506d030448827eda8cac2365447 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDuke/PgNet",
"max_stars_repo_path": "src/PgNet/TransactionStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71400"
} | starcoder | <reponame>CDuke/PgNet
namespace PgNet
{
internal static class TransactionStatus
{
/// <summary>
/// Idle (not in a transaction block).
/// </summary>
public const byte Idle = (byte)'I';
/// <summary>
/// In a transaction block.
/// </summary>
publ... | 2.070123 | d2dc8fdcd6a586fd8efcf32eab992584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71400 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "theGusPassos/unity-finite-state-machine",
"max_stars_repo_path": "Assets/Scripts/Controller/CharacterController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71401"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Assets.Scripts.Controller
{
[RequireComponent(typeof(CustomCollision))]
public class CharacterController : MonoBehaviour
{
private CustomCollision collision;
private Vector2 currentVelocity;
[SerializeField] private float maxJumpHeight;
... | 2.291946 | 15586163b305e8b64f310df1ef1b4320 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71401 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BBGONE/JRIApp.Core",
"max_stars_repo_path": "DEMOS/RIAppDemoMVC/RIAppDemo/Views/Demo/BindingsDemo.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71402"
} | starcoder | <reponame>BBGONE/JRIApp.Core
@{
Layout = "~/Views/Shared/_LayoutDemo.cshtml";
}
@{
ViewBag.Title = "Data Binding Demo";
}
@section CssImport
{
<link href="~/js/jquery/external/MonthPicker.min.css" rel="stylesheet" />
<style type="text/css">
#demoContent {
height: 600px;
... | 2.390471 | bea50ce72bcd21c6a3c1fd5274b991f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ronaldme/SupportManager",
"max_stars_repo_path": "SupportManager.Web/Features/User/EmailAddressCreateModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71403"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace SupportManager.Web.Features.User
{
public class EmailAddressCreateModel
{
[Required(AllowEmptyStrings = false)]
[EmailAddress]
public string Value { get; set; }
}
} | 1.937796 | 48e8fd118f00e29bfd60aaf90bad05d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71403 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "litetex/TopGHRepos",
"max_stars_repo_path": "src/TopGHRepos.Data/Migrations/20200824201437_InitialCreate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71404"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TopGHRepos.Data.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "RepositoryInfos... | 2.229744 | 9db28e4006ed3588633ba68f09d9dfcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VSwami01/CineHub",
"max_stars_repo_path": "CineHub/CineHubWebApi/CineHubInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71405"
} | starcoder | <reponame>VSwami01/CineHub<filename>CineHub/CineHubWebApi/CineHubInitializer.cs
using CineHubWebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CineHubWebApi
{
public class CineHubInitializer : CreateDatabaseIfNotExists<CineHubDBContext>
... | 2.170047 | ec90051c2ddd8b4ab59c656fb68daa6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71405 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "s2atoru/RayStationScripts",
"max_stars_repo_path": "OptimizationRepeater/Views/OptimizationRepeaterView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71406"
} | starcoder | <filename>OptimizationRepeater/Views/OptimizationRepeaterView.xaml.cs
using System.Windows.Controls;
namespace OptimizationRepeater.Views
{
/// <summary>
/// Interaction logic for OptimizationRepeaterView.xaml
/// </summary>
public partial class OptimizationRepeaterView : UserControl
{
pub... | 1.375954 | 07485354a830455a024fe230af2d16cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codescene-org/das-assessor-service",
"max_stars_repo_path": "src/SFA.DAS.AssessorService.Domain/Entities/SearchData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71407"
} | starcoder | <gh_stars>0
namespace SFA.DAS.AssessorService.Domain.Entities
{
public class SearchData
{
public bool? IsPrivatelyFunded { get; set; }
}
}
| 0.893295 | 2f825369a98e2d0eb94424458ab9cddb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "canthonyparkinson/StringParse",
"max_stars_repo_path": "StringParseTests/TestInt8.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71408"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ca.canthonyparkinson.StringParse;
namespace StringParseTests
{
[TestClass]
public class TestInt8 : TestIntegerType<SByte>
{
protected override string GoodInput => "123";
protected override SByte GoodResult => 123;
... | 2.386599 | 6224c2a1eaf6fc9f04ceb3682b62eff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71408 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dolittle/Runtime",
"max_stars_repo_path": "Source/Events.Processing.Management/EventHandlers/EventHandlersService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71409"
} | starcoder | <gh_stars>10-100
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dolittle.Runtime.ApplicationModel;
using Dolittle.Runtime.Artif... | 1.634086 | 7c471df2c3f52220a690d168af9e857c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71409 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "perforce/p4exp",
"max_stars_repo_path": "UsersBrowserDlg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71410"
} | starcoder | <reponame>perforce/p4exp
using Perforce.P4;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace P4EXP
{
public partial class UsersBrowserDlg : AutoSizeForm
{
private System... | 2.230554 | c4fa030d158da995e38f4bcffcfe37ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ipetk0v/InvenioReportingSystem",
"max_stars_repo_path": "Presentation/Invenio.Web/Invenio.Web/Administration/Models/Criteria/CriteriaListModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71411"
} | starcoder | using Invenio.Web.Framework.Mvc;
namespace Invenio.Admin.Models.Criteria
{
public class CriteriaListModel : BaseNopModel
{
}
} | 0.659893 | 60dc4c7458ae3a7b6c0267603865458c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71411 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ThomasBarnekow/Open-XML-Extensions",
"max_stars_repo_path": "ContractArchitect.OpenXml.Extensions/Transformation/WordprocessingDocumentTransformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71412"
} | starcoder | <reponame>ThomasBarnekow/Open-XML-Extensions<filename>ContractArchitect.OpenXml.Extensions/Transformation/WordprocessingDocumentTransformation.cs
/*
* WordprocessingDocumentTransformation.cs - Transformations for WordprocessingDocuments
*
* Copyright 2014-2015 <NAME>
*
* Licensed under the Apache License, Version... | 2.451614 | 26aad464818e9b89c9e962ac02b2e505 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71412 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Danielku15/Bridge",
"max_stars_repo_path": "Tests/Batch3/BridgeIssues/0700/N708.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71413"
} | starcoder | <filename>Tests/Batch3/BridgeIssues/0700/N708.cs
using Bridge.Test.NUnit;
using System;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
// Bridge[#708]
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#708 - {0}")]
public class Bridge708
{
[Test(ExpectedCount = 1)]
... | 2.507029 | 2eca653f61bb9ce146542115dfe04dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PaulMardar/mi-casa-es-su-casa",
"max_stars_repo_path": "C#/Vending Machine/Vending Machine/VendingMachine/PresentationLayer/Pay/ICashPaymentView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71414"
} | starcoder | namespace iQuest.VendingMachine.PresentationLayer.Pay
{
public interface ICashPaymentView
{
float AskForMoney();
void GiveBackChange(float change);
}
} | 1.619653 | dc9408ca742ae353adf265be40a6a4b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71414 | {
"extension": "c-sharp",
"max_stars_count": "470.0",
"max_stars_repo_name": "brendonparker/Device.Net",
"max_stars_repo_path": "src/Usb.Net/UsbInterfaceBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71415"
} | starcoder | <reponame>brendonparker/Device.Net
using Device.Net;
using Device.Net.Exceptions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Usb.Net
{
/// <s... | 2.248792 | c35fad3393ff2841dc68b61175e1365a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keeed/DUMS",
"max_stars_repo_path": "DUMS.Core.Contract/UserManagement/Objects/Response/UserManagementResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71416"
} | starcoder | <filename>DUMS.Core.Contract/UserManagement/Objects/Response/UserManagementResponse.cs<gh_stars>0
using System.Collections.Generic;
using System.Runtime.Serialization;
using DUMS.Core.Contract.UserManagement.Enums;
namespace DUMS.Core.Contract.UserManagement.Objects.Response
{
/// <summary>
/// Response objec... | 2.621671 | de5f4fab75eef471ff21272f13781407 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Platform-Agile-Software/PAF-Community",
"max_stars_repo_path": "PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreStandard/FrameworkServices/Collections/Exceptions/PAFIncompatibleCollectionEntryExceptionData.cs",
"provenance": "tra... | starcoder | using System;
using PlatformAgileFramework.Logging;
using PlatformAgileFramework.Serializing.Attributes;
namespace PlatformAgileFramework.Collections.Exceptions
{
/// <summary>
/// Sealed version of <see cref="PAFIncompatibleCollectionEntryExceptionDataBase"/>.
/// </summary>
[PAFSerializable]
public s... | 1.931138 | a85a58d4f096d3de5b63400784f74513 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elrod68/Hands-On-Machine-Learning-for-.NET-Developers-V",
"max_stars_repo_path": "Section_5_Recommender/Src_5_3_END/RestaurantRecommender/ModelInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71418"
} | starcoder | using Microsoft.ML.Data;
namespace RestaurantRecommender
{
//UserId RestaurantName TotalRating
public class ModelInput
{
[LoadColumn(0)]
public string UserId { get; set; }
[LoadColumn(1)]
public string RestaurantName { get; set; }
[LoadColumn(2)]
public f... | 1.996426 | bb4dbf49fc92dc2c1cc1641d51edaa0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71418 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ZGRTech/Arinna",
"max_stars_repo_path": "nortwind/Arinna.Northwind.OrderService.Application/Dto/OrderShipDetailUpdateDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71419"
} | starcoder | <reponame>ZGRTech/Arinna<filename>nortwind/Arinna.Northwind.OrderService.Application/Dto/OrderShipDetailUpdateDto.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Arinna.Northwind.OrderService.Application.Dto
{
[Serializable]
public class OrderShipDetailUpdateDto
{
p... | 1.8989 | 4dca18b309692520207ec552f8b83442 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taori/ResharperIssues",
"max_stars_repo_path": "All/RIDER-33129-1/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71420"
} | starcoder | <reponame>taori/ResharperIssues
@using RIDER_33129_1
@using RIDER_33129_1.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.077203 | 07ed83c1d718955a45a0efb6a3ac05ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exostin/Super-Cube-Boy-3D",
"max_stars_repo_path": "Assets/Scripts/UI Scripts/StartMenuController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71421"
} | starcoder | <reponame>exostin/Super-Cube-Boy-3D<gh_stars>0
using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace UI_Scripts
{
public class StartMenuController : MonoBehaviour
{
[SerializeField] private GameObject menuMusic, backgroundMusic, cube;
private Animator anim;... | 1.856559 | 95f3354a30d63c0c02c6cb91fec39db2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71421 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salda8/Quant-Finance-Mngmt-System",
"max_stars_repo_path": "CommonStandard/Enums/SessionsSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71422"
} | starcoder | using System;
using System.ComponentModel;
namespace Common.Enums
{
[Serializable]
public enum SessionsSource : int
{
/// <summary>
/// Template
/// </summary>
[Description("Template")]
Template = 0,
/// <summary>
/// Custom
/// </summary>... | 2.273767 | 7bb8eea22c30791da541d344b1c05cfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71422 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BurkusCat/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Platform.WPF/Extensions/FontExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71423"
} | starcoder | <reponame>BurkusCat/Xamarin.Forms
using System;
using System.Collections.Generic;
using System.Drawing.Text;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
using Xamari... | 2.393298 | 30167c32c3c8e91e39771de660d9ea58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bing-framework/Bing.Logging",
"max_stars_repo_path": "src/Bing.Logging/Bing/Logging/LoggerFactoryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71424"
} | starcoder | <gh_stars>1-10
namespace Bing.Logging
{
/// <summary>
/// 日志工厂(<see cref="ILoggerFactory"/>) 扩展
/// </summary>
public static class LoggerFactoryExtensions
{
/// <summary>
/// 创建日志操作实例
/// </summary>
/// <typeparam name="T">类型</typeparam>
/// <param name="fact... | 2.459627 | 66f92fb4132fa61a8059376d0a8e2df3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71424 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dtopuzov/automator.net",
"max_stars_repo_path": "src/Automator/Appium/DriverManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71425"
} | starcoder | <gh_stars>1-10
using System.Diagnostics;
using Automator.Utils;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Android;
using OpenQA.Selenium.Appium.Enums;
using OpenQA.Selenium.Appium.iOS;
using OpenQA.Selenium.Appium.Mac;
using OpenQA.Selenium.Appium.Windows;
namespace Automator
{
public class Driver... | 2.225358 | c91904803e07cbdfdd8ebc46233b855e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ipetk0v/InvenioReportingSystem",
"max_stars_repo_path": "Libraries/Invenio.Data/Mapping/Orders/PredefinedOrderAttributeValueMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71426"
} | starcoder | using Invenio.Core.Domain.Catalog;
namespace Invenio.Data.Mapping.Orders
{
public class PredefinedOrderAttributeValueMap : NopEntityTypeConfiguration<PredefinedOrderAttributeValue>
{
public PredefinedOrderAttributeValueMap()
{
this.ToTable("PredefinedOrderAttributeValue");
... | 2.179622 | 763db39f88cd826088bd5d3bdee4dddd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ciarangreene84/b4sc",
"max_stars_repo_path": "Boot4ServiceCollection.Test/Interfaces/INotAddedTestClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71427"
} | starcoder | namespace Boot4ServiceCollection.Test.Interfaces
{
public interface INotAddedTestClass
{
int Method(int a, int b);
}
}
| 1.438767 | c2982f7cf29eaaa4ce5504468feb8d2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kameko/Caesura.Actors",
"max_stars_repo_path": "Caesura.Actors/LostLetters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71428"
} | starcoder |
namespace Caesura.Actors
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
internal class LostLetters : Actor
{
internal ActorSystem System { get; set; }
internal LostLetters(ActorSystem system)
{
... | 2.93492 | 80350468e37866847b448003f8ac15a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ctatoiu/PS-Azure",
"max_stars_repo_path": "src/ResourceManager/Profile/Commands.Profile/Feedback/SendFeedback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71429"
} | starcoder | <reponame>ctatoiu/PS-Azure
//
// Copyright Microsoft Corporation
// 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 ap... | 1.885582 | 48134150d75a4ef5f23e27905509af8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lexa044/cryptoxchange",
"max_stars_repo_path": "src/CryptoXchange/Persistence/Postgres/Repositories/TransferRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71430"
} | starcoder | using System.Data;
using System.Linq;
using Dapper;
using CryptoXchange.Persistence.Model;
using CryptoXchange.Persistence.Repositories;
namespace CryptoXchange.Persistence.Postgres.Repositories
{
public class TransferRepository: ITransferRepository
{
public TransferRepository()
{
}
... | 2.202276 | e3f43006634c56ef7894c03ab4f4fec5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilti/Telerik-Academy-My-Courses",
"max_stars_repo_path": "High Quality Code/ExamPreparation/Phonebook2014/Phonebook-Problem/Phonebook/Commands/ICommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71431"
} | starcoder | <reponame>emilti/Telerik-Academy-My-Courses<filename>High Quality Code/ExamPreparation/Phonebook2014/Phonebook-Problem/Phonebook/Commands/ICommand.cs<gh_stars>0
namespace Phonebook.Commands
{
using System;
using Phonebook.Converts;
public interface ICommand
{
void Execute(string[] strings);
... | 1.355281 | d8bb9da6a93c029e065906cc7a62b181 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71431 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "praeclarum/Iril",
"max_stars_repo_path": "Tests/ModuleParserTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71432"
} | starcoder | using NUnit.Framework;
using System.IO;
using Iril;
namespace Tests
{
[TestFixture]
public class ModuleParserTests : TestsBase
{
public void Parse (string name)
{
var code = GetCode (name);
var mod = Module.Parse (code);
Assert.NotNull (mod);
... | 1.429474 | 5d059d9426de86f46ff146e5eff36208 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71432 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "starpeng/JdSdk2",
"max_stars_repo_path": "Source/JdSdk/response/kuaiche/MaterialLableJO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71433"
} | starcoder | using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace JdSdk.Response.Kuaiche
{
[Serializable]
public class MaterialLableJO : JdObject
{
[JsonProperty("id")]
public String Id
{
get;
... | 1.604519 | 1fbb00151dee5a0a68f84d3c5772aee6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.