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.392Z | 2023-09-08T23:13:54.392Z | 96989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "schema-forge/crucible-dotnet",
"max_stars_repo_path": "OSHA/CrucibleTests/ConstraintTests/ComparableConstraintTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96990"
} | starcoder | <reponame>schema-forge/crucible-dotnet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using SchemaForge.Crucible;
using SchemaForge.Crucible.Extensions;
using Newtonsoft.Json.Linq;
using Xunit;
using Xunit.Abstractions;
using static SchemaForge.Crucible.Constra... | 2.429744 | 34b06982896f04948fa9ececd53a1e75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Byrne-Labs/Metadata-DOM",
"max_stars_repo_path": "src/ByrneLabs.Commons.MetadataDom/TypeSystem/ModuleReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96991"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Metadata;
using JetBrains.Annotations;
namespace ByrneLabs.Commons.MetadataDom.TypeSystem
{
[PublicAPI]
[DebuggerDisplay("\\{{GetType().Name,nq}\\}: {Name}")]
p... | 1.696415 | 39624a302d97554ba67ee91f6f4b8b36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96991 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "devgopher/Akka.Streams.Kafka",
"max_stars_repo_path": "examples/EventHub.Producer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96992"
} | starcoder | <filename>examples/EventHub.Producer/Program.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Akka;
using Akka.Actor;
using Akka.Configuration;
using Akka.Streams;
using Akka.Streams.Dsl;
using Akka.Streams.Kafka.Dsl;
using Akka.Streams.Kafka.Mes... | 2.247462 | 97a142ecd062b6ff93e8fc5ed9713057 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96992 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "brendandburns/akri",
"max_stars_repo_path": "samples/brokers/onvif-video-broker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96993"
} | starcoder | <gh_stars>1-10
using Camera;
using Grpc.Core;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using OpenCvSharp;
using Prometheus;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
... | 2.29137 | 751aad988dfdecf891ec3ac2f8d7c903 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LyuboslavKrastev/CSharp-MVC-Frameworks-ASP.NET-Core-July-2018",
"max_stars_repo_path": "01. Introduction-to-ASP.NET-Core-Exercise/FDMC.App/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96994"
} | starcoder | @using FDMC.App.Models.ViewModels
@model IEnumerable<CatListingViewModel>
@{
ViewData["Title"] = "Home";
}
<h1>Welcome to FDMC!</h1>
<hr />
<div style="width:300px;">
<div style="float: left; width: 70px">
<form action="/Cats/Add" method="get">
<input type="submit" valu... | 2.641853 | 81fb4106fef52ced3e7d24bf3952dedf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "srxqds/ByteCode",
"max_stars_repo_path": "GameConfig/MiniYaml/YamlParserTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96995"
} | starcoder | /*----------------------------------------------------------------
// Copyright (C) 2016 广州,Lucky Game
//
// 模块名:
// 创建者:<NAME>
// 修改者列表:
// 创建日期:September 03 2016
// 模块描述:
//----------------------------------------------------------------*/
using UnityEngine;
using System.Collections;
using UnityEditor;
na... | 2.076518 | 5a88c100d7ecffa7b207c25f2d322fac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96995 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "stoyanov7/SoftwareUniversity",
"max_stars_repo_path": "C#Development/C#Advanced/RegularExpressions-Lab/06.ValidUsernames/06.ValidUsernames/ValidUsernames.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96996"
} | starcoder | <reponame>stoyanov7/SoftwareUniversity
namespace _06.ValidUsernames
{
using System;
using System.Text.RegularExpressions;
public class ValidUsernames
{
public static void Main(string[] args)
{
var regex = new Regex(@"^[\w-]{3,16}$");
var text = string.... | 3.00473 | 97f0724ed7dae312b9b64f03ddf61bf9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96996 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "biblepay/StratisBitcoinFullNode",
"max_stars_repo_path": "src/Stratis.Bitcoin.Features.Api/Controllers/Section.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96997"
} | starcoder | <reponame>biblepay/StratisBitcoinFullNode
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Reflection;
using System.Diagnostics;
using System.Collections;
using System.Xml;
namespace BiblePayGUI
{
public class Section
{
public string Name { get; set; ... | 2.126934 | 32fab49fd7d312bc4d2aae92d289daf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Domin1k/Budget-App",
"max_stars_repo_path": "src/MyBudgetApp/Data/Models/BudgetListCategory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96998"
} | starcoder | namespace MyBudgetApp.Data.Models
{
public class BudgetListCategory
{
public int BudgetCategoryId { get; set; }
public int BudgetListId { get; set; }
public BudgetCategory BudgetCategory { get; set; }
public BudgetList BudgetList { get; set; }
}
}
| 1.607777 | 63c5dd112a3bc72e459040b42fd3526d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peterblazejewicz/real-estate-mongodb-dotnet",
"max_stars_repo_path": "RealEstate/src/RealEstate.Mvc/Model/RentalViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96999"
} | starcoder | <filename>RealEstate/src/RealEstate.Mvc/Model/RentalViewModel.cs
using System.Collections.Generic;
namespace RealEstate.Mvc.Model
{
public class RentalViewModel
{
public string Id { get; set; }
public string Description { get; set; }
public int NumberOfRooms { get; set; }
public... | 2.011925 | 64cba61e8544977682196af159c139e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuisEduardoFrias/Taller",
"max_stars_repo_path": "Taller/EFRepository/EFRepositoryService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97000"
} | starcoder | <reponame>LuisEduardoFrias/Taller
namespace Taller.EFRepository
{
using AutoMapper;
using System.Collections.Generic;
using System.Threading.Tasks;
using Taller.Data;
//
using Taller.Dtos;
using Taller.Interface;
//
public class EFRepositoryService : IRepositoryService
{
... | 2.760637 | d2c8bea132abe9018a958612cb68824e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97000 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "AgileDave/b2c-appRoles",
"max_stars_repo_path": "B2CAuthZ.Admin/Model/UserApplication.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97001"
} | starcoder | <filename>B2CAuthZ.Admin/Model/UserApplication.cs<gh_stars>1-10
using System.Collections.Generic;
using Microsoft.Graph;
namespace B2CAuthZ.Admin
{
public class UserApplication
{
public string AppId { get; set; }
public string ResourceId { get; set; }
public IEnumerable<AppRoleAssignmen... | 1.896055 | b561ea3f25465e2b56d6b915e8cabad5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wiseby/Hackers-HomeAuto.Server",
"max_stars_repo_path": "src/Application/Models/Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97002"
} | starcoder | using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;
namespace Application.Models
{
public class Context : IClientEntity
{
public string Id { get; set; }
public string ClientId { get; set; }
[BsonIgnore]
public string Topic { get; set; }
public ... | 1.760198 | 0521866246e8b71c2343bf5053e9d480 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OzBob/grate",
"max_stars_repo_path": "grate.unittests/TestInfrastructure/TestConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97003"
} | starcoder | <reponame>OzBob/grate
using System;
using Microsoft.Extensions.Logging;
namespace grate.unittests.TestInfrastructure
{
public static class TestConfig
{
private static readonly Random Random = new();
public static string RandomDatabase() => Random.GetString(15);
public static ... | 2.157546 | 51f8353e3f3b5a66585688e279a11ff7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97003 | {
"extension": "c-sharp",
"max_stars_count": "202.0",
"max_stars_repo_name": "crmoloto/AspNetCoreBoilerplate",
"max_stars_repo_path": "AspNetCoreHero.Application/Constants/Permissions/ProductCategoryPermissions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97004"
} | starcoder | <reponame>crmoloto/AspNetCoreBoilerplate<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
namespace AspNetCoreHero.Application.Constants.Permissions
{
public static class ProductCategoryPermissions
{
public const string View = "ProductCategory.View";
public ... | 1.336239 | 028194c4335cc66f4fc5714370ec57cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97004 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CMC-Theories/StylisticAgents",
"max_stars_repo_path": "Painting of the winds/Assets/Scripts/Flocks/BirdMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97005"
} | starcoder | <reponame>CMC-Theories/StylisticAgents
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BirdMovement : MonoBehaviour
{
public Vector3 targetDirection = Vector3.left;
void Start()
{
this.transform.localRotation = Quaternion.LookRot... | 1.97165 | 7e54289797e7f0e53a2b09bab46ca14b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidChristiansen/MassTransit",
"max_stars_repo_path": "src/MassTransit/Internal/ThreadPoolConsumerPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96750"
} | starcoder | <filename>src/MassTransit/Internal/ThreadPoolConsumerPool.cs<gh_stars>0
// Copyright 2007-2008 The Apache Software Foundation.
//
// 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
//... | 1.97651 | def96b90a9e7bef6a079b554f8644b5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsfop/SAEA",
"max_stars_repo_path": "Src/SAEA.Audio.Net/Core/ReflectionHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96751"
} | starcoder | /****************************************************************************
*项目名称:SAEA.Audio.GAudio
*CLR 版本:4.0.30319.42000
*机器名称:WALLE-PC
*命名空间:SAEA.Audio.GAudio
*类 名 称:ReflectionHelper
*版 本 号:V1.0.0.0
*创建人: yswenli
*电子邮箱:<EMAIL>
*创建时间:2021/1/27 15:01:13
*描述:
*=======================================================... | 2.169028 | b534a4be1abc04fd315e3531ed2bf739 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steelpr/CSharp-Fundamentals",
"max_stars_repo_path": "C# OOP Advanced - March 2018/Generic/GenericSwapMethodString/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96752"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
class Program
{
static void Main(string[] args)
{
var box = new Box<string>();
int count = int.Parse(Console.ReadLine());
for (int i = 0; i < count; i++)
{
string input = Console.ReadLine();
box.Add(input);
... | 2.732734 | b07a64e03e9d34d95b5d2eb1b7ad534b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96752 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IDevJoe/SBR",
"max_stars_repo_path": "SBR Installer/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96753"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using Microsoft.Win32;
using System.Reflection;
using System.Diagnostics;
using System.I... | 2.492798 | 2170b336fc102ca505dadc3a01f5367e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MnemoNuS/ViberBotLib",
"max_stars_repo_path": "Models/MessageBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96754"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ViberBotLib.Enums;
namespace ViberBotLib.Models
{
/// <summary>
/// The send_message API allows accounts to send messages to Viber users who subscri... | 2.346295 | a7da38cbbaf0e90204691da050626b57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96754 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HarmonIQ/noid",
"max_stars_repo_path": "source/biometrics/fingerprint/test/fingerprint.thick.app.test/source.afis/SourceAFIS.Tuning/Database/TestPair.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96755"
} | starcoder | <reponame>HarmonIQ/noid<filename>source/biometrics/fingerprint/test/fingerprint.thick.app.test/source.afis/SourceAFIS.Tuning/Database/TestPair.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SourceAFIS.Tuning.Database
{
public struct TestPair
{
public... | 1.899638 | f06f4d3eaa65e7a960c74828e9392938 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatiasALopez/namasdev",
"max_stars_repo_path": "Source/namasdev.Core.UnitTests/Validaciones/EnumValidoAttributeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96756"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using namasdev.Core.UnitTests._TestUtils;
using namasdev.Validaciones;
namespace namasdev.Core.UnitTests.Validaciones
{
[TestClass]
public class EnumValidoAttributeTest
{
[TestMethod]
... | 1.807629 | 772c9b64dc3003f6705e88b7acfcbd5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phated/GraphQL.EntityFramework",
"max_stars_repo_path": "src/Tests/IntegrationTests/Graphs/Levels/Level1Graph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96757"
} | starcoder | <reponame>phated/GraphQL.EntityFramework
using GraphQL.EntityFramework;
public class Level1Graph :
EfObjectGraphType<IntegrationDbContext, Level1Entity>
{
public Level1Graph(IEfGraphQLService<IntegrationDbContext> graphQlService) :
base(graphQlService)
{
Field(x => x.Id);
AddNaviga... | 1.715155 | b81b7c9ab094edf86e9ce9aeac1762db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnergyNick/SimpleResult",
"max_stars_repo_path": "src/SimpleResult.Core/Core/Reasons/Manipulations/IExceptionalErrorManipulation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96758"
} | starcoder | using System;
namespace SimpleResult.Core.Manipulations
{
/// <summary>
/// Providing methods for fluent work with <see cref="IExceptionalError"/>
/// </summary>
public interface IExceptionalErrorManipulationMethods<out TError> : IErrorManipulationMethods<TError>
where TError: IExceptionalErro... | 2.474828 | 418403bda95cf9c7416ee9768b827a2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheMofaDe/DotNetHelper-CommandLine",
"max_stars_repo_path": "build/cake/tasks/pack.cake",
"provenance": "train-00000-of-00045.jsonl.gz:96759"
} | starcoder | var packTask = Task("Pack").Does<BuildParameters>((context,parameters) => {
});
| 1.39534 | cefd64c754208b0786ee3214c3b937a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Tests/Runtime/Database/QueryPipeline/RuntimeDataTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96760"
} | starcoder | #if UNITY_EDITOR
using System.Collections;
using UnityEngine.TestTools;
namespace Unity.MARS.Data.Tests
{
class RuntimeDataTests
{
[UnityTest]
public IEnumerator TraitDataBuffering()
{
yield return new MonoBehaviourTest<TraitDataBufferingTest>();
}
}
}
#endif
| 1.121994 | 2a2e6d83fbb6f199ae64fed06d6d3ffe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96760 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "kimoapp/Jarvis.Framework",
"max_stars_repo_path": "Jarvis.Framework.TestHelpers/TestAggregateFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96761"
} | starcoder | using System;
using Fasterflect;
using Jarvis.Framework.Kernel.Engine;
using Jarvis.Framework.Shared.IdentitySupport;
using NStore.Core.Snapshots;
namespace Jarvis.Framework.TestHelpers
{
public static class TestAggregateFactory
{
public static T Create<T, TId, TState>(TState initialState, IIde... | 2.421399 | 12cfdc1a456e839b6ec48031f4fa02ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96761 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "sontx/modbus",
"max_stars_repo_path": "Core/Converters/BytesStructure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96762"
} | starcoder | using System;
using System.Linq;
using System.Runtime.InteropServices;
namespace Modbus.Core.Converters
{
/// <summary>
/// https://stackoverflow.com/questions/2480116/marshalling-a-big-endian-byte-collection-into-a-struct-in-order-to-pull-out-valu
/// </summary>
public static class BytesStructure
... | 3.038308 | a93c5a857e515b098997a3cff896182f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96762 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "elementechemlyn/nrls-reference-implementation",
"max_stars_repo_path": "Demonstrator/Demonstrator.Models/ViewModels/Factories/HumanNameFactoryExt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96763"
} | starcoder | using Demonstrator.Models.ViewModels.Fhir;
using Hl7.Fhir.Model;
using System.Collections.Generic;
using System.Linq;
namespace Demonstrator.Models.ViewModels.Factories
{
public static class HumanNameFactoryExt
{
public static List<NameViewModel> ToViewModelList(this List<HumanName> names)
{
... | 2.721768 | 1aaa992a6f59160a4056977cdb26ac74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96763 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Brainence/TimeBookingTool-API",
"max_stars_repo_path": "src/TBT.DAL/Repository/Interfaces/IApplicationUnitOfWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96764"
} | starcoder | <reponame>Brainence/TimeBookingTool-API
using System;
using System.Threading.Tasks;
namespace TBT.DAL.Repository.Interfaces
{
public interface IApplicationUnitOfWork : IDisposable
{
ICustomerRepository Customers { get; }
IProjectRepository Projects { get; }
IActivityRepository Activiti... | 1.498159 | 0e058cbd85abc28268631fabaa811f58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96764 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game",
"max_stars_repo_path": "DOTSSample-master/Assets/Scripts/Game/Main/ClientGameLoop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96765"
} | starcoder | using Unity.Collections;
using UnityEngine;
using Unity.Entities;
using Unity.Jobs;
using Unity.Networking.Transport;
using Unity.Scenes;
using UnityEngine.Profiling;
using Unity.NetCode;
using Unity.Sample.Core;
class A2DotsShooterSendSystem : CommandSendSystem<UserCommand>
{
}
class A2DotsShooterRecvSystem : Comma... | 1.381634 | 7c854c91c51133199fd806db2410ed20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "okmer/DynamicTypes",
"max_stars_repo_path": "Com.Okmer.DynamicTypes/BinarySerialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96766"
} | starcoder | using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace Com.Okmer.DynamicTypes
{
public static class BinarySerialization
{
public static void ToFile<T>(T value, string fileName) where T : ISerializable
{
IFormatter format... | 2.927778 | 48ae1655a8d86d3e56eed85f5330ef0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96766 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "luokk/scada",
"max_stars_repo_path": "DAQ/Scada.Chart/ChartView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96767"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.M... | 2.227178 | eda02841dec5e29f644a5e8efc5eb358 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96767 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "romans-uteam/Dragonfly.SkybrudRedirectsImporter",
"max_stars_repo_path": "src/Dragonfly/SkybrudRedirectsImporter/Utilities/ImportHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96768"
} | starcoder | <filename>src/Dragonfly/SkybrudRedirectsImporter/Utilities/ImportHelper.cs
namespace Dragonfly.SkybrudRedirectsImporter.Utilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Skybrud.Umbraco... | 2.411158 | 9fc549800e43a7e10600cca3c122067d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Natashachorba/Pong",
"max_stars_repo_path": "Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96769"
} | starcoder | <gh_stars>0
namespace Pong
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | 2.124319 | fe0f74bf7cb21afec30c1dfc3d24f3f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96769 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Bobbykose/tibiaapi",
"max_stars_repo_path": "tibiaapi/Packets/Incoming/CreatureSpeechPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96770"
} | starcoder | <reponame>Bobbykose/tibiaapi<filename>tibiaapi/Packets/Incoming/CreatureSpeechPacket.cs
using Tibia.Constants;
namespace Tibia.Packets.Incoming
{
public class CreatureSpeechPacket : IncomingPacket
{
public SpeechType SpeechType { get; set; }
public uint Unknown { get; set; }
pu... | 2.238695 | 4dd9d68a68afeed8bcb7ee859222e3a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96770 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "swapnilrane24/Line-Paint",
"max_stars_repo_path": "Assets/LinePaint/Scripts/LevelManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96771"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace LinePaint
{
public class LevelManager : MonoBehaviour
{
[SerializeField] private Color[] colors;
[SerializeField] private Material cubeMat;
[SerializeField] private CameraZoom gameCamera;
[SerializeField] private Ca... | 1.855112 | 26b9334d65543c3139cf4b886ae55e73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96771 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gridgentoo/OsEngine",
"max_stars_repo_path": "project/OsEngine/OsOptimizer/OptimizerMaster.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96772"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Forms.Integration;
using OsEngine.Entity;
using OsEngine.Logging;
using OsEngine.Market.Servers.Optimizer;
using OsEngine.Market.Servers.Tester;
using OsEngine.OsTrader... | 2.242263 | 964a5dcf4487d75aba0e4182f2820370 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok/hosting.aspnetcore",
"max_stars_repo_path": "Vostok.Applications.AspNetCore.Tests/Controllers/RequestInfoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96773"
} | starcoder | <reponame>vostok/hosting.aspnetcore
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Vostok.Applications.AspNetCore.Models;
using Vostok.Applications.AspNetCore.Tests.Models;
using Vostok.Context;
using Vostok.Logging.Abstractions;
namespace Vostok.Applications.AspNetCore.Tests.Controllers
{
... | 1.858331 | ed78a54b21f34cf529a3544969d9109f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rphuang/riot",
"max_stars_repo_path": "RiotDevices/Devices/Models/DeviceSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96774"
} | starcoder | using PlatformLib;
using SettingsLib;
using System.IO;
namespace Devices.Models
{
public class DeviceSettings : Settings
{
/// <summary>
/// Get the instance of the Settings
/// </summary>
public static DeviceSettings Instance
{
get { return s_Settings; }
... | 2.752136 | ca53ef9a591195afcafb08a5e9979b0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96774 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/quantum/Microsoft.Azure.Management.Quantum/src/Generated/Models/ProviderDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96775"
} | starcoder | <filename>sdk/quantum/Microsoft.Azure.Management.Quantum/src/Generated/Models/ProviderDescription.cs
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) A... | 2.112457 | 809d7654a41d3ec9d5c92f03c5e1b8f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96775 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "manesajian/ScaffoldScript",
"max_stars_repo_path": "Sample1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96776"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ScaffoldScript
{
public partial class Sample1 : Form
{
string [] GuyNames = { "Adam", "Alex",... | 2.600317 | dfb4fec99df71cffa9384474aefcd39c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96776 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "doticca/Orchard.CloudBust",
"max_stars_repo_path": "src/Orchard.Web/Modules/Q42.DbTranslations/Models/TranslationRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96777"
} | starcoder | namespace Q42.DbTranslations.Models
{
public class TranslationRecord
{
public virtual int Id { get; set; }
public virtual string Culture { get; set; }
public virtual string Value { get; set; }
public virtual LocalizableStringRecord LocalizableStringRecord { get; set; }
}
}
| 1.458488 | 1c64b9814d53dd7e3743508053413e1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EduardaSRBastos/WPF-2021",
"max_stars_repo_path": "teste1/WpfApp5/WpfApp5/ModelNotas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96778"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp5
{
public class ModelNotas
{
//Criar delegate
public delegate void MetodosComString(string str);
//Criar evento
public event MetodosComString Not... | 2.912319 | 7b4fc8aee8e7885bb96f417faa5382e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96778 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "laoling/C-sharp-note-StepByStep",
"max_stars_repo_path": "Projects/Chapter07Example01/Chapter07Example01/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96779"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Chapter07Example01
{
class Program
{
static void Main(string[] args)
{
//把文本输出到Output窗口
int[] testArray = {4, 7, 4, 2, 7, 3, 7, 8, 3, 9, 1, 9};
... | 3.419768 | 34c610b2aee21e38384642fc9893d061 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davkean/NuGet.Client",
"max_stars_repo_path": "test/NuGet.Clients.Tests/NuGet.PackageManagement.UI.Test/Models/PreviewWindowModelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96780"
} | starcoder | <reponame>davkean/NuGet.Client<gh_stars>0
// 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.Text;
using System.Threading;
using System.Thread... | 1.669306 | a833afeddbbccc9a80e485f5961f6654 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96780 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theoners/C-OOP-February-2019",
"max_stars_repo_path": "Polymorphism - Exercise/03.WildFarm/Models/Animals/Mouse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96781"
} | starcoder | namespace _03.WildFarm.Models.Animals
{
using Foods;
using System;
public class Mouse:Mammal
{
private const double WeightPerFood = 0.10;
public Mouse(string name, double weight, string livingRegion)
: base(name, weight, livingRegion)
{
}
public ... | 3.407575 | 1ea6231ae8ecf090f58ebba30f566333 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShiningRush/HomeWorkForMyLittlePrincess",
"max_stars_repo_path": "ecard/server/src/modules/ecardSystem/Clear.Settlement/Domain/Services/SettlementService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96782"
} | starcoder | using Abp.Domain.Repositories;
using Abp.Domain.Services;
using Abp.Json;
using Clear.Settlement.Domain.OperatorAggregate;
using PlatformService.BridgeComponent.CustomException;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clear.Settleme... | 2.530392 | b60c022e5918c0db00eb4b898419d28e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmerAli94/ARSample_Niantic",
"max_stars_repo_path": "Assets/ARDK/Recording/ArchiveConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96783"
} | starcoder | <filename>Assets/ARDK/Recording/ArchiveConfig.cs
// Copyright 2021 Niantic, Inc. All Rights Reserved.
using System.Runtime.InteropServices;
namespace Niantic.ARDK.Recording
{
/// <summary>
/// Config for archiving working directories related to ar recording.
/// Archives temporary AR recording directories into ... | 2.620636 | 9cd72d747e5fa1ededeb34249204f534 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adisadi/kinoplanung",
"max_stars_repo_path": "server/api/ViewModels/Validations/FunctionViewModelValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96784"
} | starcoder | using FluentValidation;
namespace KinoplanungApi.ViewModels.Validations
{
public class FunctionViewModelValidator : AbstractValidator<FunctionViewModel>
{
public FunctionViewModelValidator()
{
RuleFor(vm => vm.Name).NotEmpty().WithMessage("Function Name can't be empty");
... | 2.250397 | d5a40174e738736ce8a6a5c3ea26e1e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BusHero/Notion-SDK",
"max_stars_repo_path": "src/Notion.Sharp/dto/Databases/Database.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96785"
} | starcoder | <reponame>BusHero/Notion-SDK
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Notion.Model;
public record Database : PageOrDatabase
{
[JsonPropertyName("id")]
public Guid Id { get; set; }
[JsonPropertyName("created_time")]
public DateTimeOffset CreatedTi... | 1.302876 | b584dc4b1542016d5ccbc9f2ff7efb16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96785 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Taupo/External/TestShell/InputSpaceModeling/ExplorationStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96786"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="ExplorationStrategy.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------... | 2.784548 | 26da4b44c460d515574c9e38c4f63552 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reavenk/PxPre-MIDI",
"max_stars_repo_path": "MIDIOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96787"
} | starcoder | //MIT License
//
//Copyright (c) 2020 Pixel Precision LLC
//
//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, modi... | 2.378351 | 4f133f842de87063914d86058e9c0fa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96787 | {
"extension": "c-sharp",
"max_stars_count": "443.0",
"max_stars_repo_name": "MVoloshin/automatic-graph-layout",
"max_stars_repo_path": "GraphLayout/MSAGL/Routing/Spline/ConeSpanner/ConeSide.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96788"
} | starcoder | using Microsoft.Msagl.Core.Geometry;
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
/// <summary>
/// represents a cone side
/// </summary>
internal abstract class ConeSide {
internal abstract Point Start { get; }
internal abstract Point Direction { get; }
protected inte... | 1.990614 | 42f494893f547fb7491a8e7c0cdac166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96788 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "piotrstenke/Durian",
"max_stars_repo_path": "Durian.EnumServices/EnumServicesSyntaxReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96789"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Durian.Analysis.EnumServices
{
/// <summary>
/// Collects <see cref="CSharpSynt... | 2.506369 | 8eb0d17a552b1d3b62775813be5b3588 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nrogoff/AADGraphHandler",
"max_stars_repo_path": "src/hms.Common.Azure.AADGraphHandler/hms.Common.Azure.AADGraphHandler/IAADGrpahHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96790"
} | starcoder | <filename>src/hms.Common.Azure.AADGraphHandler/hms.Common.Azure.AADGraphHandler/IAADGrpahHandler.cs
// Copyright (c) 2017 Hard Medium Soft Ltd.
//
// Author: <NAME>
// Created: 2017 - 02 - 27
//
// Project: hms.Common.Azure.AADGraphHandler
// Filename: IAADGraphHandler.cs
using System;
using System.Collections.G... | 2.158767 | a7a159453b8227887e4967e2618ac75a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khncao/com.minus4kelvin.saveload",
"max_stars_repo_path": "Runtime/GameDataWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96791"
} | starcoder | <reponame>khncao/com.minus4kelvin.saveload
// ref unity fpssample
using System.IO;
using UnityEngine;
namespace m4k.SaveLoad {
public class GameDataWriter {
BinaryWriter writer;
public GameDataWriter (BinaryWriter writer) {
this.writer = writer;
}
public void Write (float value) {
w... | 2.245564 | d30267e2b03ce7b772b7802b5db87f75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mruhul/BoltSuite",
"max_stars_repo_path": "Bolt.FluentHttpClient.Tests/UrlBuilderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96792"
} | starcoder | <reponame>mruhul/BoltSuite<filename>Bolt.FluentHttpClient.Tests/UrlBuilderTests.cs
using Shouldly;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Bolt.FluentHttpClient.Tests
{
public class UrlBuilderTests
{
[Theory]
[MemberData(nameof(TestDataForUrlBuilderBuild))]
... | 2.519541 | 4e95316d1716896496ebd24088d9fe00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikeMuorte/GGJ-2021",
"max_stars_repo_path": "Assets/Project/Scripts/TextChain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96793"
} | starcoder | <filename>Assets/Project/Scripts/TextChain.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using Doozy.Engine;
public class TextChain : MonoBehaviour
{
public TextFX textFX;
public bool useGameEvents = true;
[Space]
public List<string> textLi... | 2.438439 | cc3b98b5567d9cdbfe21fc824091f221 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ilievv/e-commerce-module",
"max_stars_repo_path": "src/ECommerce.Core/Managers/Products/ProductManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96794"
} | starcoder | using System.Collections.Generic;
using ECommerce.Core.Entities;
using ECommerce.Core.Gateways;
namespace ECommerce.Core.Managers.Products
{
public sealed class ProductManager : Manager, IProductManager
{
private readonly IProvider<Product> productProvider;
public ProductManager(IProviderMana... | 2.477026 | 20ce015ee7b4d24c70844ed4e87d1207 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anchoragewonder/League_Api",
"max_stars_repo_path": "League_Api/RequestModel/QuizRequestModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96795"
} | starcoder | <reponame>anchoragewonder/League_Api<filename>League_Api/RequestModel/QuizRequestModel.cs
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace League_Api.RequestModels
{
public class QuizRequestModel
{
[JsonProperty(PropertyName = "damage", Order = 1)]
... | 2.300245 | 2c83388d5718e4724ed3e9da342d0330 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EstevesAndre/project-mortdecai",
"max_stars_repo_path": "Assets/Entities/Player/Scripts/States/PlayerInteractableState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96796"
} | starcoder | <reponame>EstevesAndre/project-mortdecai
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public abstract class PlayerInteractableState : IState
{
#region Fields
protected Player owner;
#endregion
#region Constructor
p... | 2.150696 | 9abf8340f1f22965b468769d767fc65d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96796 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zanybaka/FileLockedBy",
"max_stars_repo_path": "src/Console.v2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96797"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using FileLockedBy.Enums;
using FileLockedBy.Registry;
using FileLockedBy.Win32.Entities;
using FileLockedBy.Win32.Processes;
using... | 2.404922 | 48241a333741cc81f9f911e80aae156e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AhmedKhalil777/DOTNET-Learning",
"max_stars_repo_path": "Module 16 C#/Problems/StairCase/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96798"
} | starcoder | <reponame>AhmedKhalil777/DOTNET-Learning
using System;
namespace StairCase
{
class Program
{
static void Main(string[] args)
{
//StairCase(5);
int[] x = { 1, 2, 3, -1, -2, 0, -3 };
reverseSign(ref x);
foreach (var num in x)
{
... | 3.40428 | 281e29c417bd33e108e6f06b69843a92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CatenaLogic/ContinuaIn",
"max_stars_repo_path": "src/ContinuaInit/Rules/RuleBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96799"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="InitRule.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved.
// </copyright>
// -----------------------------------------------------------... | 1.546797 | 7382f7468f4149ed37bdf55b44498c61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeathCradle/github-mono-builder",
"max_stars_repo_path": "GitHook_Mono/Data/RepoContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96800"
} | starcoder | using System;
using Microsoft.Data.Entity;
namespace GitHook_Mono.Data
{
public enum SqliteCopyResult
{
Ok,
DirectoryNotFound,
FileMissing
}
public static class DbContextExtensions
{
/// <summary>
/// Attempt to copy sqlite files from Data/Sqlite/[x86/x64]/* to where they should be.
/// </summary>
... | 2.563168 | 47ad2fd0427afa0ae8462fca4a042d2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigETI/BA3SoundDesign",
"max_stars_repo_path": "Assets/BA3SoundDesign/Scripts/Controllers/InteractableControllerScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96801"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// BA3 Sound Design controllers namespace
/// </summary>
namespace BA3SoundDesign.Controllers
{
/// <summary>
/// Interactable controller script class
/// </summary>
public class InteractableControllerScript : MonoBehaviour, IInteractableCont... | 2.709711 | 91315bf5a29991ce061cf16eb22bdfa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96801 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Cryma/Twitch.Net",
"max_stars_repo_path": "Twitch.Net/Models/Responses/HelixPaginatedResponseWithTotal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96802"
} | starcoder | using System.Text.Json.Serialization;
namespace Twitch.Net.Models.Responses
{
/// <summary>
/// <inheritdoc cref="HelixPaginatedResponse{TResponseObject}"/>
///
/// <para>Additionally contains total amount of data</para>
/// </summary>
/// <typeparam name="TResponseObject"></typeparam>
pub... | 2.430225 | 8482a7e02d084b402393e0b029ca7211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luxoft/BSSFramework.Workflow",
"max_stars_repo_path": "src/Framework.Graphviz/Dot/DotBeautifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96803"
} | starcoder | using System.Text.RegularExpressions;
namespace Framework.Graphviz.Dot
{
public static class DotBeautifier
{
public static string OptmizeDot(this string dot)
{
var result = dot;
const string pattern = @"(label[\t ]*=[\t ]*[""'])([^""']+)([""'])";
... | 2.665118 | 17e3436b05e1fc7aa539821907229692 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iacabezasbaculima/ASPNFMVC",
"max_stars_repo_path": "BootstrapDemo/MVCDemo/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96804"
} | starcoder | @{
ViewBag.Title = "Home Page";
}
@*Alert Section*@
<br/> @*move alert down*@
<div class="alert alert-danger" role="alert">
<button type="button" class="close" data-dismiss="alert">
x
</button>
The server is currently down for maintenance.
</div>
<div class="jumbotron">
<h1>Isaac 's Bootst... | 2.931872 | 1ec5420bc32b7e3cf86899418364ba15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DidacticalEnigma/DidacticalEnigma.RestApi",
"max_stars_repo_path": "DidacticalEnigma.Next/Models/SwitchToProjectResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96805"
} | starcoder | <filename>DidacticalEnigma.Next/Models/SwitchToProjectResult.cs
namespace DidacticalEnigma.Next.Models;
public class SwitchToProjectResult
{
} | 1.078986 | 22c41101ede07e4782eeaa7d7f788284 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krzysztofkolek/adventureworks-api",
"max_stars_repo_path": "AdventureWorksAPI/AdventureWorksAPI/Controllers/API/PurchaseOrderDetailController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96806"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using AdventureWorksAPI.DBModels;
namespace AdventureWorksAPI.Cont... | 2.371212 | 39e2a4dba6abd933a74174b72ec54570 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96806 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Bikeman868/Prius",
"max_stars_repo_path": "Prius.Performance.Prius/Model/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96807"
} | starcoder | <filename>Prius.Performance.Prius/Model/Order.cs
using System;
using Prius.Performance.Shared;
using Prius.Contracts.Interfaces;
namespace Prius.Performance.Prius.Model
{
public class Order: IOrder, IDataContract<Order>
{
public long OrderId { get; set; }
public long CustomerId { get;... | 2.34637 | 700c9fa004246a45a8539921b1c5694c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96807 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BBarisKilic/CSharpCourse",
"max_stars_repo_path": "Methods/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96808"
} | starcoder | <filename>Methods/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Methods
{
class Program
{
static void Main(string[] args)
{
Add();
Add2(20, 30);
var result = Add3(20, ... | 3.697628 | 1c5821cd4dd1c41ad7d5af3a2b1f7faa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trimbe/Sidekick",
"max_stars_repo_path": "source/Windows/Settings/UserControls/KeybindEditor.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96809"
} | starcoder | <filename>source/Windows/Settings/UserControls/KeybindEditor.xaml.cs
using Sidekick.Windows.Settings.Models;
using System.Windows;
using System.Windows.Controls;
//using System.Windows.Input;
using System.Windows.Forms;
using Gma.System.MouseKeyHook;
namespace Sidekick.Windows.Settings.UserControls
{
/// <summary... | 2.392875 | c54eefe6abfec35da235d85feede9e7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RIChernov2/BookShop",
"max_stars_repo_path": "BookShop.WebApi/Controllers/AddressesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96810"
} | starcoder | <gh_stars>0
using System;
using BookShop.Helpers;
using Core.StorageManagers.Interfaces;
using Data.Entities;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using BookShop.MessageBrokerClients;
using Microsoft.AspNetCore.Authorization;
namespace BookShop.Controllers
{
/// <summary>
/// Управлен... | 2.111361 | 18c67c3eb600ba33dc6013be8d7835d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SevenCorners/TestScaffolderExtension",
"max_stars_repo_path": "src/TestScaffolderExtension/CreateUnitTestsForMethodCommand/MethodUnderTestAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96811"
} | starcoder | namespace TestScaffolderExtension.CreateUnitTestsForMethodCommand
{
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.... | 2.201722 | 7ff2df45b1d637b1250a5abd57504705 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashishneosoftmail/JSC_LMS",
"max_stars_repo_path": "src/Core/JSC_LMS.Application/Features/Subject/Queries/GetSubjectByPagination/SchoolPaginationDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96812"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace JSC_LMS.Application.Features.Subject.Queries.GetSubjectByPagination
{
public class SchoolPaginationDto
{
public int Id { get; set; }
public string SchoolName { get; set; }
}
public class ClassPaginationDto
... | 1.84544 | 00b087a7693aca6b632b757cd2fa0973 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96812 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dluc/DL.PrettyText.NET",
"max_stars_repo_path": "PrettyText/JsonFormatterInternals/ParsingStrategies/DefaultCharacter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96813"
} | starcoder | <filename>PrettyText/JsonFormatterInternals/ParsingStrategies/DefaultCharacter.cs
namespace DL.PrettyText.JsonFormatterInternals.ParsingStrategies
{
using System;
internal sealed class DefaultCharacter : IStrategy
{
public char ForWhichCharacter
{
get
{
... | 2.443399 | fc8abecbfef606cd8ff1a5a4011e120a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twitchax/SocksNet",
"max_stars_repo_path": "src/Core/Pump.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96814"
} | starcoder | using System.Net.Sockets;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Buffers;
using System.Threading;
using System.Runtime.CompilerServices;
namespace SocksNet
{
public static class Pump
{
public static async Task RunSequentialAsync(TransportS... | 2.84777 | 7329f2b87436cf8c2220de417863ba99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96814 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-endpoints",
"max_stars_repo_path": "src/SFA.DAS.LevyTransferMatching.Api/Models/CreatePledgeRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96815"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SFA.DAS.LevyTransferMatching.Api.Models
{
public class CreatePledgeRequest
{
[JsonProperty(Required = Required.Always)]
public int Amount { get; set; }
[JsonProperty(Required = Required.Always)]
public bool IsN... | 1.549472 | 2afd11b888c5ce2f6511a8d859ea0f12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-08-aspnetmvc",
"max_stars_repo_path": "g6/Class04/SEDC.AspNet.PizzaApp/SEDC.AspNet.PizzaApp.App/Models/ViewModels/Orders/OrderVM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96816"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SEDC.AspNet.PizzaApp.App.Models.ViewModels.Orders
{
public class OrderVM
{
public int Id { get; set; }
public PizzaVM Pizza { get; set; }
public double Price { get; set; }
... | 1.663135 | 10ffe821e87ab5893bfe25fe84c76ce6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FlukeFan/MvcFolders",
"max_stars_repo_path": "MvcFolders.StubApp/App/F2/F2Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96817"
} | starcoder | <reponame>FlukeFan/MvcFolders
using System.Web.Mvc;
namespace MvcFolders.StubApp.App.F2
{
public class F2Controller : Controller
{
public ActionResult Index()
{
return Content("Response - F2/Index");
}
}
} | 1.456412 | 0711344e915daf64540feb30a682abf9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96817 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "adriva/coreframework",
"max_stars_repo_path": "Caching/test/MemoryCache_Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96818"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Adriva.Extensions.Caching.Abstractions;
using Xunit;
using System.Threading;
namespace Adriva.Extensions.Caching.Memory.Test
{
public class MemoryCache_Te... | 2.422721 | 986524fc8bf69bfc14a710fd35b08fdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukasvozenilek/ChessEngineV2",
"max_stars_repo_path": "Assets/Scripts/VisualizePositionTables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96819"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class VisualizePositionTables : MonoBehaviour
{
public PositionWeightTable positionTable;
public Grid gridComponent;
public GameObject overlayPrefab;
[Header("Colors")]
public float upperRange;
public Color upperColor;... | 1.624195 | 5b835a1ac3b64cbd18e080c19812c045 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96819 | {
"extension": "c-sharp",
"max_stars_count": "2992.0",
"max_stars_repo_name": "lgztx96/ModernWpf",
"max_stars_repo_path": "ModernWpf/Controls/PasswordRevealMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96820"
} | starcoder | namespace ModernWpf.Controls
{
/// <summary>
/// Defines constants that specify the password reveal behavior of a PasswordBox.
/// </summary>
public enum PasswordRevealMode
{
/// <summary>
/// The password reveal button is visible. The password is not obscured while the
/// ... | 2.564507 | ea6f18452001b7bdbecdd21f40b4e5ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96820 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "jmickle66666666/JazzBox",
"max_stars_repo_path": "Scripts/FollowSceneCamera.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96821"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public class FollowSceneCamera : MonoBehaviour {
private Vector3 lastPosition;
private Quaternion lastRotation;
void OnEnable() {
lastPosition = transform.position;
la... | 1.897133 | 68d5e2b9387389c98c8534120c53c6ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96821 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "ErQing/Nova",
"max_stars_repo_path": "Assets/Nova/Sources/Scripts/HideOnMobile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96822"
} | starcoder | <reponame>ErQing/Nova<gh_stars>100-1000
using UnityEngine;
namespace Nova
{
public class HideOnMobile : MonoBehaviour
{
private void Awake()
{
gameObject.SetActive(!Application.isMobilePlatform);
}
}
} | 1.309016 | 7db8aafed990a31716e5564748b1bb2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96822 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/UIElements/ProjectionUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96823"
} | starcoder | <reponame>HelloWindows/AccountBook-
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using UnityEngine;
namespace UnityEngine.UIElements
{
static class ProjectionUtils
{
// Returns a matrix that m... | 2.221592 | cf4463ba338f6d0e73f2c213a3d992ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96823 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gRally/gStageEditor",
"max_stars_repo_path": "Editor/Layouts/StartFinishEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96824"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEditor;
using UnityEditor.SceneManagement;
[CustomEditor(typeof(StartFinish))]
public class StartFinishEditor : Editor
{
private StartFinish startFinish;
private Transform handleTransform;
private Quaternion handleRotation;
private const float h... | 1.761586 | d6978e3bc2518e2d8e8c6375a1860d83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96824 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/runtimes/netf/Azos.WinForms/Controls/ComboBoxEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96825"
} | starcoder | <filename>src/runtimes/netf/Azos.WinForms/Controls/ComboBoxEx.cs<gh_stars>100-1000
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LI... | 2.768339 | fd95db1bca9e498d7263e807a2a8c9a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaozeqian/rights-master",
"max_stars_repo_path": "Rights/Common/Account.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96826"
} | starcoder | <reponame>gaozeqian/rights-master<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace Common
{
/// <summary>
/// 登录的用户信息
/// </summary>
[DataContract]
[Serializable]
public class Account
... | 1.958498 | 51f5285571ef7b97bca66df3ae761c1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TanyaRan/TelerikAcademy_2016-2017",
"max_stars_repo_path": "Module01_Basics/03.C#_OOP/06.Common-Type-System/Person/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96827"
} | starcoder | <reponame>TanyaRan/TelerikAcademy_2016-2017
using System;
using System.Text;
//04.Create a class Person with two fields – name and age. Age can be left unspecified (may contain null value).
// Override ToString() to display the information of a person and if age is not specified – to say so.
// Write a program t... | 3.996146 | 89def551f07893291c91e96a5e91f26f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96827 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "BLUDRAG/SOFlow",
"max_stars_repo_path": "Assets/Code/Scripts/SOFlow/Internal/Utilities/Scene Management/Editor/SceneSetEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96828"
} | starcoder | <reponame>BLUDRAG/SOFlow
// Created by <NAME> : https://www.blumalice.wordpress.com | https://www.linkedin.com/in/kearan-petersen/
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace SOFlow.Internal.SceneManagement
{
[CustomEditor(typeof(SceneSet))]
[CanEditMultipleObjects]
public class Scen... | 2.186147 | 4d22d09e66bdc0deb42d23886bc20eb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unity-game-framework/ugf-instance",
"max_stars_repo_path": "Packages/UGF.Instance/Runtime/Generators/InstanceIdentifierGeneratorGuid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96829"
} | starcoder | using System;
namespace UGF.Instance.Runtime.Generators
{
/// <summary>
/// The primitive identifier generator that generate identifiers of the Guid type.
/// </summary>
public class InstanceIdentifierGeneratorGuid : InstanceIdentifierGeneratorBase<Guid>
{
public InstanceIdentifierGenerato... | 2.658421 | bb6bb50defea28a28719869483819c14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/calc.shell/src/machines/FSeqT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96830"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.In... | 2.639686 | 20919fcbed71b2f6588d254e96424eab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "negativchik09/CourseProject",
"max_stars_repo_path": "CourseProject.BL/Records/Operation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96831"
} | starcoder | using System;
using CourseProject.DB.Domain;
namespace CourseProject.BL.Records
{
public record Operation
{
public int Id { get; set; }
public int ProductId { get; set; }
public OperationType Type { get; set; }
public int CountDelta { get; set; }
public decimal UnitPric... | 1.807715 | 1b729f4ddd1410af677a0b0ebbeb1a16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WebPx/WebPx.Presentation",
"max_stars_repo_path": "src/WebPx.Presentation/Presentation/ViewResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WebPx.Presentation
{
public sealed class ViewResult<TEntity>
{
internal ViewResult(TEntity item, bool success)
{
this.Item = item;
this.Success = success;
}
... | 2.655175 | 5f6ab54a160153097fcf928ce182b3d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96832 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "SortByte/Network-Manager",
"max_stars_repo_path": "Network_Manager/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96833"
} | starcoder | <filename>Network_Manager/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be l... | 1.897152 | 2010c24c6febf7f07e0a1ce7009bd9a5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.