added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849412 | {
"extension": "c-sharp",
"max_stars_count": "2208.0",
"max_stars_repo_name": "b11p/mongo-csharp-driver",
"max_stars_repo_path": "tests/MongoDB.Driver.Tests/JsonDrivenTests/JsonDrivenRecordPrimaryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168632"
} | starcoder | /* Copyright 2020-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 1.997093 | ed6bde1ec9409342d04e3ff0277ead01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849413 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "Color-Chan/Color-Chan.Discord",
"max_stars_repo_path": "src/Color-Chan.Discord.Rest/Results/DiscordHttpErrorResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168633"
} | starcoder | <filename>src/Color-Chan.Discord.Rest/Results/DiscordHttpErrorResult.cs
using System.Net;
using Color_Chan.Discord.Core.Common.API.DataModels.Errors;
namespace Color_Chan.Discord.Rest.Results
{
/// <summary>
/// A Discord HTTP error result.
/// </summary>
public record DiscordHttpErrorResult : Htt... | 2.682065 | 566d0bb316797bcbc290644684970562 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849414 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "flaviogf/Cursos",
"max_stars_repo_path": "geral/mini_curso_megaman_unity/Assets/Scripts/JogadorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168634"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Assets.Scripts
{
public class JogadorController : MonoBehaviour
{
private Collider2D _collider2D;
private Rigidbody2D _rigidbody2D;
private bool _estaNoChao = true;
private Animator _an... | 2.164545 | b2206ff2ca93da3d4a71370ee3af8b98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849415 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sozuer53/BBC",
"max_stars_repo_path": "Server/BBC_API/src/BBC.API/Helper/Attribute/AuthFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168635"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BBC.API.Helper.Attribute
{
public class AuthFilter : IAuthorizationFilter
... | 1.947417 | 58b3daac316ac4440053f9034d293d53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deinman/Projects",
"max_stars_repo_path": "CompositeImages/CompositeImages/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168636"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using System.Windows.Forms;
namespace CompositeImages
{
public partial clas... | 2.835479 | 206b2fb19954ffe0dd8b62c1bf748893 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "s-kostyuk/labs_sys_soft",
"max_stars_repo_path": "lab5_v8/lab5_v8/Tests/RandomSortedDoubleGeneratorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168637"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace lab5_v8
{
[TestFixture ()]
public class RandomSortedDoubleGeneratorTest
{
[Test ()]
public void TestGeneratedArrayIsSorted ()
{
const double min_value = 0;
double old_item = min_value;
IEnumerable<double> generator = (... | 2.704198 | 901896c11b535cc2c3a98df9d933f04c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JBlazingSun/CSharpCommonDll",
"max_stars_repo_path": "CSharpCommonDll/CSharpCommonDll/Excel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168638"
} | starcoder | <reponame>JBlazingSun/CSharpCommonDll
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syste... | 2.432033 | 91858db23bf1ce9c29a9411fc89471a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849419 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "limo1996/PiStudio",
"max_stars_repo_path": "SpeechIntegrator.Win10/SRGS/Token.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168639"
} | starcoder | using System;
using System.Xml.Serialization;
namespace PiStudio.Win10.Voice.Srgs
{
/// <summary>
/// Contains a string that a speech recognizer can use for recognition and optionally specifies the display
/// form of the string and the precise pronunciation that will trigger recognition.
/// </summary>
public ... | 3.039176 | 3e652a74d72382d05f435e6cd6b4342a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CryptoSwapper/DiscordChatExporter",
"max_stars_repo_path": "DiscordChatExporter.Core/Internal/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168640"
} | starcoder | using System;
using System.Drawing;
using System.Net;
namespace DiscordChatExporter.Core.Internal
{
internal static class Extensions
{
public static string ToSnowflake(this DateTime dateTime)
{
const long epoch = 62135596800000;
var unixTime = dateTime.ToUniversalTime()... | 2.838972 | 2e2fa461c051ed8484ad05380a218541 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849421 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "amazing-andrew/FtpServer",
"max_stars_repo_path": "src/FtpServer.Core/Commands/Pass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168641"
} | starcoder | <reponame>amazing-andrew/FtpServer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FtpServer.Core.Commands
{
public class Pass : FtpCommand
{
private const string SendUserFirst = "503 Send USER command first";
... | 2.500358 | 48e61dcb9cee12107f47bb3f69969698 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arturnista/ld45_unity",
"max_stars_repo_path": "Assets/Bosses/Earth Boss/Script/EarthBossHealth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168642"
} | starcoder | <reponame>arturnista/ld45_unity<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class EarthBossHealth : MonoBehaviour
{
[SerializeField]
private UnityEvent KillTrigger;
[SerializeField]
private float totalHealthPoints;
priv... | 1.885826 | 3263c20c57fcef352e100bc8317b3ea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jerpenol/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/ContentVariationMigration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168643"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NPoco;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
using Umbraco.Core.Persistence.Dtos;
namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0
{
public class... | 2.068081 | 7f455154c8b8148fd7d2a5d0791c14c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849424 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "matheus-vieira/OracleExample",
"max_stars_repo_path": "src/UniOpet/DataAPI/Context/UniOpetDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168644"
} | starcoder | <filename>src/UniOpet/DataAPI/Context/UniOpetDbContext.cs
namespace DataAPI.Context
{
public partial class UniOpetDbContext : System.Data.Entity.DbContext
{
public UniOpetDbContext() : base("UniOpetConnection")
{
Configuration.LazyLoadingEnabled = false;
Configura... | 2.715664 | 93f0aa2458d0a497c6acb49675330a48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkoritzinsky/xharness",
"max_stars_repo_path": "src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TouchUnitResultParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168645"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Xml;
#nullable enable
namespace Microsoft.DotNet.XHarness.iOS.Shared.XmlResults;
pu... | 2.266093 | 13e62e14bc495350313f878de2dcb260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ayecue/PseudoScript",
"max_stars_repo_path": "PseudoScriptTests/IntrinsicsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168646"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PseudoScript;
using PseudoScript.Interpreter;
using PseudoScript.Interpreter.Types;
using PseudoScript.Interpreter.Handler;
using System.Collections.Generic;
using System.Threading.Tasks;
using VerifyMSTest;
namespace IntrinsicsTests
{
[TestClass()]
pu... | 2.02549 | 4cc3a4eff7fa5f372ee42b445ff9686f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "apulliam/PiSprinkler.Net",
"max_stars_repo_path": "SprinklerCore/Zone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168647"
} | starcoder | using Newtonsoft.Json;
namespace SprinklerCore
{
public sealed class Zone : WeeklyRange
{
public int Id
{
get;
private set;
}
internal Zone(int zoneId, int startMinuteOfWeek, int runTime)
{
Id = zoneId;
RunTime = runTime;... | 2.942416 | 48640a99cfe7f5d31b90a81c6c2f8f5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.Lombardy.Test",
"max_stars_repo_path": "source/R5T.Lombardy.Test/Code/Test Fixtures/StringlyTypedPathOperatorTestArticleTestFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168648"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace R5T.Lombardy.Test
{
public abstract class StringlyTypedPathOperatorTestArticleTestFixture
{
#region Test-Fixture
public IStringlyTypedPathOperatorTestArticle StringlyTypedPathOperatorTestArticle { get; se... | 1.741785 | 2a00a883018a3ed6e53314a39c0c9252 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apatbizen/AnagramAnalyzer",
"max_stars_repo_path": "AnagramAnalyzerTest/UnorderCharsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168649"
} | starcoder | <reponame>apatbizen/AnagramAnalyzer
using AnagramAnalyzer;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Tests {
public class UnorderCharsTest {
private Comparer<char> comparer = new SimpleComparer();
[Test]
public void 生成とプロパティ() {
... | 2.874877 | 25b2dbb9f2d862d087282bb825fc6521 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849430 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "91651/-",
"max_stars_repo_path": "Data/App.DbAccess.Entities/Identity/UserToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168650"
} | starcoder | <reponame>91651/-<filename>Data/App.DbAccess.Entities/Identity/UserToken.cs
using Microsoft.AspNetCore.Identity;
namespace App.DbAccess.Entities.Identity
{
public class UserToken : IdentityUserToken<string>
{
}
}
| 1.324536 | f1170946be6c824fcd7132a8cc215b08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849431 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wanglong/CanalSharp",
"max_stars_repo_path": "src/CanalSharp.Protocol/Position/TimePosition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168651"
} | starcoder | namespace CanalSharp.Protocol.Position
{
public class TimePosition: Position
{
protected long? Timestamp { get; }
public TimePosition(long? timestamp)
{
Timestamp = timestamp;
}
public override int GetHashCode()
{
const int prime = 31;
... | 3.096805 | be94c22d70bd5461e9ff7b3434177610 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.tl-matching",
"max_stars_repo_path": "src/Sfa.Tl.Matching.Models/Enums/AupaStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168652"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.tl-matching
// ReSharper disable UnusedMember.Global
namespace Sfa.Tl.Matching.Models.Enums
{
public enum AupaStatus
{
Active = 1,
Understand,
Planning,
Aware
}
} | 1.182642 | cf309f0150c36263b6a4d4adc2f57102 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UUSR/BitcoinABC",
"max_stars_repo_path": "BitcoinABC/Internal/Sha256/Sha256T.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168653"
} | starcoder | <gh_stars>0
namespace BitcoinABC.Internal.Sha256
{
class Sha256T
{
public uint[] S;
public uint[] Buf;
public uint Bytes;
public Sha256T()
{
this.S = new uint[8];
this.Buf = new uint[16];
this.Bytes = 0U;
}
}
}
| 1.596477 | 88d7599dbf5123a225b9bf8f7c02f02b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Csr92/OpheliaTest",
"max_stars_repo_path": "BackEnd/Ophelia/Dao/Model1.Context.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168654"
} | starcoder | <reponame>Csr92/OpheliaTest
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritte... | 1.901778 | 69d061ee7ca8541ed77d9641caa90508 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkesicki/sfdc-import",
"max_stars_repo_path": "Parser/IParserInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168655"
} | starcoder | using System;
using System.Collections.Generic;
namespace SFDCImport.Parser
{
interface IParserInterface
{
Dictionary<String, String> Row { get; set; }
public Dictionary<string, List<string>> Header { get; set; }
public Dictionary<string, List<string>> Relations { get; set; }
... | 1.990661 | 0d6c48cc6fe496f78f51f0220dd24a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849436 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Spoiledpay/Newboo",
"max_stars_repo_path": "BooLangCompiler/Boo/Lang/Compiler/Ast/INodeWithParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168656"
} | starcoder | <reponame>Spoiledpay/Newboo
namespace Boo.Lang.Compiler.Ast
{
public interface INodeWithParameters
{
ParameterDeclarationCollection Parameters { get; }
}
}
| 1.141166 | 731a4d493bf2f992e75d2c200977f88e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849437 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "arsher/signalr.pipes",
"max_stars_repo_path": "src/SignalR.Pipes/Configuration/HostOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168657"
} | starcoder | <filename>src/SignalR.Pipes/Configuration/HostOptions.cs<gh_stars>1-10
using System;
namespace SignalR.Pipes.Configuration
{
/// <summary>
///
/// </summary>
public sealed class HostOptions
{
/// <summary>
///
/// </summary>
public Uri Uri { get; set; ... | 1.940938 | ef4ca5de3e46278e8368c83f2e05813f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849438 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "advorange/Advobot",
"max_stars_repo_path": "src/Advobot.Core/Interactivity/Criterions/EnsureSourceChannelCriterion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168658"
} | starcoder | using Discord;
using Discord.Commands;
namespace Advobot.Interactivity.Criterions;
/// <summary>
/// Determines if a message is from the source channel.
/// </summary>
public sealed class EnsureSourceChannelCriterion : ICriterion<IMessage>
{
/// <inheritdoc />
public Task<bool> JudgeAsync(ICommandContext context, ... | 2.385714 | e6a32330a2b322635079f83e3315f5c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgeerofei/GildedRose-Refactoring-Kata-C-",
"max_stars_repo_path": "csharpcore/Tests/ConjuredItemTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168659"
} | starcoder | using Xunit;
using System.Collections.Generic;
using csharpcore.Items;
namespace csharpcore.Tests
{
public class ConjuredItemTests
{
[Theory]
[InlineData(10, 1, 9)]
[InlineData(10, 5, 5)]
[InlineData(10, 10, 0)]
[InlineData(10, 30, -20)]
public void Test_Conjure... | 2.693563 | 3d08092da517c3d057e1c0889c7079b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carlinhao/crud-employee",
"max_stars_repo_path": "src/employers.domain/Entities/Occupation/OccupationEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168660"
} | starcoder | <reponame>Carlinhao/crud-employee
using FluentValidation;
namespace employers.domain.Entities.Occupation
{
public class OccupationEntity : EntityBase
{
public string NameOccupation { get; set; }
public string LevelOccupation { get; set; }
}
public class OccupationEntityValidator : Abs... | 2.521415 | a9efdb510e743be0beeae6c3715f8527 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pocheshire/AppRopio.Mobile",
"max_stars_repo_path": "src/app-ropio/AppRopio.Base/Map/Core/ViewModels/Points/PointAdditionalInfoVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168661"
} | starcoder | using System.Threading.Tasks;
using System.Windows.Input;
using AppRopio.Base.Core.Extentions;
using AppRopio.Base.Core.ViewModels;
using AppRopio.Base.Map.Core.Models.Bundle;
using AppRopio.Base.Map.Core.ViewModels.Points.List.Items;
using MvvmCross.Core.ViewModels;
namespace AppRopio.Base.Map.Core.ViewModels.Point... | 1.803386 | 8e753eb73f46d00f5f08965d28f44a0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849442 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "zyzsdy/NegativeEncoder",
"max_stars_repo_path": "NegativeEncoder/EncodingTask/TaskArgs/AudioEncoding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168662"
} | starcoder | using NegativeEncoder.Presets;
using NegativeEncoder.Utils;
using System;
using System.IO;
using System.Text;
namespace NegativeEncoder.EncodingTask.TaskArgs
{
public class AudioEncoding
{
public static (string exefile, string args) Build(string param, string input, string output, Preset preset, bool ... | 2.068753 | f6df0fd145f33b2c0c63359fedba5b46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "radiborisov/OGS-OwnGiveSave",
"max_stars_repo_path": "OwnGiveSave-Web/Services/OwnGiveSave.Services.Data/DonorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168663"
} | starcoder | namespace OwnGiveSave.Services.Data
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using OwnGiveSave.Data.Common.Repositories;
using OwnGiveSave.Data.Models;
using OwnGiveSave.Data.Models.Enums;
using OwnGiveSa... | 2.595854 | 0c7387093fbaa2a3984c54a401816b31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849444 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "lbragaglia/Carrot",
"max_stars_repo_path": "src/Carrot.NLog/LogWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168664"
} | starcoder | <reponame>lbragaglia/Carrot
using System;
using Carrot.Logging;
using global::NLog;
namespace Carrot.NLog
{
public class LogWrapper : ILog
{
private readonly ILogger _logger;
public LogWrapper(ILogger logger)
{
_logger = logger ?? throw new ArgumentNullException(nameof(logg... | 2.449616 | 277f8cb83f8c0eabc7a7e04e11deb0e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SikanaAli/Deserter-2D-Project-Files",
"max_stars_repo_path": "Assets/Sprites/Plugins/BehaviourMachine/Wrapper/UnityEventState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168665"
} | starcoder | //----------------------------------------------
// Behaviour Machine
// Copyright © 2014 <NAME>
//----------------------------------------------
#if !UNITY_4 && !UNITY_4_1 && !UNITY_4_3 && !UNITY_4_5
using UnityEngine;
using System.Collections;
namespace BehaviourMachine {
/// <summary>
/// Wrap... | 1.545788 | 5a58678c2424316021e0034aaf69fb8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/asm/src/services/extract/ops/LogRegions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168666"
} | starcoder | <filename>src/asm/src/services/extract/ops/LogRegions.cs
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
partial ... | 1.463626 | 72ec17b65465f8fa724a3f7a315f75b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849447 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MadCowDevelopment/PlayStats",
"max_stars_repo_path": "PlayStats/Data/Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168667"
} | starcoder | using System;
using System.Reflection;
namespace PlayStats.Data
{
public class Entity
{
public Guid Id { get; set; }
internal void SetProperties(Entity entity)
{
if (entity == null) throw new InvalidOperationException("The entity cannot be null.");
if (GetType(... | 3.058135 | b9c0ea6f3740c7bf254d704c9403ba30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SteffenHeidrich/IdentityServer4.Contrib.HttpClientService",
"max_stars_repo_path": "test/IdentityServer4.Contrib.HttpClientService.IntegrationTestsProject.Tests/IntegrationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168668... | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Microsoft.AspNetCore.Mvc.Testing;
using Xunit;
namespace IdentityServer4.Contrib.HttpClientService.IntegrationTestsProject.Tests
{
public class IntegrationTests
: IClassFixture<WebApplicationFactory<... | 2.24528 | be7340f8ebc4dd95033f031c330d2f93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EwoutSchrotenboer/AdventOfCode",
"max_stars_repo_path": "AoC.Y2017.Tests/Day04Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168669"
} | starcoder | using AoC.Helpers.Utils;
using AoC.Y2017.Days;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AoC.Y2017.Tests.Days
{
[TestClass]
public class Day04Tests
{
[TestMethod]
[DataRow("aa bb cc dd ee", 1)]
[DataRow("aa bb cc dd aa", 0)]
[DataRow("aa bb cc dd aaa", 1... | 2.780452 | 25afbc27d95f481360d15f1c0e3741d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adelvahdati/MDDPlatform.ProblemDomains",
"max_stars_repo_path": "MDDPlatform.ProblemDomains.Application/Queries/Handlers/GetAllProblemDomainsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168670"
} | starcoder | <gh_stars>0
using MDDPlatform.Messages.Queries;
using MDDPlatform.ProblemDomains.Application.DTO;
using MDDPlatform.ProblemDomains.Services.Repositories;
namespace MDDPlatform.ProblemDomains.Application.Queries.Handlers {
public class GetAllProblemDomainsHandler : IQueryHandler<GetAllProblemDomains, IList<ProblemD... | 2.118485 | 99564354a05d2b3bdc547a26272bc0d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheWizardAndTheWyrd/ArcanaERP",
"max_stars_repo_path": "ArcanaErp.Core/Interfaces/Models/WorkEffort/IWorkEffortInventoryProduced.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168671"
} | starcoder | <gh_stars>0
namespace ArcanaErp.Core.Interfaces.Models.WorkEffort
{
public interface IWorkEffortInventoryProduced
{
}
} | 0.984589 | 7dd88258c9ae784d107f87f5af8367be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849452 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sandermvanvliet/Voltmeter",
"max_stars_repo_path": "src/Voltmeter.UI/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168672"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Voltmeter.Adapter.SimpleServiceStatus;
using Voltmeter.Adapter.Static;
... | 1.812434 | 28a5d061828eaad5a3ad973b4ef22d51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ovnoc/json4ps",
"max_stars_repo_path": "Json.Automation/VariableBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168673"
} | starcoder | <reponame>ovnoc/json4ps
using System;
using System.Collections;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace Json.Automation {
public class VariableBinder : HashtableBinder {
public Nullable<ScopedItemOptions> Options { get; set; }
public Nullable<int... | 2.51653 | eb8c8ccf29f8a2516db7761ae57fda8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849454 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stoiveyp/alexa-skills-listmanagement",
"max_stars_repo_path": "test/Alexa.NET.ListManagement.Tests/ListTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168674"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Alexa.NET.ListManagement.Tests
{
public class ListTests
{
private const string DefaultAuthToken = ... | 2.358314 | 327ed4cc8cb4fbc72494db2a33db335a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849455 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Mahdame/codenation-challenges",
"max_stars_repo_path": "csharp-10/Source/Services/PasswordValidatorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168675"
} | starcoder | <reponame>Mahdame/codenation-challenges
using Codenation.Challenge.Models;
using IdentityServer4.Models;
using IdentityServer4.Validation;
using System.Linq;
using System.Threading.Tasks;
namespace Codenation.Challenge.Services
{
public class PasswordValidatorService : IResourceOwnerPasswordValidator
{
... | 2.049054 | 0d03e1280a0a9bba1dbd85282ddea9c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849456 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stewienj/DxHIDLoggerMapper",
"max_stars_repo_path": "HIDMapperGui/Controls/JoystickMappers.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168676"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.Media.Imaging;... | 2.326923 | 66fb61ce4e7290aca7635593f496da63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849457 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erwan-joly/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/AspNetCore/src/AspNetCore.Subscriptions/Messages/DataStopMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168677"
} | starcoder | <filename>src/HotChocolate/AspNetCore/src/AspNetCore.Subscriptions/Messages/DataStopMessage.cs
namespace HotChocolate.AspNetCore.Subscriptions.Messages
{
public sealed class DataStopMessage
: OperationMessage
{
public DataStopMessage(string id)
: base(MessageTypes.Subscription.Stop, ... | 1.596288 | 7d1dff650a3fc8db58e61feaaebd2161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849458 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarketKernel/webmoney-business-tools",
"max_stars_repo_path": "Src/WebMoney.Services.Contracts/BusinessObjects/Contract/IContractSignature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168678"
} | starcoder | <filename>Src/WebMoney.Services.Contracts/BusinessObjects/Contract/IContractSignature.cs
using System;
namespace WebMoney.Services.Contracts.BusinessObjects
{
public interface IContractSignature
{
long AcceptorIdentifier { get; }
DateTime? AcceptTime { get; }
}
} | 1.751407 | 8834cf70496a71d75e3387769fe2d85b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "espino316/RealSimpleNet",
"max_stars_repo_path": "RealSimpleNet/MVP/Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168679"
} | starcoder | <filename>RealSimpleNet/MVP/Model.cs
using System.ComponentModel;
/// <summary>
/// Contains MVP classes
/// </summary>
namespace RealSimpleNet.MVP
{
/// <summary>
/// Represent a model in the MVP Pattern
/// </summary>
public class Model : INotifyPropertyChanged
{
public event PropertyCha... | 2.707413 | 7d1c400448ab2f2a4be4d15b61b7e7dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loicwolff/clipboard.net",
"max_stars_repo_path": "src/Utils/SafeClipboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168680"
} | starcoder | <reponame>loicwolff/clipboard.net<gh_stars>0
namespace ClipboardManager
{
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
public static class SafeClipboard
{
public static ClipItem CurrentClipItem
{
get
... | 2.557121 | 26b6e9e65673845631df51223ef08b8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maidouofgithub/SuperNAT",
"max_stars_repo_path": "SuperNAT.AsyncSocket/Interface/IServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168681"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SuperNAT.AsyncSocket
{
public interface IServer
{
bool Start();
void Stop();
long SessionCount { get; }
}
}
| 1.676071 | 001a7163fccf15243d39c06da5838931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damirarh/async-streams",
"max_stars_repo_path": "AsyncStreams.Tests/GitHubClientTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168682"
} | starcoder | <filename>AsyncStreams.Tests/GitHubClientTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using AsyncStreams.GitHub;
using System.Threading;
namespace AsyncStreams.T... | 2.62048 | b496392921296237add923dcccfca35f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849463 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aliarvivi/VioletPixiv",
"max_stars_repo_path": "Pixeez/Objects/AllBookmarkTags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168683"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pixeez.Objects
{
public class BookmarkTagsList
{
[JsonProperty("bookmark_tags")]
public List<BookmarkTags> BookmarkTags { get; set... | 1.859005 | b6d2ee780aac2fb7d599c73bf50cc2fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849464 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrismuellner/km-log",
"max_stars_repo_path": "KmLog.Server/KmLog.Server.WebApi/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168684"
} | starcoder | using System.Linq;
using System.Net.Mime;
using KmLog.Server.Dal.DI;
using KmLog.Server.EF.DI;
using KmLog.Server.Logic.DI;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpOverride... | 1.604652 | 9e6268991560c2c4a088bdfb090d9a33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Softheon/SAML2.0-Request-Response",
"max_stars_repo_path": "ExchangePortal/ExchangePortal/Views/Home/CarrierRedirect.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168685"
} | starcoder | <filename>ExchangePortal/ExchangePortal/Views/Home/CarrierRedirect.cshtml
@Scripts.Render("~/bundles/jquery")
<script type="text/javascript">
$(function () {
submitForm();
});
function submitForm() {
$("form").submit();
}
</script>
<form id="ffmForm" method="post" action=... | 1.984699 | a2364e752eeb732867e4c11abd2127a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SimplyCodeUK/packer-strategy",
"max_stars_repo_path": "PackItLib/src/Drawing/Shape3D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168686"
} | starcoder | <gh_stars>1-10
// <copyright company="Simply Code Ltd.">
// Copyright (c) Simply Code Ltd. All rights reserved.
// Licensed under the MIT License.
// See LICENSE file in the project root for full license information.
// </copyright>
namespace PackIt.Drawing
{
using System.Diagnostics.CodeAnalysis;
using PackI... | 2.792503 | 38a0d2d74c89388345df290ca2bc4b09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849467 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "antwand/KSFramework_2017",
"max_stars_repo_path": "KEngine/KEngine.UnityProject/Assets/KEngine.NGUI.AssetDep.Editor/Editor/KBuild_UI_AssetDep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168687"
} | starcoder | <reponame>antwand/KSFramework_2017
#region Copyright (c) 2015 KEngine / Kelly <http://github.com/mr-kelly>, All rights reserved.
// KEngine - Toolset and framework for Unity3D
// ===================================
//
// Filename: CBuild_UI_AssetDep.cs
// Date: 2015/12/03
// Author: Kelly
// Email: <EMAIL>
// G... | 1.130342 | 659ab494eb1e52fc53548c1d2b0008e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849468 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evelasco85/MessagingSystemComponents",
"max_stars_repo_path": "Messaging.Base/Routing/ContextBasedRouter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168688"
} | starcoder | <gh_stars>1-10
using Messaging.Base.System_Management.SmartProxy;
using System;
using System.Collections.Generic;
namespace Messaging.Base.Routing
{
public class ContextBasedRouter<TMessage, TInput> : MessageConsumer<TMessage>, IContextBasedRouter<TMessage, TInput>
{
IList<Tuple<Func<TInput, bool>, IM... | 2.366531 | 9efc0905cb2734e4d11e254fd68c3817 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgemperl/Bannerlord.MBOptionScreen",
"max_stars_repo_path": "MCM.Implementation/Functionality/DefaultGameMenuScreenHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168689"
} | starcoder | using HarmonyLib;
using MCM.Abstractions.Attributes;
using MCM.Abstractions.Functionality;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using TaleWorlds.Engine.Screens;
using TaleWorlds.Library;
using TaleWorlds.Localization;
using TaleWorlds.MountAndBlade;
using TaleWo... | 1.921403 | 20f0536be3a60941eaeb2bc1d2cfec42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CloneDeath/C-Sharp-Algorithms",
"max_stars_repo_path": "DataStructures/SortedCollections/SortedDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168690"
} | starcoder | using System;
using System.Collections.Generic;
using DataStructures.Trees;
namespace DataStructures.SortedCollections
{
/// <summary>
/// Sorted Dictionary collection (Red-Black Tree based).
/// </summary>
public class SortedDictionary<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, IDictio... | 3.479883 | e379ade53a7f2738f2a63ce307f3cb95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rgvlee/StackOverflow",
"max_stars_repo_path": "Question61426094/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168691"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace Question61426094
{
public class UnitTest1
{
[Fact]
public async Task TestCommandHandlerConfiguration_RepositoryConfiguredWithC... | 2.559747 | 67f9c8f614f6b01cf68a91c7280b8479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849472 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Marokodanz/MVA-SignalR",
"max_stars_repo_path": "03-03-Multiple-Client-Platform-Chat/MultiClientChatDemo.Client/MultiClientChatDemo.Client.Shared/Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168692"
} | starcoder | using System.Collections.ObjectModel;
using System.ComponentModel;
namespace MultiClientChatDemo.Client
{
public class ChatClientViewModel : BaseViewModel
{
public ChatClientViewModel()
{
this.Messages = new ObservableCollection<ChatMessage>();
}
privat... | 2.716344 | f502b90565dee3795384c4866f31d54a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuoQqizz/SmartChinese",
"max_stars_repo_path": "AbhsChinese.Repository/IRepository/IStuRecSubjectRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168693"
} | starcoder | using AbhsChinese.Domain.Dto.Request;
using AbhsChinese.Domain.Entity;
using AbhsChinese.Repository.RepositoryBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbhsChinese.Repository.IRepository
{
public interface IStuRecSubjectRepo... | 1.616552 | 948bdb26093a20ffe211ca1b3957505a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849474 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gokhanmelma/hemispheric",
"max_stars_repo_path": "Assets/script/game_level/on_hover_level_menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168694"
} | starcoder | <gh_stars>1-10
/*@uthor : <NAME>*/
using UnityEngine;
using System.Collections;
public class on_hover_level_menu : MonoBehaviour {
public bool[] which_level;
private string[] object_name = {"lvl-1", "lvl-2", "lvl-3", "lvl-4", "lvl-5", "lvl-6", "lvl-7"};
public bool is_exit_menu;
// Use this for initialization
... | 1.890456 | 3335004a80978ed25fb7a51b9b6ba63e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lannata/Sber.SmartApp.Models",
"max_stars_repo_path": "src/Bubble.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168695"
} | starcoder | using Newtonsoft.Json;
using Sber.SmartApp.Models.Constants;
namespace Sber.SmartApp.Models
{
public class Bubble
{
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
[JsonProperty(PropertyName = "markdown")]
public bool Markdown { get; set; }
... | 2.051447 | baf32b1285102eba07c6f6cd240173f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "albandewilde/in-Projects",
"max_stars_repo_path": "inProjects.Data/ForumInfosTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168696"
} | starcoder | using CK.Setup;
using CK.SqlServer;
using CK.SqlServer.Setup;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace inProjects.Data
{
[SqlTable( "tForumInfos", Package = typeof( Package ) )]
[Versions( "1.0.0" )]
[SqlObjectItem("vForumProjectInfos")]
... | 1.884988 | 40df31dfb81fbf097855e9454e70b7ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849477 | {
"extension": "c-sharp",
"max_stars_count": "120.0",
"max_stars_repo_name": "sant11h/ArduinoDriver",
"max_stars_repo_path": "Source/ArduinoDriver/SerialProtocol/DigitalReadResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168697"
} | starcoder | <gh_stars>100-1000
namespace ArduinoDriver.SerialProtocol
{
public class DigitalReadResponse : ArduinoResponse
{
public int PinRead { get; private set; }
public DigitalValue PinValue { get; private set; }
public DigitalReadResponse(byte pinRead, DigitalValue value)
{
... | 2.471981 | 0d12901118353474f34e35702d70ab8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "starostin13/Samples",
"max_stars_repo_path": "Input/Accelerometer/Accelerometer/AccelerometerProject/Factories/EntitiesFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168698"
} | starcoder | // Copyright (C) 2012-2013 Weekend Game Studio
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, mer... | 2.127609 | e3ec5f35d317e61a0165145061ee1dd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terrorcell/NotesOblitus",
"max_stars_repo_path": "NotesOblitus/NotesOblitusManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168699"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using Global;
using Newtonsoft.Json;
using NotesOb... | 2.254624 | a9d1d1db84cf2ab1ab70747ffe0eca99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849480 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/TUNING/DISEASE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168700"
} | starcoder | namespace TUNING
{
public class DISEASE
{
public class DURATION
{
public const float LONG = 10800f;
public const float LONGISH = 4620f;
public const float NORMAL = 2220f;
public const float SHORT = 1020f;
public const float TEMPORARY = 180f;
public const float VERY_BRIEF = 60f;
}
publi... | 1.953423 | 4b27d0701d97af2660b3bd22b703fac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnBergago/ConFormSim",
"max_stars_repo_path": "src/ConFormSimProject/Assets/ConFormSim/Runtime/Objects/ObjectProperties/Types/SingleValueProperties/BoolObjectProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168701"
} | starcoder | <filename>src/ConFormSimProject/Assets/ConFormSim/Runtime/Objects/ObjectProperties/Types/SingleValueProperties/BoolObjectProperty.cs<gh_stars>0
using UnityEngine;
namespace ConFormSim.ObjectProperties
{
[CreateAssetMenu(fileName = "BoolProperty", menuName = "ConFormSim/Object Properties/Bool Property", order = 1)]... | 2.663888 | 576e8f41e7be81e6811bb32cb7ba8101 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849482 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "jonanh/UniGet",
"max_stars_repo_path": "src/UniGet.Tests/RestoreTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168702"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace UniGet.Tests
{
public class RestoreTest
{
[Fact]
private async Task Test_Simple()
{
// Arrange
PackTool.P... | 2.330848 | a9dcff75e6662b47b543b29c02b32d62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849483 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jkrmc12/IFC-gen",
"max_stars_repo_path": "lang/csharp/src/IFC/IfcDerivedMeasureValue.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168703"
} | starcoder |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
public class IfcDerivedMeasureValue : Select
{
public IfcDerivedMeasureValue(IfcAbsorbedDoseMeasure choice){ this.choice = choice; }
public IfcDerivedMeasureV... | 2.00693 | 7c1f2e23c11304ef6d6530fab37f2516 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849484 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JeremyKuhne/MacIO",
"max_stars_repo_path": "MacIOLibrary/BootBlockHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168704"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using static MacIO.Conversion;
namespace MacIO;
public class BootBlockHeader : Record
{
... | 2.287115 | bcc69374e1ec4774d5fa6a11d5379806 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849485 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "dariolingotti/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/EC2/Generated/Model/IpamPoolAllocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168705"
} | starcoder | <gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in ... | 1.750937 | 512f7ac0907b0ee17dd01668ebb520ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849486 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Web/ModelBinding/UnvalidatedRequestValuesAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168706"
} | starcoder | <reponame>cnork/referencesource<filename>System.Web/ModelBinding/UnvalidatedRequestValuesAccessor.cs
namespace System.Web.ModelBinding {
//TBD: This seems to be existing for unit testing in MVC.
//Question1: Are we going to use this at all for extending the existing web forms unit test ??
//Question2: If... | 1.747663 | 47b35f9a45b900a5cbf57639814d14ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miguelsebas/CulturaITZoo",
"max_stars_repo_path": "CodeChallenge/Data/CodeChallengeContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168707"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using CodeChallenge.Data.Model;
namespace CodeChallenge.Data
{
public class CodeChallengeContext : DbContext
{
public CodeChallengeContext (DbContextOptions<CodeChallen... | 2.094383 | ee78a8c2232e623c5eefaea5af44c17f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luisdvalle/grande-travel",
"max_stars_repo_path": "TravelWebApp/TravelWebApp/ViewModels/TravelPackageAddViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168708"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace TravelWebApp.ViewModels
{
public class TravelPackageAddViewModel
{
[Required]
public string Name { get; set; }
[Required]
publ... | 2.021456 | 81b89d82e9a1ea6d1dbce5afe381a6ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tddold/MVC-Project",
"max_stars_repo_path": "Source/App/App.Web/Areas/Administration/Controllers/KendoProductController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168709"
} | starcoder | namespace App.Web.Areas.Administration.Controllers
{
using System.Collections.Generic;
using System.Web.Mvc;
using System.Linq;
using App.Web.Areas.Administration.AdminViewModels;
using App.Data.Models;
using App.Services.Web.Contracts;
using App.Web.Infrastructure.Mapping;
using App.W... | 2.011344 | e3b89653608aaf7c96333d4804edc9c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RegionOrebroLan/.NET-Web-Authentication-Extensions",
"max_stars_repo_path": "Source/Project/Decoration/SithsCertificateSubjectExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168710"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using ActiveLogin.Identity.Swedish;
using IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Exten... | 1.915028 | 0980a11dcf0c35b212608c289de0a1c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849491 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xiaotie/DncNativeDicom",
"max_stars_repo_path": "Tests/Desktop/Bugs/GH526.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168711"
} | starcoder | <reponame>xiaotie/DncNativeDicom<gh_stars>1-10
// Copyright (c) 2012-2019 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using System.Net;
using System.Threading;
using Dicom.Network;
using Xunit;
namespace Dicom.Bugs
{
public class GH526
{
#region Unit Tests
... | 1.665636 | fe4ac0e267fb02489fd11a1983dd98b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849492 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BrettMahon/BladeRazor",
"max_stars_repo_path": "BladeRazor/TagHelpers/FormValidationSummaryTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168712"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace BladeRazor.TagHelpers
{
// TODO: FormValidationTagHelpe... | 1.761725 | 21fa7ca31d7a8004e4a3283faf60b9b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AleksandarKostadinov/C-Sharp-OOP-Advanced",
"max_stars_repo_path": "01.InterfacesAndAbstraction-Exercise/08.MilitaryElite/Interfaces/ILeutenantGeneral.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168713"
} | starcoder | <filename>01.InterfacesAndAbstraction-Exercise/08.MilitaryElite/Interfaces/ILeutenantGeneral.cs
using System.Collections.Generic;
namespace _08.MilitaryElite.Interfaces
{
public interface ILeutenantGeneral : IPrivate
{
IList<ISoldier> Soldiers { get; }
}
}
| 1.968225 | b9a57370d504f52116cad363b56e9a58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849494 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "AndriySvyryd/UnicornHack",
"max_stars_repo_path": "src/UnicornHack.Core/Systems/Faculties/SkillAbilitiesSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168714"
} | starcoder | <reponame>AndriySvyryd/UnicornHack
using System;
using System.Diagnostics;
using System.Linq;
using UnicornHack.Generation;
using UnicornHack.Primitives;
using UnicornHack.Systems.Abilities;
using UnicornHack.Systems.Actors;
using UnicornHack.Systems.Beings;
using UnicornHack.Systems.Effects;
using UnicornHack.Systems... | 2.095258 | db787680324932ef336ef233ee483821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849495 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fatihyildizhan/projects-before-2010",
"max_stars_repo_path": "CheeseFactory/App_Code/Fonksiyon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168715"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Data;
using System.Web.Configuration;
/// <summary>
/// Summary description for Fonksiyon
/// </summary>
public static class Fonksiyon
{
static SqlConnection con = new SqlConnection(WebCo... | 2.401199 | 6bb468540e83cd7c15930878e24ad1ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849496 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "AlexanderSilvaB/Lemon-Lib",
"max_stars_repo_path": "LemonLib/Devices/Bluetooth/Serial/Server.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168716"
} | starcoder | <filename>LemonLib/Devices/Bluetooth/Serial/Server.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth.Rfcomm;
using Windows.Networking.Sockets;
using Windows.Storage.Streams;
namespace LemonLib.Devices.Bl... | 2.6463 | 1961942281fd976ebf869071e42719d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849497 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "JustinFincher/Vortex-Experiments",
"max_stars_repo_path": "Assets/FinGameWorks/Scripts/Editor/EditorDataObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168717"
} | starcoder | using UnityEngine;
using Debug = System.Diagnostics.Debug;
#if UNITY_EDITOR
using System.IO;
using UnityEditor;
#endif
namespace FinGameWorks.Scripts.Editor
{
[CreateAssetMenuAttribute(menuName = "FinGameWorks/EditorDataObject",fileName = "EditorData")]
public class EditorDataObject : ScriptableObject
{
... | 2.143755 | 568af6086a60f57a64639648740e539f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849498 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/CommonFoundation",
"max_stars_repo_path": "development/Beyova.Common/Extensions/JsonExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168718"
} | starcoder | <reponame>JTOne123/CommonFoundation<filename>development/Beyova.Common/Extensions/JsonExtension.cs<gh_stars>1-10
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Globalization;
using System.Linq;
namespace Beyova
{
/// <summary>
/// Class JsonExte... | 2.600665 | b05caaa867ee871973c20454861a5a4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlosEdua/snake-cs",
"max_stars_repo_path": "GameObjects/SnakePart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168719"
} | starcoder | <reponame>carlosEdua/snake-cs
namespace snake_cs.GameObjects
{
public class SnakePart
{
public int iPos;
public int jPos;
public char character;
public SnakePart(int iPos, int jPos, char character = '#'){
this.iPos = iPos;
this.jPos = jPos;
th... | 2.888672 | f04d2a32841ddf3d6ad459dc50bad6ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849500 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "PacktPublishing/Mastering-Visual-Studio-2017",
"max_stars_repo_path": "Chapter02/Demo-DigitSeparator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168720"
} | starcoder | using System;
namespace Packtpub.KunalChowdhury.Demos
{
class Program
{
static void Main(string[] args)
{
var decimalValue1 = 1_50_000; // better than 150000
var decimalValue2 = 25_91_50_000; // better than 259150000
// you can use multiple underscores too
... | 3.325544 | 71fab8713d8196fc21cdb3ddecc743aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juanpedroo/JBProject",
"max_stars_repo_path": "projetMetro/formDelEleve.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168721"
} | starcoder | <filename>projetMetro/formDelEleve.Designer.cs
namespace projetMetro
{
partial class formDelEleve
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources ... | 1.930059 | 398746a6bf63993ce21a9616a6241a64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849502 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Chrisdbhr/CDK",
"max_stars_repo_path": "Scripts/Camera/CPlayerCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168722"
} | starcoder | using System;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
#if Cinemachine
using Cinemachine;
#endif
#if DOTween
using DG.Tweening;
#endif
#if FMOD
using FMODUnity;
#endif
namespace CDK {
public class CPlayerCamera : MonoBehaviour {
#region <<---------- Initializers ---------->>
public void Initial... | 1.990463 | 0bd8658e35cabbae2d69135a56a032d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849503 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fatihyildirim1o/aspnet-clean-architecture",
"max_stars_repo_path": "src/main/Application/Common/Results/SuccessDataResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168723"
} | starcoder | namespace Application.Common.Results
{
public class SuccessDataResult<T> : DataResult<T>
{
public SuccessDataResult(T data, string message = default, int httpStatusCode = 200, string code = default) :
base(true, code, message, httpStatusCode, data)
{
}
}
} | 2.051605 | c079bd360b421d28e52cd924aa1688a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jraypdx/CSharpHelpers",
"max_stars_repo_path": "Runtime_Assembly_Loading/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168724"
} | starcoder | <reponame>jraypdx/CSharpHelpers
using System;
namespace Example_App
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
AppDomain.CurrentDomain.AssemblyResolve... | 2.865592 | da7abc6462e17cd9c978ab4dab1a04ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849505 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "melikpehlivanov/CSharp-OOP-Advanced",
"max_stars_repo_path": "Unit Testing - Exercises/UnitTests/ListyIteratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168725"
} | starcoder | using _03.IteratorProject;
using NUnit.Framework;
using System.Linq;
namespace UnitTests
{
[TestFixture]
public class ListyIteratorTests
{
[Test]
public void TestConstructorWithParamsValid()
{
string[] testData = InitTestData();
ListyIterator listy = new Lis... | 3.39552 | a060a2b1318544d3f80e5f82ef793a85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849506 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "donghoon/ifctoolkit",
"max_stars_repo_path": "Part21/EBInstanceModel/BaseTypes/INTEGER.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168726"
} | starcoder | <gh_stars>10-100
using System.Globalization;
using System.IO;
namespace EbInstanceModel
{
public class INTEGER : BaseType
{
public int Value { get; set; }
public static implicit operator INTEGER(int value)
{
return new INTEGER { Value = value };
}
public st... | 2.916762 | 7f86989737431f269beeb3d040dc2528 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849507 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Slion/SharpLibStreamDeck",
"max_stars_repo_path": "Project/Forms/FormEditor.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168727"
} | starcoder | namespace SharpLib.StreamDeck
{
partial class FormEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.827272 | bfff22131ee4907a11bec5506cd83b16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849508 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "matejkubinec/MN-CD",
"max_stars_repo_path": "src/MNCD.Tests/Evaluation/MultiLayer/RedundancyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168728"
} | starcoder | using MNCD.Core;
using MNCD.Evaluation.MultiLayer;
using MNCD.Tests.Helpers;
using System.Collections.Generic;
using Xunit;
namespace MNCD.Tests.Evaluation.MultiLayer
{
public class RedundancyTests
{
[Fact]
public void RedundancyEqualsZero()
{
var a = ActorHelper.Get(2);
... | 2.339692 | 2e476a9b45db370ddc3f0d7c83ff804a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849509 | {
"extension": "c-sharp",
"max_stars_count": "676.0",
"max_stars_repo_name": "studentutu/VContainer",
"max_stars_repo_path": "VContainer/Assets/VContainer/Editor/CodeGen/VContainerILPostProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168729"
} | starcoder | using System.IO;
using System.Linq;
using System.Reflection;
using Unity.CompilationPipeline.Common.Diagnostics;
using Unity.CompilationPipeline.Common.ILPostProcessing;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace VContainer.Editor.CodeGen
{
public sealed class VContainerILPostProcessor : ILPostProcessor
... | 1.890299 | 4dd5954185d37c78d7ad40e891caffa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JessicaBarclay/Cosmos",
"max_stars_repo_path": "source/Cosmos.System2/Network/IPv4/TCP/Tcp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168730"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.HAL;
using Cosmos.System.Helpers;
using Cosmos.System.Network.Config;
namespace Cosmos.System.Network.IPv4.TCP
{
/// <summary>
/// TCP Connection status
/// </summary>
public enum Status
{
LISTEN,
SYN_S... | 2.459028 | b31183483bf6898635b0e10f0a347ff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849511 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "michaeljcamara/WhatHappened",
"max_stars_repo_path": "SampleProject/Assets/WhatHappened/CustomType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168731"
} | starcoder | // Author: <NAME>
// Repository: https://github.com/michaeljcamara/WhatHappened
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Reflection;
using System.Linq;
namespace WhatHappened {
public class CustomType {
public Type assemblyType { get; }
public CustomFile fi... | 2.833153 | d610331071491d6520b80607d18885dc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.