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 | 87661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sulzmido/Core-Banking-Application-NHibernate",
"max_stars_repo_path": "MyCBA.Logic/UserLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87662"
} | starcoder | using MyCBA.Core.Models;
using MyCBA.Data.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace MyCBA.Logic
{
public class UserLogic
{
UserRepository userRepo = new UserRepository(... | 2.675697 | 466f27f4243ca5a3a5f2a45c9b489b22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kstanoev/dotNext",
"max_stars_repo_path": "src/cluster/DotNext.Net.Cluster/Net/Cluster/MemberUnavailableException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87663"
} | starcoder | using System;
using System.IO;
namespace DotNext.Net.Cluster
{
/// <summary>
/// Indicates that remote member cannot be replicated because it is unreachable through the network.
/// </summary>
public class MemberUnavailableException : IOException
{
/// <summary>
/// Initializes a n... | 2.965872 | f0f6030df39e640893850ff047737113 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cabauman/FluentFormatAnalyzer",
"max_stars_repo_path": "src/Core/LineBreakEveryArgAndMemberAccessAnalyzerCodeFixProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87664"
} | starcoder | <filename>src/Core/LineBreakEveryArgAndMemberAccessAnalyzerCodeFixProvider.cs
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActi... | 2.184022 | 0f2ac9acd9a72c363232d7bf9d7ef9b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harrydrippin/Mocca",
"max_stars_repo_path": "Mocca/Parser/ParseTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87665"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using Mocca.DataType;
namespace Mocca {
namespace Compiler {
#region ParseTree
[Serializable]
public class ParseErrors : List<ParseError> {
}
[Serializable]
public class ParseError {
private string messa... | 2.530127 | b52b317a4368bb1ca1017756d7ac6b74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87665 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "improvedk/libgit2sharp",
"max_stars_repo_path": "LibGit2Sharp/ReferenceCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87666"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using LibGit2Sharp.Core;
using LibGit2Sharp.Core.Handles;
namespace LibGit2Sharp
{
/// <summary>
/// The Collection of references in a <see cref = "Repository" /... | 2.847935 | 68a5178c505dfee8d4c93251534bbdda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87666 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Deusald/DeusaldPhysics2D",
"max_stars_repo_path": "DeusaldPhysics2D/DeusaldPhysics2D/Enums&Structs&Delegates/Delegates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87667"
} | starcoder | <gh_stars>1-10
using DeusaldSharp;
namespace DeusaldPhysics2D
{
public static class Delegates
{
public delegate float RayCastCallback(ICollider collider, Vector2 point, Vector2 normal, float fraction);
public delegate void SingleRayCastCallback(bool hit, Vector2 point, Vector2 normal,... | 2.106848 | bdb7ba7164c32601d5ad232294f88584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87667 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "rlabrecque/RLSolitaireBot",
"max_stars_repo_path": "Emgu.CV/Emgu.CV/PInvoke/iOS/libemgucv.linkwith.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87668"
} | starcoder | //----------------------------------------------------------------------------
// Copyright (C) 2004-2016 by EMGU Corporation. All rights reserved.
//----------------------------------------------------------------------------
#if __IOS__
using System;
using ObjCRuntime;
[assembly: LinkWith (
"libemgucv.a... | 1.348549 | dd70e0657edb5a26754c7e8d33d50247 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87668 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "HastenS/Zarf",
"max_stars_repo_path": "src/Zarf/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87669"
} | starcoder | <filename>src/Zarf/Extensions/StringExtensions.cs<gh_stars>10-100
namespace Zarf.Extensions
{
public static class StringExtensions
{
/// <summary>
/// 是否null或空字符串
/// </summary>
/// <param name="v"></param>
/// <returns></returns>
public static bool IsNullOrEmpt... | 3.301056 | ed0717c75fe85addbaf34d8914059f85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knutjelitto/NuBert",
"max_stars_repo_path": "Pliant/tests/Pliant.Tests.Common/StatefulForestNodeComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87670"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Pliant.Forest;
namespace Pliant.Tests.Common
{
public class StatefulForestNodeComparer : IEqualityComparer<IForestNode>
{
public StatefulForestNodeComparer()
{
this.traversed = new HashSet<IForestNode>();
}
public... | 2.386515 | 0ddcc3771666058c60e7654d5822bbfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87670 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "aritchie/beacons",
"max_stars_repo_path": "Plugin.Beacons/Platforms/iOS/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87671"
} | starcoder | <filename>Plugin.Beacons/Platforms/iOS/Extensions.cs
using System;
using Foundation;
namespace Plugin.Beacons
{
public static class Extensions
{
public static NSUuid ToNative(this Guid guid) => new NSUuid(guid.ToString());
public static Guid FromNative(this NSUuid uuid) => new Guid(uuid.AsStr... | 1.965303 | f6eceb88c31914dc23dabe4b0d48abde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avheerwaarde/SqlMemoryDb",
"max_stars_repo_path": "SqlParser/Exceptions/SqlInvalidVariableException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87672"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SqlMemoryDb.Exceptions
{
public class SqlInvalidVariableException : Exception
{
public SqlInvalidVariableException( string parameterName )
: base( $"Must declare the scalar variable '{parameterName}'" )
{... | 2.323028 | f350a3dfa20c670be82facc23dd3066d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87672 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BCProgramming/BASeBlock",
"max_stars_repo_path": "Poing2/ObjectPathData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87673"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Linq;
using BASeCamp.Elementizer;
namespace BASeCamp.BASeBlock
{
/... | 2.744433 | 4a25c96c13121731b1e792aef1bc4b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GrumpyBusted/Grumpy.Entity",
"max_stars_repo_path": "Grumpy.Entity/Interfaces/IDatabaseConnectionConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87674"
} | starcoder | <reponame>GrumpyBusted/Grumpy.Entity<gh_stars>0
using System.Diagnostics.CodeAnalysis;
namespace Grumpy.Entity.Interfaces
{
/// <summary>
/// Database Connection Configuration
/// </summary>
[SuppressMessage("ReSharper", "UnusedMemberInSuper.Global")]
public interface IDatabaseConnectionConfig
... | 2.147351 | 1dfe21cc437dec02ee49876a1a739ce9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/R/ResourceInUse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87675"
} | starcoder | <reponame>octansIt/environmentassessment<filename>EnvironmentAssessment.Wizard/Common/VimApi/R/ResourceInUse.cs<gh_stars>1-10
namespace EnvironmentAssessment.Common.VimApi
{
public class ResourceInUse : VimFault
{
protected string _type;
protected string _name;
public string Type
{
get
{
return this... | 1.956417 | eb3cb5e319c19bc463604369a0fc6eae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87675 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "loresoft/KickStart",
"max_stars_repo_path": "test/KickStart.DependencyInjection.Tests/UserDependencyInjectionRegistration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87676"
} | starcoder | using System;
using System.Collections.Generic;
using KickStart.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Test.Core;
namespace KickStart.DependencyInjection.Tests
{
public class UserDependencyInjectionRegistration : IDependencyInjectionRegistration
{
public void Regist... | 1.282755 | 379dab67d83477bb9eda797e15c0bb89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wuzi/pc-rpg-gt-mp",
"max_stars_repo_path": "src/Job/Taxi/Taxi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87677"
} | starcoder | using GrandTheftMultiplayer.Server.API;
using GrandTheftMultiplayer.Server.Elements;
using GrandTheftMultiplayer.Shared;
using pcrpg.src.Player.Utils;
using System.Collections.Generic;
namespace pcrpg.src.Job.Taxi
{
public class Taximeter
{
public bool Enabled { get; set; }
public int Fare { ... | 2.212795 | 8947908edc90f4c2a79a846676b29192 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VahidDalirii/MVC",
"max_stars_repo_path": "CustomerListWebApp/Repository/OrderRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87678"
} | starcoder | <reponame>VahidDalirii/MVC<gh_stars>0
using MongoDB.Bson;
using Repository.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Repository
{
public class OrderRepository
{
/// <summary>
/// Gets all orders and return a list of all orders
/// </summary>
... | 2.917069 | ae6bc417ecfc35cb070c3a549c5fccb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87678 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "linfx/MqttFx",
"max_stars_repo_path": "examples/SimpleClient/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87679"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace SimpleClient
{
class Program
{
static async Task Main(string[] args)
{
var host = HostingHostBuilderExtensions.ConfigureLo... | 2.142293 | fcd3ab293a41b0046915c92279187eed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87679 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fernandoescolar/Xunit.Assume",
"max_stars_repo_path": "src/Xunit.Assume/Assumptions/NotEquals/AssumeFluentExtensions.NotEquals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87680"
} | starcoder | <gh_stars>1-10
using System;
namespace Xunit
{
public static partial class AssumeFluentExtensions
{
[Obsolete("As Equals is an override of Object.Equals(). NotEquals has been replaced by NotEqual.", true)]
public static bool NotEquals<T>(this AssumeFluent<T> assumption, T target, string message... | 2.399922 | 4b2efae7842a1415c2108092b106a30f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frederickrogan/LintolChallengeOne",
"max_stars_repo_path": "Lintol/ComponentInspectors/LinkedInLinkInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87681"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Lintol.Domain;
namespace Lintol.ComponentInspectors
{
public class LinkedInLinkInspector : IInspectComponents
{
public IEnumerable<Information> Inspect(IList<Component> components)
{
return components
.Where... | 2.896605 | 66dbf19ffdb97a3a7ec848d093761468 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akien-mga/yknytt",
"max_stars_repo_path": "knytt/ui/touch/TouchSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87682"
} | starcoder | using Godot;
using System;
public class TouchSettings : Node
{
public enum VerticalPosition
{
Top = 0,
BelowTop = 1,
Center = 2,
AboveBottom = 3,
Bottom = 4
}
public static bool EnablePanel
{
get { return GDKnyttSettings.ini["TouchPanel"]["Enable"].Equals("1"); }
set
{
GDKnyttSettings.ini["To... | 2.153549 | 65f2740f116366dec009420baa9db6d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrAntix/gang",
"max_stars_repo_path": "src/Gang.Tests/State/Todos/TodosState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87683"
} | starcoder | using Gang.Tests.State.Todos.Add;
using Gang.Tests.State.Todos.Complete;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Gang.Tests.State.Todos
{
public sealed class TodosState
{
public TodosState(
IEnumerable<Todo>? todos = null
... | 2.719566 | 6fbc97535a7ee84400e59b5cdb9967f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87683 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "wtdcode/CelesteExtractor",
"max_stars_repo_path": "CelesteExtractor/Atlas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87684"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyMonocle
{
using Celeste = CelesteExtractor.Celeste.Celeste;
class Atlas
{
public List<VirtualTexture> Sources;
public enum AtlasDataFor... | 2.705079 | b4baeb94d1812e2db5d78e81c126c25a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87684 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JamesLaFritz/CoreFrameWork",
"max_stars_repo_path": "Runtime/Variables/Vector3Variable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87685"
} | starcoder | <reponame>JamesLaFritz/CoreFrameWork<filename>Runtime/Variables/Vector3Variable.cs
using UnityEngine;
[CreateAssetMenu(fileName = "Vector3Variable", menuName = "Variable/Vector3")]
public class Vector3Variable : VariableBase<Vector3>
{
public float X => Value.x;
public float Y => Value.y;
public float Z =>... | 2.35472 | fe35fc49c92655a21dc31898ab7a8517 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moonlay-technologies/moonlay-accountings",
"max_stars_repo_path": "src/ChartOfAccounts.Infrastructure/Repositories/EntryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87686"
} | starcoder | using ChartOfAccounts.Domain;
using ChartOfAccounts.Infrastructure.ReadModels;
using Moonlay.ExtCore.EntityFrameworkCore;
using Moonlay.ExtCore.Mvc.Abstractions;
using Newtonsoft.Json;
namespace ChartOfAccounts.Infrastructure.Repositories
{
public class EntryRepository : RepositoryMoonlay<EntryReadModel>, IEntryR... | 2.250573 | b5c0c4fbfeb704a3a20158d099ff2e2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coolcode/MonkeyHoldem",
"max_stars_repo_path": "MonkeyHoldem.App/MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87687"
} | starcoder | namespace MonkeyHoldem.App
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 2.237785 | ba2c813bf913f976634e40ab38a5de6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BGHDDevelopment/YouTubeFiveMLoadoutTutorial",
"max_stars_repo_path": "YouTubeLoadout/Class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87688"
} | starcoder | <reponame>BGHDDevelopment/YouTubeFiveMLoadoutTutorial
using System;
using System.Threading.Tasks;
using CitizenFX.Core;
namespace YouTubeLoadout
{
public class Class1 : BaseScript
{
public Class1()
{
Tick += OnTick;
EventHandlers["playerSpawned"] += new Action<Vector3>... | 2.095353 | b985e86ebd4c6b93aad38490f49a6b0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87688 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "satish860/AspNetMicroservices",
"max_stars_repo_path": "src/Services/Discount/Discount.Api/Api/GetDiscountByProductName/GetDiscountEndpoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87689"
} | starcoder | using Discount.Domain.Repository;
using FastEndpoints;
namespace Discount.Api.Api.GetDiscountByProductName
{
public class GetDiscountEndpoint : Endpoint<Request, Response>
{
private readonly IDiscountRepository repository;
public GetDiscountEndpoint(IDiscountRepository repository)
{
... | 2.321514 | 0ef73782fa948b07a960a88d9f8a3779 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87689 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xlxCLUxlx/BungieNetPlatform",
"max_stars_repo_path": "src/BungieNetPlatform/Model/DestinyHistoricalStatsDestinyHistoricalWeaponStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87690"
} | starcoder | <gh_stars>1-10
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: <EMAIL>
* Generated by: https://github... | 2.251855 | 77be9c1ec8f498a31c98de2e2bcd8e00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87690 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tslater2006/AdventOfCode2019",
"max_stars_repo_path": "Solutions/Year2019/Day20/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87691"
} | starcoder | using AdventOfCode.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace AdventOfCode.Solutions.Year2019
{
class Day20 : ASolution
{
int mapHeight;
int map... | 2.758761 | a51dd8e098bc7a6bf6690e87ef054a9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tobper/Domo",
"max_stars_repo_path": "src/Domo/Extensions/ArrayExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87820"
} | starcoder | using System;
using System.Diagnostics;
namespace Domo.Extensions
{
[DebuggerNonUserCode]
public static class ArrayExtensions
{
public static TConverted[] Convert<TOriginal, TConverted>(this TOriginal[] items, Func<TOriginal, TConverted> converter)
{
return Convert(items, (origi... | 2.866266 | be8aa1acea61cd0fa97a5453b9878487 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edelventhal/SimpleUnityStrings",
"max_stars_repo_path": "TextLocalizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87821"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
namespace SimpleUnityStrings
{
public class TextLocalizer : MonoBehaviour
{
public string key;
public string[] substitutions;
public void Start()
{
Text text = GetComponent<Text>();
if ( text != n... | 2.499437 | a3fe858764b1e2b552417a14a11a15c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ananace/SE-LogicSequencer",
"max_stars_repo_path": "Data/Scripts/LogicSequencer/UI/Components/SequenceComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87822"
} | starcoder | <filename>Data/Scripts/LogicSequencer/UI/Components/SequenceComponent.cs
using RichHudFramework.UI;
using VRageMath;
namespace LogicSequencer.UI.Components
{
public class SequenceComponent : SelectionBoxEntryTuple<LabelElementBase, object>, ISequenceContainer
{
// readonly List<TerminalPageBase> pages;... | 2.246163 | cb49ee1f727cd4b4ac820317f5a2cfab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tobli/jsii",
"max_stars_repo_path": "packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:878... | starcoder | <gh_stars>0
using Amazon.JSII.Runtime.Deputy;
namespace Amazon.JSII.Tests.CalculatorNamespace
{
/// <remarks>
/// <strong>Stability</strong>: Deprecated
/// </remarks>
[JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DeprecatedClass), fullyQualifiedName: "jsii-calc.DeprecatedClass", ... | 2.193789 | c567c9182d3854b8c2fe3b34266ab1b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chamons/async-void-no-more",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87824"
} | starcoder | <reponame>chamons/async-void-no-more
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Build.Locator;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.MSBuild;
using Mono.Options;
namespace async_void... | 2.609675 | 960e0ce3a033c55e91f0dc3cb49217eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cschen1205/myob-accounting-plugin",
"max_stars_repo_path": "Accounting.Db.OleDb/Elements/OleDbSelectTableCountStatement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87825"
} | starcoder | <filename>Accounting.Db.OleDb/Elements/OleDbSelectTableCountStatement.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Accounting.Db;
using Accounting.Db.Elements;
namespace Accounting.Db.OleDb.Elements
{
public class OleDbSelectTableCountStatement : DbSelectTableCoun... | 2.498104 | 2a3946a56a6e8da996f89c1e67895904 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87825 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "alexgithubber/XLE-Another-Fork",
"max_stars_repo_path": "Foreign/RibbonLib_v2.6/Ribbon/Controls/Properties/BooleanValuePropertyProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87826"
} | starcoder | //*****************************************************************************
//
// File: BooleanValuePropertyProvider.cs
//
// Contents: Definition for boolean value properties provider
//
//*****************************************************************************
using RibbonLib.Interop;
namespace... | 2.563636 | d9b4842c1f9d423d77bc3e5988bdbdf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "d-daniel-de-sousa/Liquid-Application-Framework",
"max_stars_repo_path": "src/Liquid.Domain/Extensions/ObjectExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87827"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
namespace Liquid.Domain
{ /// <summary>
/// Implement Extensions of all objects
/// </summary>
... | 3.081855 | 73589f7081421bb45134d4ce41b9c0b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhichaoXiang/X01",
"max_stars_repo_path": "X01.Core/Extensions/ObjectExt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87828"
} | starcoder | <reponame>ZhichaoXiang/X01
namespace X01 {
public static class ObjectExt{
public static bool IsRecycled(this object obj) {
try {
obj?.GetType();
return (false);
} catch(ObjectDisposedException) {
return (true);
}
... | 2.154812 | a92cf30aeff6882ad18e6ae995e77170 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/cpu.test/src/units/t_vand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87829"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.Intrinsics;
using static Root;
using... | 1.648424 | e416c399530da683a741e92bf0100ab2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87829 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sean-m/mre",
"max_stars_repo_path": "Model/Flow/AttributeFlowConcatenate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87830"
} | starcoder | namespace Granfeldt
{
using Microsoft.MetadirectoryServices;
using System;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
public class AttributeFlowConcatenate : AttributeFlowBase
{
public SourceExpressionBase[] SourceExpressions;
public override void Ge... | 2.339559 | 0ebc0316f15b13fd626f4b9e115ce0fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yataya1987/DataEntityFrameworkCoreMapping",
"max_stars_repo_path": "src/Equinox.Domain/Commands/TicketAddnewCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87831"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Equinox.Domain.Commands
{
public abstract class TicketAddnewCommand : Core.Commands.Command
{
public Guid Id { get; protected set; }
public string Name { get; protected set; }
public... | 1.810564 | d09998c6ae37bed69642803e7ef0e635 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotbehindyou/ihk-project",
"max_stars_repo_path": "src/SM.Database/Models/Table/SM_Modules_Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SM.Models.Table
{
public class SM_Modules_Config
{
public Guid Config_ID { get; set; }
public Guid Module_ID { get; set; }
public String FileName { get; set; }
public String Format { get; set; }
... | 1.7771 | 6c1df7e397bbd20ee9f9dcd5c99e803f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87832 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ooad-2018-2019/Grupa5-TripleDouble",
"max_stars_repo_path": "BestDeal/BestDeal/Migrations/20190618135736_dostaVala.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87833"
} | starcoder | <reponame>ooad-2018-2019/Grupa5-TripleDouble<filename>BestDeal/BestDeal/Migrations/20190618135736_dostaVala.cs<gh_stars>1-10
using Microsoft.EntityFrameworkCore.Migrations;
namespace BestDeal.Migrations
{
public partial class dostaVala : Migration
{
protected override void Up(MigrationBuilder migratio... | 2.15347 | 1d188fb6a8df480ccc3ddf95c28e96d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/shared/winerror/CONTEXT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87834"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from shared/winerror.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
publi... | 1.400359 | 86e429aaf3053e57f7b4490e0ff74822 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntonKrug/renode-modded",
"max_stars_repo_path": "src/Renode/PlatformDescription/Syntax/ReferenceValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87835"
} | starcoder | //
// Copyright (c) Antmicro
//
// This file is part of the Renode project.
// Full license details are defined in the 'LICENSE' file.
//
using Sprache;
namespace Antmicro.Renode.PlatformDescription.Syntax
{
public sealed class ReferenceValue : Value, IPrefixable, IPositionAware<ReferenceValue>
{
publ... | 2.273865 | 905f7f60c9d7156d663adedc3147a5a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zz110/andao",
"max_stars_repo_path": "OpenAuth.App/RoleApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87836"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.App.SSO;
using OpenAuth.Repository.Domain;
namespace OpenAuth.App
{
public class RoleApp : BaseApp<Role>
{
public RevelanceManagerApp ReleManagerApp ... | 1.997614 | 65a3afa73df5bf6273e8a2b1d42f13f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87836 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gdbobu/CocoStudio2.0.6",
"max_stars_repo_path": "CocoStudio.Model/DataModel/GameProjectLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87837"
} | starcoder | <filename>CocoStudio.Model/DataModel/GameProjectLoader.cs
// Decompiled with JetBrains decompiler
// Type: CocoStudio.Model.DataModel.GameProjectLoader
// Assembly: CocoStudio.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 9A645332-034C-44D3-9062-5E94EDCB75FF
// Assembly location: C:\Program Fil... | 1.665986 | d5927685ab783d5b41d5e4f955e774db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87837 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "ilclpj/UnityComponent",
"max_stars_repo_path": "Assets/Components/Common/Collections/GraphLinkList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87838"
} | starcoder | using System.Collections.Generic;
namespace CommonComponent
{
public class GraphLinkList<TKey, TValue>
{
private Dictionary<TKey, int> m_dict = null;
private List<int> m_head = null;
private List<int> m_nxt = null;
private List<TValue> m_value = null;
private int m_nodeC... | 2.971924 | ff24e6ef2c2dea794c7c70719ff9f068 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongxin3267/alabo",
"max_stars_repo_path": "src/01.framework/01-Alabo/Domains/Services/Update/UpdateBaseAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87839"
} | starcoder | using Alabo.Datas.Stores;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Dtos;
using Alabo.Domains.Entities;
using Alabo.Domains.Services.Sql;
using Alabo.Validations.Aspects;
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Alabo.Domains.Services.Update {
public abstract ... | 2.156076 | 944b3c3cef98c67496b42886065112c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87839 | {
"extension": "c-sharp",
"max_stars_count": "323.0",
"max_stars_repo_name": "dgerding/BrightstarDB",
"max_stars_repo_path": "src/tools/SparqlTestTasks/Sparql11Tests/Construct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87840"
} | starcoder | using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using NetworkedPlanet.Brightstar;
using NetworkedPlanet.Brightstar.Storage;
using NetworkedPlanet.Rdf;
using VDS.RDF;
using VDS.RDF.Parsing;
using VDS.RDF.Query;
using System.Linq;
namespace NetworkedPl... | 1.92532 | 3f77c8ad1ed3555ea57fdec6bc2131ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rainers/D_Parser",
"max_stars_repo_path": "DParser2/Resolver/Templates/TemplateValueParameterDeduction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87841"
} | starcoder | <filename>DParser2/Resolver/Templates/TemplateValueParameterDeduction.cs
using D_Parser.Dom;
using D_Parser.Resolver.ExpressionSemantics;
using D_Parser.Resolver.TypeResolution;
namespace D_Parser.Resolver.Templates
{
partial class TemplateParameterDeduction
{
bool Handle(TemplateValueParameter p, ISemantic arg)
... | 2.305223 | 16ce2c5d3d480d4a605d895f0f0e0351 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87841 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "felix-b/Hapil",
"max_stars_repo_path": "Source/Hapil/Closures/BindToMethodOperandVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87842"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hapil.Members;
using Hapil.Operands;
namespace Hapil.Closures
{
internal class BindToMethodOperandVisitor : OperandVisitorBase
{
private readonly MethodMember m_Method;
//------------------... | 2.558239 | 83c5a5da19e7976edc5a137beb328b52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87842 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "EajksEajks/StockTradingAnalysisWebsite",
"max_stars_repo_path": "StockTradingAnalysisWebsite/StockTradingAnalysis.Domain.Process/Repository/ProcessManagerRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87843"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using StockTradingAnalysis.Domain.Process.Exceptions;
using StockTradingAnalysis.Interfaces.Events;
using StockTradingAnalysis.Interfaces.ReadModel;
namespace StockTradingAnalysis.Domain.Process.Repository
{
/// <summary>
///... | 3.044942 | b9f6e7275ace61d6a2fef2cd4af1c186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xposure/Atma.Math",
"max_stars_repo_path": "tests/Atma/Math/Generated/Vec3/uint3.Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87844"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Numerics;
using System.Linq;
using NUnit.Framework;
using Newtonsoft.Json;
using Atma.Math;
// ReSharper disable InconsistentNamin... | 2.485757 | b008a14a0927c8eca432fecc8d3deea7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlteredCarrot71/openBVE_remake",
"max_stars_repo_path": "OpenBveApi/Runtime/IRuntime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87845"
} | starcoder | <filename>OpenBveApi/Runtime/IRuntime.cs
namespace OpenBveApi.Runtime
{
/// <summary>Represents the interface for performing runtime train services.</summary>
public interface IRuntime
{
/// <summary>Is called when the plugin is loaded.</summary>
/// <param name="properties">The properties ... | 2.695434 | 1402465b4f52ea731c450ecf78aeb06e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87845 | {
"extension": "c-sharp",
"max_stars_count": "222.0",
"max_stars_repo_name": "tianke3477/secs4net",
"max_stars_repo_path": "test/Secs4Net.UnitTests/ChunkedMemory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87846"
} | starcoder | using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Secs4Net;
[EditorBrowsable(EditorBrowsableState.Never)]
public struct ChunkedMemory<T>
{
private readonly Memory<T> _source;
private readonly int _chunkSize;
private int _start;
private int _end;
[MethodI... | 2.86534 | 7271f9d1abaca72519b3298ec48a5f24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alamshafil/ipa2deb",
"max_stars_repo_path": "ipa2deb/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87847"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ipa2deb
... | 2.373483 | 244f28afce58920fa04c621ee2d6b594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ImNotARobot742/DofusProtocol",
"max_stars_repo_path": "DofusProtocol/D2Parser/Protocol/Messages/game/context/roleplay/death/GameRolePlayPlayerLifeStatusMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87848"
} | starcoder |
// Generated on 03/23/2022 09:50:22
using System;
using System.Collections.Generic;
using System.Linq;
using AmaknaProxy.API.Protocol.Types;
using AmaknaProxy.API.IO;
using AmaknaProxy.API.Network;
namespace AmaknaProxy.API.Protocol.Messages
{
public class GameRolePlayPlayerLifeStatusMessage : NetworkMessage
... | 1.938258 | e60cd657a026b4b11527b65163080566 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87848 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexboia/Stakhanovise.NET",
"max_stars_repo_path": "LVD.Stakhanovise.NET.Common/StateController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87849"
} | starcoder | <gh_stars>1-10
//
// BSD 3-Clause License
//
// Copyright (c) 2020, <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the... | 2.25858 | 7e201e20829dd8adc113ad334c009edc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenucleus/nuclei.plugins",
"max_stars_repo_path": "src/Nuclei.Plugins.Core/PartRegistrationId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87850"
} | starcoder | //-----------------------------------------------------------------------
// <copyright company="TheNucleus">
// Copyright (c) TheNucleus. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//-------... | 2.763358 | 1cb9a41030acae3829b1b340606d8acf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Eikins/NoEngine",
"max_stars_repo_path": "Assets/Scripts/Core/Components/Renderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87851"
} | starcoder | <reponame>Eikins/NoEngine
using System.Runtime.CompilerServices;
using System;
namespace NoEngine
{
public class Renderer : Component
{
public Renderer(IntPtr handle) : base(handle) { }
public Material GetMaterial()
{
return GetMaterial(GetNativeHandle());
}
... | 1.944191 | 794cf480c336fa9cc50b6ef97c2034dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafalpienkowski/bookish-garbanzo",
"max_stars_repo_path": "src/CRM.Web/Features/Companies/CompanyViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87852"
} | starcoder | <reponame>rafalpienkowski/bookish-garbanzo
using System;
namespace CRM.Web.Features.Companies;
public class CompanyViewModel
{
public Guid Id { get; set; }
public string DomainName { get; set; }
public int NumberOfEmployees { get; set; }
} | 1.135494 | a6752ba1aa714f9fd0011d17cb80fb85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87852 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "pa-at/MQTTnet.App",
"max_stars_repo_path": "Source/MQTTnet.App/Pages/Connection/ProtocolVersionViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87853"
} | starcoder | using MQTTnet.Formatter;
namespace MQTTnet.App.Pages.Connection
{
public sealed class ProtocolVersionViewModel
{
public ProtocolVersionViewModel(string displayName, MqttProtocolVersion protocolVersion)
{
DisplayName = displayName;
Value = protocolVersion;
}
... | 2.06537 | 67bb6afde19441ec50c12d4dade93141 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87853 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "p-brito/MagicDb",
"max_stars_repo_path": "Prisma/Prisma.Core/Exceptions/PrismaError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87854"
} | starcoder | namespace Prisma.Core.Exceptions
{
public enum PrismaError
{
/// <summary>
/// Unspecified error.
/// </summary>
Unspecified,
/// <summary>
/// An error occurred while trying to delete the specified entity.
/// </summary>
ErrorDelete,
//... | 2.167002 | 76ada836d834633063f0b566dc3203b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87854 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "thelanmi/event-reminder",
"max_stars_repo_path": "EventReminder.Domain/Core/Abstractions/ISoftDeletableEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87855"
} | starcoder | <filename>EventReminder.Domain/Core/Abstractions/ISoftDeletableEntity.cs
using System;
namespace EventReminder.Domain.Core.Abstractions
{
/// <summary>
/// Represents the marker interface for soft-deletable entities.
/// </summary>
public interface ISoftDeletableEntity
{
/// <summary>
... | 2.690705 | 317708172e54cb1b5fb3745614d97d1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-employerfinance",
"max_stars_repo_path": "src/SFA.DAS.EmployerFinance.MessageHandlers/CommandHandlers/UpdateLevyDeclarationSagaProgressCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87856"
} | starcoder | <filename>src/SFA.DAS.EmployerFinance.MessageHandlers/CommandHandlers/UpdateLevyDeclarationSagaProgressCommandHandler.cs
using System.Threading.Tasks;
using MediatR;
using NServiceBus;
using SFA.DAS.EmployerFinance.Application.Commands.UpdateLevyDeclarationSagaProgress;
namespace SFA.DAS.EmployerFinance.MessageHandler... | 1.953452 | 1f19408d56becdbc1dc6aca812834c61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "S2SKY/StardewValleyMods-1",
"max_stars_repo_path": "TehPers.CoreMod/ModCore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87857"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using System;
using System.Linq;
using TehPers.CoreMod.Api;
using TehPers.CoreMod.Api.Items;
using TehPers.CoreMod.Config;
using TehPers.CoreMod.ContentPacks;
using TehPe... | 1.96112 | 4c2fde3b8b6ccbce2adafc5258bddbf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndhisrfzs/GFrame",
"max_stars_repo_path": "Assets/Project/Scripts/Movie/SwitchMovie.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87858"
} | starcoder | <filename>Assets/Project/Scripts/Movie/SwitchMovie.cs
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
public class SwitchMovie : MonoBehaviour {
public Transform p1;
public Transform p2;
public Toggle Male;
public Toggle Female;
private bool isMale = true;
private bool isMovie = fa... | 2.536772 | b2312ece0a25d554bc8db7c341b468d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anokta/vibrant_t",
"max_stars_repo_path": "Assets/Scripts/CameraController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87859"
} | starcoder | <filename>Assets/Scripts/CameraController.cs<gh_stars>0
using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
public Vector3 ScreenSize {
get { return screenSize; }
}
public Vector3 ScreenLeft {
get { return Vector3.Scale(0.5f * Vector3.left, screenSize); }
}
... | 2.465226 | b1cc22c83adf04fcdcd477853cf808de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87859 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Jerry2157/Inmerse-Learning",
"max_stars_repo_path": "Assets/Watson/Scripts/Services/Assistant/v1/Model/MessageResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87860"
} | starcoder | <filename>Assets/Watson/Scripts/Services/Assistant/v1/Model/MessageResponse.cs
/**
* Copyright 2018 IBM Corp. 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
*
* htt... | 1.89263 | 3aa733525db6fca5c6d2c9ddbb4e88a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87860 | {
"extension": "c-sharp",
"max_stars_count": "332.0",
"max_stars_repo_name": "Grom-Li/WindowsProtocolTestSuites",
"max_stars_repo_path": "ProtoSDK/MS-CIFS/Messages/Com/SmbReadAndxRequestPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87861"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Microsoft.Protocols.TestTools.StackSdk;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Cifs
{... | 2.023328 | 8847e3dd0c886cf14a76b9e68e35c413 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87861 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "criedel/UIForia",
"max_stars_repo_path": "Packages/UIForia/Src/Systems/SVGXRenderSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87862"
} | starcoder | <filename>Packages/UIForia/Src/Systems/SVGXRenderSystem.cs
// using System;
// using SVGX;
// using UIForia.Elements;
// using UIForia.Extensions;
// using UIForia.Layout;
// using UIForia.Rendering;
// using UIForia.Util;
// using UnityEngine;
//
// namespace UIForia.Systems {
//
// public enum BorderType {
//
// ... | 2.030925 | 4f410065675d470a8d22538ff9c8a404 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87862 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "uliian/easyRBAC",
"max_stars_repo_path": "easyRBAC/src/EasyRbac.Web/WebExtentions/ResourceTagAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87863"
} | starcoder | using System;
using System.ComponentModel;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Filters;
namespace EasyRbac.Web.WebExtentio... | 2.541901 | db2a6049c5700c9ea6f3d41f98c3a5d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87863 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "gfoidl/Base64",
"max_stars_repo_path": "tests/gfoidl.Base64.Tests/Internal/Base64EncoderTests/Encode/EmptyInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87864"
} | starcoder | using System;
using System.Buffers;
using gfoidl.Base64.Internal;
using NUnit.Framework;
namespace gfoidl.Base64.Tests.Internal.Base64EncoderTests.Encode
{
[TestFixture(typeof(byte))]
[TestFixture(typeof(char))]
public class EmptyInput<T> where T : unmanaged
{
[Test]
[TestCase(true)]
... | 2.208158 | bdc4d6524347b4e8bfe967a117229b64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87864 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Xytabich/Katsudon",
"max_stars_repo_path": "Assets/Katsudon/Editor Scripts/Window/UMachineStateView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87865"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using UnityEditor;
using UnityEngine;
using VRC.Udon;
using VRC.Udon.Common.Interfaces;
namespace Katsudon.Editor
{
public class UMachineStateView : EditorWindow
{
private UdonBehavio... | 2.068534 | 83b60b95fe6e28d1f8cdcafff60a43fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "STARasGAMES/Save-System",
"max_stars_repo_path": "Assets/SaG/SaveSystem/Runtime/RuntimeInstancesManagement/AssetResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87866"
} | starcoder | <filename>Assets/SaG/SaveSystem/Runtime/RuntimeInstancesManagement/AssetResolver.cs
using System;
using System.Collections.Generic;
using UnityEngine;
namespace SaG.SaveSystem.RuntimeInstancesManagement
{
public class AssetResolver : IAssetResolver
{
private readonly IDictionary<string, GameObject> _a... | 2.98092 | 12da60b7e63bac64654455ae2fd7679a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terry-u16/AtCoder",
"max_stars_repo_path": "JudgeSystemUpdateTestContest202004/JudgeSystemUpdateTestContest202004/JudgeSystemUpdateTestContest202004/Questions/QuestionD.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87867"
} | starcoder | <reponame>terry-u16/AtCoder
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
using JudgeSystemUpdateTestContest202004.Questions;
using JudgeSystemUpdateTestContest202004.Extensions;
using JudgeSystemUpdateTestContest202004.Algorithms;
... | 2.983016 | 770f297015acbc234326ba5bfb740e9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87867 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "cvalle96/TP",
"max_stars_repo_path": "ExDataManagement/P06.GraphicalData/GraphicalData.View/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87868"
} | starcoder |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("TP.GraphicalData.View")]
[assembly: AssemblyDescription("Graphical data view layer implementation")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("<NAME>")]
[assembly: AssemblyProduct("T... | 1.668939 | 38190e940664359a7cd946827c418115 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87868 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "MoosheTV/ScriptHookRDR2DotNet",
"max_stars_repo_path": "source/core/NativeMemory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87869"
} | starcoder | //
// Copyright (C) 2015 crosire & contributors
// License: https://github.com/crosire/ScriptHookRDR2dotnet#license
//
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Syste... | 2.392084 | 7ae4e9af387b586736add7c8626c3f43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87869 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RodrigoBernardino/AwesomeAuditing",
"max_stars_repo_path": "src/AwesomeAuditing.Initialization/AuditingHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87870"
} | starcoder | using AwesomeAuditing.Domain;
namespace AwesomeAuditing.Initialization
{
/// <summary>
/// This class holds the custom AwesomeAuditing user handler.
/// </summary>
/// <seealso cref="AwesomeAuditing.Domain.IAuditingHandler" />
internal class AuditingHandler : IAuditingHandler
{
/// <su... | 2.719553 | 6705860700ad07bfeea471d62adb231c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeamonHunter/AWBW-Replay-Player",
"max_stars_repo_path": "AWBWApp.Game/UI/Components/Tooltip/RollingCounterWithTooltip.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87871"
} | starcoder | using System;
using AWBWApp.Game.UI.Replay;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
namespace AWBWApp.Game.UI.Components.Tooltip
{
public class RollingCounterWithTooltip<T> : RollingCounter<T>, IHasTooltip where T : struct, IEquatable<T>
{
public string Tooltip { get; se... | 1.682581 | a6890fa3590cd6c57085d779dc2826e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GDtiger/TheDark",
"max_stars_repo_path": "Assets/Scripts/UI/UI_LoadingScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87872"
} | starcoder | using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_LoadingScreen : MonoBehaviour
{
public Image fade;
public TMPro.TMP_Text timeText;
private void Update()
{
timeText.text = Time.time.ToString();
}
pu... | 2.195549 | 96f7715df8a65ab26489d9ccbb776e4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnderNotic/dreamBox",
"max_stars_repo_path": "LoveMeBetter/Enums/TransactionStatusEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87873"
} | starcoder | <reponame>UnderNotic/dreamBox
namespace LoveMeBetter.Enums
{
public enum TransactionStatusEnum
{
Unpaid = 0,
InProgress = 1,
Paid = 2
}
} | 1.024701 | c32adb92a3fb2c275a9691e8002911e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87873 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "ffff8888303/ATA-GUI",
"max_stars_repo_path": "ATA-GUI/Forms/DefaultApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87874"
} | starcoder | <gh_stars>10-100
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;
namespace ATA_GUI
{
public partial class DefaultApp : Form
{
readonly ... | 2.344354 | fe384fb3ef955610ca4e39e04dae303b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "komunre/space-station-14",
"max_stars_repo_path": "Content.Client/GameObjects/Components/Observer/GhostRolesEui.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87875"
} | starcoder | <reponame>komunre/space-station-14
using Content.Client.Eui;
using Content.Shared.Eui;
using Content.Shared.GameObjects.Components.Observer;
using JetBrains.Annotations;
namespace Content.Client.GameObjects.Components.Observer
{
[UsedImplicitly]
public class GhostRolesEui : BaseEui
{
private readon... | 1.868664 | 5eea291d09c6221cb4830c4f809e2e25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87875 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GoldenBread/Cake.Storm",
"max_stars_repo_path": "fluent/src/Cake.Storm.Fluent/Common/ContextAwareBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87876"
} | starcoder | <reponame>GoldenBread/Cake.Storm<gh_stars>1-10
using Cake.Storm.Fluent.Interfaces;
namespace Cake.Storm.Fluent.Common
{
internal abstract class ContextAwareBase : IContextAware
{
public IFluentContext Context { get; }
protected ContextAwareBase(IFluentContext context)
{
Context = context;
}
}
} | 1.83538 | d3a73280c4691fdfed9dae61d8dfccf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoYeRsOl/AutoClicker",
"max_stars_repo_path": "Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87877"
} | starcoder | <filename>Form1.Designer.cs
namespace AutoClicker
{
partial class Form1
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые р... | 2.377842 | 204bea1eb55f7e7062a995967aa869d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87877 | {
"extension": "c-sharp",
"max_stars_count": "1472.0",
"max_stars_repo_name": "Nongzhsh/Magicodes.IE",
"max_stars_repo_path": "src/Magicodes.IE.Benchmarks/tpl1.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:87878"
} | starcoder | <reponame>Nongzhsh/Magicodes.IE<gh_stars>1000+
@using System.Data
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<title></title>
<style type="text/css">
table, th, td {
border: 1px solid grey;
border-collapse: collapse;
... | 2.640009 | 45c65a7429cf2e4b508ea8bad641f7bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "I-AM-INSANE/WizardSurvival",
"max_stars_repo_path": "Assets/Scripts/Player/UI_SpellSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87879"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using TMPro;
enum GameStates
{
pause,
resume
}
public class UI_SpellSelector : MonoBehaviour
{
#region Fields
[SerializeField] private Button topButton;
[SerializeField] private Button botButton;
private SpellLevelController spellLevelController;
... | 2.148881 | a4fa244ae404dd7b791366021ca9c1b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "southernwind/Gohan",
"max_stars_repo_path": "MealRecipes.Extensions/CompareEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87880"
} | starcoder | using System.Collections.Generic;
namespace SandBeige.MealRecipes.Extensions {
public static class CompareEx {
public static bool IsBetween<T>(this T @this, T start, T end) {
return Comparer<T>.Default.Compare(@this, start) >= 0
&& Comparer<T>.Default.Compare(@this, end) <= 0;
}
}
}
| 2.940378 | df54d9f2c6a0c2e05161e18341722efa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87880 | {
"extension": "c-sharp",
"max_stars_count": "215.0",
"max_stars_repo_name": "ThreeSevenths/Remote.Linq",
"max_stars_repo_path": "test/Remote.Linq.Tests/Serialization/Expressions/When_using_LambdaExpression_returnung_a_type.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87881"
} | starcoder | <gh_stars>100-1000
// Copyright (c) <NAME>. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Tests.Serialization.Expressions
{
using Remote.Linq.ExpressionVisitors;
using Shouldly;
using System;
using System.Collections.Generic;
using System.L... | 1.890061 | 622e4660c00d441e332ec90cece100c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qq863391602/demo",
"max_stars_repo_path": "T4-Template-POCO-Example/Export/SpecialClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87882"
} | starcoder | using System;
using NPoco;
using System.ComponentModel.DataAnnotations;
namespace Electric.Domain.Entities
{
/// <summary>
/// Represents a SpecialClass.
/// NOTE: 这个类是从T4模板生成的——你不应该手动修改它。
/// </summary>
[MetadataType(typeof(SpecialClassMetadata))]
[PrimaryKey("SpecialClassID")]
[TableName("[dbo].[... | 2.730275 | 94cf0185f329ad5aed25b41380906391 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sangtran-t/movie-recommender",
"max_stars_repo_path": "mobile/Recommender/Recommender/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87883"
} | starcoder | <gh_stars>0
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Recommender.Views;
namespace Recommender
{
public partial class App : Application
{
public static string Algorithm { get; set; }
private Page mainTabbedPage;
public App()
{
InitializeComp... | 1.647232 | da6d865ad643e21e63481b44d187217f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "btihanyi/NovaPagedList",
"max_stars_repo_path": "src/NovaPagedList.Tests/PagedListTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87884"
} | starcoder | <reponame>btihanyi/NovaPagedList
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Xunit;
namespace NovaPagedList.Tests
{
public class PagedListTests
{
private static IEnumerable<(int pageNumber, int pageSize, int totalItemCount)> GetMetadata()
... | 2.541621 | 6c2b8c4860f697db1b8d59df3869f892 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87884 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "CristianoNunes1000/OnlyV",
"max_stars_repo_path": "OnlyV.Themes.Common/Specs/OnlyVVerseNumberSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87885"
} | starcoder | <filename>OnlyV.Themes.Common/Specs/OnlyVVerseNumberSpec.cs
namespace OnlyV.Themes.Common.Specs
{
// ReSharper disable MemberCanBePrivate.Global
public class OnlyVVerseNumberSpec
{
public OnlyVVerseNumberSpec()
{
Show = true;
Style = OnlyVFontStyle.Normal;
... | 2.45557 | 4f80b42efd601454d9ed96e0af52e291 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cityscapesc/specobs",
"max_stars_repo_path": "main/external/dev/Server/MS.Analysis.DataProcessor/AggregationDataProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87886"
} | starcoder | <gh_stars>0
// 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
//
// THIS CODE IS... | 2.268517 | 41f01fbd442b167d47f00ce5d78ca71b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87886 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "borrrden/borrrbot",
"max_stars_repo_path": "borrrbot.Engine/API/OBS/AudioService/IAudioSourceApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87887"
} | starcoder | //
// IAudioSourceApi.cs
//
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by a... | 1.790975 | 60cf6842312c59668493e23f82e90d35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jitendrapatidar/ShopBridge",
"max_stars_repo_path": "Libraries/SB.Service/Mapper/EntityMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87888"
} | starcoder | <filename>Libraries/SB.Service/Mapper/EntityMapper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using SB.Model;
using SB.Repository.TableModel;
namespace SB.Service
{
/// <summary>
///
/// </summary>
//... | 2.800019 | a709ca4102c854b186cfecb747ce99d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87888 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "ThomasMiz/TrippyGL",
"max_stars_repo_path": "TrippyTests/TexturedTriangles/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87889"
} | starcoder | <reponame>ThomasMiz/TrippyGL
namespace TexturedTriangles
{
class Program
{
static void Main(string[] args)
{
new TexturedTriangles().Run();
}
}
}
| 1.462762 | d04d4c43664d891468f6d1a11a03cc18 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.