added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813418 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sgandewar/EncompassAPI",
"max_stars_repo_path": "Data/StatementCreditDenial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132638"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EncompassREST.Data
{
public class StatementCreditDenial
{
public DateTime? denialMailedOn { get; set; }
public bool? informationObtainedInReportFromCra { get; set; }
... | 1.41825 | f0db82932725c859c705455ce4add893 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813419 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukx1/Backupper",
"max_stars_repo_path": "Core/Shared/Shared/LogContentType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132639"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared
{
/// <summary>
/// Tools -> Create Guid
/// </summary>
public sealed class LogContentType
{
public static readonly LogContentType DEBUG = new... | 1.983201 | 1d1afe2a390fa1147c92be6571f2f551 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813420 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vltnt23/test",
"max_stars_repo_path": "Assets/Scripts/Objects/Projectile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132640"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour
{
[Header("Movement Stuff")]
public float moveSpeed;
public Vector2 directionToMove;
[Header("Lifetime")]
public float lifetime;
private float lifetimeSeconds;
public Rig... | 2.456357 | e675eaa9241e373c6fd74e51dc0baa79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "byBlurr/dragon6-api",
"max_stars_repo_path": "DragonFruit.Six.Api/Requests/Base/BasicStatsRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132641"
} | starcoder | // Dragon6 API Copyright 2020 DragonFruit Network <<EMAIL>>
// Licensed under Apache-2. Please refer to the LICENSE file for more info
using System.Collections.Generic;
using DragonFruit.Common.Data;
using DragonFruit.Common.Data.Parameters;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Utils;
namesp... | 2.182722 | 3cb3d4dad83573e645d6656c2273459f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrcoto/BeanDiscovery",
"max_stars_repo_path": "BeanDiscoveryTest/Data/BeanDataTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132642"
} | starcoder | using MrCoto.BeanDiscovery;
using MrCoto.BeanDiscovery.Data;
using MrCoto.BeanDiscoveryTest.BeanAttribute.Factory;
using Xunit;
namespace MrCoto.BeanDiscoveryTest.Data
{
public class BeanDataTest
{
[Fact]
public void Test_Should_Give_Correct_BeanData_Values()
{
var beanData... | 2.283042 | 49221de1749b6b4368b0a3705d1218ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813423 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "MiZoneRom/MiZoneCommerce",
"max_stars_repo_path": "src/MCS.Core/Plugins/Message/MessageWithDrawInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132643"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MCS.Core.Plugins.Message
{
public class MessageWithDrawInfo
{
/// <summary>
/// 用户名
/// </summary>
public string UserName { set; get; }
/// <su... | 2.061581 | 90094da8160fe945b2e204832484f335 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dragobaltov/Multidimensional-Arrays-CSharp",
"max_stars_repo_path": "RadioactiveMutantVampireBunnies/RadioactiveMutantVampireBunnies/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132644"
} | starcoder | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace RadioactiveMutantVampireBunnies
{
class Program
{
public static char[,] matrix;
public static int personRow;
public static int personCol;
public static bool personHasWon;
... | 3.194215 | bc6cc503bdb98b3665f5b41eae250de3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apdicaprio/GridWalker",
"max_stars_repo_path": "Grid/Grid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132645"
} | starcoder | <filename>Grid/Grid.cs
using Grid.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grid
{
public class Grid
{
private readonly int _Width;
private readonly int _Height;
internal int ... | 3.069155 | 2fea87cfa58c0ea7e16f512eeb6c456d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813426 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mattdurham/EasyDynamo",
"max_stars_repo_path": "src/EasyDynamo.Tests/Extensions/DependencyInjection/ServiceCollectionExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132646"
} | starcoder | <reponame>mattdurham/EasyDynamo
using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.Extensions.NETCore.Setup;
using EasyDynamo.Abstractions;
using EasyDynamo.Config;
using EasyDynamo.Exceptions;
using EasyDynamo.Extensions.DependencyInjection;
using EasyDynamo.Tests.Fakes;
using Micr... | 1.855138 | ffac860172b3a37f51edf7fd62797160 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d-oit/Course.Doit.Finance",
"max_stars_repo_path": "src/Application/Features/Finance/Transactions/Queries/GetAllPaged/GetAllTransactionsQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132647"
} | starcoder | <reponame>d-oit/Course.Doit.Finance
using BlazorHero.CleanArchitecture.Application.Extensions;
using BlazorHero.CleanArchitecture.Application.Interfaces.Repositories;
using BlazorHero.CleanArchitecture.Application.Specifications.Finance;
using BlazorHero.CleanArchitecture.Domain.Entities.Finance;
using BlazorHero.Clean... | 2.341608 | e75f5d5ba13c6c4998e4be9508b1b483 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mysteryjeans/Codecs.Interop",
"max_stars_repo_path": "src/Codecs.Interop/Vorbis/VorbisEncoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132648"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Codecs.Interop.Ogg;
using System.IO;
using Flettu.Util;
namespace Codecs.Interop.Vorbis
{
public class VorbisEncoder : OggEncoder
{
#region Vorbis Encoding
[DllImport(Vorbis.DllFile, CallingConvention = CallingConvention.Cd... | 2.104291 | f7cf91e0284b1689cb4708157920f25c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813429 | {
"extension": "c-sharp",
"max_stars_count": "179.0",
"max_stars_repo_name": "OndrejNepozitek/ProceduralLevelGenerator",
"max_stars_repo_path": "src/Edgar/Legacy/Utils/ConfigParsing/Models/CorridorsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132649"
} | starcoder | using System.Collections.Generic;
namespace Edgar.Legacy.Utils.ConfigParsing.Models
{
public class CorridorsModel
{
public bool? Enable { get; set; }
public List<int> Offsets { get; set; }
public List<RoomShapesModel> CorridorShapes { get; set; }
}
} | 1.465108 | 6625c6be6fc97fe5f8ec785969b8524b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanMasterson1/stencil",
"max_stars_repo_path": "Source/Stencil.Server/Stencil.Primary/Business/Direct/Implementation/ListingBusiness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132650"
} | starcoder | <filename>Source/Stencil.Server/Stencil.Primary/Business/Direct/Implementation/ListingBusiness.cs
using Stencil.Data.Sql;
using Stencil.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stencil.Primary.Business.Direct.Implementation
{... | 2.182807 | bdc1201bfcede912757000cf385d7693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wallism/Agile.API.Clients",
"max_stars_repo_path": "Agile.API.Clients/RateLimiting/RateLimit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132651"
} | starcoder | <reponame>wallism/Agile.API.Clients
using System;
namespace PennedObjects.RateLimiting
{
public class RateLimit
{
/// <summary>
/// </summary>
/// <param name="occurrences">
/// The number of items in the sequence that are allowed to be processed per time unit.
/// ... | 2.62975 | ea1b732016ca53581543e72494592e26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nnikolicdev/bruto-web",
"max_stars_repo_path": "bruto-web/Views/Home/LogIn.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132652"
} | starcoder | <gh_stars>0
@model UserModel
<div class="d-flex flex-grow justify-content-center align-items-center">
<div class="container">
<div class="bg-light box-shadow shadow-lg p-2 rounded">
<form asp-action="LogIn" asp-controller="Home">
<div class="form-group">
<... | 1.992187 | df6861b07c06fdec1a88fa913abe3026 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813433 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "diassoft/SMTPRouter.Windows",
"max_stars_repo_path": "SMTPRouter.Windows.ServiceHost/ProjectInstaller.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132653"
} | starcoder | <reponame>diassoft/SMTPRouter.Windows
namespace SMTPRouter.Windows.ServiceHost
{
partial class ProjectInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up... | 2.285314 | e135d7d3d5e01ac7615a261b48e09c9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugadotnet/spayup",
"max_stars_repo_path": "APPBASE/Views/Student/_InputsPROFILE.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132654"
} | starcoder | <gh_stars>0
<div class="row">
<div class="col-sm-12 col-md-4">
@{Html.RenderPartial("_InputsPROFILE_Photo");}
</div><!-- /.col (LEFT) -->
<div class="col-sm-12 col-md-8">
@{Html.RenderPartial("_InputsPROFILE_Name");}
<hr />
@{Html.RenderPartial("_InputsPROFILE_Status");}
... | 1.287999 | 67f2126ab22695532b348f27f6c00894 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813435 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "localstack-dotnet/localstack-awscli-local",
"max_stars_repo_path": "src/LocalStack.AwsLocal/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132655"
} | starcoder | <gh_stars>1-10
using LocalStack.Client;
using System;
using LocalStack.AwsLocal.ProcessCore;
using LocalStack.AwsLocal.ProcessCore.IO;
using LocalStack.Client.Models;
using LocalStack.Client.Options;
namespace LocalStack.AwsLocal
{
internal static class Program
{
private static readonly string? LocalS... | 2.480909 | 3a4107d64bc7c620f1e8e0bd9fdb11ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813436 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "VolleyManagement/volley-management",
"max_stars_repo_path": "archive/src/VolleyManagement.Backend/VolleyManagement.UI/Areas/Mvc/Views/Players/_CreateOrEdit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132656"
} | starcoder | <reponame>VolleyManagement/volley-management
@model VolleyManagement.UI.Areas.Mvc.ViewModels.Players.PlayerViewModel
<div class="editor-label">
@Html.LabelFor(model => model.FirstName)
</div>
<div class="editor-label">
@Html.EditorFor(model => model.FirstName)
@Html.ValidationMessageFor(model => model.Fir... | 1.962684 | 531b667aca77e8d10cf48b27f9cf567c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813437 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "MiftahurRidho/tugas",
"max_stars_repo_path": "test/2.0/moon-unit/System.Windows/FontWeightsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132657"
} | starcoder | //
// FontWeights Unit Tests
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright 2008 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restr... | 2.122485 | de81aca1e3379f46cfa81144b1032c68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813438 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dp9u0/mhxy",
"max_stars_repo_path": "src/mhxy-client/NetEase/Wass/SpWas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132658"
} | starcoder | <reponame>dp9u0/mhxy
// FileName: SpWas.cs
// Author: guodp <<EMAIL>>
// Create Date: 20180202 08:53
// Description:
#region
using System;
using System.Drawing;
using System.IO;
using ImageProcessor;
using ImageProcessor.Imaging.Formats;
using mhxy.Utils;
#endregion
namespace mhxy.NetEase.Wass {
/// <su... | 2.078056 | f085d837ca4e9fe9fc26ef893dc5f1e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813439 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rwth-acis/citavi-macro-awgs-bibtex",
"max_stars_repo_path": "fix-awgs-keys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132659"
} | starcoder | using System;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
using System.Windows.Forms;
using SwissAcademic.Citavi;
using SwissAcademic.Citavi.Metadata;
using SwissAcademic.Citavi.Shell;
using SwissAcademic.Collections;
// Implementation of macro editor is preliminary and experimen... | 2.516221 | 266e632b3d17879de1928e3aa049e144 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erwan-joly/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Filters/src/Types.Filters/Conventions/Filter/IFilterConventionOperationDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132660"
} | starcoder | namespace HotChocolate.Types.Filters.Conventions
{
public interface IFilterConventionOperationDescriptor
: IFilterConventionOperationDescriptorBase
{
/// <inheritdoc/>
new IFilterConventionOperationDescriptor Name(CreateFieldName factory);
/// <inheritdoc/>
new IFilterCo... | 1.912745 | baecc8c8aed609f84167d69f31e98449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813441 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Hoishin/RNGHelper",
"max_stars_repo_path": "src/Core/SpawnRngHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132661"
} | starcoder | <reponame>Hoishin/RNGHelper
using System.Collections.Generic;
using System.Linq;
namespace FF12RNGHelper.Core
{
/// <summary>
/// The ChestRngHelper contains the necessary logic
/// to calculate and predict the spawning and contents
/// of monsters.
/// </summary>
public class SpawnRngHelper :... | 2.47699 | 05cae1ed2614e9e3cbcf10370d5b7479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ju2pom/BruTile",
"max_stars_repo_path": "Tests/BruTile.Tests/TileTransformTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132662"
} | starcoder | <filename>Tests/BruTile.Tests/TileTransformTests.cs<gh_stars>0
using BruTile.Predefined;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BruTile.Tests
{
[TestFixture]
public class TileTransformTests
{
private const double Epsilon = 0.0... | 2.54493 | b1b802d0c1c9c4e80a18b2212054a18e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kritikos-io/Configuration.Persistence",
"max_stars_repo_path": "src/Configuration.Persistence.Converters/Primitive/EnumToDescriptionStringConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132663"
} | starcoder | namespace Kritikos.Configuration.Persistence.Converters.Primitive
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
public class EnumToDescriptionStringConverter<TEnum> :... | 2.502735 | 446a8fe80f8c8d4536f1b5d744c820c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RyanNieuwoudt/StarCommander",
"max_stars_repo_path": "StarCommander.Shared/Model/SignUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132664"
} | starcoder | namespace StarCommander.Shared.Model
{
public class SignUp : Player
{
public string Password { get; set; } = string.Empty;
}
} | 1.692726 | 09abbeb3f01e27f6402b3d8fe25edd07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adamsitnik/winforms",
"max_stars_repo_path": "src/System.Windows.Forms.Design/tests/UnitTests/System/Drawing/Design/FontNameEditorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132665"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
u... | 1.970505 | c307f87883494c2125a4a45ee0cd57a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zachhowe/sharpim",
"max_stars_repo_path": "Server/Config/ConfigAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132666"
} | starcoder | namespace SharpIMServer.Config
{
public static class ConfigAccessor
{
private static Configuration m_config;
public static void Initialize(Configuration config)
{
m_config = config;
}
public static int Port
{
get
{
... | 2.506776 | 1756c5b199ac35683d3ab01d5dc19ead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813447 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LeHuman/ComMonitor-CLI",
"max_stars_repo_path": "Monitor/Serial/SerialCom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132667"
} | starcoder | /* This AX-Fast Serial Library - Modified
Developer: <NAME> - RoofMan
https://roofman.me/2012/09/13/fast-serial-communication-for-c-real-time-applications/
This Library Provide The Fastest & Efficient Serial Communication
Over The Standard C# Serial Component
*/
using System;
using System.ComponentModel... | 2.788508 | 15c17525f9de66e10f207431efc42d8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813448 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sandermvanvliet/RoadCaptain",
"max_stars_repo_path": "src/RoadCaptain.RouteBuilder/ViewModels/SportViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132668"
} | starcoder | using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Media;
namespace RoadCaptain.RouteBuilder.ViewModels
{
public class SportViewModel : INotifyPropertyChanged
{
private bool _isSelected;
private bool _isDefault;
public SportTyp... | 2.618611 | afa4f1ac6942e24584b68ab9e534c630 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cafltar/CafModelingRegionalSoilConditioningIndex_Csip",
"max_stars_repo_path": "src/dotnet/Csip.Common.Tests/SciV2_1Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132669"
} | starcoder | <gh_stars>0
using Caf.Projects.CafModelingRegionalSoilConditioningIndex.Csip.Common.Models.Json;
using Caf.Projects.CafModelingRegionalSoilConditioningIndex.Csip.Common.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace Csip.Common.Tests
{
public c... | 1.82853 | e208bb2700a1986b6aafe3bc9e9975c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeFuller/music-library-api",
"max_stars_repo_path": "src/MusicLibraryApi.Client/Fields/SongsRatingsFields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132670"
} | starcoder | <filename>src/MusicLibraryApi.Client/Fields/SongsRatingsFields.cs<gh_stars>0
using MusicLibraryApi.Client.Contracts.Statistics;
namespace MusicLibraryApi.Client.Fields
{
public static class SongsRatingsFields
{
public static QueryField<RatingSongsData> Rating { get; } = new QueryField<RatingSongsData>("rati... | 2.178975 | 111260ff24bcb6b93214cbfe7c7f97d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmsmhh/Endless-running-game",
"max_stars_repo_path": "Assets/Scripts/ChangeButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132671"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ChangeButton : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
if (gameObject.tag == "Mute")
{
if (SoundManager.GetSoundState() == ... | 2.022929 | 3f2591a767baefd8f2bf57bcef120d97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "majidbigdeli/Iddentity",
"max_stars_repo_path": "src/ASPNETCoreIdentitySample/Areas/Identity/Views/UserCard/OnlineUsers.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132672"
} | starcoder | @{
ViewData["Title"] = $"کاربران آنلاین";
}
<div dir="rtl">
<cache expires-after="@TimeSpan.FromMinutes(1)">
<vc:online-users numbers-to-take="100" minutes-to-take="15" show-more-items-link="false"></vc:online-users>
</cache>
</div> | 2.099496 | 21af41da7d3de077fd790a9bdf63e3ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813453 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rowetechinc/RTI",
"max_stars_repo_path": "Communications/AdcpUdp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132673"
} | starcoder | /*
* Copyright 2011, Rowe Technology Inc.
* All rights reserved.
* http://www.rowetechinc.com
* https://github.com/rowetechinc
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistribution... | 2.355726 | eddee5cef3f2145601d0d821f74776bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonysneed/Kliant.AspNetCore-Angular",
"max_stars_repo_path": "Exercises/04-EF Core/04d_EF-Scaffolding/After/Scaffolding/Models/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132674"
} | starcoder | <filename>Exercises/04-EF Core/04d_EF-Scaffolding/After/Scaffolding/Models/Customer.cs
using System;
using System.Collections.Generic;
namespace Scaffolding.Models
{
public partial class Customer
{
public Customer()
{
Order = new HashSet<Order>();
}
public string C... | 2.431593 | f7d7004cb3a5046725faf380dc63f3e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "explorer14/AppPerfMetrics",
"max_stars_repo_path": "src/AppPerformanceMetricsSender/Publishing/MetricTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132675"
} | starcoder | namespace AppPerformanceMetricsSender.Publishing
{
public readonly struct MetricTag
{
public MetricTag(string key, string value)
{
Key = key;
Value = value;
}
public string Key { get; }
public string Value { get; }
}
} | 1.957386 | 55dd7a67611dfcb23e7b0e6c403bdac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813456 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "N0menIllisLegio/patients",
"max_stars_repo_path": "Patients/Data/Repositories/DentalRecordsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132676"
} | starcoder | using Patients.Data.Entities;
using Patients.Data.Repositories.Interfaces;
namespace Patients.Data.Repositories
{
public class DentalRecordsRepository: RepositoryBase<DentalRecord>, IDentalRecordsRepository
{
public DentalRecordsRepository(AppDbContext context)
: base(context)
{ }
}
}
| 1.689191 | 0bba76912019e489455d6139b7bc6102 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveoh/webapi-core",
"max_stars_repo_path": "developer.mapserv.utah.gov/Areas/Secure/Models/Database/ProfileDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132677"
} | starcoder | <gh_stars>0
using System;
namespace developer.mapserv.utah.gov.Areas.Secure.Models.Database
{
public class ProfileDTO
{
public string Email { get; set; }
public string Password { get; set; }
public string First { get; set; }
public string Last { get; set; }
public string... | 1.135108 | c454a58806245acf02eea449adeacf6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bulutcnsu/design-patterns",
"max_stars_repo_path": "DesignPatternsWithC#/MediatorPattern/MediatorPattern/AtaturkAirport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132678"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace MediatorPattern
{
//Concreate Mediator
public class AtaturkAirport : IAirportControl
{
private Dictionary<string, Airline> _planes;
public AtaturkAirport()
{
... | 2.857768 | f6d6dda890aea82f523d27164c2510a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813459 | {
"extension": "c-sharp",
"max_stars_count": "1379.0",
"max_stars_repo_name": "heshengli/osharp",
"max_stars_repo_path": "tests/OSharp.AspNetCore.Tests/Mvc/Controllers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132679"
} | starcoder | <filename>tests/OSharp.AspNetCore.Tests/Mvc/Controllers.cs<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using OSharp.AspNetCore.Mvc;
namespace OSharp.AspNetCore.Tests.Mvc
{
public class PublicC... | 1.913347 | 9ede9135b8b36e8362eeb3cfb03199ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/BuildXL",
"max_stars_repo_path": "Public/Src/Engine/UnitTests/Cache/JsonFingerprinterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132680"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Linq;
using System.Text;
using BuildXL.Engine.Cache;
using BuildXL.Storage;
using BuildXL.Storage.Fingerprints;
using BuildXL.Utilities;
using Test.BuildXL.TestUtilities.Xunit;
using Xunit.Abstractions;
using... | 2.00146 | 9ac9a425ba8e86bf674848edfd7f0b79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bestcolour/Linear-Event-Manager",
"max_stars_repo_path": "LEM_Editor_Files/Node_LEM/NodeLEM_Editor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132681"
} | starcoder | <filename>LEM_Editor_Files/Node_LEM/NodeLEM_Editor.cs
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
using LEM_Effects;
using LEM_Effects.Extensions;
using System.Linq;
namespace LEM_Editor
{
public class BaseEffectNodePair
{
public BaseEffectNode effectNode;
... | 2.129548 | e8855cadaf32cb3d5fad062f83d1d847 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813462 | {
"extension": "c-sharp",
"max_stars_count": "332.0",
"max_stars_repo_name": "szalapski/blazor-state",
"max_stars_repo_path": "Tests/TestApp/Client/Features/CloneTest/CloneTestState.Debug.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132682"
} | starcoder | namespace TestApp.Client.Features.CloneTest
{
using BlazorState;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Reflection;
internal partial class CloneTestState : State<CloneTestState>
{
public override CloneTestState Hydrate(IDictionary<string, object> aKeyV... | 2.241167 | c583ed1424789fbf185d6b4bc99d2939 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813463 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fansongy/UExtend",
"max_stars_repo_path": "Assets/UExtend/Utilities/GeneralUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132683"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Globalization;
using UnityEngine;
public static class GeneralUtils
{
public const float DEVELOPMENT_BUILD_TEXT_WIDTH = 115f;
public static void Swap<T>(ref T a, ref T b)
{
T t = a;
a = b;
b = t;
}
public static void ListSw... | 2.685069 | f0ad8b5324ad44bc80fb82baae3f7124 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813464 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "chkob/libsass-net",
"max_stars_repo_path": "contrib/LibSass.NET.Web/SassBundle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132684"
} | starcoder | <reponame>chkob/libsass-net<gh_stars>10-100
using System.Web.Optimization;
namespace LibSass.Web
{
public class SassBundle : Bundle
{
public SassBundle(string virtualPath, string basePath = "~/")
: base(virtualPath, new SassTransform(basePath), new CssMinify()) { }
public SassBund... | 1.572639 | ed4c7fb9aa28e15a6891fff5800ca000 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimHannMSFT/roslyn-analyzers",
"max_stars_repo_path": "src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Runtime/UseEnvironmentProcessIdFixer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132685"
} | starcoder | <reponame>TimHannMSFT/roslyn-analyzers<filename>src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Runtime/UseEnvironmentProcessIdFixer.cs<gh_stars>0
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using Syste... | 1.617225 | 92a7621697b376c441d9b72d6e507a21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813466 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ToshikiImagawa/UniRedux",
"max_stars_repo_path": "Assets/UniRedux/Scripts/Runtime/Rx/Utils/DisposedObserver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132686"
} | starcoder | using System;
namespace UniRedux
{
public class DisposedObserver<T> : IObserver<T>
{
public static readonly DisposedObserver<T> Instance = new DisposedObserver<T>();
private DisposedObserver()
{
}
public void OnCompleted()
{
throw new ObjectDisposed... | 2.491502 | 9a0e9535a57b71f51f439c33a5def557 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813467 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kibalab/K13A_Mahjong",
"max_stars_repo_path": "Assets/UdonScript/UIManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132687"
} | starcoder |
using UdonSharp;
using UnityEngine;
using UnityEngine.UI;
using VRC.SDKBase;
using VRC.Udon;
using VRC.Udon.Common.Interfaces;
public class UIManager : UdonSharpBehaviour
{
[SerializeField] public int PlayerIndex;
[SerializeField] public EventQueue EventQueue;
[SerializeField] public UIContext UIContext;... | 1.785764 | 3712220880a23d3f87c66fa69603b803 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813468 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tarunbatta/leetcodeScraper",
"max_stars_repo_path": "problems/cs/517.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132688"
} | starcoder | <reponame>tarunbatta/leetcodeScraper<gh_stars>1-10
// Url:https://leetcode.com/problems/super-washing-machines
/*
517. Super Washing Machines
Hard
You have n super washing machines on a line. Initially, each washing machine has some dresses or is empty.
For each move, you could choose any m (1 ≤ m ≤ ... | 3.398888 | e6a9243331435797b22941b961b6a165 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813469 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "rasoulian/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingFieldSymbol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132689"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis... | 1.978005 | 8683f81ac8fe4e8e0eb63e4c87551f91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KMASubhani/coypu",
"max_stars_repo_path": "src/Coypu.Drivers.Tests/DriverSpecs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132690"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Text.RegularExpressions;
using Coypu.Drivers.Tests.Sites;
using Coypu.Finders;
using Coypu.Tests.TestBuilders;
using Coypu.Tests.TestDoubles;
using NUnit.Framework;
[SetUpFixture]
public class AssemblyTearDown
{
public static SelfishSite TestSite... | 1.901823 | a6cfc09039289c103994022e6fbe5c08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nsiddiqui25/newAngProj",
"max_stars_repo_path": "DataRepository-AffiliateInfo/ViewModel/PLDProducerSearch/BrokerContactMaster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132691"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace DataRepository.ViewModel.PLDProducerSearch
{
public class BrokerContactMaster
{
public int BrokerContactID { get; set; }
public string MasterBrokerNo { get; set; }
public int BrokerConatctContactId { ... | 1.67537 | 8f9a00ec5636111d3bcf84cdb5b1da0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corvus-dotnet/Corvus.JsonSchema",
"max_stars_repo_path": "Solutions/Corvus.Json.SourceGenerator/Corvus.Json/SourceGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132692"
} | starcoder | // <copyright file="SourceGenerator.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Json
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using M... | 2.371671 | b63fed337c879f8dfce58e36a47f1701 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813473 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "neo-ngd/Neo3-GUI",
"max_stars_repo_path": "neo3-gui/neo3-gui/Models/ErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132693"
} | starcoder | using System.ComponentModel;
namespace Neo.Models
{
public enum ErrorCode
{
[Description("Invalid parameter.")]
InvalidPara = 20000,
[Description("Wallet file is not exist.")]
WalletFileNotFound = 20001,
[Description("Wrong password")]
WrongPassword = 20002,
... | 2.097678 | 5d4336c78ae41303bed6179f4a958dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813474 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ghostbit/TweakerUnity",
"max_stars_repo_path": "Assets/Tweaker/TweakerUnity/Source/Views/Tiles/TweakableTileView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132694"
} | starcoder | using Tweaker.Core;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Tweaker.UI
{
public class TweakableTileView : TileView
{
public TweakableUIView TweakableView { get { return ui as TweakableUIView; } }
protected override void OnAwake()
{
}
protected o... | 2.04546 | dd267730a3db1dba6948f8db56b48aa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rangeldaykes/StoreBalance",
"max_stars_repo_path": "StoreBalance.WebApi/Infrastructure/DatabaseSql/WalletRecordMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132695"
} | starcoder | <reponame>rangeldaykes/StoreBalance<filename>StoreBalance.WebApi/Infrastructure/DatabaseSql/WalletRecordMap.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using StoreBalance.WebApi.Domain;
using System;
using System.Collections.Generic;
namespace StoreBalance.WebA... | 2.084433 | 8937865263e2a96d6bc087578d3c7265 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813476 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "salt26/chordingcoding",
"max_stars_repo_path": "ChordingCoding/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132696"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.42000
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//--------------------------------------------------------... | 2.099685 | 62ea2d96890bca9f4438743f1ce5753d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaffyNinja/Drop-Game-Repo",
"max_stars_repo_path": "Drop Project/Assets/Scripts/Endless/RotatingObstacle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132697"
} | starcoder | using UnityEngine;
using System.Collections;
public class RotatingObstacle : MonoBehaviour
{
public float speed;
public bool isLeft;
public bool isRandom;
int ranNum;
// Use this for initialization
void Awake()
{
ranNum = Random.Range(0, 2);
}
// Update is called o... | 2.679231 | c59e6c5e80d76e47b18bf7b9b1638885 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Henrique-Castro/SenaiLessons",
"max_stars_repo_path": "C#Console/objectOriented/Reciclando/Interfaces/IMetal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132698"
} | starcoder | <reponame>Henrique-Castro/SenaiLessons
using System;
using Reciclando.Util.Enums;
namespace Reciclando.Interfaces
{
public interface IMetal
{
bool IrParaLixeiraAmarela();
}
} | 1.217935 | 21e4bf3c248e0f1523d04928383454ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Boychenko/sample-todo",
"max_stars_repo_path": "server/FullFramework/Todo.IdentityServer/IdServer/Clients.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132699"
} | starcoder | namespace Todo.IdentityServer.IdServer
{
using System.Collections.Generic;
using IdentityServer3.Core;
using IdentityServer3.Core.Models;
public class Clients
{
public static List<Client> Get()
{
return new List<Client>
{
new Clie... | 2.258061 | c76d8ab1e3f3a8a4b38a9da2d90df647 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813480 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "tgsstdio/Mg",
"max_stars_repo_path": "tests/Magnesium.OpenGL.UnitTests/MockGLDescriptorSetLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132700"
} | starcoder | <gh_stars>10-100
using System;
using Magnesium;
using Magnesium.OpenGL;
using Magnesium.OpenGL.Internals;
namespace Magnesium.OpenGL.UnitTests
{
class MockGLDescriptorSetLayout : IGLDescriptorSetLayout
{
public GLUniformBinding[] Uniforms
{
get;
set;
}
public void DestroyDescriptorSetLayout(IMgDevice... | 1.528407 | e9e4439c2a7278573e641de3c7a8d698 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813481 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vanbungkring/patra",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.Modules/Extensions/RunningShellTableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132701"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
using OrchardCore.Environment.Shell;
namespace OrchardCore.Modules
{
public static class RunningShellTableExtensions
{
public static ShellSettings Match(this IRunningShellTable table, HttpContext httpContext)
{
if (httpContext == null)
... | 2.329732 | b5b9f7e1a879175088a7034318ad6060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813482 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "gmareater/breeze.server.net",
"max_stars_repo_path": "Old/AspNetCore/Breeze.Core/PropertySignature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132702"
} | starcoder | <gh_stars>10-100
using System;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;
using System.Collections.Generic;
namespace Breeze.Core {
public class PropertySignature {
public PropertySignature(Type instanceType, String propertyPath) {
InstanceType = instanceType;
Prope... | 2.877798 | b91815231a6cc8afb38940fd68f16694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MetalYos/DouApp",
"max_stars_repo_path": "DouApp/DouApp/ProgressPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132703"
} | starcoder | <filename>DouApp/DouApp/ProgressPage.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using DouApp.Models;
using DouApp.Interfaces;
using System.Threading;
namespace DouApp
{
[XamlCompilatio... | 2.77185 | 89d6bd0e5ca6e710cc530b7c0667f879 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Leitee/SchoolMngr.Services.Identity",
"max_stars_repo_path": "Codeit.Infrastructure.Identity/Services/BaseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132704"
} | starcoder | <filename>Codeit.Infrastructure.Identity/Services/BaseService.cs
/*
* Copyright (c) Akveo 2019. All Rights Reserved.
* Licensed under the Single Application / Multi Application License.
* See LICENSE_SINGLE_APP / LICENSE_MULTI_APP in the ‘docs’ folder for license information on type of purchased license.
*/
using Cod... | 1.891301 | 89ff4be0f6a9a2bec56ef47ce7b81023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813485 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DaniHristov/Softuni",
"max_stars_repo_path": "Entity-Framework-Core/ProductShop-HW/ProductShop/Dtos/Export/UserCountDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132705"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace ProductShop.Dtos.Export
{
[XmlRoot("Users")]
public class UserCountDto
{
[XmlElement("count")]
public int Count { get; set; }
[XmlArray("users")]
public UserExportDt... | 1.824218 | 32b5b8cc4a36fcfa1082a163bd1a3f62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813486 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Cube6/Cube",
"max_stars_repo_path": "src/Infrastructure/RedisUtil/RedisRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132706"
} | starcoder | <reponame>Cube6/Cube
using System;
using System.Threading;
using System.Reactive;
using System.Threading.Tasks;
using StackExchange.Redis;
using Microsoft.VisualStudio.Threading;
namespace Cube.Infrastructure.Redis
{
internal abstract class RedisRepository : IDisposable
{
#region Events
public event EventHandl... | 2.324143 | ba57b0ee36e41638f9a5c9bf5094347a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813487 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "menes-dotnet/Menes",
"max_stars_repo_path": "Solutions/Menes.Specs/Fakes/FakeInstrumentationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132707"
} | starcoder | <reponame>menes-dotnet/Menes
// <copyright file="FakeInstrumentationProvider.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Menes.Specs.Fakes
{
using System;
using System.Collections.Generic;
using Corvus.Monitoring.Instrumentation;
using ... | 2.240133 | d5d51de1da52c4cc37de919422304410 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sampa-msft/azure-sdk-for-net",
"max_stars_repo_path": "sdk/monitor/Azure.ResourceManager.Monitor/src/Generated/Models/MetricAlertMultipleResourceMultipleMetricCriteria.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132708"
} | starcoder | <reponame>sampa-msft/azure-sdk-for-net
// 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.ResourceManager.Monitor.Models
{
/// <summary> Specifies... | 1.78913 | 254cb5f28ba7eaf42d3249815676e710 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phillip-hopper/libpalaso",
"max_stars_repo_path": "PalasoUIWindowsForms/ImageToolbox/ArtOfReadingChooser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132709"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using L10NSharp;
using Palaso.UI.WindowsForms.ImageGallery;
namespace Palaso.UI.WindowsForms.... | 2.359781 | 48073fce3fa701ddd773c3e11c067b47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813490 | {
"extension": "c-sharp",
"max_stars_count": "422.0",
"max_stars_repo_name": "mysticmind/lamar",
"max_stars_repo_path": "src/LamarCodeGeneration/Frames/ConstructorFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132710"
} | starcoder | <filename>src/LamarCodeGeneration/Frames/ConstructorFrame.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using LamarCodeGeneration.Model;
using LamarCodeGeneration.Util;
namespace LamarCodeGeneration.Frames
{
public enum ConstructorCall... | 2.771007 | eb6c6028a78ef60decc61aaa12437693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gljmelton/DasherGame",
"max_stars_repo_path": "Assets/_Scripts/ig_BasicEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132711"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using IndieGage;
public class ig_BasicEnemy : MonoBehaviour {
public ig_Health Health;
public ig_Targeting Targeting;
public float dashRadius;
// Use this for initialization
void Start() {
Targeting = GetCompo... | 2.356645 | 690e16033144d82ffbad2dd8c7de4fd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813492 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "null-d3v/L1L2RedisCache",
"max_stars_repo_path": "tests/Unit/L1L2RedisCacheTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132712"
} | starcoder | <reponame>null-d3v/L1L2RedisCache
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Moq;
using StackExchange.Redis;
using System.Text.Json;
using Xunit;
namespace L1L2RedisCache.Tests.Unit;
public class L1L2RedisCacheTests
{
public... | 1.983763 | f9d79bf4103be8b958ab44e965327703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813493 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "techkey/PTVS",
"max_stars_repo_path": "Python/Product/Debugger/Debugger/PythonDebugOptionsServiceHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132713"
} | starcoder | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | 1.655432 | d785dc19d19f5bb3a40e8cd07991bc0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakusnowman/messenger_helper",
"max_stars_repo_path": "MessengerHelper/MessengerHelper/Exceptions/MessageHelperException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132714"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace MessengerHelper.Exceptions
{
public class MessageHelperException : Exception
{
public MessageHelperException() { }
public MessageHelperException(string message) : base(message) { }
... | 2.331965 | ffddd76a82e96f5468b9fa030d50643d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813495 | {
"extension": "c-sharp",
"max_stars_count": "270.0",
"max_stars_repo_name": "Librelancer/Librelancer",
"max_stars_repo_path": "src/Editor/SystemViewer/DebugCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132715"
} | starcoder | <reponame>Librelancer/Librelancer
// MIT License - Copyright (c) 2011, 2012 <NAME>
// - Copyright (c) 2013- <NAME>
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Numerics;
namespace LibreLancer
{
public class... | 2.361378 | fb40af18cd7303855d7a48ade07b5ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround",
"max_stars_repo_path": "src/Umbraco.Core/Services/IMemberTypeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132716"
} | starcoder | <reponame>nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround<filename>src/Umbraco.Core/Services/IMemberTypeService.cs
using System;
using System.Collections.Generic;
using Umbraco.Core.Models;
namespace Umbraco.Core.Services
{
public interface IMemberTypeService : IService
{
/// <summary>
/// Gets a ... | 2.193087 | 1d71e61af7f4264d152ec5f60a90c6bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Floglor/Biolab",
"max_stars_repo_path": "Assets/CanvasController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132717"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using Infrastructure;
using UnityEngine;
using Zenject;
public class CanvasController : MonoBehaviour
{
private Canvas mainMenuCanvas;
private Canvas settingsCanvas;
private Canvas gameConfigCanvas;
[Inject]
private void Construct(
... | 1.998276 | 5a7891b187b3768da05204675214e58e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaiaie/Kaia.MultiSelect",
"max_stars_repo_path": "Kaia.Common.Web/Binders/EntityModifierBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132718"
} | starcoder | <filename>Kaia.Common.Web/Binders/EntityModifierBinder.cs<gh_stars>0
using Kaia.Common.DataAccess.Contract;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Web;
using System.Web.Mvc;
namespace Kaia.Common.Web.Bind... | 2.550174 | 818569e92e67644b762925ba88e9a29f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813499 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "plasroom46/DesignPattern.Sample",
"max_stars_repo_path": "CSharp/DP.Website/Domain/Strategy/IFoStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132719"
} | starcoder | <gh_stars>1-10
using System;
using DP.Website.Models;
namespace DP.Website.Domain.Strategy
{
public interface IFoStrategy
{
Func<int, FreightOrder> Query {get;set;}
Action<FreightOrder> Update {get; set;}
void Upload(FreightOrder so);
}
} | 1.879321 | a9248ddf6e6845cd93fc39cf761a13f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterthomet/BioPuur",
"max_stars_repo_path": "nopCommerce 4.4/src/Libraries/Nop.Services/Customers/Caching/CustomerAttributeValueCacheEventConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132720"
} | starcoder | using System.Threading.Tasks;
using Nop.Core.Domain.Customers;
using Nop.Services.Caching;
namespace Nop.Services.Customers.Caching
{
/// <summary>
/// Represents a customer attribute value cache event consumer
/// </summary>
public partial class CustomerAttributeValueCacheEventConsumer : CacheEventCo... | 2.179172 | 1d435be8e07f3956c675ec9159e6819f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813501 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "nevena-angelova/Crossroads",
"max_stars_repo_path": "Source/Crossroads.Web/Areas/Administration/Views/ForumAdmin/Answers/ListAnswers.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132721"
} | starcoder | @using Crossroads.Web.Areas.Administration.ViewModels.ForumViewModels.Answers
@using Crossroads.Web.Infrastructure.Constants
@using MvcPaging
@model IPagedList<AdminAnswerViewModel>
@{
ViewBag.Title = "Отговори";
}
<div class="show-btns">
@Html.ActionLink("Покажи всички", "ListAnswers")
@Html.ActionLink("... | 2.115525 | 59d9dc79faed8c591f49b1a41f45e1ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813502 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bbarry/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/Diagnostics/WorkspaceAnalyzerOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132722"
} | starcoder | <reponame>bbarry/roslyn
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Diagnostics
{
/// <summary>
/// Analyzer options with workspace.
... | 2.1099 | aebd604e2d5f9e96a4d25b3665a01477 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813503 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JuliusNarvilas/KingdomDeathHelper",
"max_stars_repo_path": "KDMHelper2/Assets/Scripts/Game/DisplayHandler/NumericalModifierDisplayHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132723"
} | starcoder | <reponame>JuliusNarvilas/KingdomDeathHelper
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game.Model;
using Game.Model.Display;
using UnityEngine;
using UnityEngine.UI;
using Game.Properties;
using Game.Properties.Modifiers;
namespace Game.DisplayHandler
{
public clas... | 2.304735 | 2ee176589e461068c6429bf9481791e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unsafePtr/TestSystem",
"max_stars_repo_path": "src/TestSystem/TestSystem.Service/Exceptions/ActionClaimTypeException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132724"
} | starcoder | <filename>src/TestSystem/TestSystem.Service/Exceptions/ActionClaimTypeException.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestSystem.Service.Exceptions
{
public class ActionClaimTypeException : Exception
{
public Ac... | 2.12788 | ff4c40cb7f82d5cb2487af096089e358 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitllama/Tips",
"max_stars_repo_path": "CS7/FTPixels/Pixels/_Pixels/Pixels__/Pixels/PixelStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132725"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Linq.Express... | 2.360299 | 2349933d61eb3970160d583182565df6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813506 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SceneGate/Texim",
"max_stars_repo_path": "src/Texim.PerformanceTest/ImageStructures/StructureTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132726"
} | starcoder | // Copyright (c) 2021 SceneGate
// 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, distr... | 2.305777 | 09a49f82ef3a0bbf009569de7779e5a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zeyu-Li/Clockwork",
"max_stars_repo_path": "Assets/Scripts/StateMachineBehaviour/OnDeath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132727"
} | starcoder | <reponame>Zeyu-Li/Clockwork
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class OnDeath : StateMachineBehaviour
{
public override void OnStateExit(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex)
{
SceneM... | 1.766156 | 83fa1d7d6a9c03d33f104155fd52499e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaximilianHagelstam/Wordly",
"max_stars_repo_path": "Wordly/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132728"
} | starcoder | @using Wordly
@namespace Wordly.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.571938 | 356f1b8e27bf5a1c1494961ec23bef81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813509 | {
"extension": "c-sharp",
"max_stars_count": "4068.0",
"max_stars_repo_name": "object/akka.net",
"max_stars_repo_path": "src/core/Akka.Streams/FanOutShape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132729"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="FanOutShape.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... | 2.363667 | ab94df83d79fa846ae6cbcc7fcfe2fb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813510 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "QuickenLoans/RegExpose",
"max_stars_repo_path": "RegExpose/State.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132730"
} | starcoder | <filename>RegExpose/State.cs
namespace RegExpose
{
public class State
{
private readonly int _index;
private readonly string _input;
internal State(string input, int index)
{
_input = input;
_index = index;
}
public int Index
{
... | 3.325853 | 5a2050191e691251bd06d9f7b099bcbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShTair/ConvolutionChecker",
"max_stars_repo_path": "KelpNet/Optimizers/SGD.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132731"
} | starcoder | using System;
namespace KelpNet
{
[Serializable]
public class SGD : Optimizer
{
public Real LearningRate;
public SGD(double learningRate = 0.01)
{
this.LearningRate = learningRate;
}
internal override void AddFunctionParameters(NdArray[] functionParame... | 2.886678 | fd43abcf8161c28b8d3b1a8613bdc50f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HannaAndreevna/MAVN.Service.PartnerAPI",
"max_stars_repo_path": "src/MAVN.Service.PartnerApi/Validators/Payments/CreatePaymentRequestRequestModelValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132732"
} | starcoder | using FluentValidation;
using MAVN.Service.PartnerApi.Domain.Models.Payment;
namespace MAVN.Service.PartnerApi.Validators.Payments
{
public class CreatePaymentRequestRequestModelValidator : AbstractValidator<CreatePaymentRequestRequestModel>
{
public CreatePaymentRequestRequestModelValidator()
... | 2.216038 | 41e944297e0fcf0968159026dde7b2ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813513 | {
"extension": "c-sharp",
"max_stars_count": "797.0",
"max_stars_repo_name": "DynoRobotics/ros-sharp",
"max_stars_repo_path": "Libraries/RosBridgeClient/MessageTypes/Moveit/msg/JointConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132733"
} | starcoder | /*
* This message is auto generated by ROS#. Please DO NOT modify.
* Note:
* - Comments from the original code will be written in their own line
* - Variable sized arrays will be initialized to array of size 0
* Please report any issues at
* <https://github.com/siemens/ros-sharp>
*/
namespace RosSharp.Ro... | 2.676699 | 8314edb68ab2168bd9c075e7717cb64c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813514 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "qilei799/-",
"max_stars_repo_path": "WaterCloud.Web/Areas/SystemSecurity/Controllers/AppLogController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132734"
} | starcoder | /*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website:
*********************************************************************************/
using WaterCloud.Code;
using System;
using... | 2.09842 | 3a248e9e2c5162349b92ddbbd8ca951f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813515 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SilvinWillemsen/ModularPhysModVR",
"max_stars_repo_path": "Assets/Scripts/ResetInstrumentPos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132735"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResetInstrumentPos : MonoBehaviour
{
InstrumentReferenceList instrumentReferenceList;
[SerializeField] GameObject instrumentStage;
Vector3 instrumentStageLoc;
[SerializeField] public float timeBeforeDespaw... | 2.0025 | df23942485a26f95d1f7240adab637a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kovalikp/wcfmef",
"max_stars_repo_path": "src/ServiceModel.Composition/CompositionInstanceContextInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132736"
} | starcoder | <reponame>kovalikp/wcfmef
namespace ServiceModel.Composition
{
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
internal class CompositionInstanceContextInitializer : IInstanceContextInitializer
{
private bool _filterCat... | 1.963976 | 0a64e91c912609d50bdb959f33c0eb23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813517 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Azure-Samples/guidance-appinsights-openschema",
"max_stars_repo_path": "src/Microsoft.AzureCAT.AppInsights.Sink.Graphite/AppInsightGraphiteSinkFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132737"
} | starcoder | <gh_stars>1-10
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Mi... | 1.498253 | ee58b2531694acdcb966dfef46421ea6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.