added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suarezoscar/TheOutlaw",
"max_stars_repo_path": "Assets/scripts/Intro.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151232"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class Intro : MonoBehaviour {
[SerializeField]
GameObject p1;
[SerializeField]
Animator anim;
float time=0;
// Use this for initialization
void Start () {
anim.SetTrigger("intro");
p1.SetActive(false);
}
// Up... | 1.859074 | f0f79179cd38e22aad32c604961f5776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michal-franc/EmptySpace",
"max_stars_repo_path": "src/Renderer/Views/ShipView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151233"
} | starcoder | namespace Renderer.Views
{
public class ShipView : GameView
{
public override string Name => "Ship - 'Glorificatus'";
}
} | 1.301891 | cb29cd58bfa6f20a37e5f423824a52f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832014 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "HlebForms/SchoolSystemProject",
"max_stars_repo_path": "SchoolSystem/SchoolSystem.Data.Models/Mark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151234"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SchoolSystem.Data.Models
{
public class Mark
{
private ICollection<SubjectStudent> studentSubj;
public Mark()
{
this.studentSubj = n... | 2.762347 | bb2676cef0f488081f0af9097e39f319 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832015 | {
"extension": "c-sharp",
"max_stars_count": "1671.0",
"max_stars_repo_name": "0x53A/sdk",
"max_stars_repo_path": "src/Compatibility/Microsoft.DotNet.PackageValidation/ApiCompatRunnerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151235"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using NuGet.ContentModel;
using NuGet.Frameworks;
namespace Microsoft.DotNet.PackageValid... | 2.010754 | 810c1e40ed06a575b00f5ca692d010c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "achapweske/silvernote",
"max_stars_repo_path": "SilverNote.DOM/SVG/SVGLengthList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151236"
} | starcoder | <reponame>achapweske/silvernote<gh_stars>1-10
/*
* Copyright (c) <NAME>
*
* Licensed under MIT (https://github.com/achapweske/silvernote/blob/master/LICENSE)
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DOM.SVG
{
public interface SVGLengthList
{
... | 2.352633 | 93f0fc7c4dfbef01996ace90135ed3a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832017 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/videoanalyzer/Azure.Media.VideoAnalyzer.Edge/src/Generated/Models/SpatialAnalysisPersonZoneCrossingZoneEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151237"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.Media.VideoAnalyzer.Edge.Models
{
/// <summary> The SpatialAnalysisPersonZoneCrossingZoneEvents... | 1.66527 | 8b61f095d33a86058aa22e990eccffee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lmanners/Zebus",
"max_stars_repo_path": "src/Abc.Zebus.Persistence/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151238"
} | starcoder | <reponame>lmanners/Zebus
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: Guid("acc56b25-51e9-4864-8913-d36ba6d8ffab")]
[assembly: InternalsVisibleTo("Abc.Zebus.Persistence.Tests")]
[assembly: InternalsVisibleTo("Abc.Zebus.Persistence.CQL")]
[assem... | 1.190489 | 7906cd7aa43ca22a9dfbc4b0ef00adc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "macsux/SignalR.RXHubs",
"max_stars_repo_path": "SignalR.RXHubs.Client/ObservableHubProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151239"
} | starcoder | <reponame>macsux/SignalR.RXHubs
using System;
using Castle.DynamicProxy;
using Microsoft.AspNet.SignalR.Client;
namespace SignalR.RXHubs.Client
{
public class ObservableHubProxy<THub> : IDisposable where THub : class
{
public ObservableHubProxy(string url, string hubName, ConnectionLostBehavior behavi... | 2.258871 | e7d108143025e1067966dafca3fe96c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chillisoft/katarai",
"max_stars_repo_path": "source/Katarai.Engine/TestFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151240"
} | starcoder | <reponame>Chillisoft/katarai
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Engine;
using Engine.Annotations;
using NUnit.Framework;
namespace Engine
{
public class TestMethodData
{
pub... | 2.542862 | 4e6c9e33cc27a3596d739b7121dcb238 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832021 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_WebNet/system.web.util.requestvalidator/cs/requestvalidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151241"
} | starcoder | //<Snippet1>
using System;
using System.Web;
using System.Web.Util;
public class CustomRequestValidation : RequestValidator
{
public CustomRequestValidation() { }
protected override bool IsValidRequestString(
HttpContext context, string value,
RequestValidationSource requestValidat... | 2.827119 | 00d707b5f28cc194354202eebdda47b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832022 | {
"extension": "c-sharp",
"max_stars_count": "2793.0",
"max_stars_repo_name": "truthiswill/SkiaSharp",
"max_stars_repo_path": "tests/Tests/GlContexts/Wgl/PIXELFORMATDESCRIPTOR.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151242"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace SkiaSharp.Tests
{
[StructLayout(LayoutKind.Sequential)]
internal struct PIXELFORMATDESCRIPTOR
{
public ushort nSize;
public ushort nVersion;
public uint dwFlags;
public byte iPixelType;
public byte cColorBits;... | 1.68044 | 0913071fae2a02fe34bff1fb87737b17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832023 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "AndiBellstedt/PoShPRTG",
"max_stars_repo_path": "library/PoShPRTG/PoShPRTG/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151243"
} | starcoder | <filename>library/PoShPRTG/PoShPRTG/Class1.cs
using System;
namespace PoShPRTG
{
public class Class1
{
}
}
| 1.263246 | c3c46083bb4064854b31e323e000bca4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "data-automation-framework/daf-core-sdk",
"max_stars_repo_path": "Daf.Core.Sdk/Ion/Model/IonAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151244"
} | starcoder | <reponame>data-automation-framework/daf-core-sdk
// SPDX-License-Identifier: MIT
// Copyright © 2021 <NAME>, <NAME> and contributors
namespace Daf.Core.Sdk.Ion.Model
{
internal class IonAttribute
{
public string Name { get; set; }
public string Value { get; set; }
public IonAttribute(string name, string valu... | 1.837741 | 901ce80369399723a34f96e3289d88f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AllanWang/Little-Lamb",
"max_stars_repo_path": "Assets/LittleLamb/Scripts/Editor/BuildScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151245"
} | starcoder | using System.Collections;
using System;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class BuildScript
{
[MenuItem("Build/Build All")]
public static void BuildAll()
{
// BuildWindowsServer();
BuildWindowsClient();
BuildOSXClient();
}
[MenuItem("... | 1.986551 | 00d3be9941c2cde16675586e81450ab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832026 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "scottstephens/nodatime",
"max_stars_repo_path": "build/SnippetExtractor/SourceSnippet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151246"
} | starcoder | <gh_stars>10-100
// Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace SnippetExtractor
{
/// <summary... | 2.228425 | 900be20668ff9ca2ec7a1f9ab618a633 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832027 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jackson0720/TopskyHotelManagerSystem",
"max_stars_repo_path": "SYS.Core/Business/Wti.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151247"
} | starcoder | using System;
namespace SYS.Core
{
public class Wti
{
/// <summary>
/// 房间编号
/// </summary>
public string RoomNo { get; set; }
/// <summary>
/// 开始使用时间
/// </summary>
public DateTime UseDate { get; set; }
/// <summary>
/// 结束使用时间
... | 2.008467 | a16d16ad820574cab5b21e58e3d05869 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832028 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "danielcrenna/vault",
"max_stars_repo_path": "httpcontext-shim/src/HttpContext/HttpContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151248"
} | starcoder | <reponame>danielcrenna/vault
using System;
using System.Collections;
using System.Security.Principal;
using System.Threading;
using System.Web.Hosting;
using HttpContextShim.WebHost;
namespace HttpContextShim
{
public abstract class HttpContext : IHttpContext
{
private static readonly ReaderWriterLockS... | 2.28149 | a994011a909be8a2c078b2323b208e28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDP-Inc/WUMEI",
"max_stars_repo_path": "src/WUMEI/Models/2020.1/UpdateWicVendorBankingInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151249"
} | starcoder | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace WUMEI.Models.V2020
{
/// <summary>
/// Object that contains all parameters for the Update WIC Vendor Banking Information method.
/// </summary>
public class UpdateWicVendorBankingInformation : V2018.UpdateWicVendorBankingInf... | 2.128195 | 0c15dd40af5371334707aa08fbc7f295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntyMew/SkyEditor.RomEditor.Rtdx",
"max_stars_repo_path": "SkyEditor.RomEditor.Rtdx/Domain/Commands/ReplaceStarterCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151250"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SkyEditor.RomEditor.Rtdx.Domain.Commands
{
public class ReplaceStarterCommand
{
public Reverse.Const.creature.Index OldPokemonId { get; set; }
public Reverse.Const.creature.Index NewPokemonId { get; set; }
pub... | 1.565784 | 4056fd35f5525c4976855c9291a250f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832031 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "clayne/FoxKit",
"max_stars_repo_path": "FoxKit/Assets/FoxKit/Modules/DataSet/Fox/FoxCore/Material.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151251"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was automatically generated.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... | 1.124874 | 53080534c106bc1c71d800fc44bb5d6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "walacew/TesteFullStack",
"max_stars_repo_path": "DesafioGol/FullStack.Repository/FullStackRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151252"
} | starcoder | <reponame>walacew/TesteFullStack<filename>DesafioGol/FullStack.Repository/FullStackRepository.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FullStack.Domain.Model;
using FullStack.Repository.Interface;
using FullStackGol.Repository.DataContext;
using Microsoft... | 2.608163 | e955b3f23fa4783984d22ada1f81f07a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/FaraMedia",
"max_stars_repo_path": "src/Presentation/FaraMedia.Web/Views/Shared/_CreateOrUpdateAddress.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151253"
} | starcoder | @model Fara.Web.Models.Common.AddressModel
@using Fara.Web.Framework;
<script type="text/javascript">
$(function() {
$("#@Html.FieldIdFor(model => model.CountryId)").change(function() {
var selectedItem = $(this).val();
var ddlStates = $("#@Html.FieldIdFor(model => mode... | 2.656174 | b3ecfbf761aaac22d6180fdca21ce4ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832034 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/ExceptionHandling/Src/ExceptionHandling/ExceptionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151254"
} | starcoder | <filename>SourceCode/Source/EnterpriseLibrary/ExceptionHandling/Src/ExceptionHandling/ExceptionManager.cs
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
namespa... | 2.304032 | 20b5d2683266d33a923e31b0a22843be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832035 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "MDanialSaleem/aws-sdk-net",
"max_stars_repo_path": "sdk/test/UnitTests/Custom/RegionEndpointTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151255"
} | starcoder | <reponame>MDanialSaleem/aws-sdk-net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Amazon.Auth.AccessControlPolicy;
using Amazon.Auth.AccessControlPolicy.ActionIdentifiers;
using Amazon;
nam... | 1.58031 | 8ab9d7e52c681226b5dfbc886a3d76d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbabeiAndrei/WProject",
"max_stars_repo_path": "WProject.DataAccess/Access.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151256"
} | starcoder | <reponame>AbabeiAndrei/WProject
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by the ClassGenerator.ttinclude code generation file.
//
// Changes to this file may cause incorrect behavior and will be l... | 2.017064 | 113f83134a5c9f12c5ac9c5e2f5eb180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832037 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6/vb/EIDSS/EIDSS.Reports/Parameterized/Veterinary/KZ/VetPrevMeasureDataSet.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151257"
} | starcoder | <reponame>EIDSS/EIDSS-Legacy
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.235
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regen... | 1.894965 | b12cc79bf068b423e81eb46afe909173 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832038 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "pimmelpansen/Frische-Haut",
"max_stars_repo_path": "Importer/src/scattering/SubQuad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151258"
} | starcoder | <filename>Importer/src/scattering/SubQuad.cs
using SharpDX;
public struct SubQuad {
public Vector4 W0 { get; }
public Vector4 W1 { get; }
public Vector4 W2 { get; }
public Vector4 W3 { get; }
public SubQuad(Vector4 w0, Vector4 w1, Vector4 w2, Vector4 w3) {
W0 = w0;
W1 = w1;
W2 = w2;
W3 = w3;
}
private... | 2.483517 | ac9cf94138d66ef2aa42c022e27ec942 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gandjurov/OOP-Basic-CSharp",
"max_stars_repo_path": "11.ExamPrepOOP-TechModule4.0/AnimalCentre/AnimalCentre/Core/CommandInterpreter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151259"
} | starcoder | <filename>11.ExamPrepOOP-TechModule4.0/AnimalCentre/AnimalCentre/Core/CommandInterpreter.cs
using AnimalCentre.Core.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace AnimalCentre.Core
{
public class CommandInterpreter : ICo... | 2.939094 | 71367f892ea0fab43989c6dbdf50df03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gnarfouski/PiavLibraries",
"max_stars_repo_path": "Container/ContainerLibrary/Behaviors/BehaviorReduceSpeedOnSharpTurn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151260"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using System;
internal class BehaviorReduceSpeedOnSharpTurn : BehaviorSpeedManagement
{
public BehaviorReduceSpeedOnSharpTurn(PiavCoreAiInput input)
: base(input)
{ }
internal override void Update(PiavRoadAgent agent)
{
... | 1.964858 | 96dd7efb721d7e194d0319749520f238 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832041 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "allisterb/nledger",
"max_stars_repo_path": "Source/NLedger.Tests/Values/ValueStorageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151261"
} | starcoder | <reponame>allisterb/nledger
// **********************************************************************************
// Copyright (c) 2015-2021, <NAME>. All rights reserved.
// Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer.
//
// This file is p... | 2.465076 | b0ae55c5933ffbe23b6ddc11f9c9edd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrSim17/LaserCutterTools",
"max_stars_repo_path": "BoxBuilder/Interfaces/IPointRendererBoxSVG.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151262"
} | starcoder | using System.Collections.Generic;
using LaserCutterTools.Common;
namespace LaserCutterTools.BoxBuilder
{
internal interface IPointRendererBoxSVG
{
string RenderPoints(Dictionary<CubeSide, List<Point>> CubePoints, Dictionary<PartType, List<Point>> AdditionalParts, bool RotateParts = false, bool Transla... | 1.566925 | d1c7301665aa33c76cd23432ace7a920 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832043 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Abc-Arbitrage/RoslynClrHeapAllocationAnalyzer",
"max_stars_repo_path": "HotPathAllocationAnalyzer.Configuration/ConfigurationReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151263"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Buildalyzer;
using Buildalyzer.Workspaces;
using HotPathAllocationAnalyzer.Helpers;
using HotPathAllocationAnalyzer.Support;
using Microsoft.CodeAnalysis;
using ... | 2.253055 | d8f4925599c718cd2ff7de3ca2f40f77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832044 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Operdies/cecilifier",
"max_stars_repo_path": "Cecilifier.Core.Tests/Framework/AssemblyDiff/IComparisonResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151264"
} | starcoder | namespace Cecilifier.Core.Tests.Framework.AssemblyDiff
{
internal interface IComparisonResult
{
}
}
| 0.898431 | c2bf7957f5d7a94181a3af8741aeab2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robvld/Mirage",
"max_stars_repo_path": "Assets/Mirage/Runtime/Serialization/CompressedExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151265"
} | starcoder | using System.Runtime.CompilerServices;
using UnityEngine;
namespace Mirage.Serialization
{
public static class CompressedExtensions
{
/// <summary>
/// Packs Quaternion using <see cref="QuaternionPacker.Default9"/>
/// </summary>
/// <param name="writer"></param>
/// <pa... | 2.288341 | 74e96f47a006e10185f04cf44b0d7c69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832046 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "blowdart-inc/type-kitchen",
"max_stars_repo_path": "test/TypeKitchen.Tests/StateMachine/Fakes/DuplicateStateMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151266"
} | starcoder | <gh_stars>10-100
// Copyright (c) <NAME> & Contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using TypeKitchen.StateMachine;
namespace TypeKitchen.Tests.StateMachine.Fakes
{
public class DuplicateStateMethods : State... | 1.786189 | 00fa89e84bd09248aea317a8bd110dbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaViGnAnO/XamarinComponents",
"max_stars_repo_path": "XPlat/YouTube.Player/ios/samples/YouTubePlayerSample/Controllers/PlaylistViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151267"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using CoreGraphics;
using Foundation;
using UIKit;
using YouTube.Player;
namespace YouTubePlayerSample
{
public partial class PlaylistViewController : UIViewController, IUITableViewDataSource, IUITableViewDelegate
... | 2.156127 | 309fdb51067db882ba010e191a351191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832048 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "loanscan/uniswap-statistics-api",
"max_stars_repo_path": "src/Uniswap.Fetchers.Core/Eth/IRecentBlockProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151268"
} | starcoder | using System.Threading.Tasks;
namespace Uniswap.Fetchers.Core.Eth
{
public interface IRecentBlockProvider
{
Task<ulong> GetAsync();
}
} | 1.417301 | 64dd04e7b1382bcbb12f96a96297d973 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/HolisticWare.Xamarin.Tools.Bindings.XamarinAndroid.FassBinderMeister",
"max_stars_repo_path": "source/HolisticWare.Xamarin.Tools.Maven/Repositories/MavenCentralSonatype/MasterIndex.Utilities.cs",
"provenance": "train-00027-of-0... | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace HolisticWare.Xamarin.Tools.Maven.Repositories.MavenCentralSonatype
{
/// <summary>
/// MasterIndex - index of all group ids
/// Google Maven Repository - available
//... | 1.457697 | c23a628b28c031d9593b727bacde0053 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832050 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "XiaoXin1900/Sudoku",
"max_stars_repo_path": "src/Sudoku.UI/Sudoku.UI/Data/PreferenceItemAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151270"
} | starcoder | <reponame>XiaoXin1900/Sudoku
namespace Sudoku.UI.Data;
/// <summary>
/// Defines an attribute that is used onto a settable property, to tell the runtime and the user
/// that the property is bound with a UI control, as a preference item.
/// </summary>
/// <typeparam name="TControl">Indicates the type of the control.... | 2.230881 | e9bcd243ad3ad66f3aefc0e4502d9676 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MadHattressWatson/aspnet-core-fundamentals-v3",
"max_stars_repo_path": "SimpleCrm/SimpleCrm.WebApi/Auth/MicrosoftAuthVerifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151271"
} | starcoder | <reponame>MadHattressWatson/aspnet-core-fundamentals-v3<gh_stars>0
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NPOI.SS.Formula.Functions;
namespace SimpleCrm.WebApi.Auth
{
public class M... | 2.187379 | 1efcccae640a7245c49b711cba461a7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832052 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HiP-App/HiP-Forms",
"max_stars_repo_path": "Sources/HipMobile.Tests/ServiceAccessLayer/ContentApiAccesses/MediasApiAccessTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151272"
} | starcoder | // Copyright (C) 2017 History in Paderborn App - Universität Paderborn
//
// 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
//
// U... | 2.144487 | 373d6d1a2b86e0a63146273424368b1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832053 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "YevgenNabokov/ForgedOnce.TSLanguageServices",
"max_stars_repo_path": "ForgedOnce.TsLanguageServices.FullSyntaxTree/AstModel/Generated/StLabeledStatement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151273"
} | starcoder | using System;
namespace ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel
{
public class StLabeledStatement : ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StNode, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStStatement, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStJSDocConta... | 2.117788 | f42892c48510a7dc113d294ad11de1b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Enes04/HandShake",
"max_stars_repo_path": "Assets/Elephant/UI/Scripts/ElephantUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151274"
} | starcoder | using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace ElephantSDK
{
public class ElephantUI : MonoBehaviour
{
private GameObject loaderUI;
private GameObject gdprUI;
pri... | 1.599374 | e46a26645e9e93c3c037e3cf876be76f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PabloGaspar/TecWeb-1-2021",
"max_stars_repo_path": "C# review/GeneralConcepts/GeneralConcepts/GeneralConcepts/common/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151275"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace GeneralConcepts.common
{
static class Extensions
{
public static void SayHi(this Car car)
{
Console.WriteLine($"hi im ammmmmmmm carr {car.OwnerName}");
}
}
}
| 2.531874 | c903c95ff1f4c379dfd8ebf4d9cf193f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832056 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "ilost7489/Remake-Core",
"max_stars_repo_path": "Core/SubterfugeCore/Core/Entities/Managers/ShieldManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151276"
} | starcoder | using SubterfugeCore.Core.Interfaces;
namespace SubterfugeCore.Core.Entities
{
public class ShieldManager
{
/// <summary>
/// The outposts shields
/// </summary>
int _shields;
/// <summary>
/// If the outpost's shields are active.
/// </summary>... | 3.384267 | 167e3a357435f4396636d2beaeb71c24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832057 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "TheRealEamonCS/Eamon-CS",
"max_stars_repo_path": "Adventures/StrongholdOfKahrDur/Game/States/Player/GetPlayerInputState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151277"
} | starcoder | <filename>Adventures/StrongholdOfKahrDur/Game/States/Player/GetPlayerInputState.cs
// GetPlayerInputState.cs
// Copyright (c) 2014+ by <NAME>. All rights reserved.
using System.Diagnostics;
using Eamon.Game.Attributes;
using EamonRT.Framework.Primitive.Enums;
using EamonRT.Framework.States;
using static S... | 1.97195 | 8ae682ef37933f97fd9ab22af33cb01e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832058 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Strayfade/Crunchyroll",
"max_stars_repo_path": "Crunchyroll/Crunchyform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151278"
} | starcoder | using System;
using System.IO;
using System.Drawing;
using System.Threading;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using HtmlAgilityPack;
using System.Windows;
using Microsoft.Web.WebView2;
using Microsoft.Web.WebView2.Core;
namespace Crunchyroll
{
... | 1.796983 | 1c9e25ed3fcdffe5d8ca74855243a2a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832059 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Rjtsahu/Signalr-Dashboard",
"max_stars_repo_path": "Core/DefaultSignalrInterceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151279"
} | starcoder | <filename>Core/DefaultSignalrInterceptor.cs<gh_stars>1-10
using Microsoft.Owin;
using SignalrDashboard.Helpers;
using System;
namespace SignalrDashboard.Core
{
internal class DefaultSignalrInterceptor : SignalrInterceptorBase
{
private readonly IDataTracing _tracer;
public DefaultSignalrInter... | 1.781349 | 7a7fef67fcff778d1bf2c6b73292ffcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobJellinghaus/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/Library/Distributed/IRemoteFileCopier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151280"
} | starcoder | <filename>Public/Src/Cache/ContentStore/Library/Distributed/IRemoteFileCopier.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.I... | 2.336535 | 5e956e0412df7d428b64836069c48a93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErwanTLG/Challenger",
"max_stars_repo_path": "Challenger/Utils/AyncEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151281"
} | starcoder | // This class was essentially copied from the Discord.Net repository:
// https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.Core/Utils/AsyncEvent.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace Challenger.Utils
{
publ... | 2.992042 | e2665726c56d005457f1893c078b1281 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robfry/crucyble-csharp-micro-detectors",
"max_stars_repo_path": "FIDO-Detector/FIDO-Detector/Fido_Support/Rest/Fido_Rest_Connection_Type.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151282"
} | starcoder | namespace FIDO_Detector.Fido_Support.Rest
{
public enum DetectorType
{
cyphort,
protectwise,
carbonblack,
niddel,
jamf,
pan
}
}
| 1.145944 | a7ec79d47ec6a3b2b26cc93a913eaabb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832063 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "TacoVengeance/DeluxePlugin",
"max_stars_repo_path": "Powertools/BulkAudioLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151283"
} | starcoder | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using SimpleJSON;
namespace DeluxePlugin.Powertools
{
class BulkAudioLoader : MVRScript
{
List<NamedAudioClip> clips = new List<NamedAudioClip>();
JSONStorableString loadLog;
... | 2.266157 | 332340694168f69587192f9bce72183b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832064 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PeruNETDevelopment/ServicioSOAPWCF",
"max_stars_repo_path": "PeruNETDevelopment.Services/PeruNETDevelopment.Services/Errores/UsuarioException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151284"
} | starcoder | using System.Runtime.Serialization;
namespace PeruNETDevelopment.Services.Errores
{
[DataContract]
public class UsuarioException
{
[DataMember]
public string Codigo { get; set; }
[DataMember]
public string Descripcion { get; set; }
}
} | 1.862096 | 5000bf9abc43bda0ec7712eb242a0610 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlanLang/ShoppingApprovalSystem",
"max_stars_repo_path": "aspnet-core/src/ShoppingApprovalSystem.Application/BuyList/BuyListAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151285"
} | starcoder | using Abp.Application.Services;
using Abp.Authorization;
using Abp.Domain.Repositories;
using ShoppingApprovalSystem.Authorization;
using ShoppingApprovalSystem.BuyList.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp.Linq.Extensions;
using System.Linq;
us... | 1.756013 | cc8809ce9352b4b63f2535607777838b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832066 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "geffzhang/sharp-abp",
"max_stars_repo_path": "modules/filesystem/src/SharpAbp.FileSystem/FileSystem/S3/S3Protocol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151286"
} | starcoder | namespace SharpAbp.FileSystem.S3
{
/// <summary>S3协议类型
/// </summary>
public enum S3Protocol
{
/// <summary>HTTPS协议
/// </summary>
HTTPS = 0,
/// <summary>HTTP协议
/// </summary>
HTTP = 1
}
}
| 1.945494 | 1cf8516651c2c193d03fb7e2fa00cfb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joacar/CareBreeze",
"max_stars_repo_path": "src/CareBreeze.Data/Migrations/CareBreezeDbContextModelSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151287"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using CareBreeze.Data;
namespace CareBreeze.Data.Migrations
{
[DbContext(typeof(CareBreezeDbContext))]
partial cl... | 1.897679 | a25395e80db5e230038a802d6665f74e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StephenMP/GoCDSharp",
"max_stars_repo_path": "GoCDSharp/Dtos/GoCDTaskAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151288"
} | starcoder | <filename>GoCDSharp/Dtos/GoCDTaskAttributes.cs<gh_stars>0
using Newtonsoft.Json;
using System.Collections.Generic;
namespace GoCDSharp.Dtos
{
public class GoCDTaskAttributes : GoCDEntity
{
public GoCDTaskAttributes()
{
this.RunIf = new List<string>();
this.Arguments = n... | 2.193901 | 843162f5919a7f1f248bdea0c54594bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rnx-io/Rnx",
"max_stars_repo_path": "src/Rnx.Tasks.Core/Control/SeriesTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151289"
} | starcoder | <filename>src/Rnx.Tasks.Core/Control/SeriesTask.cs
using Rnx.Abstractions.Buffers;
using Rnx.Abstractions.Execution;
using Rnx.Abstractions.Tasks;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Rnx... | 2.727782 | 4f468e41b8a5db0c20901ab869266ade |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832070 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "herohiralal/HiraTools",
"max_stars_repo_path": "Runtime/HiraComponents/Console/ParsingUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151290"
} | starcoder | <filename>Runtime/HiraComponents/Console/ParsingUtility.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace HiraEngine.Components.Console.Internal
{
internal static class ParsingUtility
{
internal static void ParseCommandline(string commandline, out string c... | 3.098223 | 13562af57a4b37979b720c7c95c7c563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FagnerFun/Findo",
"max_stars_repo_path": "FindoApp/FindoApp.Service/Interface/IUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151291"
} | starcoder | using FindoApp.Domain.Model;
using Refit;
using System.Threading.Tasks;
namespace FindoApp.Service.Interface
{
[Headers("Content-Type: application/json")]
public interface IUser
{
[Get("/api/Authenticate/{user}/{password}")]
Task<User> Authenticate(string user, string password);
}
}
| 1.786669 | d749b0589dc1407a047c9a4325467771 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fireloudapp/FC.Extension.AWS",
"max_stars_repo_path": "Source/FC.Extension.AWS/Common/AWSConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151292"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace FC.Extension.AWS.Common
{
public static class AWSConstants
{
public const string AES256 = "AES_256";
/// <summary>
/// Default chunk size is '10.48 MB'
/// </summary>
public const i... | 1.480389 | cd44b523ee0c154a27cd1e788bdce642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832073 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "claytondus/Claytondus.AmazonMWS",
"max_stars_repo_path": "Claytondus.AmazonMWS.FbaInbound/Model/GetPreorderInfoResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151293"
} | starcoder | /*******************************************************************************
* Copyright 2009-2016 Amazon Services. 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 Licens... | 1.678588 | 878c7b0f192bc8f558c53ea2a6c7bec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sotirovgym/C---Collections---Exercises",
"max_stars_repo_path": "ArraysMoreExercisesExtended/1. Last3ConsecutiveEqualStrings/Last3ConsecutiveEqualStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151294"
} | starcoder | <filename>ArraysMoreExercisesExtended/1. Last3ConsecutiveEqualStrings/Last3ConsecutiveEqualStrings.cs
using System;
using System.Collections.Generic;
using System.Linq;
class Last3ConsecutiveEqualStrings
{
static void Main()
{
var words = Console.ReadLine().Split(' ');
var reversedWords = wor... | 3.545839 | 798ed8430983d2735953bd0cf018bb1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832075 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "sarkahn/ecs-turnbasedprototype",
"max_stars_repo_path": "Assets/Movement/MoveSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151295"
} | starcoder | <reponame>sarkahn/ecs-turnbasedprototype
using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
namespace TurnBasedTutorial.Movement
{
public struct TryMove : IComponentDa... | 2.152521 | c851e2696f820edd54d770146eec309a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sintefneodroid/Inference",
"max_stars_repo_path": "Assets/Bundles/Path/Core/Scripts/Objects/PathCreatorData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151296"
} | starcoder | using UnityEngine;
using UnityEngine.Serialization;
namespace Bundles.Path.Core.Scripts.Objects {
/// Stores state data for the path creator editor
[System.Serializable]
public class PathCreatorData {
public event System.Action BezierOrVertexPathModified;
public event System.Action BezierCreated;
[... | 2.079811 | 094439e14195ef2100e867256eedf27e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832077 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Xeltica/Groorine_1",
"max_stars_repo_path": "GroorineCore/Events/LyricsEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151297"
} | starcoder | <reponame>Xeltica/Groorine_1
namespace Groorine.Events
{
public class LyricsEvent : TextEventBase
{
public LyricsEvent(string text) : base(text) { }
public override string DisplayName => "Lyrics";
}
} | 1.744816 | 1b33776925f42f455dfe0c153244f312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832078 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pCYSl5EDgo/WahrenUnity",
"max_stars_repo_path": "Assets/Wahren/Scripts/AbstractSyntaxTree/Race/Race.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151298"
} | starcoder | <gh_stars>1-10
namespace pcysl5edgo.Wahren.AST
{
public unsafe struct RaceTree : INameStruct
{
public Span Name;
public Span ParentName;
public ASTTypePageIndexPairList* Page;
public int Start;
public int Length;
internal enum Kind
{
... | 1.993299 | bce0a63a3c383c9ca8d85b3852421c5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sucrose0413/ScrapyTibiaCSharp",
"max_stars_repo_path": "TibiaApi.Service/BasicService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151299"
} | starcoder | <reponame>sucrose0413/ScrapyTibiaCSharp<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using TibiaApi.Comum.WebReturns;
using TibiaApi.Database;
using TibiaApi.Repository;
namespace TibiaApi.Service
{
public abstract class BasicService<T, K> : IBasicService<T, K>
... | 2.315704 | c4969679233f521981d78b9b6dbcf60b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SSRout/MadeForEachOther",
"max_stars_repo_path": "API/SignalR/PresenceHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151300"
} | starcoder | using System;
using System.Threading.Tasks;
using API.Extensions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
namespace API.SignalR
{
[Authorize]
public class PresenceHub : Hub
{
private readonly PresenceTracker _tracker;
public PresenceHub(PresenceTracker ... | 2.44313 | c3d3c7e1a6835324bad2b8a030f3b2db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832081 | {
"extension": "c-sharp",
"max_stars_count": "267.0",
"max_stars_repo_name": "KarlClinckspoor/UnderworldExporter",
"max_stars_repo_path": "UnityScripts/scripts/Objects/Pillar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151301"
} | starcoder | using UnityEngine;
using System.Collections;
public class Pillar : map_object {
protected override void Start ()
{
base.Start ();
BoxCollider bx = this.GetComponent<BoxCollider>();
if (bx!=null)
{
bx.center=new Vector3(0.0f, 0.0f, 0.0f);
bx.size=new Vector3(0.1f, 12f, 0.1f);
}
}
}
| 1.795953 | a17ffa6f8507e3b55ff27d75a52b6830 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832082 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Sitecore/sccs-demo",
"max_stars_repo_path": "CS/CSF/Connect/Services/Orders/CommerceOrderServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151302"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="CommerceOrderServiceProvider.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// <summary>The extended CS Integration Ordrer service provider.</summary>
//---------------... | 2.058712 | 98d63fc8ac8ecc6e860d8fe9561aa740 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832083 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bsimser/flixel",
"max_stars_repo_path": "src/Flixel/FlxGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151303"
} | starcoder | <reponame>bsimser/flixel
using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace org.flixel
{
public cl... | 2.15343 | bdbadd7651bef8299912b247116b0c3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832084 | {
"extension": "c-sharp",
"max_stars_count": "369.0",
"max_stars_repo_name": "mvelosop/Esquio",
"max_stars_repo_path": "tests/UnitTests/Seedwork/FakeSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151304"
} | starcoder | using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace UnitTests.Seedwork
{
internal class FakeSession
: ISession
{
string _sessionId;
public FakeSession(string s... | 2.438333 | 9d7cf66e9e86989ee248900443d9da3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DisSh33/Online-Library-Manager",
"max_stars_repo_path": "OnlineLibraryManager/Library.WebMVC/Views/Branch/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151305"
} | starcoder | <reponame>DisSh33/Online-Library-Manager<gh_stars>0
@using Library.WebMVC.Models.Branch
@model IEnumerable<BranchDetailModel>
@{
ViewBag.Title = "Branch Index";
}
<h1 class="text-muted display-4 mb-3">Branch List</h1>
<div id="branchIndex">
<table class="table table-bordered" id="branchIndexTable">
<th... | 2.544987 | a9ee5ca350c5cadec4279b1dd37d39da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ObjectivityLtd/Cake.Daploy.Azure.ResourceManager",
"max_stars_repo_path": "src/AzureTemplateDeployment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151306"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Rest;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Cake.Deploy.Azure.ResourceManager
{
public class... | 2.512451 | 970ac59d90dbfa1f0b3cabc0b69dee68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832087 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "phuongvobys/DataVault",
"max_stars_repo_path": "src/Entities/Dv/IDvLinkEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151307"
} | starcoder | namespace DataVault.Entities.Dv
{
public interface IDvLinkEntity : IDvEntity
{
}
} | 1.070467 | b1945ea9e3aa16f4e8b580e524c2621f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832088 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "andreigit/PrimeFuncPack",
"max_stars_repo_path": "src/core-taggeds-optional/Optional/Optional.T/Optional.T.Equality.Equals.Impl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151308"
} | starcoder | <filename>src/core-taggeds-optional/Optional/Optional.T/Optional.T.Equality.Equals.Impl.cs<gh_stars>1-10
namespace System;
partial struct Optional<T>
{
public bool Equals(Optional<T> other)
{
if (hasValue != other.hasValue)
{
return false;
}
if (hasValue)
{... | 2.661961 | 25c9ee5168cc1880c0733fad66212316 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jl632541832/Destiny.Core.Flow",
"max_stars_repo_path": "src/Destiny.Core.Flow.IServices/ApplicationClient/ClientContract/IApplicationClientService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151309"
} | starcoder | using Destiny.Core.Flow.Dependency;
using Destiny.Core.Flow.Dtos.IdentityServer4.ClientApplication;
using Destiny.Core.Flow.Filter;
using Destiny.Core.Flow.Filter.Abstract;
using Destiny.Core.Flow.Ui;
using System;
using System.Threading.Tasks;
namespace Destiny.Core.Flow.IServices
{
public interface IApplication... | 1.338421 | 0262c745c2e2cd9846ed1dfbf3471d96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsfop/SAEA",
"max_stars_repo_path": "Src/SAEA.Audio.Net/Base/NAudio/Wave/SampleProviders/LinearPanStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151310"
} | starcoder | <filename>Src/SAEA.Audio.Net/Base/NAudio/Wave/SampleProviders/LinearPanStrategy.cs<gh_stars>0
using System;
namespace SAEA.Audio.Base.NAudio.Wave.SampleProviders
{
public class LinearPanStrategy : IPanStrategy
{
public StereoSamplePair GetMultipliers(float pan)
{
float num = (-pan + 1f) / 2f;
float left = ... | 2.517562 | fd6e7c2bb021253c8e63e0404bbde8d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832091 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "AlphaDelta/Clearbytes",
"max_stars_repo_path": "ClearbytesBridge/SearchNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151311"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ClearbytesBridge
{
public class SearchNode
{
public InformationType Type;
public string Title;
public object Data;
TreeNode TreeNode;
public... | 2.424918 | d5fd0872e7aebdc8984bccc99a6a1f88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexAdvani/Ascender-GGJ-2014",
"max_stars_repo_path": "Assets/scripts/KillTriggerScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151312"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class KillTriggerScript : MonoBehaviour {
void OnTriggerEnter2D(Collider2D other)
{
print("on trigger enter 2d activate");
if (other.tag == "Player")
{
print("on trigger detected player");
PlayerMovement.bIsAlive = false;
PlayerMove... | 1.565888 | ac18984af304b95be51b5eb3eb526be4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832093 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Maakuz/Outward-Mods",
"max_stars_repo_path": "CustomWeight/src/CustomWeight.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151313"
} | starcoder | <reponame>Maakuz/Outward-Mods<filename>CustomWeight/src/CustomWeight.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using BepInEx;
using HarmonyLib;
using SideLoader;
using BepInEx.Configuration;
namespace CustomWeight
{
[BepIn... | 1.743687 | ac06583e2a1a6fe4e68cf3e105c26845 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832094 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "atomiv/atomiv-dotnet",
"max_stars_repo_path": "pck/lite/Atomiv.Template.Lite/Mapping/Products/DeleteProductResponseMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151314"
} | starcoder | <gh_stars>1-10
using Atomiv.Template.Lite.Dtos.Products;
using Atomiv.Template.Lite.Models;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Atomiv.Template.Lite.Mapping.Products
{
public class DeleteProductResponseMap : Profile
{
public ... | 1.55641 | fa701f314a3f8850e7498ea26e813f03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xpike/caching",
"max_stars_repo_path": "src/XPike.Caching/ICachingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151315"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
namespace XPike.Caching
{
public interface ICachingService
{
void AddProvider(string connection, ICachingConnectionProvider provider);
Task<bool> InvalidateAsync(string connectionName, string key);
Task<ICachedItem<T... | 2.402625 | 15194db22c410f049b4a62a422573788 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RubbaBoy/Snippets",
"max_stars_repo_path": "data-integrity/Crc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151316"
} | starcoder | /// <summary>
/// Computes a CRC for the specified (9 bits long) value.
/// Returns the value with the CRC attached or -1, if the input is out of bounds.
/// </summary>
public static int AddCrc(int value) {
return value < 0 || value >= 512 ? -1 : value | (CalculateCrc(value) << 9);
}
/// <summary>
/// Removes the CRC... | 3.287956 | 79e312dc0680599542e5865a482887d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832097 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "DmitryKhi/Jira.SDK",
"max_stars_repo_path": "Jira.SDK/Domain/ProjectCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151317"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jira.SDK.Domain
{
public class ProjectCategory
{
[JsonIgnore()]
public Jira Jira { get; set; }
public string Self { get;... | 1.566435 | 2d0878b9b934d6c02f2a1a43d0199f08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeapOfFaith01/loja-virtual",
"max_stars_repo_path": "MyOwnStore/Repositories/CategoryRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151318"
} | starcoder | <filename>MyOwnStore/Repositories/CategoryRepository.cs<gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MyOwnStore.Database;
using MyOwnStore.Models;
using MyOwnStore.Repositories.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.... | 2.796582 | 82249c7fb78456aecce46c787ae21722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirzaadzovic/eApartman",
"max_stars_repo_path": "eApartman/eApartman/Controllers/ApartmaniController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151319"
} | starcoder | using eApartman.Database;
using eApartman.Model.Requests;
using eApartman.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace eApartman.Controllers
{
public class ApartmaniCon... | 2.074267 | bf8930dc4da8c8c64fa1390e4b673c3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832100 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "5ajish/prototype",
"max_stars_repo_path": "Prototype.API/Controllers/CommonController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151320"
} | starcoder | <filename>Prototype.API/Controllers/CommonController.cs
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Prototype.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
[Authorize(AuthenticationSchemes = JwtBea... | 1.713137 | 53e6beead5cb31a4e2b173af238e5689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832101 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DumbPrograms/ChromeDevTools",
"max_stars_repo_path": "src/DumbPrograms.ChromeDevTools/EventDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151321"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace DumbPrograms.ChromeDevTools
{
abstract class EventDispatcher
{
public abstract void Dispatch(JObject eventArgs);
}
class EventDispatcher<TEvent> : EventDispatcher
{
public event Func<T... | 2.145155 | d4a3f3f536c3ed3d5f64831c7d7a8d68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guokai2048/ngii",
"max_stars_repo_path": "CM.Application/CM.Application.Web/Areas/BaseManage/Controllers/OrganizeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151322"
} | starcoder | using LeaRun.Application.Busines.BaseManage;
using LeaRun.Application.Cache;
using LeaRun.Application.Code;
using LeaRun.Application.Entity.BaseManage;
using LeaRun.Util;
using LeaRun.Util.WebControl;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace CM.Application.Web.Areas.BaseMan... | 1.871238 | 10b6961f822cbd751af46ec5cab36865 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "novosadkry/NOVAxis",
"max_stars_repo_path": "NOVAxis/Services/Audio/AudioTrack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151323"
} | starcoder | using NOVAxis.Extensions;
using Discord;
using Victoria;
namespace NOVAxis.Services.Audio
{
public class AudioTrack : LavaTrack
{
public AudioTrack(LavaTrack lavaTrack)
: base(lavaTrack) { }
public IUser RequestedBy { get; set; }
public string ThumbnailUrl => this.GetThum... | 1.750346 | 0c099787615d089c606a656ff217ba0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832104 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "idaholab/PRISM",
"max_stars_repo_path": "VolumeVisualizationDesktop/Assets/FlyCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151324"
} | starcoder |
/*
* Copyright 2019 Idaho National Laboratory.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 2.369889 | 77020db247f9d8d8ffa3fcab18cb0660 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aqrl/unity-virtual-gallery",
"max_stars_repo_path": "Assets/Invector-3rdPersonController/Shooter/Scripts/Weapon/vShooterWeapon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151325"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Invector.vShooter
{
[vClassHeader("Shooter Weapon", openClose = false)]
public class vShooterWeapon : vShooterWeaponBase
{
#region variables
[vEditorToolbar("We... | 1.814655 | 5812a46eb91707e6556e37c1de1233b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fluffy-Bunny-Blog-Posts/entityframeworkcore-postgres",
"max_stars_repo_path": "src/WebApp/DbContextServices/IAppEntityCoreContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151326"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
using WebApp.Models;
namespace Microsoft.EntityFrameworkCore
{
public interface IAppEntityCoreContext
{
DbSet<State> States { get; set; }
DbSet<County> Counties { get; set; }
DbSet<City> Cities { g... | 1.377282 | b096bd28486fd072e32cb3b5aa1d5c7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tahiralvi/Nemo",
"max_stars_repo_path": "src/Nemo/Serialization/SerializationWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151327"
} | starcoder | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using Ne... | 2.322509 | f0661f66df38049e20a5745e9ef7b941 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yovko93/Software-University",
"max_stars_repo_path": "Entity_Framework_Core/03.EntityFrameworkIntroduction/EFCoreIntroductionDemo/Model/Song.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151328"
} | starcoder | <reponame>yovko93/Software-University
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace EFCoreIntroductionDemo.Model
{
[Index(nameof(IsDeleted), Name = "... | 2.192509 | 76c13af48327dcae46a3f671bb6481ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832109 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wedge206/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Workflows/Scripting/WorkflowMethodsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151329"
} | starcoder | <reponame>wedge206/OrchardCore
using System;
using System.Collections.Generic;
using OrchardCore.Scripting;
using OrchardCore.Workflows.Models;
namespace OrchardCore.Workflows.Scripting
{
public class WorkflowMethodsProvider : IGlobalMethodProvider
{
private readonly GlobalMethod _workflowMethod;
... | 2.207614 | 9c9bb020e51e621b7c3b6708c3cd1709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832110 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "startewho/FastNetwork.Core",
"max_stars_repo_path": "FastNetwork.Core/Event/StartSendingHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151330"
} | starcoder |
namespace FastNetwork.Event
{
/// <summary>
/// begin send handler
/// </summary>
/// <param name="connection"></param>
/// <param name="packet"></param>
public delegate void StartSendingHandler(IConnection connection, Packet packet);
} | 1.888533 | 7adbc6fe95986b9a2907b4bb09634019 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pedroabgmarques/TankScroller",
"max_stars_repo_path": "TankScroller/Componentes/Cena.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151331"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TankScroller.Componentes
{
public class Cena
{
private SpriteBatch spriteBatch;
/// <summary>
/// SpriteBatch desta cen... | 3.295526 | 91ada2f731360c65878734cd5481bf75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.