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 | 8813918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaVodenicharov/CSharpDatabase",
"max_stars_repo_path": "CodeFIrstDemo/Forum.Client/Manager/Commands/LoginCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133138"
} | starcoder | namespace Forum.Client.Manager.Commands
{
using Forum.Services.Interfaces;
public class LoginCommand : IExecutable
{
private const string Message = "Logged succesfully.";
private IUserService service;
public LoginCommand(IUserService service)
{
this.service = ... | 2.688164 | 63c3ed8e71d8cadcbe43bf935aef9211 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eiq21/virtualstore",
"max_stars_repo_path": "src/services/Catalog/Catalog.Persistence/Configurations/ProductConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133139"
} | starcoder | using Catalog.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace Catalog.Persistence.Configurations
{
public class ProductConfiguration : BaseEntityConfiguration<Product>
{
... | 2.519134 | dbb6df81146db95591d216be8f588d16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813920 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jaw41/WpfApp",
"max_stars_repo_path": "WpfApp/ViewModel/Helper/OnPropertyChangedImplementation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133140"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace WpfApp.ViewModel.Helper
{
public abstract class OnPropertyChangedImplementation : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
p... | 2.395051 | 0d9653e5bf00a90b99819c591e145ac8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rogeralsing/Migrant",
"max_stars_repo_path": "Migrant/Helpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133141"
} | starcoder | <filename>Migrant/Helpers.cs
/*
Copyright (c) 2012-2015 Antmicro <www.antmicro.com>
Authors:
* <NAME> (<EMAIL>)
* <NAME> (<EMAIL>)
* <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to... | 2.313987 | 206069d98c0d23356e204b2d7bf06cf5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haotian16cheng/kingso",
"max_stars_repo_path": "Assets/Scripts/TwoColorGround.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133142"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TwoColorGround : Ground
{
protected override void OnTriggerEnter2D(Collider2D collision)
{
if (collision.tag == "circle")
{
Circle circle = collision.transform.GetComponent<Circl... | 2.197545 | c743790a15d37cb9f29bfc4a5dd402de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813923 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "jakemoves/cohort-unity-client-demo",
"max_stars_repo_path": "Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/field/IPolynomialExtensionField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133143"
} | starcoder | #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field
{
public interface IPolynomialExtensionField
: IExtensionField
{
IPolynomial MinimalPolynomial { get; }
}
}
#... | 1.471716 | e64a24b4720c238a281e205ed9372d63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813924 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CUSE341/cuse.github.io",
"max_stars_repo_path": "chutzpah/Facts/Library/TestingModeExtensionsFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133144"
} | starcoder | using Chutzpah.Extensions;
using Chutzpah.Models;
using Xunit;
namespace Chutzpah.Facts.Library
{
public class TestingModeExtensionsFacts
{
public class FileBelongsToTestingMode
{
[Fact]
public void Will_return_false_if_file_is_null()
{
var r... | 2.450209 | 373ca4df91b2b053d8857760282bb721 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evan-imaginet/udemy-microservices",
"max_stars_repo_path": "src/Services/Catalog/Catalog.Api/Services/UpdateProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133145"
} | starcoder | using Catalog.Api.DataAccess;
using Catalog.Api.Model;
using MediatR;
using Microsoft.Extensions.Logging;
using MongoDB.Driver;
using Newtonsoft.Json;
using System.Threading;
using System.Threading.Tasks;
namespace Catalog.Api.Services
{
public class UpdateProductService: IRequestHandler<UpdateProduct, Product>
... | 2.617258 | 209afc23019b83a37b3145dec58d04d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jstemerdink/EPi.Libraries.Commerce.ExchangeRates",
"max_stars_repo_path": "EPi.Libraries.Commerce.ExchangeRates/ExchangeRatesImportJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133146"
} | starcoder | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExchangeRatesImportJob.cs" company="<NAME>">
// Copyright © 2019 <NAME>.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// ... | 1.894041 | 5ff5d39e4b708a3a0160e38db3e30c72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813927 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Bloomerang/elasticsearch-net",
"max_stars_repo_path": "src/Tests/Nest.Tests.Unit/ObjectInitializer/Snapshots/RestoreRequestTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133147"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Elasticsearch.Net;
using FluentAssertions;
using NUnit.Framework;
namespace Nest.Tests.Unit.ObjectInitializer.Snapshots
{
[TestFixture]
public class RestoreRequestTests : BaseJsonTests
{
private readonly IElasticsea... | 2.081879 | a5b8ad06badfb68503656d46fe356be6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813928 | {
"extension": "c-sharp",
"max_stars_count": "211.0",
"max_stars_repo_name": "csmarvz/couchbase-net-client",
"max_stars_repo_path": "src/Couchbase/DataStructures/IPersistentSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133148"
} | starcoder | <reponame>csmarvz/couchbase-net-client
using System.Collections.Generic;
using System.Threading.Tasks;
#nullable enable
namespace Couchbase.DataStructures
{
public interface IPersistentSet<TValue> : ISet<TValue>
{
Task<bool> AddAsync(TValue item);
Task ExceptWithAsync(IEnumerable<TValue> othe... | 1.895874 | 2a482df5df1f18275878ff91291af0f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RazorSites/ManagementSystem",
"max_stars_repo_path": "ManagementSystem/ManagementSystem.Web/Data/OperationCost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133149"
} | starcoder | <reponame>RazorSites/ManagementSystem
using System;
namespace ManagementSystem.Web.Data
{
public class OperationCost
{
public Guid Id { get; set; }
public DateTime Time { get; set; }
public string Reason { get; set; }
public decimal Amount { get; set; }
}
} | 1.638766 | b57b479610e302ac43faac0119bec176 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813930 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "mehdihadeli/Trill-modular-monolith",
"max_stars_repo_path": "src/Modules/Ads/src/Trill.Modules.Ads.Core/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133150"
} | starcoder | using System.Runtime.CompilerServices;
using Microsoft.Extensions.DependencyInjection;
using Trill.Modules.Ads.Core.Clients.Stories;
using Trill.Modules.Ads.Core.Clients.Users;
using Trill.Modules.Ads.Core.Domain;
using Trill.Modules.Ads.Core.Exceptions;
using Trill.Modules.Ads.Core.Persistence;
using Trill.Shared.Infr... | 1.421976 | 432b0056bb2f0a827b44b22f689ce694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813931 | {
"extension": "c-sharp",
"max_stars_count": "216.0",
"max_stars_repo_name": "SamuelJohnsonMedia/Balea",
"max_stars_repo_path": "sample/ContosoUniversity.EntityFrameworkCore.Store/Infrastructure/Extensions/IHostExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133151"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
namespace Microsoft.Extensions.Hosting
{
public static class IHostExtensions
{
public static IHost MigrateDbContext<TContext>(this IHost host, Action<TContext> seed = ... | 2.721511 | 9d199fb7a3031b40cebfa58b01af9c62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elitam/Programming-Basics",
"max_stars_repo_path": "01 _ First Steps In Coding/Rectangle square/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133152"
} | starcoder | <filename>01 _ First Steps In Coding/Rectangle square/Program.cs
using System;
namespace Rectangle_Square_2
{
class Program
{
static void Main(string[] args)
{
//input data
Console.Write("a= ");
var a = int.Parse(Console.ReadLine());
Console.Wr... | 3.719901 | 8ad370f8d2436296f7989bd91d49989f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottbilas/OkTools",
"max_stars_repo_path": "NiceIO.Tests/Construction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133153"
} | starcoder |
// TODO: niceio needs to be modernized..
#pragma warning disable CS8625
namespace NiceIO.Tests
{
[TestFixture]
public class Construction
{
[Test]
public void OnlyFileName()
{
var path = new NPath("myfile.exe");
Assert.AreEqual("myfile.exe", path.ToString());
}
[Test]
public void FromStringWith... | 2.752634 | 26cbb550c9fab423795b2b416704892d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813934 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "MorelAntoine/Unity-Character-Mechanism",
"max_stars_repo_path": "Normal/Example/ScriptableObject/Script/ActionState/RunActionState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133154"
} | starcoder | <reponame>MorelAntoine/Unity-Character-Mechanism
/*
** RunActionState.cs for Unity-Character-Mechanism
**
** Made by <NAME>
**
** Started on Jan 07 2019 <NAME>
** Last update Jan 09 2019 <NAME>
**
** Copyright (c) 2018 - 2019 All Rights Reserved
*/
using CharacterMechanism.Normal.Information;
using CharacterMechani... | 2.097941 | 0c771f9905758500f70ac012980af4b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michaelbmorris/MichaelBrandonMorris.KingsportMillSafetyTraining",
"max_stars_repo_path": "MichaelBrandonMorris.KingsportMillSafetyTraining/Views/Orientation/ConfirmGroup.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133155"
} | starcoder | @model MichaelBrandonMorris.KingsportMillSafetyTraining.Db.Models.Group
@{
ViewBag.Title = "Confirm Group";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Confirm Group</h2>
<hr/>
<p>Your current orientation type is:</p>
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Title)... | 2.693467 | 47393647de47f9bddd7195931319bc23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greknyc7/MyJetWallet.Sdk.WalletApi",
"max_stars_repo_path": "src/MyJetWallet.Sdk.WalletApi/Common/TwoFaAuthorizeAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133156"
} | starcoder | using Microsoft.AspNetCore.Authorization;
namespace MyJetWallet.Sdk.WalletApi.Common
{
public class TwoFaAuthorizeAttribute : AuthorizeAttribute
{
public TwoFaAuthorizeAttribute()
{
Policy = AuthorizationPolicies.Passed2FaPolicy;
}
}
} | 1.38992 | 6798c6d09d05885a446cb499d61c7543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813937 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "phizch/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/WinUser/TOUCHINPUT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133157"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/WinUser.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
namespace TerraFX.Interop
{
... | 1.365362 | ceabceb7db87ed67e7a5b7608c148965 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813938 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "da1fanshu/1234ewsd",
"max_stars_repo_path": "Assets/Scripts/Game/FishGame/script/control_down.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133158"
} | starcoder | using UnityEngine;
namespace Assets.Scripts.Game.FishGame.script
{
public class control_down : MonoBehaviour
{
public static control_down Instance;
private bool ON = true;
public Move_UP[] move;
public Chain_zoom[] zoom;
private float IntervalTime = 0.7f;
privat... | 2.185226 | bbd496a4b2b13e42aaa6358c8d111f86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davesspacebar/AppCan",
"max_stars_repo_path": "appcan/RCLibrary/StringBuilderEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133159"
} | starcoder | <filename>appcan/RCLibrary/StringBuilderEx.cs<gh_stars>0
/*(c)opyright 2013 <PASSWORD>
If you modify and distribute source files please be sure to indicate that they have been modified.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RCLibrary
{
/// <s... | 3.038395 | 15ab8b1057fd25cfa1cd0af12b0c26da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusiness/MAVN.Service.CrossChainWalletLinker",
"max_stars_repo_path": "src/MAVN.Service.CrossChainWalletLinker.DomainServices/WalletLinker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133160"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using Falcon.Numerics;
using Lykke.Common.Log;
using Lykke.Common.MsSql;
using Lykke.RabbitMqBroker.Publisher;
using MAVN.Service.CrossChainWalletLinker.Contract.Linking;
using MAVN.Service.CrossChainWalletLinker.Domain.Exceptions;
using M... | 1.593737 | 7f06ece4ff145df0f3c932aa51dd4c29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813941 | {
"extension": "c-sharp",
"max_stars_count": "310.0",
"max_stars_repo_name": "Web-Dev-Collaborative/Aspose.Words-for-.NET",
"max_stars_repo_path": "Plugins/NPOI/Missing Features of NPOI HWPF and XWPF/Aspose.Words/08-WorkingWithImages/08.01-ConvertWordDocumentToPNG/Program.cs",
"provenance": "train-00027-of-00... | starcoder | <reponame>Web-Dev-Collaborative/Aspose.Words-for-.NET
using System;
using Aspose.Words;
using Aspose.Words.Saving;
using System.IO;
namespace Convert_Doc_to_Png
{
class Program
{
static void Main(string[] args)
{
// Check for an Aspose.Words license file in the local file system an... | 3.018248 | c3c76c5ef1ac0ee2978f396734a04c92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813942 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Goodgulf281/Unity-SteamVR-Terrain-Teleportation",
"max_stars_repo_path": "Scripts/TeleportPointsTerrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133162"
} | starcoder | <filename>Scripts/TeleportPointsTerrain.cs
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using UnityEngine;
using Valve.VR.InteractionSystem;
/*
* https://github.com/Goodgulf281/Unity-SteamVR-Terrain-Teleportation
*
* Basic instructions:
* - Tag... | 2.831422 | a75f01eb6b0470fe2d7b758d8bdbbfd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sherikhanx/SOSCIT",
"max_stars_repo_path": "webapp/Areas/CPC/Views/AnnexureIII/_AllAnnexureIII.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133163"
} | starcoder | @model List<CPCAnnexureIII>
@{var empList = ViewBag.Employees as List<CPCEmployee>; }
<style>
.menu-links a:hover {
text-decoration: none;
}
</style>
<div class="form-Modal">
<div class="modal-content bg-transparent">
<div class="modal-header">
... | 2.269007 | 46c24e80286398b65c18732c0940cbbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gillessteiner/tschedule",
"max_stars_repo_path": "C# - Optimizer/TrainScheduler/Data/ServiceIntention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133164"
} | starcoder | <reponame>gillessteiner/tschedule<filename>C# - Optimizer/TrainScheduler/Data/ServiceIntention.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace TrainScheduler.Data {
[DataContract]
public class ServiceIntention : DeSerializable {
public Se... | 2.528048 | bdc8b99735d51fa4874e4c8831353d22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813945 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stefandevo/RepoDB",
"max_stars_repo_path": "RepoDb.Core/RepoDb/Operations/DbRepository/Truncate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133165"
} | starcoder | <filename>RepoDb.Core/RepoDb/Operations/DbRepository/Truncate.cs
using System;
using System.Data;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace RepoDb
{
/// <summary>
/// A base object for all shared-based repositories.
/// </summary>
public partial class Db... | 2.869422 | c528b6822d5f80867a2f0152886a79b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bisam97/VGAudio",
"max_stars_repo_path": "src/VGAudio/Codecs/Opus/Silk/CNG.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133166"
} | starcoder | /* Copyright (c) 2006-2011 Skype Limited. All Rights Reserved
Ported to C# by <NAME>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
... | 1.907292 | 4f534ca1d05ff9f1f61f788a3f3c3e86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813947 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Batonapiton/SPICA",
"max_stars_repo_path": "SPICA/Formats/Generic/COLLADA/DAEAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133167"
} | starcoder | using System.Collections.Generic;
using System.Xml.Serialization;
namespace SPICA.Formats.Generic.COLLADA
{
public class DAEAccessor
{
[XmlAttribute] public string source;
[XmlAttribute] public uint count;
[XmlAttribute] public uint stride;
[XmlAttribute] public uint offset;
... | 2.374228 | ea32abfe61287eb716f996dc7cba3671 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813948 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "oldrev/maltreport",
"max_stars_repo_path": "test/Sandwych.Reporting.Tests/Common/Table.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133168"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Sandwych.Reporting.Tests.Common
{
public class Table
{
public Table()
{
this.Rows = new List<TableRow>
{
new TableRow {
Text = "row1",
... | 2.576944 | 49cb2ee46799c0662abbefd80a5543f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefanMinch3v/Udemy",
"max_stars_repo_path": "Xamarin/XamarinTraining/XamarinTraining/ImageDemo.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133169"
} | starcoder | <reponame>stefanMinch3v/Udemy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XamarinTraining
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ImageDemo : ContentPage... | 2.067836 | d4fcf11658b4b30461d11acbb352c1f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WelandSolutions/CS-API-Samples",
"max_stars_repo_path": "ImportOrderClientSample/Models/OrderDataTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133170"
} | starcoder | <filename>ImportOrderClientSample/Models/OrderDataTable.cs<gh_stars>0
/* ========================================================================
* MIT License
*
* Copyright (c) 2021 Weland Solutions AB
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated d... | 2.773352 | f000c7671efc3179e9de1f66c9368d4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813951 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "msrao83/Telerik",
"max_stars_repo_path": "Controls/Grid/Grid.UWP/Data/Engine/Aggregates/Descriptions/NumericFormatAggregateFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133171"
} | starcoder | using System;
namespace Telerik.Data.Core
{
///// <summary>
///// Base class for generic <see cref="AggregateFunctions"/> that preserve the meaning of the underlying data.
///// It provides a basic functionality to select default string formats.
///// </summary>
/// <summary>
/// Base class fo... | 3.031528 | 33c3580b1df655eea546f9eb1c4634eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sergiolmachado/AjaxControlToolkit-master",
"max_stars_repo_path": "AjaxControlToolkit/ReorderList/DraggableListItemExtender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133172"
} | starcoder | <filename>AjaxControlToolkit/ReorderList/DraggableListItemExtender.cs
#pragma warning disable 1591
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AjaxControlToolkit {
// This just wra... | 1.924107 | fd70778c145ef6102d9d541317560fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HR-SP/PlasteelSurgery",
"max_stars_repo_path": "Source/PlasteelSurgery/PS_Recipes_Surgery_Laryngoplasty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133173"
} | starcoder | <reponame>HR-SP/PlasteelSurgery
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse;
namespace PlasteelSurgery
{
public class PS_Recipes_Surgery_Laryngoplasty : Recipe_Surgery
{
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(... | 2.048632 | 844bfc3cc45cb6083354842895704c5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813954 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ASzot/xna_game_engine",
"max_stars_repo_path": "HTW Game Engine/My Xna Game/My Xna Game/UI/DialogUIFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133174"
} | starcoder | <reponame>ASzot/xna_game_engine
#region About and License
//=======================================================================
// Copyright <NAME> 2015.
// Distributed under the MIT License.
// (See accompanying file LICENSE.txt)
//=======================================================================
#endregion... | 1.917316 | 7d00981cd4070cd0da8d137c7ff9e12d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813955 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tompazourek/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133175"
} | starcoder | <filename>src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorType.cs
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff.PhotometricInterpretation
{
/// <summary>
/// Provides enumeration of the various TIFF photometric interpretat... | 2.590716 | 8704d8210ec422dd7d25d75d1722c7fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813956 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astiob/AVDump3",
"max_stars_repo_path": "AVDump3Lib/Reporting/Core/ReportFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133176"
} | starcoder | <filename>AVDump3Lib/Reporting/Core/ReportFactory.cs
using AVDump3Lib.Information.MetaInfo.Core;
using ExtKnot.StringInvariants;
namespace AVDump3Lib.Reporting.Core;
public interface IReportFactory {
string Name { get; }
string Description { get; }
IReport Create(FileMetaInfo fileMetaInfo);
}
public delegate IRe... | 2.496858 | cd0d0430bb377603ef389b822a624a9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ash2022/FeedTheMonster-LearnRussian",
"max_stars_repo_path": "Assets/Scripts/UI/UIFlashAnimation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133177"
} | starcoder | using UnityEngine;
using System.Collections;
public class UIFlashAnimation : MonoBehaviour {
public delegate void onDelegate();
public onDelegate onEnd;
public onDelegate onPeak;
public AudioClip sndEvolv;
// Use this for initialization
void Start () {
StartCoroutine (ChangeTimer());
AudioController.Ins... | 2.107705 | 2e0b7fb52b43ef7002a8770d38e6f60d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pikachumetal/string-calculator-kata",
"max_stars_repo_path": "StringCalculatorKata.Test/Business/StringCalculatorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133178"
} | starcoder | <reponame>pikachumetal/string-calculator-kata<filename>StringCalculatorKata.Test/Business/StringCalculatorTest.cs
using InitialKata.App.Business;
using InitialKata.App.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace InitialKata.Test.Business
{
public c... | 2.724693 | e1bf47f319eee052becc8c2c47383984 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DurgaPrasadReddyV/BlazorApp",
"max_stars_repo_path": "Source/BlazorApp.Application/Common/Interfaces/IEmailTemplateService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133179"
} | starcoder | namespace BlazorApp.Application.Common.Interfaces;
public interface IEmailTemplateService
{
string GenerateEmailConfirmationMail(string userName, string email, string emailVerificationUri);
} | 1.149829 | 753afeeb39a0196fd5cdcafb5b58fcc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amironov73/ManagedClient.3",
"max_stars_repo_path": "IrbisUI/IrbisBusyForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133180"
} | starcoder | <reponame>amironov73/ManagedClient.3
/* IrbisBusyForm.cs
*/
#region Using directives
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Form... | 2.48967 | b1c3aa06984c82f59fe121f65c55d5b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813961 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "Stefangansevles/RemindMe",
"max_stars_repo_path": "RemindMe/User controls/Old user controls/UCSupport.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133181"
} | starcoder | namespace RemindMe
{
partial class UCSupport
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | 2.304632 | 2b050c9a533f9e85c91686b013aedacc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813962 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/Coord.--DistanceStep--d__36.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133182"
} | starcoder | [CompilerGeneratedAttribute] // RVA: 0x159E30 Offset: 0x159F31 VA: 0x159E30
private sealed class Coord.<DistanceStep>d__36 : IEnumerable<Coord>, IEnumerable, IEnumerator<Coord>, IEnumerator, IDisposable // TypeDefIndex: 9722
{
// Fields
private int <>1__state; // 0x10
private Coord <>2__current; // 0x14
private int... | 1.670147 | 17bbec4fe6e5fb48e49d51063347b193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813963 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Xen0byte/atata-webdriverextras",
"max_stars_repo_path": "src/Atata.WebDriverExtras/SafeWait`1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133183"
} | starcoder | <reponame>Xen0byte/atata-webdriverextras<filename>src/Atata.WebDriverExtras/SafeWait`1.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace Atata
... | 2.693768 | e38020ac769b8e340d70cd29febf2f83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericPantarotto/Felipe_Gavilan_YouTube",
"max_stars_repo_path": "ConcurrencyTest/ProcessCardsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133184"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace ConcurrencyTest;
//NOTE: https://hamidmosalla.com/2017/02/25/xunit-theory-working-with-inlinedata-memberdata-classdata/
public class ProcessCardsTest
{
... | 2.255546 | 828f0c92452601d14353f014de88642c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813965 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloKitty/Glader.ASP.RPG",
"max_stars_repo_path": "src/Glader.ASP.RPG.Server/Database/Tables/Character/DBRPGCharacterItemInventory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133185"
} | starcoder | <reponame>HelloKitty/Glader.ASP.RPG
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Glader.ASP.RPG
{
/// <summary>
/// Table that represents the character's inventory which maps to <see cref... | 2.755256 | 1b5aa205e51bfd38e488c97ba487e3c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813966 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikara89/Robot2017SlabReinfMapper",
"max_stars_repo_path": "GetSlabReinfResult/Converter/ConvertColorToSolidColorBrush.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133186"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
namespace GetSlabReinfResult.Converter
{
public class ConvertColorToSolidColorBrush : IValueConverter
{
... | 2.719765 | bbbdb340d2d26009cf9691fb95fc8915 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joezam1/EcommerceDotnetCoreWeb",
"max_stars_repo_path": "Project.Shop.Api/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133187"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Config... | 2.059973 | d0b61aa04e0d8364ca528ea231154185 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaiMishev/Telerik-Academy",
"max_stars_repo_path": "Module-1/03.CSharp OOP/Extension-Methods-Delegates-Lambda-LINQ/07.Timer/Timer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133188"
} | starcoder | <filename>Module-1/03.CSharp OOP/Extension-Methods-Delegates-Lambda-LINQ/07.Timer/Timer.cs
namespace _07.Timer
{
using System;
using System.Threading;
public delegate void RepeatDelegate(int t);
class Timer
{
static void Main()
{
RepeatDelegate t = delegate(int time)
... | 3.425742 | 51c0b2bffd0d5982cdee49c48a44867b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marwenbhz/MULTITENANT",
"max_stars_repo_path": "WEBAPI/Controllers/ProjectController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133189"
} | starcoder | <gh_stars>0
using DOMAIN.Entities;
using SERVICES;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WEBAPI.Models;
namespace WEBAPI.Controllers
{
[AllowAnonymous]
[Serializable]
public class ProjectController : ApiCont... | 2.240328 | df184a73c4fc1667456f9f1d6bc10449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813970 | {
"extension": "c-sharp",
"max_stars_count": "1745.0",
"max_stars_repo_name": "bsf2dev/bsf",
"max_stars_repo_path": "Source/Scripting/bsfSharp/Generated/PARTICLE_TEXTURE_ANIMATION_DESC.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133190"
} | starcoder | //********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Int... | 2.787511 | aebcaf2bb1bbe9451f65ea2054415fcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Imbutt/CuteGame",
"max_stars_repo_path": "LDtkMonogame-main/LDtk.Codegen/CompilationUnits/ClassCompilationUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133191"
} | starcoder |
using System.Collections.Generic;
namespace LDtk.Codegen.CompilationUnits;
public class ClassCompilationUnit : CompilationUnitFragment
{
public string BaseClass { get; set; }
public List<CompilationUnitField> Fields { get; set; } = new List<CompilationUnitField>();
public override void Render(Compilatio... | 2.492068 | 6d42d868084c0168a75bc1e8ce4e2bb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813972 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Luxulicious/SOA",
"max_stars_repo_path": "Obsolete/ReferenceListVariable/DecimalReferenceListVariable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133192"
} | starcoder | <reponame>Luxulicious/SOA
using SOA.Base;
using UnityEngine;
using System;
namespace SOA.Common.Primitives
{
[CreateAssetMenu(fileName = "New Decimal List", menuName = "SOA/Primitives/Decimal/List", order = 1)]
public class DecimalReferenceListVariable : ReferenceListVariable<DecimalReferenceList, DecimalRefer... | 1.060093 | e32388c98e19281f173037e1f0fc9b7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813973 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "Baertierchen/OpenTracker",
"max_stars_repo_path": "OpenTracker.Models/AutoTracking/Memory/IMemoryFlag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133193"
} | starcoder | using ReactiveUI;
namespace OpenTracker.Models.AutoTracking.Memory
{
/// <summary>
/// This interface contains SNES memory flag data.
/// </summary>
public interface IMemoryFlag : IReactiveObject
{
/// <summary>
/// A nullable <see cref="bool"/> representing whether the flag is set... | 2.573293 | 70a4c0eb263aa631bc685d573b6469e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yam-fine/Phone-Fighters",
"max_stars_repo_path": "Phone_Fighters/Assets/Scripts/Abilities/SetAbilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133194"
} | starcoder | <filename>Phone_Fighters/Assets/Scripts/Abilities/SetAbilities.cs
using UnityEngine;
using UnityEngine.UI;
public class SetAbilities : MonoBehaviour {
AbilityCoolDown[] coolDownButtons;
GameObject player;
void Start()
{
coolDownButtons = GetComponentsInChildren<AbilityCoolDown>();
pl... | 2.508145 | b71a820f80eb49d9c6959fe9264d45d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "test-wiz-sec/pulumi-azure-nextgen",
"max_stars_repo_path": "sdk/dotnet/Logic/Latest/ListIntegrationAccountCallbackUrl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133195"
} | starcoder | <reponame>test-wiz-sec/pulumi-azure-nextgen<filename>sdk/dotnet/Logic/Latest/ListIntegrationAccountCallbackUrl.cs
// *** 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;
us... | 1.728234 | ced7dce37351c050a63d0d2662ec456d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aert/Timesheet",
"max_stars_repo_path": "Timesheet.Domain/Entities/Project.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133196"
} | starcoder | using System;
using System.Collections.Generic;
using Timesheet.Domain.Common;
namespace Timesheet.Domain.Entities
{
public class Project : Entity
{
public int Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public bool IsDeleted { ... | 2.330096 | e78d515dd13b8a6df68ef44bc283ecad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeagueGameObserver/LGO.Backend",
"max_stars_repo_path": "LeagueResource/LGO.LeagueResource.LocalResourceRepository/LocalLeagueResourceRepositoryFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133197"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LGO.Backend.Core.Model;
using LGO.Backend.Core.Model.League.Enum;
using LGO.LeagueApi.Model.Static;
using LGO.LeagueResource.LocalResourceRepository.Model.Champion;
using LGO.LeagueResource.LocalResourceRepository.Mo... | 2.323697 | 37bf59820659f5eae70b018f01dcf19f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813978 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "madmarks/High-Quality-Code",
"max_stars_repo_path": "17. Design Patterns/Demo/Creational/AbstactFactory/Pizzas/PepperoniPizza.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133198"
} | starcoder | namespace AbstractFactory.Pizzas
{
using System.Collections.Generic;
public class PepperoniPizza : Pizza
{
private readonly string madeBy;
public PepperoniPizza(IEnumerable<string> ingredients, string madeBy)
: base(ingredients)
{
this.madeBy = madeBy;
... | 3.257961 | f0166241f4d735766953219c0d446a23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813979 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "sachatrauwaen/OpenContent",
"max_stars_repo_path": "OpenContent/Components/Manifest/TemplateFiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133199"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Satrabel.OpenContent.Components.Manifest
{
public class TemplateFiles
{
public TemplateFiles()
{
DataInTemplate = true;
}
[JsonProperty(PropertyName = "template")]
public string Template { get... | 1.857441 | 7e3e7d220c6e0717eadd5d2d7949a014 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813980 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "ckadluba/DevOpsMetrics",
"max_stars_repo_path": "src/DevOpsMetrics.Service/Controllers/PullRequestsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133200"
} | starcoder | <reponame>ckadluba/DevOpsMetrics<gh_stars>10-100
using System;
using System.Threading.Tasks;
using DevOpsMetrics.Core.DataAccess.TableStorage;
using DevOpsMetrics.Core.Models.Common;
using DevOpsMetrics.Service.Utility;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
namespace DevOpsMetrics.... | 1.906399 | c23239397dfeb965c8f39c51d021b445 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813981 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "guy-murphy/conclave-public",
"max_stars_repo_path": "Conclave.Data/Store/StoreStartedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133201"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace Conclave.Data.Store {
/// <summary>
/// An exception throw when an attempt is made
/// to start a store that is already open.
/// </summary>
[Serializable]
public sealed class StoreStartedException : ApplicationException {
public StoreStartedExcepti... | 2.265566 | ac52026eaba644cfa5e854a588fc9d3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coder907/simple-backup",
"max_stars_repo_path": "SimpleBackup/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133202"
} | starcoder | <reponame>coder907/simple-backup
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Serilog;
using SimpleBackup.Configuration;
namespace SimpleBackup
{
class Program
{
static void Main(string[] args)
{
Log.Logger = new LoggerCon... | 2.514863 | 8deefef5c09658fe7c2e199b3755253c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nimrod-computing/simple-event-management",
"max_stars_repo_path": "Nimrod.Events.Services/Actions/ContactActions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133203"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using AutoMapper;
using Nimrod.Events.DataAccess.EF;
using Nimrod.Events.DomainModel;
using Nimrod.Events.Services.Actions.Base;
namespace Nimrod.Events.Services.Actions
{
public class ContactActions : EventActions, IContactActions
{
private ... | 2.13159 | 3268e86df88092e8d18d239feec4c41e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813984 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vanzanz/Terraria-Map-Editor",
"max_stars_repo_path": "src/TEdit/Terraria/World.Properties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133204"
} | starcoder | <reponame>Vanzanz/Terraria-Map-Editor
using System;
using System.Collections.ObjectModel;
using System.Linq;
using GalaSoft.MvvmLight;
using TEdit.Editor;
using TEdit.Geometry.Primitives;
using TEdit.Terraria.Objects;
namespace TEdit.Terraria
{
public partial class World : ObservableObject, ITileData
... | 1.709623 | 9b1a0fb1a5b6bd564580c9e9f69c2a27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813985 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kanadaj/sentry-visualstudio",
"max_stars_repo_path": "VSSentry.Shared/Server/Data/SentryEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133205"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace VSSentry.Shared.Server.Data
{
public class SentryEvent
{
public Context context { get; set; }
public Contexts contexts { get; set; }
pub... | 1.50455 | f8d9300f599be4f2690617059154ce76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janssenr/MollieApi.Net",
"max_stars_repo_path": "src/MollieApi.Net/Resources/Shipment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133206"
} | starcoder | <filename>src/MollieApi.Net/Resources/Shipment.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace MollieApi.Net.Resources
{
[DataContract]
public class Shipment : BaseResource
{
/// <summary>
/// Id of the order.
/... | 2.750949 | 0d7c527cecef0d469b5acf2c61cf47fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skyIsland/IsMatch.AbpStudy",
"max_stars_repo_path": "src/abpstudy-aspnet-core/src/IsMatch.AbpStudy.EntityFrameworkCore/EntityFrameworkCore/AbpStudyDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133207"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using IsMatch.AbpStudy.Authorization.Roles;
using IsMatch.AbpStudy.Authorization.Users;
using IsMatch.AbpStudy.MultiTenancy;
using IsMatch.AbpStudy.PhoneBooks.Persons;
using IsMatch.AbpStudy.PhoneBooks.PhoneNumbers;
using Abp.Localization;
using I... | 1.998196 | 9eb3ebdacfb30540c667bda474a05fc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sawair/wc-indicator",
"max_stars_repo_path": "wcindicator.api/wcindicator.api.test/WCStatusServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133208"
} | starcoder | <reponame>Sawair/wc-indicator
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using wcindicator.api.Models;
using wcindicator.api.Services;
using Xunit;
namespace wcindicator.api.test
{
public cl... | 2.040018 | f50c33124e44957c917b252562421dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813989 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UWP/UI/Text/FontStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133209"
} | starcoder | <reponame>olirobert/uno
namespace Windows.UI.Text
{
public enum FontStyle
{
Normal,
Oblique,
Italic,
}
}
| 1.20661 | 8f5cba6c9d16c72a7e1468c6352261d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813990 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kragen/mod_pubsub",
"max_stars_repo_path": "cxx_pubsub/LibKN/Apps/RssPub.Net/RSSPub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133210"
} | starcoder | <filename>cxx_pubsub/LibKN/Apps/RssPub.Net/RSSPub.cs<gh_stars>1-10
using System;
using System.Threading;
using System.Collections;
using System.Xml;
using System.Text;
using LibKNDotNet;
enum Args
{
Server,
XmlPath,
Expected,
};
namespace RssPub.Net
{
/// <summary>
/// Summary description for Class1.
/// </summ... | 2.849498 | 66a0ad5db1217a0df5b0fa46be8e1ec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813991 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "Fernthedev/Heck",
"max_stars_repo_path": "Chroma/HarmonyPatches/Colorizer/ColorNoteVisuals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133211"
} | starcoder | <filename>Chroma/HarmonyPatches/Colorizer/ColorNoteVisuals.cs<gh_stars>10-100
using Chroma.Colorizer;
using Chroma.Settings;
using Heck;
using JetBrains.Annotations;
using static Chroma.ChromaCustomDataManager;
namespace Chroma.HarmonyPatches.Colorizer
{
[HeckPatch(typeof(ColorNoteVisuals))]
[HeckPatch("Handl... | 2.11538 | a00b586d6afcb65fbf199c58d7064c98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813992 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "jeffmaley/PerpetuumServer",
"max_stars_repo_path": "src/Perpetuum/Zones/Artifacts/Repositories/ArtifactRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133212"
} | starcoder | using System;
using System.Collections.Generic;
using Perpetuum.Data;
using Perpetuum.ExportedTypes;
namespace Perpetuum.Zones.Artifacts.Repositories
{
public abstract class ArtifactRepository : IArtifactRepository
{
private readonly IArtifactReader _artifactReader;
public ArtifactRepository(I... | 2.328763 | 11db1d5864b414043a04a1aef9afd615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813993 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ryujimiya/IvyFEM",
"max_stars_repo_path": "src/IvyFEM/IvyFEM/ElasticLambWaveguide2DPMLTDFEM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133213"
} | starcoder | <reponame>ryujimiya/IvyFEM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IvyFEM
{
public class ElasticLambWaveguide2DPMLTDFEM : FEM
{
//---------------------------------
// ※ポートの設定順序
// 参照(観測)面、励振源の順
... | 1.657254 | 1842000aca7dfde6ae51da5b23aa01d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mzakrzewski/Steeltoe",
"max_stars_repo_path": "src/Management/src/TracingBase/TracingLogProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133214"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using OpenTelemetry.Trace;
using Steeltoe.Extensions.Logging;
using Steeltoe.Management.OpenTelemetry.Trace;... | 1.909929 | 8e525314002dbd23a516e5fd41782002 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813995 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raphaelchampeimont/AchaMachines",
"max_stars_repo_path": "AchaMachinesExamples/FiniteStateMachineExamples.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133215"
} | starcoder | // Copyright (c) 2009 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distri... | 2.919667 | 53d1892c0308358562f2919b61f2c67b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefankohl-dev/unity-tweens",
"max_stars_repo_path": "Runtime/LocalScaleXTween.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133216"
} | starcoder | using ElRaccoone.Tweens.Core;
using UnityEngine;
namespace ElRaccoone.Tweens {
public static class LocalScaleXTween {
public static Tween<float> TweenLocalScaleX (this Component self, float to, float duration) =>
Tween<float>.Add<Driver> (self).Finalize (duration, to);
public static Tween<float> Tween... | 2.375733 | 304874f507d5913e55a777fc71fb133f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sopa92/AsteroidAvoider",
"max_stars_repo_path": "Assets/Scripts/ScoreSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133217"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class ScoreSystem : MonoBehaviour
{
[SerializeField] private TMP_Text scoreText;
[SerializeField] private float scoreMultiplier;
private float score;
private bool isPaused;
// Update ... | 2.71502 | d5415fb0c76629423347093c7d637ec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813998 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "richorama/SQLDatabaseBackup",
"max_stars_repo_path": "SQLDatabaseBackup/DatabaseCopier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133218"
} | starcoder | using System;
using System.Data.SqlClient;
using System.Threading;
namespace Two10.SQLDatabaseBackup
{
public class DatabaseCopier : IDisposable
{
private SqlConnection connection;
public DatabaseCopier(SqlConnection connection)
{
this.connection = connection;
... | 3.092847 | dce5a87d73641e6a9f11dcabdf0e0be3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m2wasabi/VirtualMotionCapture",
"max_stars_repo_path": "Assets/Scripts/EyeTracking/EyeTracking_ViveProEye.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133219"
} | starcoder | using Assets.Scripts;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityMemoryMappedFile;
using ViveSR.anipal.Eye;
public class EyeTracking_ViveProEye : MonoBehaviour
{
public GameObject MonitorPosition;
public GameObject LookTarget;
public Vector3 StartPos;
p... | 1.545684 | 88dd1093c3ec9f200b930f0f2f9d3fe2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814000 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stijnmoreels/testing-framework",
"max_stars_repo_path": "src/Invictus.Testing.LogicApps/Extensions/AzureCloudExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133220"
} | starcoder | using System;
// ReSharper disable once CheckNamespace
namespace Microsoft.Azure.Management.ResourceManager.Fluent
{
/// <summary>
/// Extensions on the <see cref="AzureCloud"/>.
/// </summary>
public static class AzureCloudExtensions
{
/// <summary>
/// Gets the <see cref="AzureEn... | 3.10914 | 984dd9e698a869c7137d946f00a6e31c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sunneo/NesDev",
"max_stars_repo_path": "JSONRPC/JsonRPCServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133221"
} | starcoder | using Interfaces;
using Serializers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JSONRPC
{
internal class JsonRPCServer:IRPCServer
{
TextReader Reader;
TextWriter Writer;
interna... | 2.989846 | b5e689cf1557be2a3e059ee0f71ae980 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juliuming/my-core2d",
"max_stars_repo_path": "src/Core2D.Web.Base/App.axaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133222"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Reflection;
using Autofac;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using Avalonia.Platform;
using Core2D.ViewModels;
using Core2D.ViewModels.Docking;
using Core2D.ViewModels.Editor;
using Core2D.Views;
using D... | 1.705291 | 24f8ea6ed8272bf59957bc2c2d94a060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814003 | {
"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/ManifestResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133223"
} | starcoder | 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
{
/// <summary>
/// ManifestResource
/// </summary>
p... | 1.690448 | 447fdbd48b2b08a7567306e7b9ef4a0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814004 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Anziverov/SyncRep",
"max_stars_repo_path": "NugetAnalyzer.Domain/ProjectPackageVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133224"
} | starcoder | <gh_stars>1-10
namespace NugetAnalyzer.Domain
{
public class ProjectPackageVersion
{
public int ProjectId { get; set; }
public Project Project { get; set; }
public int PackageVersionId { get; set; }
public PackageVersion PackageVersion { get; set; }
}
} | 1.572973 | 5bcb825bcce2c4564b57bf6318d0f4af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.RequestHandlers/Producers/DeleteProducerForNotificationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133225"
} | starcoder | namespace EA.Iws.RequestHandlers.Producers
{
using System.Threading.Tasks;
using DataAccess;
using Domain.NotificationApplication;
using Prsd.Core.Mediator;
using Requests.Producers;
internal class DeleteProducerForNotificationHandler : IRequestHandler<DeleteProducerForNotification, bool>
... | 1.963773 | a9524c5c727ff5e6c5b8fcb4a4cb19d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814006 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bjck/AMFU",
"max_stars_repo_path": "AI Unity Project/Assets/Scripts/DecisionMaking/ProbabilityDistribution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133226"
} | starcoder | <filename>AI Unity Project/Assets/Scripts/DecisionMaking/ProbabilityDistribution.cs<gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ProbabilityDistribution
{
public State[] Action{private set; get;}
public float[] Probability{private set; get;}
ProbabilityD... | 2.324084 | ca86b9a8745cfa3bcfc5cc669f16597d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814007 | {
"extension": "c-sharp",
"max_stars_count": "206.0",
"max_stars_repo_name": "Z4t4r/Newbe.Claptrap",
"max_stars_repo_path": "src/Newbe.Claptrap/EventHandlerFactoryFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133227"
} | starcoder | <gh_stars>100-1000
namespace Newbe.Claptrap
{
public class EventHandlerFactoryFactory : IClaptrapComponentFactory<IEventHandlerFactory>
{
private readonly DesignBaseEventHandlerFactory.Factory _factory;
public EventHandlerFactoryFactory(
DesignBaseEventHandlerFactory.Factory ... | 2.015036 | cc6d94ddb5bf0d8616df3becd0e55d64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnaCarol21/jogo-mimica",
"max_stars_repo_path": "Mimica/ViewModel/CabecalhoViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133228"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace Mimica.ViewModel
{
public class CabecalhoViewModel
{
public Command Sair{ get; set;}
public CabecalhoViewModel()
{
Sair = new Command(SairAction);
}
private vo... | 2.077249 | 7d4c4734c80fb948ce50e97f1b8127af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RumenNovachkov/ProgrammingFundamentalsCSharp",
"max_stars_repo_path": "RegEx-Exercises/01.ExtractEmails/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133229"
} | starcoder | <reponame>RumenNovachkov/ProgrammingFundamentalsCSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace _01.ExtractEmails
{
class Program
{
static void Main(string[] args)
{
... | 3.103045 | 7f4b40ffd5e0e3bc6b23da9cb55f8b16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814010 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rokonec/aspnetcore",
"max_stars_repo_path": "src/Components/Components/test/LegacyRouteMatching/LegacyRouteTableFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133230"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Xunit;
// Avoid referencing the who... | 2.184177 | 8fdbe7ccc9f7eab6b54c4f1dc7a4b465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814011 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "4058665/MQTT",
"max_stars_repo_path": "Spikes/WindowsPhonePOC/MqttClient/Domain/MqttNetworkBroker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133231"
} | starcoder | <reponame>4058665/MQTT<filename>Spikes/WindowsPhonePOC/MqttClient/Domain/MqttNetworkBroker.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Threading.Tasks;
using System.Threading;
using MQTT.Commands;
using MQTT.Types;
namespace MQTT.Dom... | 2.495335 | 3c4f39e1987874c2a93817fec3f89fc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ferkaos/VRSkate",
"max_stars_repo_path": "Assets/DistortionShaderPack/Scripts/Demo/Rotate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133232"
} | starcoder | <reponame>ferkaos/VRSkate
using UnityEngine;
namespace nightowl.DistortionShaderPack
{
public class Rotate : MonoBehaviour
{
// Refs
public Vector3 RotateAxis = Vector3.up;
// Mono
void Update()
{
transform.Rotate(RotateAxis, 1f);
}
}
} | 1.501204 | da21bda971974069f4568a0503b7f1d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814013 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "machielvisser/TiffLibrary",
"max_stars_repo_path": "src/TiffLibrary/PhotometricInterpreters/TiffPaletteColor8Interpreter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133233"
} | starcoder | using System;
using System.Threading.Tasks;
using TiffLibrary.ImageDecoder;
using TiffLibrary.PixelBuffer;
using TiffLibrary.PixelFormats;
namespace TiffLibrary.PhotometricInterpreters
{
/// <summary>
/// A middleware to read 8-bit PaletteColor pixels from uncompressed data to destination buffer writer.
/... | 2.681862 | c4647660bef03fdcde9600b002e34d17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hoehnp/mathnet-numerics",
"max_stars_repo_path": "src/Numerics/Trigonometry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133234"
} | starcoder | <reponame>hoehnp/mathnet-numerics
// <copyright file="Trigonometry.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any... | 2.790342 | b5de5f40bab79a6847a84b2b2dd332b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "museum4punkt0/Future-Walk",
"max_stars_repo_path": "Assets/Scripts/scroller/BottomScrollerView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133235"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DigitalRuby.Tween;
using UnityEngine.EventSystems;
using System.Text;
public class BottomScrollerView : UIBehaviour, IPointerUpHandler, IPointerDownHandler, IBeginDragHandler, IEndDragH... | 2.027643 | 246e8fbb95c6c4556893325c92c017a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharpjs/Sharp.BlobStorage",
"max_stars_repo_path": "Sharp.BlobStorage/BlobStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133236"
} | starcoder | <filename>Sharp.BlobStorage/BlobStorage.cs<gh_stars>0
/*
Copyright (C) 2018 <NAME>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOF... | 2.493043 | 2b2aa67bc27e3c7ef20d0b135eaeb136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joppe-A/rce-doorzoeker",
"max_stars_repo_path": "RceDoorzoeker/Views/ItemView/AnnexItem.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133237"
} | starcoder | <gh_stars>0
@using RceDoorzoeker.Models.Item
@model RceDoorzoeker.Models.Item.ItemModel
@{
var contentItemModel = Model as ContentItemModel;
}
<div class="annex-item-details">
<div class="item-data">
<table class="table table-striped">
<tr>
<td class="item-label" title="item type" colspan="1">
@i... | 1.894042 | 3399dd63285cf39b1b19ef5555d993d4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.