added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watmeron/MediaConverter2",
"max_stars_repo_path": "MediaConverter2/Form2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133538"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MediaConverter2
{
public partial class XMLForm : Form
{
public XMLForm()
... | 1.984465 | 2abf69ad03ecfbf19d14acc93823b521 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814319 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Views/Product/AskQuestion.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133539"
} | starcoder | @model ProductAskQuestionModel
@using SmartStore.Web.Models.Catalog;
@{
Layout = "_Layout";
Html.AddTitleParts(Model.ProductName);
Html.AddTitleParts(T("Products.AskQuestion.Title").Text);
Html.AddCustomHeadParts("<meta name=\"robots\" content=\"noindex\">");
}
<div class="page ask-question-page">
... | 2.186874 | 9e18a2d1033dffa152293206ff585ed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814320 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "adamspicer/.NET-MAPI-Wrapper",
"max_stars_repo_path": "source/BrightcoveOS .NET-MAPI-Wrapper/Util/FormUploadUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133540"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using BrightcoveMapiWrapper.Api.Connectors;
namespace BrightcoveMapiWrapper.Util
{
/// <summary>
/// Calculates an <see cref="MD5"/> hash for a given file.
/// </sum... | 2.7804 | 45e594c7e636d9a705358071e384bcba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agrc/PLSS",
"max_stars_repo_path": "PLSS/FormsAuthentication/FormsAuthenticationWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133541"
} | starcoder | namespace PLSS.FormsAuthentication
{
public class FormsAuthenticationWrapper : IFormsAuthentication
{
public void SetAuthCookie(string userName, bool createPersistentCookie)
{
System.Web.Security.FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
}
... | 2.446045 | 308690a4881440e10dd8b8d07d8abc01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory",
"max_stars_repo_path": "src/Dfc.CourseDirectory.WebV2/Features/ApprenticeshipQA/ProviderSelected.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133542"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dfc.CourseDirectory.Core.DataStore.Sql;
using Dfc.CourseDirectory.Core.DataStore.Sql.Queries;
using Dfc.CourseDirectory.Core.Mod... | 2.078 | 6feb7066a171891046e37cd3f2956963 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrianaWynnRevature/PO_BrianaWynn",
"max_stars_repo_path": "projectOnboardingCoding/11-8-21--11-12-21/C#Solutions/vending machine/vendingmachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133543"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace projectOnboardingCoding
{
public class VendingMachine
{
// //initialize products list and fill it
// List<Product> products = new List<Product>();
// products.Add(new Product("cracker", 120));
// products.Add(ne... | 3.308891 | 2b0f9636f37376054e5a0eabfa83ee6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "p-caballero/AbstractBuilder",
"max_stars_repo_path": "UnitTests/Examples/Entities/FerraryModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133544"
} | starcoder | <reponame>p-caballero/AbstractBuilder<gh_stars>0
namespace AbstractBuilder.Examples.Entities
{
public static class FerraryModels
{
public const string Ferrari208Gts = "FERRARI 208 GTS";
public const string Ferrari308Gtbi = "FERRARI 308 GTBI";
}
}
| 1.677713 | d7a0620412066cb8eb7f844cd88fd615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/SolidConduit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133545"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using UnityEngine;
[SkipSaveFileSerialization]
[AddComponentMenu("KMonoBehaviour/scripts/SolidConduit")]
public class SolidConduit : KMonoBehaviour, IHaveUtilityNetworkMgr
{
[MyCmpReq]
private KAnimGraphTileVisualizer graphTileDependency;
private System.Action... | 1.480693 | d9c741e2adb704d0b076f8dcac560426 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814326 | {
"extension": "c-sharp",
"max_stars_count": "1984.0",
"max_stars_repo_name": "pavel-petrenko/nodejstools",
"max_stars_repo_path": "Common/Tests/MockVsTests/IMockPackage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133546"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.VisualStudioTools.MockVsTests
{
/// <summary>
/// Performs initialization of a mock VS package.
///
... | 2.277334 | 460848427e5fa379c327439b5a51ebca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814327 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hchungmsft/azure-sdk-for-net",
"max_stars_repo_path": "src/ServiceManagement/Compute/Compute.Tests/IntegrationTests.Compute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133547"
} | starcoder | <filename>src/ServiceManagement/Compute/Compute.Tests/IntegrationTests.Compute.cs
//
// Copyright (c) Microsoft. 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
// ... | 1.86767 | 530ad5dc1940171017bbfdd20c9f0b93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markcowl/azure-activedirectory-library-for-dotnet",
"max_stars_repo_path": "tests/Test.ADAL.Common/Verify.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133548"
} | starcoder | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may o... | 2.120103 | 2e2d368b01aa51c41c2bc13ad6c7530d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GillesTourreau/GillesTourreau.MsdnForums.fr.SampleCodes",
"max_stars_repo_path": "01d7cd67-0d7b-4edb-9cea-8778244b2550/01d7cd67-0d7b-4edb-9cea-8778244b2550/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133549"
} | starcoder | namespace _01d7cd67_0d7b_4edb_9cea_8778244b2550
{
partial class Form1
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources utilisées.
... | 1.983016 | 57b559ade08e8619474edeea23a41ad1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sergioescalera/LeetCode-Exercises",
"max_stars_repo_path": "src/LeetCode.UnitTests/FloodFillFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133550"
} | starcoder | <reponame>sergioescalera/LeetCode-Exercises<filename>src/LeetCode.UnitTests/FloodFillFacts.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace LeetCode.UnitTests
{
[TestCategory("733. Flood Fill")]
[TestClass]
public class FloodFillFacts
{
[TestMethod]
[Expec... | 3.132091 | 75340c2e63fd9018f73501078becfe16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814331 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "magotop/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinMidas/Sandbox/CgibinMidasSandboxPayResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133551"
} | starcoder | using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/midas/sandbox/pay 接口的响应。</para>
/// </summary>
public class CgibinMidasSandboxPayResponse : CgibinMidasPayResponse
{
}
}
| 1.459123 | e2b25786d8c6a73d2823d47b640a5805 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "odalet/Gwi",
"max_stars_repo_path": "src/Gwi.OpenGL/Gwi.OpenGL/generated/enums/ContainerType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133552"
} | starcoder | <gh_stars>0
// This file is auto generated, do not edit.
using System;
#pragma warning disable CA1069 // Enums values should not be duplicated
namespace Gwi.OpenGL
{
public enum ContainerType : uint
{
ProgramObjectArb = GLConstants.GL_PROGRAM_OBJECT_ARB,
ProgramObjectExt = GLConstants.GL_PROGRA... | 1.330821 | e90571492a9a587fbd6796658b134d49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814333 | {
"extension": "c-sharp",
"max_stars_count": "631.0",
"max_stars_repo_name": "BTDevelop/BeatPulse",
"max_stars_repo_path": "src/BeatPulse.System/DiskStorageLiveness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133553"
} | starcoder | <gh_stars>100-1000
using BeatPulse.Core;
using Microsoft.Extensions.Logging;
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace BeatPulse.System
{
public class DiskStorageLiveness : IBeatPulseLiveness
{
private readonly DiskStorageLiveness... | 2.631098 | b96a1955e9b5baefdee7d55eae9302ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814334 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "PJB3005/CompletelyOptional",
"max_stars_repo_path": "CompletelyOptional/InterfaceWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133554"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Partiality.Modloader;
using System.Reflection;
namespace OptionalUI
{
/// <summary>
/// Use this support ConfigMachine without being dependent
/// </summary>
public class InterfaceWrapper : OptionInterface
... | 2.542664 | bad6ed4fe85954e91d4bf39c01562c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qwerty11aa/CTSTest",
"max_stars_repo_path": "DBSyncServiceTest/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133555"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace DBSyncServiceTest
{
class Program
{
static void Main(string[] args)
{
while (true)
{
//CTS_BusinessP... | 1.561299 | cf683653a0627526fb2c4506fce1a8a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lunsluns/Cardinal",
"max_stars_repo_path": "Assets/_scripts/CreditMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133556"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CreditMenu : MonoBehaviour {
public GameObject mainmenu;
public void Back()
{
mainmenu.SetActive(true);
this.gameObject.SetActive(false);
}
}
| 1.665212 | 38c9743faefedfea8dbd8a151446105e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814337 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "daniel-gustafsson/WindowToLinq",
"max_stars_repo_path": "WindowToLinq/Min.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133557"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WindowToLinq
{
public static partial class WindowExtension
{
/// <summary>
/// Returns the minimum value in a sequence of Int32 values.
/// </summary>
/// <typeparam name="TSourceAgg... | 2.942241 | 3aa06ded829e06ba383c3596f1e9445f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bondsbw/FakeItEasy",
"max_stars_repo_path": "Source/FakeItEasy.Tests/IsFakeConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133558"
} | starcoder | namespace FakeItEasy.Tests
{
public class IsFakeConstraint
: NUnit.Framework.Constraints.Constraint
{
public override bool Matches(object actual)
{
this.actual = actual;
return actual != null && Fake.GetFakeManager(actual) != null;
}
... | 2.278235 | 12c655903547bc8d92cd49a8048af077 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ActionCrafted/EnsoulSharpS",
"max_stars_repo_path": "SharpShooter/MyPlugin/Vayne.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133559"
} | starcoder | <reponame>ActionCrafted/EnsoulSharpS
namespace SharpShooter.MyPlugin
{
#region
using System;
using System.Linq;
using SharpDX;
using EnsoulSharp;
using EnsoulSharp.SDK;
using EnsoulSharp.SDK.Events;
using SharpShooter.MyBase;
using SharpShooter.MyCommon;
using static SharpS... | 2.00211 | 60a62305f297ea1fd8499802949ec4dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Julien-Mialon/PizzaIllico",
"max_stars_repo_path": "src/PizzaIllico.Api/Domains/Accounts/Errors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133560"
} | starcoder | <gh_stars>0
namespace PizzaIllico.Api.Domains.Accounts
{
public static class Errors
{
public const string EMAIL_ALREADY_EXISTS = nameof(EMAIL_ALREADY_EXISTS);
}
} | 1.398936 | 0bc5b587f9708514df59e4c2ae2d6b40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "psarras/speckle-sharp",
"max_stars_repo_path": "Objects/Converters/ConverterRhinoGh/ConverterRhinoGhShared/ConverterRhinoGh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133561"
} | starcoder | <filename>Objects/Converters/ConverterRhinoGh/ConverterRhinoGhShared/ConverterRhinoGh.cs
using Grasshopper.Kernel.Types;
using Objects.Geometry;
using Objects.Primitive;
using Objects.Other;
using Rhino;
using Rhino.Geometry;
using Rhino.DocObjects;
using Speckle.Core.Kits;
using Speckle.Core.Models;
using System;
usi... | 1.954073 | fefeef146d9947786cdcc7a50878128f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814342 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "iboxdb/db4o-gpl",
"max_stars_repo_path": "db4o.net/Db4objects.Db4o.Optional/Db4objects.Db4o/Filestats/NullSlotMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133562"
} | starcoder | <gh_stars>10-100
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */
#if !SILVERLIGHT
using System.Collections;
using Db4objects.Db4o.Filestats;
using Db4objects.Db4o.Internal.Slots;
namespace Db4objects.Db4o.Filestats
{
/// <exclude></exclude>
public class NullSlotMap : ISlotMap
{
pub... | 1.840468 | 1f5eda7ae5a1ec6ddff77873c30b074a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArielMAJ/CSharp_course",
"max_stars_repo_path": "Lessons_and_assignments/Lesson_204/Aula_204/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133563"
} | starcoder | using System;
using System.Globalization;
using Aula_204.Entities;
using Aula_204.Services;
namespace Aula_204
{
public static class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter rental data");
Console.Write("Car model: ");
string mode... | 3.253524 | 8dd847b6f279b59c466588c53b2be8da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814344 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "epam/TimeBaseCommons",
"max_stars_repo_path": "messages/csharp/src/Deltix.Timebase.Messages/EPAM.Deltix.Timebase.Messages.Service/DataLossMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133564"
} | starcoder | <reponame>epam/TimeBaseCommons
/*
Copyright 2021 EPAM Systems, Inc
See the NOTICE file distributed with this work for additional information
regarding copyright ownership. Licensed under the Apache License,
Version 2.0 (the "License"); you may not use this file except in compliance
with the License. You may... | 1.950366 | 5dc99f39bc83acc1aa1628c20eaf8c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonfortescue/arcade",
"max_stars_repo_path": "src/Microsoft.DotNet.Darc/src/Darc/Options/RetrySubscriptionUpdateCommandLineOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133565"
} | 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 CommandLine;
namespace Microsoft.DotNet.Darc.Options
{
[Verb("retry-subscription-update", HelpText = "Ret... | 2.070819 | 0f67a3a9d949dbd008dbc6b0f7efbd5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomaustin700/Workrbot",
"max_stars_repo_path": "Workrbot/Engines/EventsEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133566"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Workrbot.Classes;
namespace Workrbot.Engines
{
public static class EventsEngine
{
private static List<EventDTO> _events;
public static List<EventDTO> Events
{
... | 2.191282 | b565c47cc73ff7afa932bfbca35239bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814347 | {
"extension": "c-sharp",
"max_stars_count": "1828.0",
"max_stars_repo_name": "8VAid8/FastReport",
"max_stars_repo_path": "FastReport.OpenSource/Preview/PageCache.Core.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133567"
} | starcoder | namespace FastReport.Preview
{
partial class PageCache
{
#region Private Methods
private int GetPageLimit()
{
return 50;
}
#endregion Private Methods
}
} | 1.711056 | f228438e72148431b3202b433b3992d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devel0/skeleton-netcore-ef-code-first",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133568"
} | starcoder | using System;
using System.Linq;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace skeleton_netcore_ef_code_first
{
class Program
{
static void Main(string[] args)
{
MyDbContext.MinLogLevel = LogLevel.Information;
var global = Global.Instance;
... | 2.616799 | 031f4f420c53722d0223d303d0a2fc61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814349 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "shanefarris/CoreGameEngine",
"max_stars_repo_path": "Source/SandboxCS/Wrapper/CPlayerPimpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133569"
} | starcoder | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | 1.669099 | a3949e30693b03ea11ab22e9614ce1d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lenovezhou/Screenshow",
"max_stars_repo_path": "Assets/Scripts/DisplayInterface/UI/MapEye.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133570"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class MapEye : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
this.transform.localEulerAngles = new Vector3(0, 0, -Camera.main.transform.parent.localEulerAngles.y);
... | 1.346336 | 13ffe624f0133515d72266f3f4b70376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814351 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "codeyu/SimpleRuleEngine",
"max_stars_repo_path": "src/RuleEngine/Evidence/Fact/IFact.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133571"
} | starcoder | /*
Simple Rule Engine
Copyright (C) 2005 by Sierra Digital Solutions Corp
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later versi... | 1.57315 | 456029e9ec0f79cff843d091173638cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeydo6/MIS",
"max_stars_repo_path": "MIS.Infomat/Controls/VisitItemsControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133572"
} | starcoder | #region Copyright © 2020-2021 <NAME>. 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 ... | 1.989495 | 4b19fb2d8ddfebe6244acdad86ff0955 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814353 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "POBIX/GameAboutElectrons",
"max_stars_repo_path": "Levels/EntityMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133573"
} | starcoder | <filename>Levels/EntityMap.cs
using Godot;
using System;
public class EntityMap : TileMap
{
public override void _Ready()
{
base._Ready();
foreach (Vector2 pos in GetUsedCells())
{
string nameW = TileSet.TileGetName(GetCellv(pos));
if (nameW[0] == '@') continue;... | 2.347642 | 12f3f04339e05423c2e01930af57b218 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814354 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chota5511/HotelBooking",
"max_stars_repo_path": "Views/Booking/Booking.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133574"
} | starcoder | <reponame>chota5511/HotelBooking<gh_stars>1-10
@{
ViewBag.Title = "Booking";
Layout = "~/Views/Shared/_UserLayout.cshtml";
}
<div class="page-title-area black-overlay text-center">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="page-title-... | 1.932742 | 54e30c2ab92ab0ab257d0454b58a7512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814355 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "KonH/udbase",
"max_stars_repo_path": "Scripts/Controllers/Music/MusicController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133575"
} | starcoder | using UDBase.Controllers.EventSystem;
using UDBase.Controllers.SceneSystem;
namespace UDBase.Controllers.MusicSystem {
/// <summary>
/// Default music controller.
/// For use it, you need to add to scene where you need music MusicHolder with assigned list of SoundSource,
/// represented wanted music tracks.
///... | 2.571737 | cf362c0e984e4fd783df8f8a7537f81b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Flavelius/Godot-CSharpScript-Picker",
"max_stars_repo_path": "addons/csharp-script-picker/ResourceAccess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133576"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Godot;
using Path = System.IO.Path;
namespace CSharpScriptPicker
{
public static class ResourceAccess
{
public static IEnumerable<string> GetFiles(string folderPath, bool recursive, bool skipHidden = true)
... | 2.758102 | 05a3ecbd246bb409c6666e9b6ebbe7e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "astral-keks/powershell-source-control",
"max_stars_repo_path": "src/Command/WorkingCopy/ExportWorkingCopyDiffCmdlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133577"
} | starcoder | using AstralKeks.SourceControl.Command.Common;
using System.Management.Automation;
namespace AstralKeks.SourceControl.Command.WorkingCopy
{
[Cmdlet(VerbsData.Export, Noun.SCWorkingCopyDiff)]
[OutputType(typeof(string))]
public class ExportWorkingCopyDiffCmdlet : WorkingCopyCmdlet
{
pr... | 1.812604 | 8b88c9c2f8da068091dce5855073e8db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HolisticWare/HolisticWare.Core.Serialization.SharpSerializer",
"max_stars_repo_path": "source/HolisticWare.Core.Serialization.SharpSerializer/Advanced/PropertyCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133578"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Reflection;
namespace HolisticWare.Core.Serialization.SharpSerializer.Advanced
{
///<summary>
///</summary>
internal class PropertyCache
{
private readonly Dictionary<Type, IList<PropertyInfo>> _cache = new Dictionary<Typ... | 2.486643 | 9de8cb18af989490c5d34ced442f758c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bandersonga/Section-Properties",
"max_stars_repo_path": "Elements/Shapes/CircularFillet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133579"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace ExcelExpress.ComplexShape.SectionProperties
{
public partial class SectionElements
{
public class CircularFillet : Shape
... | 2.710502 | 202c46fcc00aec8965513cc254fc2dbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vberkaltun/BACnet",
"max_stars_repo_path": "Base/BacnetProgramState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133580"
} | starcoder | <filename>Base/BacnetProgramState.cs
namespace System.IO.BACnet.Base
{
public enum BacnetProgramState
{
PROGRAM_STATE_IDLE = 0,
PROGRAM_STATE_LOADING = 1,
PROGRAM_STATE_RUNNING = 2,
PROGRAM_STATE_WAITING = 3,
PROGRAM_STATE_HALTED = 4,
PROGRAM_STATE_UNLOADING = 5
}
}
| 1.838618 | 338f9400ef06ad8c52fc485e1a077b9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814361 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "DavidObando/gsharp",
"max_stars_repo_path": "src/Core/CodeAnalysis/Syntax/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133581"
} | starcoder | <reponame>DavidObando/gsharp
// <copyright file="Parser.cs" company="GSharp">
// Copyright (C) GSharp Authors. All rights reserved.
// </copyright>
namespace GSharp.Core.CodeAnalysis.Syntax
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using GSharp... | 2.583918 | abcc3c31dfa6dde9562f09d7daa449da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814362 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "namics/TerrificNet",
"max_stars_repo_path": "TerrificNet.Test/TemplateIntegrationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133582"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using TerrificNet.Generator... | 1.838038 | fc05c8c05486a3b9dfe63331d5b0f5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dcvsling/CoWorker",
"max_stars_repo_path": "src/CoWorker.Models.Abstractions/Stores/RsaKeyContractResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133583"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System.Reflection;
using Newtonsoft.Json.Serialization;
namespace CoWorker.Models.Abstractions.Stores
{
internal class RsaKeyContractResolver : DefaultContractResolver
{
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization me... | 1.729358 | 8ad946aa4baae80053af1010f898f790 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814364 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "michiruf/GameGraph",
"max_stars_repo_path": "GameGraph/Editor/AssetCallback/OpenGameGraphEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133584"
} | starcoder | <gh_stars>1-10
using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.Experimental.AssetImporters;
using UnityEngine;
using UnityEngine.Assertions;
namespace GameGraph.Editor
{
[CustomEditor(typeof(GameGraphImporter))]
public class OpenGameGraphEditor : ScriptedImporterEditor
{
... | 1.896628 | a7c024cf4678e9264c1313e0482f73a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pashcovich/More",
"max_stars_repo_path": "src/Tests/Core.Tests/More/Globalization/FourFourFiveCalendarTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133585"
} | starcoder | <gh_stars>0
namespace More.Globalization
{
using System;
using System.Globalization;
using Xunit;
/// <summary>
/// Provides unit tests for <see cref="FourFourFiveCalendar"/>.
/// </summary>
public partial class FourFourFiveCalendarTest
{
[Fact( DisplayName = "get week of year ... | 2.531701 | f86b959e8e7ba6d467461ecce43ca434 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814366 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Siaranite-Solutions/Medli",
"max_stars_repo_path": "Medli/Core/BinaryWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133586"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Medli.Core
{
public class BinaryWriter
{
public ioStream BaseStream;
public void Write(byte data)
{
this.BaseStream.Write(data);
}
public void Write(char data)
{
this.BaseStream.Write((byte)data);
}
... | 2.869692 | 49f8834e1e45c055b5aab401a0dfe2ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mparlak/Boilerplate",
"max_stars_repo_path": "src/Boilerplate.Api/Models/Requests/CreateProductRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133587"
} | starcoder | namespace Boilerplate.Api.Models.Requests
{
public class CreateProductRequest
{
}
} | 1.141823 | 3a7cd5613cbc2248747b13215872de6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HasanShahjahan/rate-limited-api",
"max_stars_repo_path": "src/domain/middleware/Agoda.RateLimiter/Store/InMemoryStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133588"
} | starcoder | <gh_stars>0
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Agoda.RateLimiter.Store
{
/// <inheritdoc cref="IRateLimitStore{T}"/>
public class InMemoryStore<T> : IRateLimitStore<T>
... | 2.574 | d67b8530021d1719aaad36cb5b2964dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoMeDay-Zhang/GRPCDemo",
"max_stars_repo_path": "City.EFRepository/ModeConfigs/CityConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133589"
} | starcoder | <reponame>SoMeDay-Zhang/GRPCDemo<filename>City.EFRepository/ModeConfigs/CityConfig.cs<gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace City.EFRepository.ModeConfigs
{
internal sealed class CityConfig : IEntityTypeConfiguration<Domain.City>
{
... | 2.097769 | 7dd2926f7bd8b332ca55667959bd0eba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rikarin/metaverse",
"max_stars_repo_path": "Assets/Scripts/Models/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133590"
} | starcoder | <reponame>Rikarin/metaverse
using System.Xml;
using System.Xml.Serialization;
public class Settings : IVisitable {
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("value")]
public string Value { get; set; }
public void Accept(IVisitor visitor) {
visitor.Visit(this);
... | 1.859419 | 5ae4013fc32e63eeed93ff7113787f48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814371 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ourochan/candescantNUI",
"max_stars_repo_path": "CCT.NUI.Tests/Core/OpenNI/RGBPointerDataSourceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133591"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CCT.NUI.Core.OpenNI;
using OpenNI;
namespace CCT.NUI.Tests.Core.OpenNI
{
[TestClass]
public class RGBPointerDataSourceTests
{
private RgbPointerDataSource... | 2.38588 | 7d6012213a96235765cc1324064b8819 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SysSurge/vera",
"max_stars_repo_path": "WebPages/Controls/UserMemberSinceDate.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133592"
} | starcoder | <reponame>SysSurge/vera
using System;
using System.Web;
using System.Web.Security;
using System.Web.Profile;
using System.Web.UI;
using VeraWAF.AzureTableStorage;
using VeraWAF.Core.Templates;
using VeraWAF.WebPages.Bll;
namespace VeraWAF.WebPages.Controls
{
/// <summary>
/// Shows the date when a user regist... | 2.226891 | 9abdd953c346eeb9265f98a3f58ecdaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bartczernicki/Silverlight4BusinessIntelligenceSoftware",
"max_stars_repo_path": "src/Chapter7/Chapter7_DataVisualizationTransitions/Chapter7_DataVisualizationTransitions/obj/Debug/MainPage.g.i.cs",
"provenance": "train-00027-of-00045.... | starcoder | <reponame>bartczernicki/Silverlight4BusinessIntelligenceSoftware<gh_stars>0
#pragma checksum "F:\Bart\Book_Rev2\Source Code\Version 3\Chapter7\Chapter7_DataVisualizationTransitions\Chapter7_DataVisualizationTransitions\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B3055DBF412C2B291CC23D3E334F57E5"
//------... | 1.839465 | ecd436e801bb2f8ff9dfced800c09b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814374 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "francedot/maui",
"max_stars_repo_path": "src/Core/tests/UnitTests/TestClasses/ButtonStub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133594"
} | starcoder | using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.UnitTests
{
class ButtonStub : View, IButton
{
public string Text { get; set; }
public Color TextColor { get; set; }
public double CharacterSpacing { get; set; }
public Thickness Padding { get; set; }
public void Cli... | 1.990131 | 7b51d966a7358406f91218e67736bee2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "serial-labs/SharedLibraries",
"max_stars_repo_path": "Source/SerialLabs.ExceptionHandling/IExceptionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133595"
} | starcoder | <filename>Source/SerialLabs.ExceptionHandling/IExceptionHandler.cs<gh_stars>1-10
using System;
namespace SerialLabs.ExceptionHandling
{
/// <summary>
/// ExceptionHandler Interface
/// </summary>
public interface IExceptionHandler
{
/// <summary>
/// Handler name
/// </summ... | 3.105424 | 443c0c617503803afebf7745bc72d189 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814376 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "costoda-ey/XF-RefApp-Enterprise",
"max_stars_repo_path": "Mobile.RefApp.iOSLib/ADAL/AzureAuthenticationFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133596"
} | starcoder | <reponame>costoda-ey/XF-RefApp-Enterprise
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EY.Mobile.iOS.Network;
using EY.Mobile.Lib.ADAL;
using EY.Mobile.Lib.Logging;
using EY.Mobile.Lib.Network;
using Foundation;
using UIKit;
namespace EY.Mobile.iOS.ADAL
{
public static ... | 1.369282 | a4f9b37713dce6d4c95fd01ad9e444ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814377 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kiapanahi/famous-design-patterns",
"max_stars_repo_path": "Patterns in Action/WpfApp/ViewModels/CustomerViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133597"
} | starcoder | using System.Collections.ObjectModel;
using System.Windows.Input;
using WpfApp.Models;
namespace WpfApp.ViewModels
{
// ViewModel for Member.
// ** MV Patterns: MV-VM Design Pattern.
public class MemberViewModel : ViewModelBase
{
private IProvider provider;
public ObservableCollecti... | 2.875737 | f8af6f1a64d63ea91a0df7ed5859fe7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oriash93/deepstreamNet",
"max_stars_repo_path": "src/DeepStreamNet/Records/RecordListenerChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133598"
} | starcoder | namespace DeepStreamNet
{
class RecordListenerChangedEventArgs : ListenerChangedBaseEventArgs
{
public RecordListenerChangedEventArgs(string pattern, string name, ListenerState state)
: base(pattern, name, state)
{
}
}
}
| 1.756193 | ab22d804c15b382505ac61d9aeacac7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814379 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AIFramework/AIFrameworkOpen",
"max_stars_repo_path": "AI/DataStructs/Shapes/Shape4D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133599"
} | starcoder | <filename>AI/DataStructs/Shapes/Shape4D.cs<gh_stars>1-10
using System;
using System.Diagnostics;
namespace AI.DataStructs.Shapes
{
/// <summary>
/// Represents 4D shape
/// </summary>
[Serializable]
[DebuggerDisplay("Height = {Height}, Width = {Width}, Depth = {Depth}, X = {X}")]
public sealed... | 3.533195 | 8730679473873046cd7a63c4b986f886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SneakyMax/GGJ2018",
"max_stars_repo_path": "Assets/_Scripts/Mine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133600"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Linq;
using UnityEngine;
namespace Depth
{
public class Mine : MonoBehaviour, ICanLockOn
{
public Sub Parent { get; set; }
public GameObject ExplosionPrefab;
public float SeekAccel;
public float MaxSpeed;
public float ... | 2.033461 | 3b0f7ae8bfc16a58c41704084294e407 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814381 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "kylekewley/gsf",
"max_stars_repo_path": "Source/Libraries/GSF.Unity/GSF.Communication/TcpServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133601"
} | starcoder | <reponame>kylekewley/gsf
//*******************************************************************************************************
// TcpServer.cs - Gbtc
//
// Tennessee Valley Authority, 2009
// No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.
//
// This software is made freely availa... | 2.005094 | 2bd2bb530c01f6db0b847ca51be47cac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RIDICS/Authentication",
"max_stars_repo_path": "Solution/Ridics.Authentication.DataContracts/EnsurePermissionsContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133602"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace Ridics.Authentication.DataContracts
{
public class EnsurePermissionsContract : ContractBase
{
public IList<PermissionContractBase> Permissions { get; set; }
public IList<string> NewAssignToRoleNames { get; set; }
}
} | 1.465632 | 67f5b1c73a46e7e34549fc77a81f79de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrAnh3011/TVS",
"max_stars_repo_path": "core/Piranha/Web/PageRouter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133603"
} | starcoder | <reponame>MrAnh3011/TVS
/*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using System.Threading.Tasks;
namespace Pira... | 2.125415 | e36b5d350637dc6aea103ac9469512c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ohunecker/Skybrud.Social.Twitter",
"max_stars_repo_path": "src/Skybrud.Social.Twitter/TwitterService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133604"
} | starcoder | using System;
using Skybrud.Social.Twitter.Endpoints;
using Skybrud.Social.Twitter.OAuth;
namespace Skybrud.Social.Twitter {
/// <summary>
/// Class working as an entry point to the Twitter API.
/// </summary>
public class TwitterService {
#region Properties
/// <summary>
///... | 2.545519 | 0ffb16dd118a6547e2eac9abfc671bcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814385 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pkyurkchiev/n-layer-skeleton-.net",
"max_stars_repo_path": "src/NTS.ApplicationServices/Implementations/Shared/BaseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133605"
} | starcoder | <gh_stars>1-10
namespace NTS.ApplicationServices.Implementations.Shared
{
using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Repositories.Interfaces;
using System;
public abstract class BaseService
{
#region Fields
pr... | 2.103911 | cab40672b80c96b3ae31d56acd2a52ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814386 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Code-Dani/BnS_EffectRemover",
"max_stars_repo_path": "BnS_EffectRemover/UpdateChecker.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133606"
} | starcoder | using Microsoft.WindowsAPICodePack.Dialogs;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documen... | 2.274398 | 54bb82faae0e6f5cf23c791473d11ab1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814387 | {
"extension": "c-sharp",
"max_stars_count": "1414.0",
"max_stars_repo_name": "Fortranm/BizHawk",
"max_stars_repo_path": "src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Jaleco-JF_11_14.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133607"
} | starcoder | <gh_stars>1000+
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
/*
* Life Span: October 1986 - April 1987
PCB Class: Jaleco-JF-11
Jaleco-JF-14
iNES Mapper 140
JF-11
PRG-ROM: 128kb
CHR-ROM: 32kb
Battery is not available
Uses vertical mirroring
No CIC present
Other chips ... | 2.186638 | e292808781bd2ecf77eaf8ef4c31e19a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuValka/JuValka.Smart.SmartReName",
"max_stars_repo_path": "SmartRN.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133608"
} | starcoder | <filename>SmartRN.cs
using Microsoft.VisualBasic;
using System.Text;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using SmartTools.FileSys;
using SmartTools.About;
using SmartTools.User;
using SmartTools.Version;
u... | 1.951794 | c4e3c0f823cc2fb76c675e62f359c78f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814389 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Core/System/Linq/Parallel/Utils/IntValueEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133609"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace System.Linq.Parallel
{
/// <summary>
/// A ManualResetEventSlim that also remembers a value that was stored at the last Set().
/// </summary>
internal class IntValueEvent : ManualRes... | 2.9157 | 591d1ddd2f7b2bf74d1b5bd2103f9208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MoreOnCode/MyXnaBookSource",
"max_stars_repo_path": "XNA-4.x/Part 2 - Genre Studies/CH16 - Top-Down Scroller/CH16 - Top-Down Scroller/CH16 - Top-Down Scroller/GameSprite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133610"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace CH16___Top_Down_Scroller
{
// implements IPixelPerfectSprite for use with PixelPerfectHelper methods
public abstract class GameSpri... | 2.952173 | 3912774dcfd4c49a99fdcd015a66eb95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Johnnymc2001/PRN211_CONVENIENCE_STORE",
"max_stars_repo_path": "DataAccess/ProductDAO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133611"
} | starcoder | using BusinessObject.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess
{
public class ProductDAO
{
// Singleton Pattern
private static ProductDAO instance = null;
private static readonly obje... | 2.905446 | 4d397e77417e8a4ffc1fb0a59abd2816 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomohisa/ClArc-CSharp",
"max_stars_repo_path": "Src/ClArc/Invoker/UseCaseInvokerDefaultFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133612"
} | starcoder | using System;
namespace ClArc.Invoker
{
public class UseCaseInvokerDefaultFactory : IUseCaseInvokerFactory
{
public IUseCaseInvoker Generate(Type usecaseType, Type implementsType, IServiceProvider provider)
{
return new UseCaseInvoker(usecaseType, implementsType, provider);
... | 2.003038 | d70f1fcc3f263f1db2f5bcf87675995b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "youstinus/ga-tests",
"max_stars_repo_path": "ga_one_zero/GeneticAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133613"
} | starcoder | <reponame>youstinus/ga-tests
using System;
using System.Linq;
namespace ga_one_zero
{
/**
* The GeneticAlgorithm class is our main abstraction for managing the
* operations of the genetic algorithm. This class is meant to be
* problem-specific, meaning that (for instance) the "calcFitness" method may
* need t... | 3.047637 | 6941d8685f7658e15979230582416c71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814394 | {
"extension": "c-sharp",
"max_stars_count": "184.0",
"max_stars_repo_name": "mjebrahimi/AspNetCore.Identity.MongoDbCore",
"max_stars_repo_path": "test/AspNetCore.Identity.MongoDbCore.IntegrationTests/Infrastructure/Container.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133614"
} | starcoder | <filename>test/AspNetCore.Identity.MongoDbCore.IntegrationTests/Infrastructure/Container.cs
using AspNetCore.Identity.MongoDbCore.Extensions;
using AspNetCore.Identity.MongoDbCore.Infrastructure;
using Microsoft.Extensions.Configuration;
using System;
namespace AspNetCore.Identity.MongoDbCore.IntegrationTests.Infrast... | 2.300841 | bb9ec79346391c7389b4617b561a210f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neon-JS/ogngatewaynet",
"max_stars_repo_path": "OgnGateway/Extensions/Primitives/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133615"
} | starcoder | <gh_stars>0
using System;
namespace OgnGateway.Extensions.Primitives
{
/// <summary>
/// Class containing extension methods for the string type
/// </summary>
public static class StringExtensions
{
/// <summary>
/// Ensures that a string is not null or empty or whitespace
//... | 3.121036 | 4531e3f86be2a0e13abbed5fdfdc898b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertBouillon/FlexTest",
"max_stars_repo_path": "Spin.FlexTest/UtilityAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133616"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Spin.FlexTest
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public class UtilityAttribute : Attribute
{
readonly string _name;
publ... | 1.852607 | 24e23e199498d12b5975e3ef9e8cd9f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814397 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "pdbme/pdbMate",
"max_stars_repo_path": "src/pdbMate.Core/NzbgetServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133617"
} | starcoder | using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace pdbMate.Core
{
public static class NzbgetServiceCollectionExtensions
{
public static IServiceCollection AddNzbgetService(this IServiceCollection services, IConfiguration config)
{
... | 1.91197 | 8b8004844a44a394a3df19ae84eaaef4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814398 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chaosifier/StringReplacer",
"max_stars_repo_path": "StringReplacer/Form1.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133618"
} | starcoder | <filename>StringReplacer/Form1.designer.cs
namespace StringReplacer
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resource... | 2.175554 | 343212bbf4b6a5f7c9808e1153d8bc22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814399 | {
"extension": "c-sharp",
"max_stars_count": "182.0",
"max_stars_repo_name": "Sturzaam/EntityFrameworkCore.DataEncryption",
"max_stars_repo_path": "src/EntityFrameworkCore.DataEncryption/Providers/AesKeyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133619"
} | starcoder | <gh_stars>100-1000
using System;
namespace Microsoft.EntityFrameworkCore.DataEncryption.Providers
{
/// <summary>
/// Defines an AES key info structure containing a Key and Initialization Vector used for the AES encryption algorithm.
/// </summary>
public readonly struct AesKeyInfo : IEquatable<AesKey... | 2.932585 | 9492af2cb6796495bde64dc1617579a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suujonH/Chinese",
"max_stars_repo_path": "Chinese/ChineseNumberOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133620"
} | starcoder | <reponame>suujonH/Chinese<gh_stars>0
namespace Chinese
{
public class ChineseNumberOptions
{
public bool Upper { get; set; }
public bool Simplified { get; set; }
public static readonly ChineseNumberOptions Default = new ChineseNumberOptions();
}
}
| 1.700523 | 42a48bd380800ba3c784b6b7352d42b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abrams259/AlgebraCSharp2019",
"max_stars_repo_path": "ConsoleApp1/8.2.1_static/Static.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133621"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8._2._1_static
{
public class Static
{
private Static() { }
public static double Zbroj(double a, double b)
{
return a + b;
... | 3.304977 | b0b6dc6c5283a7c61fea7259d549107f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814402 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "rontian/TinaX.UIKit",
"max_stars_repo_path": "Runtime/Scripts/ConfigModel/UIConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133622"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
namespace TinaX.UIKit.Internal
{
public class UIConfig : ScriptableObject
{
public bool EnableUIKit = true;
public UINameMode UINameMode;... | 1.522257 | 3fae63a326b75597300a70ebd1d3e631 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mjeanrichard/silverback",
"max_stars_repo_path": "src/Silverback.Integration/Messaging/Sequences/SequenceReaderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133623"
} | starcoder | <reponame>mjeanrichard/silverback
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.Threading.Tasks;
using Silverback.Messaging.Broker.Behaviors;
using Silverback.Messaging.Messages;
using Silverback.Util;
namespace Silverback.Messaging.... | 2.23279 | 7a6002abe17ba868906e0e0fc652b7dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moling3650/dotnetCoreDemo",
"max_stars_repo_path": "dotnetCoreDemo/BackgroundTask/Services/TimedBackgroundService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133624"
} | starcoder | <filename>dotnetCoreDemo/BackgroundTask/Services/TimedBackgroundService.cs
using Microsoft.Extensions.Hosting;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BackgroundTask.Services
{
public class TimedBackgroundService : BackgroundService
{
private Timer _timer;
... | 3.055672 | 56e3b071c0680e257400f8431ba30f18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814405 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nextra/ScottPlot",
"max_stars_repo_path": "src/demo/ScottPlot.Demo.WinForms/FormMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133625"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ScottPlot.Demo.WinForms
{
public partial class FormMain : Form
{
public FormMa... | 1.915509 | 9fa90cac38e19fa2407bbf40486812f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxidea1024/SheetMan",
"max_stars_repo_path": "src/Helpers/Helper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133626"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace SheetMan.Helpers
{
/// <summary>
///
/// </summary>
public static class Helper
{
//TODO 아주 제한적으로만 동작하는 함수. 차후에 고칠까?
... | 3.095771 | 24154880f383030f55b8981203c2c248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814407 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/Organizing/Organizers/AbstractSyntaxNodeOrganizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133627"
} | starcoder | <gh_stars>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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Threading;
using Ro... | 2.081585 | a4df156ba7aa9dbf70fffd3ed74146b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adambarath/XamarinMediaManager",
"max_stars_repo_path": "MediaManager/Media/MediaExtractorExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133628"
} | starcoder | <filename>MediaManager/Media/MediaExtractorExtensions.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using MediaManager.Library;
using MediaManager.Queue;
namespace MediaManager.Media
{
public static class MediaExtractorExtensions
{
private stati... | 2.510977 | 7ce4485f3d14b7f9a60e558779997fea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidroth/EntityFrameworkCore",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore.InMemory/ValueGeneration/Internal/InMemoryIntegerValueGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133629"
} | starcoder | <reponame>davidroth/EntityFrameworkCore
// 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.Threading;
namespace Microsoft.EntityFrameworkCore.ValueGeneration.Internal
{
pu... | 2.121062 | b627be196808ae6c45abb22d287c1e0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walkeryan/EncompassRest",
"max_stars_repo_path": "src/EncompassRest/Company/Users/Rights/ItemizationFeeRights.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133630"
} | starcoder | <gh_stars>0
namespace EncompassRest.Company.Users.Rights
{
/// <summary>
/// ItemizationFeeRights
/// </summary>
public sealed class ItemizationFeeRights : DirtyExtensibleObject
{
private FeeAmountsRights _feeAmounts;
private DirtyValue<bool?> _feeDescription;
private FeeOpti... | 1.577148 | e179cc73f8df8d597e77d101858d893c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814411 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cston/dotnet-api-docs",
"max_stars_repo_path": "snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133631"
} | starcoder | <filename>snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs<gh_stars>1-10
// <Snippet1>
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Globalization;
public class Test
{
// Declare a delegate type that can be used to execute the completed
// dynamic met... | 3.413854 | 9891b25f34c7e4fbe73c5d4faf8cc2fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814412 | {
"extension": "c-sharp",
"max_stars_count": "948.0",
"max_stars_repo_name": "wikiluo/AElf",
"max_stars_repo_path": "test/AElf.EconomicSystem.Tests/EconomicSystemTestModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133632"
} | starcoder | using System.Collections.Generic;
using AElf.Kernel.Consensus.AEDPoS;
using AElf.Modularity;
using Volo.Abp.Modularity;
namespace AElf.EconomicSystem.Tests
{
[DependsOn(
typeof(EconomicSystemAElfModule)
)]
public class EconomicSystemTestModule : AElfModule
{
public override void Config... | 1.292663 | 7ff0dda6444c5b97bbb1b28d3eb5f77d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "etbyrd/roslyn",
"max_stars_repo_path": "src/Features/CSharp/Portable/NameTupleElement/CSharpNameTupleElementCodeRefactoringProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133633"
} | starcoder | <reponame>etbyrd/roslyn
// 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.Composition;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Micros... | 1.558552 | d20b28e6a7f15b98200663261beb0652 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cuongtm93/bridge.windowsform",
"max_stars_repo_path": "ClassicForms/Collections/DictionaryEntryV2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133634"
} | starcoder | namespace System.Collections
{
public struct DictionaryEntryV2
{
public DictionaryEntryV2(object key, object value)
{
Key = key;
Value = value;
}
public object Key { get; set; }
public object Value { get; set; }
}
}
| 2.15334 | 5a24de6aa534fe382b646bbfa4885403 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814415 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Thepagedot/Rhome",
"max_stars_repo_path": "HomeControl/Thepagedot.Rhome.HomeMatic/Models/HomeMaticRoom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133635"
} | starcoder | using System;
using System.Collections.Generic;
using Thepagedot.Rhome.Base.Models;
using Newtonsoft.Json;
namespace Thepagedot.Rhome.HomeMatic.Models
{
public class HomeMaticRoom : Room
{
public int IseId { get; set; }
public List<int> ChannelIds { get; set; }
[JsonConstructor]
public HomeM... | 2.4388 | af6dfe3eecc765ca166116102ada9c5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814416 | {
"extension": "c-sharp",
"max_stars_count": "156.0",
"max_stars_repo_name": "Unlonlyness/dotnetclub",
"max_stars_repo_path": "src/Discussion.Web/Services/UserManagement/Avatar/UrlGenerators/GravatarAvatarUrlGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133636"
} | starcoder | using System;
using System.Linq;
using System.Text;
using Discussion.Core.Models.UserAvatar;
using MimeKit.Cryptography;
namespace Discussion.Web.Services.UserManagement.Avatar.UrlGenerators
{
public class GravatarAvatarUrlGenerator : IUserAvatarUrlGenerator<GravatarAvatar>, IDisposable
{
private reado... | 2.652821 | aa053cdc81392179c83723b8999f66b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javieralbarracin/template-api-net-core-3.1",
"max_stars_repo_path": "MisGastos.Api/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133637"
} | starcoder | using System;
using System.Reflection;
using System.Text;
using AutoMapper;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjec... | 1.773724 | db9e5808e57bfed8fc5d32817f5fde63 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.