added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.OpenXmlFormats.Wordprocessing/CT_TrackChange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71834"
} | starcoder | using NPOI.OpenXml4Net.Util;
using System;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Wordprocessing
{
[Serializable]
[XmlInclude(typeof(CT_PPrChange))]
[XmlInclude(typeof(CT_TblPrExChange))]
[XmlInclude(typeof(CT_TcPrChange))]
[XmlInc... | 1.807545 | b4498e88a56ba2e4b7c03ee2f2d82950 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kbulte/Lohmann.HALight",
"max_stars_repo_path": "src/Lohmann.HALight.UnitTests/RelationsConverterFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71835"
} | starcoder | using Lohmann.HALight.Converters;
using Newtonsoft.Json;
using Xunit;
namespace Lohmann.HALight.UnitTests
{
public class RelationsConverterFixture
{
[Fact]
public void VerifyRoundtrip()
{
// Arrange
var relations = new Relations();
rel... | 2.296258 | 0886f00fee0a1cb3b39d9b289df2028b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71835 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aarrgard/solidrpc",
"max_stars_repo_path": "SolidRpc.Test.Vitec/Types/PublicAdvertisement/Models/EstateSoldReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71836"
} | starcoder | using System.CodeDom.Compiler;
using System;
using System.Runtime.Serialization;
using SolidRpc.Test.Vitec.Types.Models.Api;
namespace SolidRpc.Test.Vitec.Types.PublicAdvertisement.Models {
/// <summary>
/// OK
/// </summary>
[GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")]
public class EstateSol... | 1.859903 | 07eb0e5cd584102d220617f7abcd4598 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlejandroIbarraC/Pandemica",
"max_stars_repo_path": "API/FirstWaveAPI/Source/Entities/Contact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71837"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace API.Source.Entities
{
public class Contact
{
public string person { get; set; }
public string patient { get; set; }
public int id { get; set; }
public string contactDate {... | 2.155276 | d31e403a84b6fa755f5d0347c3175d3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JDSRAO/Preparation",
"max_stars_repo_path": "CSharpSamples/CodeFirstApproach/EFDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71838"
} | starcoder | <filename>CSharpSamples/CodeFirstApproach/EFDbContext.cs
using CSharpSamples.CodeFirstApproach.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
n... | 2.721617 | a5ede3b3e5894dd751d3789b660cce13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71838 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Microsoft/logging-application-block",
"max_stars_repo_path": "source/Src/MsmqDistributor/ServiceStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71839"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Practices.EnterpriseLibrary.Logging.MsmqDistributor
{
/// <summary>
/// The Service status enum (as byte)
/// This status is used to flag the service it should be s... | 2.223433 | b91f99c824e5d50b05de3bf8f0511b3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gotenxds/GatherBuddy",
"max_stars_repo_path": "Gui/TabAlarms.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71840"
} | starcoder | using System.ComponentModel;
using System.Numerics;
using GatherBuddy.Classes;
using GatherBuddy.Enums;
using ImGuiNET;
namespace GatherBuddy.Gui
{
public partial class Interface
{
private void DrawDeleteAndEnable()
{
using var group = ImGuiRaii.NewGroup();
... | 2.455342 | 2872717db333781cd244631bfe75a065 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71840 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "IPA-CyberLab/IPA-DN-FileCenter",
"max_stars_repo_path": "IPA-DN-FileCenter/FileCenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71841"
} | starcoder | // IPA-DN-FileCenter
//
// Copyright (c) 2020- IPA CyberLab.
// All Rights Reserved.
//
// License: The Apache License, Version 2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES... | 1.564158 | 891370503ce51966e1d3f4f80843cdd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mookiejones/RobotParser",
"max_stars_repo_path": "src/Interfaces/ITokenStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71842"
} | starcoder | namespace RobotParser.Interfaces
{
public interface ITokenStream : IIntStream
{
int Range
{
get;
}
ITokenSource TokenSource
{
get;
}
IToken LT(int k);
IToken Get(int i);
string ToString(int start, int stop);
string ToString(IToken start, IToken stop);
}
} | 2.096045 | 8835a7d6cdb434d903f298d0293a8ea2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71842 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "balanced/balanced-csharp",
"max_stars_repo_path": "scenarios/scenarios/credit_list_bank_account/request.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71843"
} | starcoder | <gh_stars>1-10
using Balanced;
using System.Collections.Generic;
Balanced.Balanced.configure("{{ api_key }}");
BankAccount bankAccount = BankAccount.Fetch("{{ bank_account_href }}");
List<Credit> credits = bankAccount.credits; | 1.628741 | e9e5b04acf34453c1c5d4161c9d7bad6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71843 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcgov/JAG-SPD-SPICE",
"max_stars_repo_path": "spice-carla-sync-service/models/PriorityCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71844"
} | starcoder | <filename>spice-carla-sync-service/models/PriorityCode.cs
using System;
namespace SpiceCarlaSync.models
{
public enum PriorityCode
{
High = 1,
Normal = 2,
Low = 3
}
}
| 1.639191 | 5e5b6a32cc03e0e1fbea0dac6e8a6fa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71844 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "bzumhagen/dotnet-gitchanges",
"max_stars_repo_path": "dotnet-gitchanges.Tests/Generators/StringChangelogGeneratorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71845"
} | starcoder | <filename>dotnet-gitchanges.Tests/Generators/StringChangelogGeneratorTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Gitchanges.Caches;
using Gitchanges.Changes;
using Gitchanges.Generators;
using Gitchanges.Readers;
using Moq;
using NUnit.Framework;
using Stubble.Core.Builder... | 2.52577 | de5bc4c53ddfa05564bdb35dc6f6f808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71845 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "812169562/sandcore",
"max_stars_repo_path": "src/Sand/Filter/LogInterceptorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71846"
} | starcoder | <reponame>812169562/sandcore
using System;
using System.Threading.Tasks;
using Sand.Dependency;
using NLog;
using AspectCore.DynamicProxy;
using Sand.Context;
using Microsoft.Extensions.Logging;
using AspectCore.DependencyInjection;
namespace Sand.Filter
{
/// <summary>
/// 日志aop
/// </summary>
public... | 2.023321 | 2e8068aa7cd67fb7014c3252d7725927 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71846 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vladkar/pulse-project-open",
"max_stars_repo_path": "Pulse.Common/Behavior/Intention/Planned/IPoiPlannedIntension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71847"
} | starcoder | <reponame>vladkar/pulse-project-open
namespace Pulse.Common.Behavior.Intention.Planned
{
public interface IPoiPlannedIntension : IPlannedIntention
{
string[] PoiTypes { set; get; }
}
} | 1.20212 | 66eae0ba14686b3240dfed57ab6ad915 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71847 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "hueifeng/OmniPay",
"max_stars_repo_path": "src/OmniPay.Wechatpay/Domain/AppletPayModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71848"
} | starcoder | <gh_stars>10-100
namespace OmniPay.Wechatpay.Domain
{
public class AppletPayModel:PublicPayModel
{
}
}
| 0.795581 | 7f5ddb875dcf4a1f6148aa3d8ec344b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottheckel/PBSKidsPlayOn",
"max_stars_repo_path": "test/Test/FullEpisodeServiceTests/FetchPlaylistTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71849"
} | starcoder | using System;
using System.Globalization;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using PBSKidsPlayOn;
namespace Test.FullEpisodeServiceTests
{
[TestClass]
public class FetchPlaylistTests
{
[TestMethod]
public void CanDownloadPlaylistTest... | 2.550101 | afaa07c71fc260cf77bbc9ce752bc5f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71849 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/VisualStudio-TestHost",
"max_stars_repo_path": "VSTestHost/TesteeTestAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71850"
} | starcoder | <reponame>Bhaskers-Blu-Org2/VisualStudio-TestHost
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the Licen... | 1.808474 | 47ab222cd9576a22bf29e3a024fc4b10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71850 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "andrew-boyarshin/ClangSharp",
"max_stars_repo_path": "sources/ClangSharp/Interop.Extensions/CXIdxClientContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71851"
} | starcoder | // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information.
using System;
namespace ClangSharp.Interop
{
public unsafe partial struct CXIdxClientContainer : IEquatable<CXIdxClient... | 2.151991 | 2da564133d43bb5b1968f35d06736ca8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71851 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SolidQIT/ABI-Compiler",
"max_stars_repo_path": "SolidQ.ABI.Compiler/infrastructure/Helper/IOHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71852"
} | starcoder | <reponame>SolidQIT/ABI-Compiler
using System;
using System.IO;
namespace SolidQ.ABI.Compiler.Infrastructure.Helper
{
internal static class IOHelper
{
/// <summary>
/// If param "referencePath" is null use Environment.CurrentDirectory
/// </summary>
public static string ResolveR... | 2.394385 | 7611fa274ab113c584b30e98c970e2c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abnerfs/query-viewer",
"max_stars_repo_path": "QueryViewer/QueryView.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71853"
} | starcoder | <filename>QueryViewer/QueryView.Designer.cs<gh_stars>0
namespace QueryViewer
{
partial class QueryView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resou... | 2.151499 | 999cbd0aac35c3bbc25f3cf02076846a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71853 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SpencasaurusRex/ARA2D",
"max_stars_repo_path": "Old/Commands/WaitAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71854"
} | starcoder | using ARA2D.Core;
using MoonSharp.Interpreter;
namespace ARA2D.Commands
{
public class WaitAction : CommandAction
{
public WaitAction(Script script) : base(script)
{
}
public override void Start(IComponentProvider componentProvider)
{
}
pu... | 1.807398 | 18e4762a67a290a7813f3c8b9ed8e3c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71854 | {
"extension": "c-sharp",
"max_stars_count": "175.0",
"max_stars_repo_name": "furkandeveloper/AutoFilterer",
"max_stars_repo_path": "sandbox/WebApplication.API/Models/Northwind/Shipper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71855"
} | starcoder | <reponame>furkandeveloper/AutoFilterer
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebApplication.API.Models.No... | 1.992756 | fef62f046313d45a91f06fe1544a3c8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "optus23/BlindHero",
"max_stars_repo_path": "Arcade Game/Assets/Scripts/EndlessGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71856"
} | starcoder | <filename>Arcade Game/Assets/Scripts/EndlessGenerator.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EndlessGenerator : MonoBehaviour {
public GameObject[] obj;
public float time;
public float time_now;
// Use this for initialization
void Start () {
... | 2.516512 | 3db78bf9d97cbf4c7601b84abded734a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71856 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/PayPartnerTransactions/CreatePayPartnerTransactionJsapiResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7... | starcoder | <gh_stars>1-10
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
/// <para>表示 [POST] /pay/partner/transactions/jsapi 接口的响应。</para>
/// </summary>
public class CreatePayPartnerTransactionJsapiResponse : CreatePayTransactionJsapiResponse
{
}
}
| 1.134079 | 35720b1ce6c8ffc76288318e3db5e5b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71857 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "joshooaj/mipsdk-samples-plugin",
"max_stars_repo_path": "DataExport/DataExportManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71858"
} | starcoder | <filename>DataExport/DataExportManager.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using VideoOS.Platform;
using VideoOS.Platform.Client;
using VideoOS.Platform.Client.Export;
namespace DataExport
{
public class DataExportManager : ExportManager
{
private int... | 2.398798 | 85396f576f803e6ca6c7352f1023ac0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71858 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "Syncaidius/MoltenEngine",
"max_stars_repo_path": "Molten.DX11/Surfaces/WinformsSurface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71859"
} | starcoder | using SharpDX.DXGI;
using SharpDX.Windows;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Molten.Graphics
{
public abstract class WinformsSurface<T> : SwapChainSurface
where T : Control
{
... | 2.190365 | f19b7c515dd771621d01a980868e00d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71859 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VFLashM/runtime",
"max_stars_repo_path": "src/libraries/System.Drawing.Common/tests/Imaging/ColorMatrixTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71860"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
// Copyright (C) 2005-2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated... | 1.90182 | 1a4a4feb184c767fdc7f4c5003863a4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WonderTools/InspectorUsageSample",
"max_stars_repo_path": "InspectorUsageSample/InspectorUsageSample/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71861"
} | starcoder | <gh_stars>0
@using InspectorUsageSample
@using InspectorUsageSample.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.478191 | ea150ff7739982531810e2fa9179be52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joseluis-mtz/Control-GUI",
"max_stars_repo_path": "Practica Interfaces/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71862"
} | starcoder | <filename>Practica Interfaces/Form1.Designer.cs
namespace Practica_Interfaces
{
partial class Form1
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los re... | 1.952521 | 4585ebab0cdbf12218a481ad45c2f229 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrisny286/osu-framework",
"max_stars_repo_path": "osu.Framework.Tests/Visual/TestCaseColourGradient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71863"
} | starcoder | <gh_stars>0
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework... | 1.933506 | d71382e46db63e2076b150f2a789ef1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chen1993nian/CPMPlatform",
"max_stars_repo_path": "AppModel/EIS.WorkFlow.Model/TaskState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71864"
} | starcoder | using EIS.AppBase;
using System;
namespace EIS.WorkFlow.Model
{
public enum TaskState
{
[EnumDescription("未处理")]
NotStart,
[EnumDescription("处理中")]
Processing,
[EnumDescription("完成")]
Finished
}
} | 1.5868 | d1a35613f8d5e70a5616423ca5a22d00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KylerM/CupCake",
"max_stars_repo_path": "CupCake.Messages/RegisteredMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71865"
} | starcoder | <gh_stars>0
using System;
using CupCake.Core.Events;
using CupCake.Messages.Receive;
using PlayerIOClient;
namespace CupCake.Messages
{
public class RegisteredMessage<T> : IRegisteredMessage where T : ReceiveEvent
{
private readonly EventManager _events;
public RegisteredMessage(EventManager ... | 1.872291 | 187ba1d7fe861a5288bdb3234d0a1eba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reexmonkey/Webhooks",
"max_stars_repo_path": "Webhooks.Core.Services.Providers/Requests/RaiseWebhookEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71866"
} | starcoder | <reponame>reexmonkey/Webhooks
using Reexmonkey.Webhooks.Core.Domain.Concretes.Models;
using Reexmonkey.Webhooks.Core.Services.Publishers.Responses;
using ServiceStack;
using System;
using System.Collections.Generic;
namespace Reexmonkey.Webhooks.Core.Services.Publishers.Requests
{
/// <summary>
/// Specifies ... | 2.001602 | 0aea00408caa6eb4add25ce4f75353dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrunkRussianGun/CSharpTests",
"max_stars_repo_path": "TestAspNetCore/NullableIntShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71867"
} | starcoder | using FluentAssertions;
using NUnit.Framework;
// ReSharper disable ConditionIsAlwaysTrueOrFalse
namespace TestNetCore
{
[TestFixture]
public class NullableIntShould
{
[Test]
public void NotBeLessThan0()
{
(null < 0).Should().BeFalse();
}
[Test]
... | 2.265879 | 6e3b102c426b9d51403e2b57f22c66e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71867 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "symphonyoss/AgentClient",
"max_stars_repo_path": "src/SymphonyOSS.RestApiClient/Entities/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71868"
} | starcoder | // Licensed to the Symhony Software Foundation (SSF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SSF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | 2.293268 | fbc91f8a00ae85189e0189136e02419c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71868 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "HHChaos/Drawing-Studio",
"max_stars_repo_path": "LearnDraw.ML/Tools/IMLPredictionEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71869"
} | starcoder | <gh_stars>10-100
using System.IO;
namespace LearnDraw.ML.Tools
{
public interface IMLPredictionEngine<TSrc, TDst>
{
bool BuildPredictionEngine(Stream mlModelStream);
bool BuildPredictionEngine(string mlModelPath);
TDst Predict(TSrc data);
TDst Predict(float[] data);
}
}
| 1.9866 | 573eaba31fd9dbacae7fe5811a9ba81d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gambit-monkey/PlayFabTools",
"max_stars_repo_path": "com.gambitmonkey.playfabtools/Runtime/Scripts/Scriptable Objects/Events/Listeners/GameEventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71870"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace GambitMonkey.ScriptableObjects
{
public class GameEventListener : MonoBehaviour
{
[Tooltip("Event to register with.")]
public GameEvent Event; //Which event does this listen for
... | 2.787914 | 83cd3b5196ed28a968872fdc593f170c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charliedavenport/Athens-Parking-Meters",
"max_stars_repo_path": "Assets/PowerUI/Source/Extras/Widgets/WidgetGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71871"
} | starcoder | <reponame>charliedavenport/Athens-Parking-Meters
//--------------------------------------
// PowerUI
//
// For documentation or
// if you have any issues, visit
// powerUI.kulestar.com
//
// Copyright © 2013 Kulestar Ltd
// www.kulestar.com
//---------------------------------... | 2.587911 | 56b337dbc6b7d65b32fa25ba913149a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71871 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper.UnitTests/Structs/WhenMappingToUnmappableStructMembers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71872"
} | starcoder | namespace AgileObjects.AgileMapper.UnitTests.Structs
{
using System;
using System.Collections.Generic;
using Common;
using TestClasses;
#if !NET35
using Xunit;
#else
using Fact = NUnit.Framework.TestAttribute;
[NUnit.Framework.TestFixture]
#endif
public class WhenMappingToUnmappableStr... | 2.541922 | f370353ccfcd2b926a4a1f82adf9d4a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71872 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kapilt1988/openshift.net",
"max_stars_repo_path": "node/src/openshift-dotnet/Uhuru.Openshift.Common/Models/Manifest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71873"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using Uhuru.Openshift.Common.Models;
using YamlDotNet.RepresentationModel.Serialization;
namespace Uhuru.Openshift.Runtime
{
public class Manifest
{
public string Private... | 1.94809 | 5220007905898bb25e895e103190b681 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71873 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System/net/System/Net/Sockets/NetworkStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71874"
} | starcoder | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <copyright file="NetworkStream.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------------... | 2.692644 | eafd613e02aea28e6b6ce4815c5dbd4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zonde306/Forest",
"max_stars_repo_path": "World/InstantTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71875"
} | starcoder | using UnityEngine;
using TheForest.Utils;
using TheForest.Tools;
using Bolt;
using UnityEngine.Events;
using FMOD.Studio;
using Harmony;
namespace Forest.Player
{
[HarmonyPatch(typeof(TreeHealth)), HarmonyPatch("DamageTree")]
internal class InstantTree : MonoBehaviour
{
public static void Prefix(ref TreeHealt... | 1.749297 | 0480ab8a40a0ce1624c15a97347614ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crsky7270/MvvmCrossV5",
"max_stars_repo_path": "MvxForms.Platform.Forms/Converter/SpacingConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71876"
} | starcoder | using System;
using Xamarin.Forms;
namespace MvxForms.Platform.Forms.Converter
{
public class SpacingConverter:IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
//var items = value as IEnumerable<HomeViewModel>;
//var coll... | 2.390824 | 9cac74aa57093dd30458fd9b9a10ad3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71876 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "bakiya-sefer/bakiya-sefer",
"max_stars_repo_path": "Assets/FullInspector2/Modules/tkControl/Controls/tkEmpty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71877"
} | starcoder | using UnityEngine;
namespace FullInspector {
public partial class tk<T, TContext> {
/// <summary>
/// A rule that does nothing. The returned height can be customized.
/// </summary>
public class Empty : tkControl<T, TContext> {
[ShowInInspector]
private read... | 2.39758 | 62cb4ac7e5d13dbe6db2f2f77221dbe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/Lumina",
"max_stars_repo_path": "src/Lumina.Generated/Excel/GeneratedSheets/FateProgressUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71878"
} | starcoder | <filename>src/Lumina.Generated/Excel/GeneratedSheets/FateProgressUI.cs
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "FateProgressUI", columnHash: 0x73e43ab7 )]
public class FateProgressUI : IExcelRow
{
public LazyRow< TerritoryType > ... | 2.15525 | 18f6d912402046c4f5ad839db39e76f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/Network/V20150504Preview/GetRecordSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71879"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 1.872374 | d6e8907ef0d41590d33173eef0e5eb66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vpechev/PersonalIdProvider",
"max_stars_repo_path": "WebApplication1/Utilities/Utility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71880"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Schema;
using System.Xml.Serialization;
using WebApplication1.Models;
namespace WebApplication1.Utilities
{
public class Utility
{
public stat... | 2.72367 | cafe71ad2f46c6165d91c58f1465df2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaniceBPC/FitFiles",
"max_stars_repo_path": "Dynastream/Fit/Mesg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71881"
} | starcoder | <gh_stars>0
#region Copyright
////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is"... | 2.18486 | 01a8f90ddfbf80017c2ff71b0ab1555d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71881 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/service-fabric-backup-explorer",
"max_stars_repo_path": "src/Microsoft.ServiceFabric.ReliableCollectionBackup/Parser.Tests/TakeBackupAfterParseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71882"
} | starcoder | <reponame>Bhaskers-Blu-Org2/service-fabric-backup-explorer
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ---------------------------------... | 1.99843 | 59e61ca34b0f01717a8c57e1825119fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71882 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Dirkster99/KB",
"max_stars_repo_path": "00_HelloWorld/KnowledgeBase - Sample 7 LocalZipSchemeHandler/KnowledgeBase/Behaviors/TextChangedBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71883"
} | starcoder | namespace KnowledgeBase.Behaviors
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
/// <summary>
/// http://stackoverflow.com/questions/7271101/wpf-textbox-textchanged-event-on-programmatic-versus-user-change-of-text-content
/// </summary>
public class TextChangedBehavior
{
... | 2.552474 | b6c3466ed49cdc850ab7363d0ba84933 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grecaun/chronokeep-windows",
"max_stars_repo_path": "ChronoKeep/IO/ExcelImporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71884"
} | starcoder | <reponame>grecaun/chronokeep-windows
using Microsoft.Office.Interop.Excel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Chronokeep
{
class ExcelImporter : IDataImporter
{
... | 2.551671 | f2e8c8be17830ea4a14b392de632ab97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hai-vr/AvatarImageReader",
"max_stars_repo_path": "Assets/UdonSharp/Editor/UdonSharpSymbolTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71885"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using UnityEngine;
using VRC.Udon.Serialization.OdinSerializer;
namespace UdonSharp.Compiler
{
[Flags]
public enum SymbolDeclTypeFlags
{
Public = 1, // Declared by the user as a public variable on a class
... | 2.482292 | 4df40d4949fa32c7b3e0d06081dd0e1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hexthedev/Jam-GMTK20210611",
"max_stars_repo_path": "Assets/Scripts/Grid/Grid/GridElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71886"
} | starcoder | using HexCS.Core;
namespace GMTK2021
{
public class GridElement<T>
{
public Grid<T> Grid;
public DiscreteVector2 Cooridnate;
}
} | 1.471512 | b7ae46015be118d981a3b0aca5264f28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keplernicolai/WeatherApp",
"max_stars_repo_path": "StefaniniTeste/StefaniniTeste/StefaniniTeste/ViewModels/ListCitiesPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71887"
} | starcoder | using StefaniniTeste.Models;
using StefaniniTeste.Utils;
using StefaniniTeste.Views;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
namespace StefaniniTeste.ViewModels
{
public class ListCitiesPageViewModel : BaseViewModel
... | 2.164331 | cad9798ecbf8cef519f6f21751b2605c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomohiroSuzuki128/net-upgrade-assistant-tutorial",
"max_stars_repo_path": "01_NetFramework/WinFormsAppNetFramework/WinFormsAppNetFramework/Views/MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71888"
} | starcoder | <reponame>TomohiroSuzuki128/net-upgrade-assistant-tutorial
namespace WinFormsAppNetFramework.Views
{
partial class MainForm
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべ... | 1.809813 | 6b7f20b14ca0bf1a6241e0a463a5d88d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71888 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/util/ExceptionUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71889"
} | starcoder | using System;
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file ... | 1.894084 | f14f492c12e5141f4ff1185590dff37b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71889 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "Beachbot330/navxmxp",
"max_stars_repo_path": "c#/navXFirmwareUpdater/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71890"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Globalization;
using System.Threading;
using System.IO;
using System.IO.Ports;
using NetDFULib;
using navXComUtilities;
n... | 1.889086 | ab56f1796bf4e473f870767c43cb404d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71890 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Blind-Striker/infinityfiction",
"max_stars_repo_path": "UI/InfinityFictionEditor.Core/Models/TreeViewItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71891"
} | starcoder | using System.Collections.Generic;
namespace InfinityFiction.UI.InfinityFictionEditor.Core.Models
{
public class TreeViewItem
{
public TreeViewItem()
{
TreeViewItems = new List<TreeViewItem>();
}
public string Id { get; set; }
public string Name { get; set;... | 1.900118 | 32549520221f3ed2707eb53e53f7164a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71891 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wenfeifei/Surging.Sample",
"max_stars_repo_path": "src/Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/ScanRunnable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71892"
} | starcoder | using Surging.Core.Protocol.Mqtt.Internal.Enums;
using Surging.Core.Protocol.Mqtt.Internal.Messages;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Surging.Core.Protocol.Mqtt.Internal.Runtime
{
public abstract class ScanRunnable : Runnable
{
private ConcurrentQueue<Se... | 2.415746 | 40ddc39cc518f8a2aabe5b8038fcc583 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ninito-ph/Sketch-Fleets",
"max_stars_repo_path": "Assets/Game/Scripts/Data/Effects/ItemEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71893"
} | starcoder | <gh_stars>1-10
using ManyTools.Variables;
using UnityEngine;
namespace SketchFleets.Data
{
/// <summary>
/// A class that contains attributes for an item usable by the mothership
/// </summary>
[CreateAssetMenu(fileName = CreateMenus.itemEffectFileName, menuName = CreateMenus.itemEffectMenuName,
... | 1.972245 | 08140a253be8d856b0033e6b12e355dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rcfox/RS3TextImprovements",
"max_stars_repo_path": "RS3TextImprovements/Class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71894"
} | starcoder | using HarmonyLib;
using UnityModManagerNet;
using System.Reflection;
using System.Collections.Generic;
using System.Reflection.Emit;
namespace RS3TextImprovements
{
static class Main
{
static void Load(UnityModManager.ModEntry modEntry)
{
var harmony = new Harmony(modEntry.Info.Id)... | 2.19631 | 36314ebfd3d425f29580022451bebb37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnknitSplash/Praktisk",
"max_stars_repo_path": "Praktisk/Trie/Traversers/Traverser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71895"
} | starcoder | <filename>Praktisk/Trie/Traversers/Traverser.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Trie.Traversers
{
internal abstract class Traverser<T>
{
protected readonly Node<T> _root;
public Traverser(Node<T> root)
{
_root = root;
}
... | 2.293006 | 709988cd2bb9388b84adf0a1429bde52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71895 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MangoInstantMessenger/MangoMessengerAPI",
"max_stars_repo_path": "MangoAPI.IntegrationTests/ApiQueries/SearchChatMessageQueryHandlerTests/SearchChatMessageTestSuccess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71896"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using MangoAPI.BusinessLogic.ApiQueries.Messages;
using MangoAPI.IntegrationTests.Helpers;
using Xunit;
namespace MangoAPI.IntegrationTests.ApiQueries.SearchChatMessageQueryHandlerTests;
public class SearchChatMessageTestSuccess : Integrat... | 2.12411 | 104e4023c1f65376f917f716bbde03fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buildlet/BUILDLet.Standard.Utilities",
"max_stars_repo_path": "BUILDLet.Standard.UtilitiesTests/AssemblyAttributesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71897"
} | starcoder | <filename>BUILDLet.Standard.UtilitiesTests/AssemblyAttributesTests.cs
/***************************************************************************************************
The MIT License (MIT)
Copyright 2019 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
ass... | 2.143438 | 17f3cbb18c79fbb75abd67607c0b8480 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaeldolfe/MasterServerChess",
"max_stars_repo_path": "Assets/Plugins/CodeStage/Maintainer/Editor/Scripts/Core/Map/AssetsMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71898"
} | starcoder | #region copyright
// -------------------------------------------------------
// Copyright (C) <NAME> [https://codestage.net]
// -------------------------------------------------------
#endregion
namespace CodeStage.Maintainer.Core
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Lin... | 1.942753 | 2104687f8d6f07e93df94adf7babe7f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benmccallum/CoreWeb",
"max_stars_repo_path": "CoreWeb/Sys/Web/UI/WebControls/WebControlExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71899"
} | starcoder | <filename>CoreWeb/Sys/Web/UI/WebControls/WebControlExtensions.cs
using System;
using System.Linq;
using System.Web.UI.WebControls;
/// <summary>
/// Extensions for the <c>System.Web.UI.WebControls.WebControl</c> type.
/// </summary>
public static class WebControlExtensions
{
/// <summary>
/// Adds the given c... | 3.175937 | 28f0b75ada4def57c912e9421517bef1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karl-barkmann/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.SharpDX.Shared/Core/InstancingBillboardRenderCore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71900"
} | starcoder | <reponame>karl-barkmann/helix-toolkit
/*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
using System;
#if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX.Core
#else
namespace HelixToolkit.UWP.Core
#endif
{
using Render;
public class InstancingBillboardRenderCore : BillboardRenderCore
... | 2.072563 | 86a158812f9f5db1770c7d56c75a1751 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sanjeet111gupta/TappyBall",
"max_stars_repo_path": "Tappy Ball/Assets/PipeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71901"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PipeController : MonoBehaviour {
public float speed;
public float upDownSpeed;
Rigidbody2D rb;
// Use this for initialization
void Start () {
rb = GetComponent<Rigidbody2D> ();
MovePipe ();
InvokeRepeating ("Switc... | 2.278494 | cef3967f4b4cdf2125a0413c85d4eb2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71901 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/BroadcastUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71902"
} | starcoder | <filename>src/BroadcastUI.cs
using Foundation.Core.Databinding;
using GameData;
using System;
using UnityEngine;
using UnityEngine.UI;
public class BroadcastUI : UIBase
{
public static BroadcastUI Instance;
protected Text content;
protected float duration;
private float dst;
protected Vector3 init_pos = new V... | 1.867031 | c7414c67e2bb035f582c95a33d5e3df8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71902 | {
"extension": "c-sharp",
"max_stars_count": "472.0",
"max_stars_repo_name": "zaduzac/IdentityManager",
"max_stars_repo_path": "source/Core.Tests/Api/UserControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71903"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using Thinktecture.IdentityManager;
using Thinktecture.IdentityManager.Api.M... | 2.145598 | cd217b5c3a600e5341947706afadc388 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dperperidis/MieleApplication",
"max_stars_repo_path": "MieleServiceApp/Controllers/PartnersConstroller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71904"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using MieleServiceApp.Data;
using MieleServiceApp.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MieleServiceApp.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class PartnersController : C... | 2.278079 | d9feeebe07e2c9fb0681f862be76b67f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RMXdotEXE/Platform-Racing-3-Backend",
"max_stars_repo_path": "Server/Game/Communication/Messages/Incoming/Parsers/Handshake/SetEncryptionPacketParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71905"
} | starcoder | <reponame>RMXdotEXE/Platform-Racing-3-Backend
using Net.Communication.Attributes;
using Platform_Racing_3_Server.Game.Communication.Managers;
using Platform_Racing_3_Server.Game.Communication.Messages.Incoming.Packets.Handshake;
using System;
using System.Collections.Generic;
using System.Text;
using Net.Buffers;
usin... | 1.637859 | 220f2dde7b32955f203757eb41eade14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FbFDestro/DownloadBanker",
"max_stars_repo_path": "PROGRAMA/DownloadBanker/Validacao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71906"
} | starcoder | <reponame>FbFDestro/DownloadBanker<filename>PROGRAMA/DownloadBanker/Validacao.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DownloadBanker.Classes
{
class Validacao
{
public static bool ValidacaoEmail(string email)
{
bool validEm... | 2.836353 | b7296ec0354c44406af40d57cf723b8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71906 | {
"extension": "c-sharp",
"max_stars_count": "600.0",
"max_stars_repo_name": "RainbowCat/cs184-final-project",
"max_stars_repo_path": "Assets/Scripts/Clouds/Editor/NoiseGenEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71907"
} | starcoder | <gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
[CustomEditor (typeof (NoiseGenerator))]
public class NoiseGenEditor : Editor {
NoiseGenerator noise;
Editor noiseSettingsEditor;
public override void OnInspectorGUI () {... | 2.054347 | f4a3a36e2b02d42b6a71bea6564f9bbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71907 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ivaylodoynov/angular-pizza",
"max_stars_repo_path": "server/Pizzeria.Server/Infrastructure/Services/Common/ISingletonService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71908"
} | starcoder | namespace Pizzeria.Server.Infrastructure.Services.Common
{
public interface ISingletonService
{
}
}
| 0.931716 | 55883024749e5d04fee0b15df59d44dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71908 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ekfvoddl3536/OniMods",
"max_stars_repo_path": "decompiled/src/EasyFarming/SaltPlantConfigPatch_OnSpawn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71909"
} | starcoder | using System;
using Harmony;
namespace EasyFarming
{
// Token: 0x0200000E RID: 14
[HarmonyPatch(typeof(SaltPlantConfig), "OnSpawn")]
public static class SaltPlantConfigPatch_OnSpawn
{
// Token: 0x06000010 RID: 16 RVA: 0x00002F2E File Offset: 0x0000112E
public static bool Prefix()
{
return fal... | 1.418017 | bc1a1ab928590ad18d2dd15ff041e27f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DinukaNavaratna/C--SimplePOS",
"max_stars_repo_path": "WindowsFormsApplication1/WindowsFormsApplication1/db_connection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71910"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApplication1
{
class db_connection
{
protected string con_string = (@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=E:\C#\POS - Assignment\POS\WindowsFormsApp... | 2.41574 | ebaf77f25dcb2d2abe9e74a2e8aba9ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Serguzest/marten",
"max_stars_repo_path": "src/Marten.Testing/Examples/MultiTenancy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71911"
} | starcoder | <filename>src/Marten.Testing/Examples/MultiTenancy.cs
using System.Linq;
using Xunit;
namespace Marten.Testing.Examples
{
public class MultiTenancy
{
[Fact]
public void use_multiple_tenants()
{
// Set up a basic DocumentStore with multi-tenancy
// via a tenant_id... | 2.681737 | 795ba225c8f6a85985735137e4d5ab33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UsualDeveloper/PlainLogsToDbConverter",
"max_stars_repo_path": "PlainLogsToDbConverter.Processing/FileService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71912"
} | starcoder | <gh_stars>0
using System.IO;
namespace PlainLogsToDbConverter.Processing
{
public interface IFileService
{
StreamReader OpenFileTextStream(string filePath);
}
public class FileService : IFileService
{
public StreamReader OpenFileTextStream(string filePath)
{
ret... | 2.007888 | 048d406f724ea86751c4da31f176ef04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71912 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "keozx/CleanRx",
"max_stars_repo_path": "src/samples/Commands/Commands/ReactiveCmdViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71913"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Prism.Mvvm;
using Prism.Services;
using ReactiveUI;
namespace Commands
{
public class ReactiveCmdViewModel : BindableBase
{
private readonly DeviceService _device;
private bool _enabled;
public bool Enabled
... | 2.688129 | 1db1c0b69df28593eb3cddf43a30f58d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71913 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jdaigle/LightRail",
"max_stars_repo_path": "src/LightRail.Amqp.UnitTests/Types/EncoderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71914"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using NUnit.Framework;
namespace LightRail.Amqp.Types
{
[TestFixture]
public class EncoderTests
{
byte[] nullEncoded = new byte[] { 0x40 };
bool boolTrue = true;
byte[] boolTrueEncoded = new byte[] { 0x41 };
... | 2.056108 | a92a4bfbf612ec507a2e5a6691c1eb09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71914 | {
"extension": "c-sharp",
"max_stars_count": "483.0",
"max_stars_repo_name": "i-yangchun/Helios",
"max_stars_repo_path": "src/Helios/Channels/ChannelHandlerInvokerUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71915"
} | starcoder | <reponame>i-yangchun/Helios
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System;
using S... | 2.111673 | 554d505c0f1bc8a92aa29f53d8f55ed6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alanprot/RedisBoost",
"max_stars_repo_path": "tests/RedisBoost.Tests/Core/RedisPipelineTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71916"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using RedisBoost.Core.Pipeline;
using RedisBoost.Core.Receiver;
using RedisBoost.Core.Sender;
namespace RedisBoost.Tests.Core
{
[TestClass]
public class RedisPipelineTests
{
private Mock<IRedisSender> _redisSender;
... | 2.144538 | d7ffcd15c4d96d488bd79372d9755c26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71916 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "eric-erki/ERP-CMR-DMS",
"max_stars_repo_path": "ViennaAdvantageWeb/ModelLibrary/Model/MAttributeValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71917"
} | starcoder | <reponame>eric-erki/ERP-CMR-DMS
/********************************************************
* Project Name : VAdvantage
* Class Name : MAttributeValue
* Purpose : Set the attribute vlue from Table
* Class Used : X_M_AttributeValue
* Chronological Development
* Raghunandan 04-Jun-2009
****... | 1.945996 | 9a0152215f07f9095dad45f866137a85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71917 | {
"extension": "c-sharp",
"max_stars_count": "316.0",
"max_stars_repo_name": "Lekashi/LunaMultiplayer",
"max_stars_repo_path": "LmpCommon/Message/Types/LockMessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71918"
} | starcoder | namespace LmpCommon.Message.Types
{
public enum LockMessageType
{
ListRequest = 0,
ListReply = 1,
Acquire = 2,
Release = 3
}
} | 1.609413 | cc2d57edc34c78e70467f206fc25a6b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreSteenbergen/Schema.NET",
"max_stars_repo_path": "Source/Schema.NET/core/FoodEstablishment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71919"
} | starcoder | using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Schema.NET
{
/// <summary>
/// A food-related business.
/// </summary>
[DataContract]
public partial class FoodEstablishment : LocalBusiness
{
public interface IAcceptsReservations : IWrapper { }
... | 2.619116 | a05b72fb453c7e2134e3218b50e11044 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71919 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ewancoder/typingrealm",
"max_stars_repo_path": "TypingRealm.Data.Infrastructure/InMemoryLocationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71920"
} | starcoder | <reponame>ewancoder/typingrealm
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TypingRealm.Data.Resources;
namespace TypingRealm.Data.Infrastructure
{
public interface ILocationRepository
{
ValueTask<Location?> FindAsync(string locationId, CancellationTok... | 2.410953 | 5544b9f65b886be62436331eead97643 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whitefancy/unityShowOurs",
"max_stars_repo_path": "Assets/Scripts/hotfix/GamePage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71921"
} | starcoder |
using UnityEngine;
using UnityEngine.UI;
public class GamePage
{
public static GamePage Instance;
public static GamePage getInstance()
{
if (Instance == null)
{
Instance = new GamePage();
}
return Instance;
}
internal void init()
{
UnityEngi... | 2.22466 | 9abe0beb8fb3aba0e271a52bd7a6cd64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bao2314483/WebApiClient",
"max_stars_repo_path": "WebApiClientTest/Internal/HttpApiClientProxyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71922"
} | starcoder | using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using WebApiClient;
using Xunit;
namespace WebApiClientTest.Internal
{
public class HttpApiClientProxyTest
{
class MyInterceptor : IApiInterceptor
{
public HttpApiConfig ApiConfig { get; private set; }
... | 2.710001 | 80649f28d3c80b97b8ec1ac479ee6bf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sala91/voat",
"max_stars_repo_path": "src/Voat.Business/Domain/Models/DomainReferenceDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71923"
} | starcoder | #region LICENSE
/*
Copyright(c) Voat, Inc.
This file is part of Voat.
This source file is subject to version 3 of the GPL license,
that is bundled with this package in the file LICENSE, and is
available online at http://www.gnu.org/licenses/gpl-3.0.txt;
you may not use this file except i... | 2.17994 | 6ea932ae9c0650a0075c0e6cf0cd2a5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpodpro/chargify-dot-net",
"max_stars_repo_path": "Source/ChargifyDotNet/Json/JsonString.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71924"
} | starcoder | <filename>Source/ChargifyDotNet/Json/JsonString.cs
using System;
namespace ChargifyNET.Json
{
/// <summary>
/// Object representing the JsonString
/// </summary>
public sealed class JsonString : JsonValue
{
string _value;
/// <summary>
/// The value of this JsonString
... | 3.325546 | 0557ff7c2d93290e309671ba1f9080bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71924 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/ServiceBus/Diagnostics/Visualization/FubuDiagnosticsConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71925"
} | starcoder | <filename>src/FubuMVC.Core/ServiceBus/Diagnostics/Visualization/FubuDiagnosticsConfiguration.cs
namespace FubuMVC.Core.ServiceBus.Diagnostics.Visualization
{
public class FubuDiagnosticsConfiguration
{
public string Url = "transport";
public string Title = "FubuTransportation";
public s... | 1.634459 | 8620143a643cb25845720a4b4a60fe8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechnologicalPizza/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Formats/Png/Filters/UpFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71926"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace SixLabors.ImageSharp.Formats.Png.Filters
{
/// <summary>
/// The Up filter is just like the Sub filter except that the pixel immedia... | 2.676934 | 16cf41cd85e0fc491f2747ad971b2aaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-nm/CommunityServer",
"max_stars_repo_path": "web/studio/ASC.Web.Studio/UserControls/Management/SmsControls/ChangeMobileNumber.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71927"
} | starcoder | <reponame>dev-nm/CommunityServer<filename>web/studio/ASC.Web.Studio/UserControls/Management/SmsControls/ChangeMobileNumber.ascx.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... | 1.537454 | 1071fffd2df7d7cfddee73ccdb598fc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Myster/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/cruds.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71928"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace umbraco.dialogs
{
/// <summary>
//... | 1.769656 | 8413a5f34d50270ccdd4039641211677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharons74/koobeca",
"max_stars_repo_path": "DAL/Adapters/Storages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71929"
} | starcoder | <reponame>sharons74/koobeca
using System.Collections.Generic;
using System.Linq;
using KoobecaFeedController.DAL.Models;
using MySql.Data.MySqlClient;
namespace KoobecaFeedController.DAL.Adapters {
public class Storages {
private static readonly Dictionary<uint, Storage> Cache = new Dictionary<uint, Stora... | 2.467693 | 19bce6fe9b83a4ae999f2735935222f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71929 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "enginekit/copy_of_roslyn",
"max_stars_repo_path": "Src/Compilers/CSharp/Source/FlowAnalysis/RegionAnalysisWalker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71930"
} | starcoder | <reponame>enginekit/copy_of_roslyn<filename>Src/Compilers/CSharp/Source/FlowAnalysis/RegionAnalysisWalker.cs
using System;
using System.Collections.Generic;
namespace Roslyn.Compilers.CSharp
{
/// <summary>
/// A base class for walkers that need to analyze a particular region of a method body. Provides conve... | 2.833028 | 2fbb8d25230317cad3bd60e3fa75270b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71930 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "chhari/XamarinNewMemeApp",
"max_stars_repo_path": "src/XamarinEvolve.Clients.UI/Controls/AlwaysScrollView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71931"
} | starcoder | using Xamarin.Forms;
namespace XamarinEvolve.Clients.UI
{
public class AlwaysScrollView : ScrollView
{
public AlwaysScrollView()
{
}
}
}
| 1.161311 | 994cf6f06c7f5c90ee2f1cbcfdb60fdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vidapogosoft/NetCore092021",
"max_stars_repo_path": "webapi_di/webapi_di/Controllers/DIController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71932"
} | starcoder | <filename>webapi_di/webapi_di/Controllers/DIController.cs
using Microsoft.AspNetCore.Mvc;
using webapi_di.Comandos;
using webapi_di.Interfaces;
using webapi_di.Logger;
namespace webapi_di.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class DIController : ControllerBase
{
pri... | 2.469857 | 159cecf8dc950bde9f8814aded7a9462 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71932 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Carnagion/AdventOfCode",
"max_stars_repo_path": "2021/Aoc/Day25.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71933"
} | starcoder | <reponame>Carnagion/AdventOfCode<gh_stars>1-10
using System;
using System.Collections.Generic;
using Aoc.Extensions;
namespace Aoc
{
public static class Day25
{
public static void Part1()
{
List<string> list = new();
while (true)
{
... | 3.421957 | e2758e8096dfc63bc1ffac1c05ba381c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.