added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tspascoal/gh-gei",
"max_stars_repo_path": "src/ado2gh/Commands/CreateTeamCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130938"
} | starcoder | using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Threading.Tasks;
namespace OctoshiftCLI.AdoToGithub.Commands
{
public class CreateTeamCommand : Command
{
private readonly OctoLogger _log;
private readonly GithubApiFactory _githubApiFactory;
pu... | 2.816679 | a08ca77b9f63aa021401d581dfc257f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811719 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jbt00000/RevolutionaryStuff",
"max_stars_repo_path": "src/RevolutionaryStuff.Mergers.Core/TemplateInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130939"
} | starcoder | using System;
using System.IO;
using Newtonsoft.Json;
using RevolutionaryStuff.Core;
using RevolutionaryStuff.Core.ApplicationParts;
namespace RevolutionaryStuff.Mergers
{
public class TemplateInfo : IValidate
{
[JsonProperty("locationUrl")]
public Uri LocationUrl { get; set; }
[JsonP... | 2.238408 | c186a51d2a7d2ac261376d72c404454a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sxycxwb/nfine-test",
"max_stars_repo_path": "project/NFine.Web/Areas/SystemManage/Views/Duty/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130940"
} | starcoder | <reponame>sxycxwb/nfine-test<gh_stars>0
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Index.cshtml";
}
<script>
$(function () {
gridList();
})
function gridList() {
var $gridList = $("#gridList");
$gridList.dataGrid({
url: "/SystemManage/Duty/G... | 1.597868 | 3562c7bc4a0107469c6ffaacbfd76829 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Rafy/Tools/VSPackage/Commands/RefreshCodeSnippets/InstallCodeSnippetsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130941"
} | starcoder | /*******************************************************
*
* 作者:胡庆访
* 创建日期:20130423
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20130423 12:08
*
*******************************************************/
using System;
using System.Collections.Generic;
using Sys... | 1.970203 | 451271d77721ef6c626ef9048e122063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ptgullas/EPPlus.DataExtractor",
"max_stars_repo_path": "src/EPPlus.DataExtractor/SimpleCollectionColumnDataExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130942"
} | starcoder | <reponame>ptgullas/EPPlus.DataExtractor
namespace EPPlus.DataExtractor
{
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
internal interface ISimpleCollectionColumnDataExtractor<TRow>
where TRow : class, new()
{
void SetPropert... | 2.693794 | 216dc138fed98e046ef7c346b41433e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811723 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "dsherret/NDbfReader",
"max_stars_repo_path": "NDbfReader/Reader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130943"
} | starcoder | <filename>NDbfReader/Reader.cs
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NDbfReader
{
/// <summary>
/// Forward-only reader of dBASE table rows.
/// </summary>
public class Reader
{
private const byte DELETED_ROW_FLAG ... | 2.648726 | c58dc035bfa5633e87caacdbc0bff752 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811724 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Fobri/UnityMarchingCubesDestructibleFast",
"max_stars_repo_path": "Assets/Terrain Generation/TerrainDeformer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130944"
} | starcoder | <reponame>Fobri/UnityMarchingCubesDestructibleFast<filename>Assets/Terrain Generation/TerrainDeformer.cs<gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TerrainDeformer : MonoBehaviour
{
public WorldGeneration.WorldBase worldSetup;
public float defor... | 2.192532 | 659888a631c359515ce1e6079bb5c656 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811725 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HuLiangGit/Media_AramToHandPro001",
"max_stars_repo_path": "netDxf/netDxf/Collections/AttributeDefinitionDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130945"
} | starcoder | #region netDxf library, Copyright (C) 2009-2016 <NAME> (<EMAIL>)
// netDxf library
// Copyright (C) 2009-2016 <NAME> (<EMAIL>)
//
// 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... | 2.465832 | 45a119034d1cdac95001908445f7367f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811726 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sirpaulmcd/Onion-Trail-Open",
"max_stars_repo_path": "LifeAndRespawnSystem/Scripts/PlayerTeleporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130946"
} | starcoder | <reponame>sirpaulmcd/Onion-Trail-Open
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
namespace EGS
{
/// <summary>
/// This class is used to manage teleporting the player after they have died or
/// have fallen off an edge. If _periodicallyUpda... | 2.758167 | 72e27490d199f2abeab96c16a750bbac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811727 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/storage/Azure.Storage.Blobs/src/Generated/Models/BlobFlatListSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130947"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.Storage.Blobs.Models
{
/// <summary> The BlobFlatListSegment. </summary>
internal partial ... | 2.108202 | 22b281ec7709de65f91e5d65616ebe77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berfinertgl/berfin",
"max_stars_repo_path": "school_reg/school_reg/frmAddCourse.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130948"
} | starcoder | namespace school_reg
{
partial class frmAddCourse
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.14539 | 4b374ed0cdbe12b6b18b627f431ee127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811729 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreeApophis/Funcky",
"max_stars_repo_path": "Funcky.Async/Extensions/AsyncEnumerableExtensions/AnyOrElse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130949"
} | starcoder | using System.Runtime.CompilerServices;
namespace Funcky.Async.Extensions;
public static partial class AsyncEnumerableExtensions
{
/// <summary>Returns the items from <paramref name="source"/> when it has any or otherwise the items from <paramref name="fallback"/>.</summary>
[Pure]
public static IAsyncEnum... | 2.954956 | 5ece97a6761fb832b5442911e1aa22a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zengliugen/LittleBaby.Framework",
"max_stars_repo_path": "UnityProject/Packages/LittleBaby.Framework.UI/Runtime/Core/IUIAssetLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130950"
} | starcoder | <gh_stars>0
namespace LittleBaby.Framework.UI
{
using System;
using System.Threading.Tasks;
using UnityEngine;
public interface IUIAssetLoader
{
GameObject GetUI(String name);
}
}
| 1.163943 | d9592a274129751cba9766de7e9def4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811731 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/3-Modules/lm.Comol.Modules.Standard/ProjectManagement/Domain/Entities/lite/litePmActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130951"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.DomainModel;
using lm.Comol.Modules.Standard.ProjectManagement.Business;
namespace lm.Comol.Modules.Standard.ProjectManagement.Domain
{
[Serializable]
public class litePmActivity
{
public virt... | 1.873967 | 31e58d78b4eada0862508695103100ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811732 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "joffreykern/serilog-enrichers-correlation-id",
"max_stars_repo_path": "src/Serilog.Enrichers.CorrelationId/Enrichers/CorrelationIdHeaderEnricher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130952"
} | starcoder | <filename>src/Serilog.Enrichers.CorrelationId/Enrichers/CorrelationIdHeaderEnricher.cs
using System;
using System.Linq;
using Serilog.Core;
using Serilog.Events;
#if NETFULL
using Serilog.Enrichers.CorrelationId.Accessors;
using Serilog.Enrichers.CorrelationId.Extensions;
#else
using Microsoft.AspNetCore.Http;
#endif... | 2.556485 | d622210e030cbe96deda4abb345635bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811733 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "spraints/git-tfs",
"max_stars_repo_path": "GitTfsTest/Util/CommitSpecificCheckinOptionsFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130953"
} | starcoder | using System;
using System.IO;
using System.Linq;
using Sep.Git.Tfs.Commands;
using Sep.Git.Tfs.Util;
using Xunit;
namespace Sep.Git.Tfs.Test.Util
{
public class CommitSpecificCheckinOptionsFactoryTests
{
[Fact]
public void Sets_commit_message_as_checkin_comments()
{
TextWr... | 2.450432 | bd54500c55e9b78cbd429e87326c4ded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811734 | {
"extension": "c-sharp",
"max_stars_count": "2670.0",
"max_stars_repo_name": "yangbingqi155/Nagrace",
"max_stars_repo_path": "src/Orchard/Data/Migration/Schema/ISchemaBuilderCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130954"
} | starcoder | namespace Orchard.Data.Migration.Schema {
public interface ISchemaBuilderCommand {
}
}
| 0.896703 | 700494b343732229a4267eb10d69ac2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811735 | {
"extension": "c-sharp",
"max_stars_count": "215.0",
"max_stars_repo_name": "ThreeSevenths/Remote.Linq",
"max_stars_repo_path": "src/Remote.Linq/ExpressionTranslatorContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130955"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq
{
using Aqua.Dynamic;
using Aqua.TypeExtensions;
using Aqua.TypeSystem;
using Remote.Linq.DynamicQuery;
using System;
using System.Collections;
using System.Linq... | 2.163733 | 23562481e95ceae67287fdcad8445f1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DPNT-Sourcecode/CHK-vrng01",
"max_stars_repo_path": "src/BeFaster.Runner/Exceptions/ConfigNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130956"
} | starcoder | <gh_stars>0
using System;
namespace BeFaster.Runner.Exceptions
{
public class ConfigNotFoundException : Exception
{
public ConfigNotFoundException(string message)
: base(message)
{
}
public ConfigNotFoundException(string message, Exception innerException)
... | 1.461626 | 069e3e06774f0c79e03e8a60a6cf5014 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811737 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "johnmbaughman/MoreLINQ",
"max_stars_repo_path": "MoreLinq/Backsert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130957"
} | starcoder | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2018 <NAME> (leandromoh). 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
//
//... | 2.98469 | e642a129621706a2712fe17d6ae0457e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wilpark2000/CoreGameLab",
"max_stars_repo_path": "week 7 prototype/Assets/Aesthetics/PentagonFLoat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130958"
} | starcoder | <reponame>wilpark2000/CoreGameLab<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PentagonFLoat : MonoBehaviour
{
float yAdd;
float angleAdd;
float scale;
SpriteRenderer sr;
// Start is called before the first frame update
void Start()
... | 2.21682 | 818ba10cb48bc18f0f6ca13ebef84843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811739 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AJEETX/Employee.Management",
"max_stars_repo_path": "src/Dotnet.Portal.App/Interfaces/IPaymentRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130959"
} | starcoder | <filename>src/Dotnet.Portal.App/Interfaces/IPaymentRepository.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dotnet.Portal.Domain.Models;
namespace Dotnet.Portal.Domain.Interfaces
{
public interface IPaymentRepository : IRepository<Payment>
{
Task<Payment> GetDo... | 1.788786 | 3796969de5682085dd3a21e3ae761770 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zongsoft/Zongsoft.Framework",
"max_stars_repo_path": "Zongsoft.Core/src/Configuration/Xml/XmlStreamConfigurationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130960"
} | starcoder | <reponame>Zongsoft/Zongsoft.Framework
/*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
*... | 2.12164 | ff15a0430a0db3361e6ebfb8070579dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "punsal/HexFall-Clone",
"max_stars_repo_path": "Assets/Scripts/Utility/Extension/InformationUIDataExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130961"
} | starcoder | using Utility.UI.Information_UI.Data;
namespace Utility.Extension
{
public static class InformationUIDataExtension
{
public static InformationUIData SetDuration(this InformationUIData data, float duration)
{
data.Duration = duration;
return data;
}
}
} | 1.964786 | 289dfdebc9fffb98a4702bde9d1cc5af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aricooperman/jLean",
"max_stars_repo_path": "orig-src/Engine/DataFeeds/FileSystemDataFeed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130962"
} | starcoder | <filename>orig-src/Engine/DataFeeds/FileSystemDataFeed.cs
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | 1.829453 | 41457173d10622775610b68340acb0a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "PholioVisualisationWS/Analysis/ControlLimitsBuilderSpcForDsr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130963"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PholioVisualisation.Analysis
{
public class ControlLimitsBuilderSpcForDsr
{
public const double EventLimit = 101.0;
// Comparator Method 6
private const double ControlLimit2 = 0.025; // 95%
private ... | 2.74718 | c8e42d4f0fe4fe134e24f48d245068b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811744 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ModerRAS/TelegramSearchBot",
"max_stars_repo_path": "TelegramSearchBot/Service/RefreshService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130964"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using TelegramSearchBot.Intrerface;
using TelegramSearchBot.Model;
using TelegramSearchBot.Controller;
using TelegramSearchBot.Manager;
using System.IO;
using TelegramSearchBot.Comparer;
using Newtonsoft... | 2.223601 | aa1de960c0e6ec5bda6d4b278941f7fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811745 | {
"extension": "c-sharp",
"max_stars_count": "654.0",
"max_stars_repo_name": "huangqinjin/NuGet.Client",
"max_stars_repo_path": "src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/SourceValidity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130965"
} | starcoder | <reponame>huangqinjin/NuGet.Client
// 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.
namespace NuGet.PackageManagement.PowerShellCmdlets
{
public enum SourceValidity
{
/// <summary>
... | 1.785812 | a1c0f350dd502fe84b4f0c24b93fdd9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811746 | {
"extension": "c-sharp",
"max_stars_count": "544.0",
"max_stars_repo_name": "workgroupengineering/NetOffice",
"max_stars_repo_path": "Source/Office/DispatchInterfaces/Font2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130966"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OfficeApi
{
/// <summary>
/// DispatchInterface Font2
/// SupportByVersion Office, 12,14,15,16
/// </summary>
/// <remarks> Docs: <see href="https://docs.microsoft.com/en-us/office/vba/api... | 1.433783 | c98516ef2b6cd33ecf20d7aaa7081f21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811747 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "linedata/reactive-domain",
"max_stars_repo_path": "src/ReactiveDomain.Buffers/FileIO/BufferWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130967"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Threading;
using ReactiveDomain.Buffers.Examples;
using ReactiveDomain.Logging;
namespace ReactiveDomain.Buffers.FileIO
{
public class BufferWriter: IDisposable
{
internal class PendingBuffer
{
public ... | 2.558891 | 5a187af9321111e6fbc1158d4052348f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811748 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Manistein/behaviac",
"max_stars_repo_path": "integration/BattleCityDemo/Assets/Scripts/SoundEffectPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130968"
} | starcoder | <reponame>Manistein/behaviac<filename>integration/BattleCityDemo/Assets/Scripts/SoundEffectPlayer.cs
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright... | 2.225116 | 08c284e835908490307fdd0c1b2cb41c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811749 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bitmovin/bitmovin-api-sdk-dotnet",
"max_stars_repo_path": "src/Bitmovin.Api.Sdk/Models/SegmentedRawMuxing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130969"
} | starcoder | <reponame>bitmovin/bitmovin-api-sdk-dotnet<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using JsonSubTypes;
using Newtonsoft.Json;
using Bitmovin.Api.Sdk.Common;
using Bitmovin.Api.Sdk.Models;
namespace Bitmovin.Api.Sdk.Models
{
/// <s... | 1.779541 | f5cbf396ba9c921b580728aafc85e5cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811750 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "cserkaran/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Responses/Ticket/TicketAuditResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130970"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
using ZendeskApi.Client.Models;
namespace ZendeskApi.Client.Responses
{
[JsonObject]
public class TicketAuditResponse : CursorPaginationVariantResponse<TicketAudit>
{
[JsonProperty("audits")]
public IEnumerable<TicketAudit> Audits { g... | 1.91283 | c8b9ebe50bfa7c7046bb07eb471afb69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpaceChina/roslyn",
"max_stars_repo_path": "src/EditorFeatures/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130971"
} | starcoder | <filename>src/EditorFeatures/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests.cs
// 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 di... | 2.199016 | 5ffb9e7c6101fc626b5fb2dcc8cdb4aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811752 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "BrentFarris/ForgeAlloy",
"max_stars_repo_path": "ForgeAlloyUnity/Assets/ForgeNetworking/src/Menu/MenuMediator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130972"
} | starcoder | using Forge.Networking.Unity.UI;
using UnityEngine;
namespace Forge.Networking.Unity.Menu
{
public class MenuMediator : MonoBehaviour, IMenuMediator
{
[SerializeField]
private int _maxPlayers = 32;
public int MaxPlayers => _maxPlayers;
[SerializeField]
private HostButton _hostBtn = null;
public IUIButt... | 2.05502 | c28d9102e22344f98db5b2926b060f3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hmtinc/Project-Flare",
"max_stars_repo_path": "Scripts/PowerUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130973"
} | starcoder | <filename>Scripts/PowerUp.cs<gh_stars>0
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PowerUp : MonoBehaviour {
//Inspector Values
public GameObject parentObject;
//Local Variables
float rotateSpeedFloat = 30f;
int tempInt, temp2Int;
float resourceFloat, fuelFloat;
// Us... | 2.765907 | 2b52da146bd7076706b5a2c5dc94cad9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811754 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "P3nto5/curso-cSharp",
"max_stars_repo_path": "c# poo/Calculador_Static/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130974"
} | starcoder | using System;
using System.Globalization;
namespace Static_Circunferencia
{
class Program
{
public static Double Raio;
static void Main(string[] args)
{
Console.WriteLine("Digite o raio");
Raio = double.Parse(Console.ReadLine(), CultureI... | 3.328634 | 157b561c0952481eff6266657007b0f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811755 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zielmicha/corefx",
"max_stars_repo_path": "src/System.Security.Permissions/src/System/Xaml/Permissions/XamlAccessLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130975"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Reflection;
using System.Security;
namespace System.Xaml.Permissions
{
public class XamlAccessLev... | 2.412034 | 30bb088e0a5827b261c851c84e01f69d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811756 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "qmatteoq/XamarinSamples",
"max_stars_repo_path": "Android/CustomListAdapter/CharacterAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130976"
} | starcoder | <reponame>qmatteoq/XamarinSamples<gh_stars>1-10
using System.Collections.Generic;
using Android.App;
using Android.Views;
using Android.Widget;
using Koush;
using MarvelPortable.Model;
namespace CustomListAdapter
{
public class CharacterAdapter: BaseAdapter<Character>
{
readonly Activity context;
... | 2.615388 | f0f39594178f8b90b3338aff4c331726 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811757 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Enigmatrix/Cobalt",
"max_stars_repo_path": "Cobalt.Common.UI/ViewModels/AlertViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130977"
} | starcoder | using System;
using Cobalt.Common.Data;
namespace Cobalt.Common.UI.ViewModels
{
public class AlertViewModel : EntityViewModel
{
public AlertViewModel(Alert alert) : base(alert)
{
AlertAction = alert.AlertAction;
MaxDuration = alert.MaxDuration;
IsEnabled = a... | 2.019161 | fae415d03bc7075420c5e7d534a9eefe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811758 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FrameworkFactory/FluidEntity",
"max_stars_repo_path": "source/FWF.FluidEntity - Copy/Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130978"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace FWF.FluidEntity
{
public static class StringExtensions
{
private static readonly char[] _invalidFileNameChars = Path.GetInvalidFileNameChars();
[DebuggerStepThrough]
... | 2.675458 | 896621b57c15fbf22ff4e2a3c73673c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ElectNewt/Netmentor.DiContainer",
"max_stars_repo_path": "src/Netmentor.DiContainer/UnresolvedDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130979"
} | starcoder | <filename>src/Netmentor.DiContainer/UnresolvedDependency.cs
using System;
namespace Netmentor.DiContainer
{
public class UnresolvedDependency
{
public readonly Type Type;
public readonly string ModuleName;
public UnresolvedDependency(Type type, string moduleName)
{
... | 2.264288 | eea78fedb5a63ed36b61e5dbddef4546 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danyialkhan/PathFindingAlgosSimulation",
"max_stars_repo_path": "Assets/Scripts/PriorityQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130980"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class PriorityQueue<T> where T : IComparable<T>
{
List<T> data;
public int Count { get { return data.Count; } }
public PriorityQueue()
{
this.data = new List<T>();
}
public void Enque... | 3.409687 | 844e91a0a1a068e15969fc6a8ed7b899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avebryhv/Event-Horizon",
"max_stars_repo_path": "VerticalShooter/Assets/Scripts/Boss4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130981"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class Boss4 : MonoBehaviour {
Transform target;
public float smoothing = 5.0f;
public BurstSpawn leftGun;
public BurstSpawn rightGun;
public BurstSpawn midGun;
public R... | 2.030964 | e1b12eb86619084351f9bb483b58629c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811762 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Codinablack/fibula-server",
"max_stars_repo_path": "src/Fibula.Server.Contracts/Constants/MonsterConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130982"
} | starcoder | // -----------------------------------------------------------------
// <copyright file="MonsterConstants.cs" company="2Dudes">
// Copyright (c) | <NAME> et al.
// https://linkedin.com/in/nunezdecaceres
//
// All Rights Reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license informa... | 2.243478 | 36599c8a0f01cfc1ea9cd7e7b1cf1f9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmgoodquist/geocodeApi",
"max_stars_repo_path": "IntegrationTests/Geocode/DrivenDependencies/GeocodeAddressTheoryData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130983"
} | starcoder | using IntegrationTests.TestHelpers;
using System.Linq;
using Xunit;
namespace IntegrationTests.Geocode.DrivenDependencies
{
internal class GeocodeAddressTheoryData
{
public static TheoryData<string, string, string, string> ValidAddressData()
{
var data = new TheoryData<string, stri... | 2.733584 | 2384ddfcd21f1f960525fa83863824b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811764 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Pillowdrift/StellarSwingClassic",
"max_stars_repo_path": "Assets/Scenes/World 6/cat/Push.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130984"
} | starcoder | using UnityEngine;
using System.Collections;
public class Push
: MonoBehaviour
{
public Vector3 lastColliderPos;
public void OnTriggerEnter(Collider other)
{
lastColliderPos = other.transform.position;
}
public void OnTriggerStay(Collider other)
{
Vector3 diff = other.transform.position - lastColliderPos... | 2.023557 | 98ac6035ca1a422f796245679b279ca5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LKneringer/Alturos.Yolo",
"max_stars_repo_path": "src/Alturos.Yolo.LearningImage/Helper/StringExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130985"
} | starcoder | using System.Linq;
namespace Alturos.Yolo.LearningImage.Helper
{
public static class StringExtension
{
public static int GetFirstNumber(this string text)
{
var tempNumber = new string(
text.SkipWhile(c => !char.IsDigit(c)).
TakeWhile(c => char.IsDigi... | 2.953712 | f20988ea2053f5592133b3c6a8ff12de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811766 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory",
"max_stars_repo_path": "src/Dfc.CourseDirectory.FindAnApprenticeshipApi/Models/DAS/DasProviderResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130986"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory<filename>src/Dfc.CourseDirectory.FindAnApprenticeshipApi/Models/DAS/DasProviderResult.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using Dfc.CourseDirectory.FindAnApprenticeshipApi.Interfaces.DAS;
namespace Dfc.CourseDirectory.FindAnA... | 2.291068 | b38bbb71abe1f5e47624afb9769e1360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AR-May/templating",
"max_stars_repo_path": "src/Microsoft.TemplateSearch.TemplateDiscovery/Results/LegacyBlobTemplateInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130987"
} | starcoder | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Utils;
using Newtonsoft.Json;
namespace Microsoft.TemplateSearch.TemplateDiscovery.Results
{... | 1.671671 | 83eaf8ad2f1f8c0690cff3e8e83ef9ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nventive/Nventive.Persistence",
"max_stars_repo_path": "src/Persistence/SimpleMigrationDataPersister.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130988"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Uno.Threading;
namespace Nventive.Persistence
{
/// <summary>
/// The <see cref="SimpleMigrationDataPersister{TLegacy, TCurrent}"/> is an implementation of <see cref="IDataPersister{TCurrent}"/>
/// that all... | 2.588714 | 241660ab6d437e07db2d64390d59421b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811769 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Esri/arcgis-viewer-silverlight",
"max_stars_repo_path": "src/Internal/Framework/ESRI.ArcGIS.Mapping.Windowing/Utils/WindowSizeUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130989"
} | starcoder | <gh_stars>1-10
/*
(c) Copyright ESRI.
This source is subject to the Microsoft Public License (Ms-PL).
Please see https://opensource.org/licenses/ms-pl for details.
All other rights reserved.
*/
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using Sy... | 2.077736 | f643d6a5715d38f8add3109f4987a34f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811770 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-provider-relationships",
"max_stars_repo_path": "src/SFA.DAS.ProviderRelationships.UnitTests/Application/Queries/FindProviderToAddQueryResultTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.ProviderRelationships.Application.Queries.FindProviderToAdd;
using SFA.DAS.Testing;
namespace SFA.DAS.ProviderRelationships.UnitTests.Application.Queries
{
[TestFixture]
[Parallelizable]
public class FindProviderToAddQueryResultTests : FluentTest... | 1.841594 | 978506755150df3efa104f1dadd02b20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811771 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "BrianMcGough/IUMediaHelperApps",
"max_stars_repo_path": "Common/UserInterface/LineGenerators/AbstractBarcodeElementGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130991"
} | starcoder | using System.Text.RegularExpressions;
using ICSharpCode.AvalonEdit.Rendering;
namespace Common.UserInterface.LineGenerators
{
public abstract class AbstractBarcodeElementGenerator : VisualLineElementGenerator
{
private readonly Regex _barCodeRegEx = new Regex(@"\d{14}");
public override int G... | 2.700361 | 5515c53bbf14e1068cc600346408a690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811772 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "benjguin/Industrial-IoT",
"max_stars_repo_path": "modules/src/Microsoft.Azure.IIoT.Modules.OpcUa.Twin/src/v2/Models/PublishedItemApiModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130992"
} | starcoder | <reponame>benjguin/Industrial-IoT<gh_stars>1-10
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------... | 2.102534 | 751e2126872790a0073e80d6092aff26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811773 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bewood/OpenAdStack",
"max_stars_repo_path": "DataAccessLayer/ConcreteDataStore/ODataAssociationValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130993"
} | starcoder | <reponame>bewood/OpenAdStack<filename>DataAccessLayer/ConcreteDataStore/ODataAssociationValue.cs
//-----------------------------------------------------------------------
// <copyright file="ODataAssociationValue.cs" company="Rare Crowds Inc.">
// Copyright 2012-2013 <NAME>, Inc.
//
// Licensed under the Apache L... | 2.339861 | 5261444121f351fdd7283d383858c889 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yika-aixi/RPGCore",
"max_stars_repo_path": "prototype/Assets/RPGCore/Scripts/UI/Inventory/Binders/EquipmentBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130994"
} | starcoder | <reponame>yika-aixi/RPGCore
using UnityEngine;
namespace RPGCore.Inventories
{
public class EquipmentBinder : MonoBehaviour
{
public RPGCharacter character;
public ItemSlotManager manager;
public InventorySelector selector;
[Space]
public EquipmentEntry EquipmentSlot;
public bool autoSetup = true;
[... | 1.874997 | a187a2840a37a9082294277692d9a4fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811775 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "agc93/project-sicario",
"max_stars_repo_path": "src/SicarioPatch.Assets/Templates/ArrayTemplateProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130995"
} | starcoder | using System.Collections.Generic;
using Parlot.Fluent;
using SicarioPatch.Assets.Fragments;
namespace SicarioPatch.Assets.Templates
{
public class ArrayTemplateProvider : ITemplateProvider
{
public IEnumerable<Parser<IAssetParserFragment>> GetParsers()
{
var arrayIndexing = Parsers... | 2.227832 | cf518fd01a3eeb662512fb74fef0a7f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811776 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v5/bv.common/Resources/BaseStringsStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130996"
} | starcoder | using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Resources;
using System.Threading;
using bv.common.Configuration;
using bv.common.Core;
using bv.common.Diagnostics;
namespace bv.common.Resources
{
/// -------------------------... | 2.505574 | 5135b10a246029341f833b6f1c8cfd20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinlempa/IdleRPG",
"max_stars_repo_path": "Assets/Scripts/SaveAndLoad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130997"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SaveAndLoad : MonoBehaviour {
public Resource gold;
void Start() {
gold.ResourceAmount = PlayerPrefs.GetInt("Gold", 0);
}
private void OnDestroy() {
PlayerPrefs.SetInt("Gold", go... | 1.984454 | b0e08e8800900f0e97826a7d48747c54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811778 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/DMS-Analysis-Manager",
"max_stars_repo_path": "AM_Shared/DataFileTools/ProteinCollectionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130998"
} | starcoder | <gh_stars>1-10
using System;
using AnalysisManagerBase.JobConfig;
namespace AnalysisManagerBase.DataFileTools
{
/// <summary>
/// Protein collection info
/// </summary>
public class ProteinCollectionInfo
{
/// <summary>
/// Legacy FASTA file name
/// </summary>
... | 2.696318 | 1439e21ea1e3265c2607349af16f90ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811779 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "klyye/Silenciodorius",
"max_stars_repo_path": "Assets/Scripts/Units/UnitController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130999"
} | starcoder | using UnityEngine;
namespace Units
{
/// <summary>
/// Handles any movement of the Unit.
/// </summary>
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(Collider2D))]
public class UnitController : MonoBehaviour
{
public uint movespeed;
/// <summary>
... | 2.740305 | 9bacd8f7d35e42ce581bbce0f05acb53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bt7s7k7/NSL",
"max_stars_repo_path": "src/NSLCSharp/Runtime/ActionBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131000"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NSL.Executable;
using NSL.Types;
namespace NSL.Runtime
{
public class ActionBuilder
{
protected List<IInstruction> instructions = new List<IInstruction>();
protected VariableDefinition returnVariable;
p... | 2.315747 | 7456b292798e6252adea646e90ab4fb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811781 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GillesTourreau/GillesTourreau.MsdnForums.fr.SampleCodes",
"max_stars_repo_path": "b8c217db-ede2-4676-857c-1ec01327e1b3/b8c217db-ede2-4676-857c-1ec01327e1b3/Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131001"
} | starcoder | <reponame>GillesTourreau/GillesTourreau.MsdnForums.fr.SampleCodes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace b8c217db_ede2_4676_857c_1ec01327e1b3
{
public partial class _Default : Page
{
protected... | 1.837369 | 01406b05aa4f3c395560f1df951111b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811782 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "PoGo-Devs/PoGo",
"max_stars_repo_path": "src/PoGo.GameServices/ConfigurationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131002"
} | starcoder | using Newtonsoft.Json;
using PoGo.GameServices.Configuration;
using System;
using System.Threading.Tasks;
using Windows.Web.Http;
using Windows.Web.Http.Filters;
namespace PoGo.GameServices
{
/// <summary>
///
/// </summary>
public class ConfigurationService
{
#region Private Members
... | 2.637722 | 9b9c89c3c294d5f304e7ea1c4df94859 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lslewis901/SqlSchemaTool",
"max_stars_repo_path": "XmlDiffView/OperationDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131003"
} | starcoder | // ---------------------------------------------------------------------------
// <copyright company="Microsoft Corporation" file="OperationDescriptor.cs">
// Copyright (c) Microsoft Corporation 2005
// </copyright>
// <project>
// XmlDiffView
// </project>
// <summary>
// An object which associate... | 2.684321 | 5908e16019fa919cf45f75132614903d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Softeq/NetKit.Auth",
"max_stars_repo_path": "src/Softeq.NetKit.Auth.Domain/Models/User/UserStatusEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131004"
} | starcoder | <reponame>Softeq/NetKit.Auth
// Developed by Softeq Development Corporation
// http://www.softeq.com
namespace Softeq.NetKit.Auth.Domain.Models.User
{
public enum UserStatusEnum
{
Pending = 0,
Active = 1,
Inactive = 2,
Deleted = 3
}
}
| 1.292242 | 4e0fad93d4427079054ce7a817687e27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811785 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "TobyBackstrom/EppLib.NET",
"max_stars_repo_path": "EppLib/Entities/Domain/DomainTransferResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131005"
} | starcoder | <gh_stars>10-100
// Copyright 2012 Code Maker Inc. (http://codemaker.net)
//
// 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
... | 1.921067 | 39b094d0d1c6ef3efdc9e19ad84c23eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811786 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/DLP/V2/Inputs/GooglePrivacyDlpV2HybridOptionsArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131006"
} | 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.Goog... | 1.90787 | e69aab4ac62f8a679780022d8cbac526 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811787 | {
"extension": "c-sharp",
"max_stars_count": "306.0",
"max_stars_repo_name": "RaulSebastian/Kledex",
"max_stars_repo_path": "test/Kledex.Tests/Queries/QueryProcessorSyncTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131007"
} | starcoder | <filename>test/Kledex.Tests/Queries/QueryProcessorSyncTests.cs
using System;
using Kledex.Caching;
using Kledex.Dependencies;
using Kledex.Queries;
using Kledex.Tests.Fakes;
using Microsoft.Extensions.Options;
using Moq;
using NUnit.Framework;
namespace Kledex.Tests.Queries
{
[TestFixture]
public class QueryP... | 2.439671 | d4c03f1435dc775df15e61576be7fa4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musictopia2/GamingPackXV3",
"max_stars_repo_path": "Blazor/Games/CribbagePatienceBlazor/ScoreHandCribUI.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131008"
} | starcoder | <gh_stars>0
namespace CribbagePatienceBlazor;
public partial class ScoreHandCribUI
{
[Parameter]
public ScoreHandCP? Score { get; set; }
[CascadingParameter]
public int TargetHeight { get; set; } = 0;
private string HeightString => $"{TargetHeight}vh";
} | 1.344371 | 6b871fb48e08b6909ce12f5449d27e75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811789 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HealthCatalyst/Fabric.Terminology",
"max_stars_repo_path": "Fabric.Terminology.IntegrationTests/Services/ClientTermValueSetServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131009"
} | starcoder | namespace Fabric.Terminology.IntegrationTests.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using Fabric.Terminology.API.Services;
using Fabric.Terminology.Domain;
using Fabric.Terminology.Domain.Models;
using Fabric.Terminology.Domain.Services;
using Fa... | 2.002397 | 2476138cb2a720ecd03592851a1cf616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "roshan-picardo/kafka-connect-dotnet",
"max_stars_repo_path": "src/Kafka.Connect/Handlers/SinkConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131010"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Confluent.Kafka;
using Kafka.Connect.Builders;
using Kafka.Connect.Config;
using Kafka.Connect.Config.Models;
using Kafka.Connect.Models;
using Kafka.Connect.Plugin.Exceptions;
using Kafka.Connect.Plugin.Models;
using Kafka.Connect.Utilities;
using Mi... | 2.234061 | 5f54b090c699f42b1885979b6eae8ccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FeatureToggleStudy/LVK",
"max_stars_repo_path": "src/LVK.WorkQueues.FileBased/FileWorkQueueRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131011"
} | starcoder | <filename>src/LVK.WorkQueues.FileBased/FileWorkQueueRepository.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JetBrains.Annotations;
using LVK.Configuration;
using LVK.Core;
using LVK.Security.Cryptography;
using Newtonsof... | 2.491875 | 8c4c285f80bc6daba01f146b2c44cf5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811792 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "tavis-software/Tavis.OpenApi",
"max_stars_repo_path": "src/OpenApi/Nodes/AnyNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131012"
} | starcoder | <reponame>tavis-software/Tavis.OpenApi
using System;
using System.Linq;
using SharpYaml;
using SharpYaml.Serialization;
namespace Tavis.OpenApi
{
public class AnyNode : ParseNode
{
ParseNode node;
public static AnyNode Create(string yaml)
{
var context = new ParsingContext... | 2.478647 | 2004464cf9d3e4f5fb0c25ac0c6941f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kzrnm/Kzrnm.Competitive",
"max_stars_repo_path": "Competitive/Settings/ProgramDefine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131013"
} | starcoder | <reponame>kzrnm/Kzrnm.Competitive<gh_stars>1-10
using Kzrnm.Competitive;
using Kzrnm.Competitive.IO;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Text;
public partial class Program
{
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public ... | 2.350893 | dc8c42cfcd848a963690dbbd70adb757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marijngoedegebure/NarrativeWorldCreator",
"max_stars_repo_path": "Common/Box2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131014"
} | starcoder | <reponame>marijngoedegebure/NarrativeWorldCreator
using System;
using System.Collections.Generic;
using System.Text;
using Common.Geometry;
using System.Drawing;
namespace Common
{
public class Box2i
{
public Vec2i min, max;
public Box2i(Vec2i min, Vec2i max)
{
this.min =... | 2.763129 | b772696739b7b2d55d9f2f573ed0a0fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rohanaceres/pinpad-ferret",
"max_stars_repo_path": "src/Ferret.Core/Services/PayService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131015"
} | starcoder | using Ferret.Core.CommandParser.Options;
using Ferret.Core.DependencyInjection;
using Microtef.Core;
using Microtef.Core.Authorization;
using Pinpad.Sdk.Model;
using Poi.Sdk.Authorization.Report;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Ferret.Core.Services
{
internal sealed cl... | 2.280109 | d1f86572f231897344139ea01c849b0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811796 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "quinchs/EdgeDB.Net",
"max_stars_repo_path": "tools/EdgeDB.DotnetTool/Schemas/SchemaReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131016"
} | starcoder | using EdgeDB.DotnetTool.Lexer;
namespace EdgeDB.DotnetTool
{
internal class SchemaReader
{
private readonly SchemaLexer _lexer;
public SchemaReader(string schema)
{
_lexer = new(schema);
}
public List<Module> Read()
{
List<Module> modul... | 2.879356 | b1d269f4c3fa3d94ba782b382d8e911a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811797 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dtopiast/Konphil",
"max_stars_repo_path": "Konphil-source/Services/DataAccess/DatabaseConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131017"
} | starcoder | <filename>Konphil-source/Services/DataAccess/DatabaseConnection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SQLite;
using System.Threading.Tasks;
using Konphil.Models.ArticleModels;
namespace Konphil.Services.DataAccess
{
public class DatabaseConnection
{
... | 2.779899 | ae709da3d9f7d941053507e19efe7bdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811798 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mlidbom/Composable",
"max_stars_repo_path": "src/framework/Composable.CQRS.ExternalDependencies/Persistence/Common/AdoCE/DbDataReaderCE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131018"
} | starcoder | using System;
using System.Data.Common;
namespace Composable.Persistence.Common.AdoCE
{
static class DbDataReaderCE
{
//Urgent: In all persistence layers, replace all manual implementation of this.
public static Guid GetGuidFromString(this DbDataReader @this, int index) => Guid.Parse(@this.GetS... | 2.763519 | 49a0526d2908b3abadcf839cda4d4560 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811799 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "RolandKoenig/TcpCommunicator",
"max_stars_repo_path": "src/MessageCommunicator/_ByteStreamHandler/_TcpIP/_Udp/UdpByteStreamHandlerSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131019"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace MessageCommunicator
{
public class UdpByteStreamHandlerSettings : ByteStreamHandlerSettings
{
/// <summary>
/// Gets or sets the hostname or ip address of the remote host.
/// </summary>
... | 2.822583 | b31543bb147641edc80373ad3b6965c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlsc2/The-Joy-of-Pain-ting",
"max_stars_repo_path": "Parody Game Jam/Assets/Scripts/MissileController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131020"
} | starcoder | <reponame>carlsc2/The-Joy-of-Pain-ting<filename>Parody Game Jam/Assets/Scripts/MissileController.cs
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Animator))]
public class MissileController : MonoBehaviour {
Animator animController;
void OnEnable() {
animController = GetComponent<Animator... | 1.776314 | 8c50ce6a0f3f6ab2ed93dca5bff90c06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811801 | {
"extension": "c-sharp",
"max_stars_count": "150.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/xunit-performance",
"max_stars_repo_path": "src/xunit.performance.api/Profilers/Etw/DotNetModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131021"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Microsoft.Xunit.Performance.Api.Profilers.Etw
{
/// <summary>
/// Loaded .NET module for the corresponding process... | 2.093379 | f9f64f640569370f819930512af844cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iainnicol/Evolve",
"max_stars_repo_path": "test/Evolve.Core.Test/Migration/MigrationBaseTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131022"
} | starcoder | <reponame>iainnicol/Evolve
using System.Collections.Generic;
using Evolve.Metadata;
using Evolve.Migration;
using Xunit;
namespace Evolve.Core.Test.Migration
{
public class MigrationBaseTest
{
[Fact(DisplayName = "Migrations_should_be_well_ordered")]
public void Migrations_should_be_well_order... | 2.202142 | 50350e8ff7a20a74951654bd2f9b64d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811803 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "NaskoVasilev/JudgeSystem",
"max_stars_repo_path": "Web/JudgeSystem.Web/Views/Submission/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131023"
} | starcoder | @inject IViewLocalizer Localizer
@inject IStringLocalizer<SharedResources> SharedLocalizer
@model SubmissionViewModel
@{
this.ViewData["Title"] = Localizer["Submission Details"];
int zeroTestNumber = 1;
int testNumber = 1;
string testIds = string.Join(", ", Model.ExecutedTests.Select(t => t.Id));
}
<... | 2.492378 | 0f11354d6e22a0ac41c79e00df3e202f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811804 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "Cheesebaron/ViewPagerIndicator",
"max_stars_repo_path": "Sample/Tabs/SampleTabsStyled.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131024"
} | starcoder | <reponame>Cheesebaron/ViewPagerIndicator
using Android.App;
using Android.OS;
using AndroidX.ViewPager.Widget;
using DK.Ostebaronen.Droid.ViewPagerIndicator;
using DK.Ostebaronen.Droid.ViewPagerIndicator.Interfaces;
using Fragment = AndroidX.Fragment.App.Fragment;
using FragmentManager = AndroidX.Fragment.App.FragmentM... | 2.104126 | dfb423d96d7601009551d263d5d403a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811805 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "syncfusion/uwp-demos",
"max_stars_repo_path": "SfChart/Chart/ShowCase/SalesAnalysisDemo/Chart/RangeNavigator_Chart.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131025"
} | starcoder | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... | 1.469259 | f0d3aa022d47aebb9b88448fd4749b78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811806 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "codeyu/ASPNETCore-Design-Patterns",
"max_stars_repo_path": "ASPPatterns.allcode/ASPPatterns12/Agathas.Storefront - VS 2010/Agathas.Storefront.Services/ViewModels/BasketView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131026"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Agathas.Storefront.Services.ViewModels
{
public class BasketView
{
public BasketView()
{
Items = new List<BasketItemView>();
}
public Guid Id { get; set; }
... | 1.862701 | 3c8923f57552ada187635da83ec36f6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pip-services3-dotnet/pip-services3-expressions-dotnet",
"max_stars_repo_path": "src/IO/StringPushbackReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131027"
} | starcoder | <gh_stars>0
using System;
using System.Text;
namespace PipServices3.Expressions.IO
{
/// <summary>
/// Wraps string to provide unlimited pushback that allows tokenizers
/// to look ahead through stream to perform lexical analysis.
/// </summary>
public class StringPushbackReader : IPushbackReader
... | 3.077168 | 677e31a6703e8121fd56e80393866336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.DDF/EscherProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131028"
} | starcoder | <reponame>iNeverSleeeeep/NPOI-For-Unity<gh_stars>1-10
using System.Text;
namespace NPOI.DDF
{
/// <summary>
/// This is the abstract base class for all escher properties.
/// @see EscherOptRecord
/// @author <NAME> (glens at apache.org)
/// </summary>
public abstract class EscherProperty
{
protected short id;... | 2.574072 | 5f578ede41d3cd5aa79f89c4ba200c34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrYour/ClassicECS",
"max_stars_repo_path": "Entities/CustomECSExceptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131029"
} | starcoder | using System;
public class EntityNotActiveException : Exception
{
public EntityNotActiveException(string message) : base(message)
{
}
}
public class InvalidEntityIDException : Exception
{
public InvalidEntityIDException(string message) : base(message)
{
}
}
public class ... | 2.156079 | 4b2ef39b2d0990da0f37e8c0561d1bec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/urlmon/IInternetProtocol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131030"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/urlmon.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.CompilerServ... | 1.599874 | 67d3a96bc534e3f44f2743e034001de8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811811 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "N-Olbert/TouchX11",
"max_stars_repo_path": "TX11/TX11Business/Extensions/XShape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131031"
} | starcoder | using System.Collections.Generic;
using TX11Business.Compatibility;
using TX11Business.UIDependent;
using TX11Shared;
using TX11Shared.Graphics;
namespace TX11Business.Extensions
{
/// <summary>
/// Handles requests related to the X SHAPE extension.
/// </summary>
internal class XShape
{
i... | 2.012315 | 008a846d1c18d1f091e62523d086bc9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chivandikwa/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/WafV2/GetIpSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131032"
} | starcoder | <reponame>chivandikwa/pulumi-aws
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
u... | 1.73367 | 952f7a56c25f6b55d8614caed4d4c086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811813 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "a806955/UNIZAR-30226-2022-03",
"max_stars_repo_path": "UnoServer/UnoServer/GameLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131033"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace UnoServer
{
class GameLogic
{
public static void Update()
{
ThreadManager.UpdateMain();
}
}
} | 1.371078 | 5b71bd8c4bdfa1bc04a24365e6a5ff86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811814 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sishui/UnityExtensions",
"max_stars_repo_path": "Assets/Plugins/UnityExtensions/RuntimeExtensions/Utilities/MathKit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131034"
} | starcoder | <reponame>sishui/UnityExtensions<gh_stars>1-10
using System;
using UnityEngine;
namespace UnityExtensions
{
/// <summary>
/// 数学工具箱
/// </summary>
public struct MathKit
{
/// <summary>
/// 2 的平方根
/// </summary>
public const float Sqrt2 = 1.4142136f;
/// <s... | 2.98437 | 38503f6b08de3a685fc0993096b791fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811815 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "DavidKarlas/mono",
"max_stars_repo_path": "mcs/class/System.Data/Test/System.Data.OleDb/OleDbPermissionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131035"
} | starcoder | //
// OleDbPermissionTest.cs - NUnit Test Cases for OleDbPermission
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// ... | 1.965095 | 76bcc7fc026be3783e3357efb7827d03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web.Common/Extensions/RazorPageExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131036"
} | starcoder | <filename>src/Umbraco.Web.Common/Extensions/RazorPageExtensions.cs
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Razor;
namespace Umbraco.Extensions;
/// <summary>
/// Extension methods for <see cref="RazorPage" />
/// </summary>
public static class RazorPageExtensions
{
/// <summary>
//... | 2.606911 | 295e7a5c4039d161c65d78470b8d5e26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jim-dale/Snippets",
"max_stars_repo_path": "src/TextIdGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131037"
} | starcoder | using System;
using System.Threading;
namespace __Snippets__
{
public class TextIdGenerator
{
private const int FixedStringLength = 13;
private const int Mask = 0b_0001_1111;
private long _lastId;
public TextIdGenerator() : this(DateTime.UtcNow.Ticks)
{
}
... | 2.969198 | df0608f3da4538abbf91cde7cdb60399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.