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 | 8850112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanCurrie15/AllTogetherNow",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169332"
} | starcoder | <filename>Assets/Scripts/GameManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : Singleton<GameManager>
{
[Header ("Balls")]
public int numBalls = 5;
public GameObject ball1;
public... | 2.393774 | f45d3f9c8aa0e6785efdf7c0fd7475d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/llvm.tools/src/etl/ops/LoadSourceRecords.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169333"
} | starcoder | <reponame>0xCM/z0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.llvm
{
using System;
partial class EtlWorkflow
{
pu... | 1.070962 | ea778baa5eec332e5abe03474d3decca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850114 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DejaFu/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/Model/Content/SecondEdition/Pilots/BTANR2YWing/AftabAckbar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169334"
} | starcoder | using ActionsList;
using Ship;
using System;
using Upgrade;
namespace Ship
{
namespace SecondEdition.BTANR2YWing
{
public class AftabAckbar : BTANR2YWing
{
public AftabAckbar() : base()
{
PilotInfo = new PilotCardInfo
(
... | 2.192157 | 9157be0dc4a16fe43ef456e5be0c75ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrecisionRender/Flax-Engine-Top-Down-Shooter",
"max_stars_repo_path": "Source/Game/Scripts/BulletShoot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169335"
} | starcoder | <gh_stars>0
// © 2021 PecisionRender
using System;
using System.Collections.Generic;
using FlaxEngine;
namespace Game
{
public class BulletShoot : Script
{
[Serialize] [ShowInEditor] Prefab Bullet;
[Serialize] [ShowInEditor] float ShootCoolDown = 0.2f;
private float currentCoolDown = 0f;
... | 2.187497 | 074d96c1b5901c7cfb6a0f3824f3a938 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rufei/vanguard-delta",
"max_stars_repo_path": "Assets/scripts/ShipController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169336"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class ShipController : MonoBehaviour {
public int playerNumber = 0;
public Boundary boundary;
public Transform bulletSpawn;
public GameObject hitExplosion;
public float rotation = 90.0f;
public float speed = 250.0f;
// Use this for initializati... | 1.966608 | 29e62ee7734321e37dcc75d94f844678 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850117 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brunzefb/basespace-csharp-sdk",
"max_stars_repo_path": "BaseSpace.SDK/src/BaseSpace.SDK.MonoTouch/BaseSpace.SDK.MonoTouch/ServiceModels/Request/GetAppResultRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169337"
} | starcoder | <reponame>brunzefb/basespace-csharp-sdk<filename>BaseSpace.SDK/src/BaseSpace.SDK.MonoTouch/BaseSpace.SDK.MonoTouch/ServiceModels/Request/GetAppResultRequest.cs<gh_stars>1-10
namespace Illumina.BaseSpace.SDK.ServiceModels
{
public class GetAppResultRequest
{
/// <summary>
/// Get specific AppRes... | 1.949279 | 1bbeda18d7af2a4695101a721d026ade |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850118 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "openrasta/openrasta-core",
"max_stars_repo_path": "src/OpenRasta.Tests.Unit/Configuration/fluent_extensions/untyped_resource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169338"
} | starcoder | <filename>src/OpenRasta.Tests.Unit/Configuration/fluent_extensions/untyped_resource.cs<gh_stars>10-100
using System.Linq;
using NUnit.Framework;
using OpenRasta.Configuration;
using OpenRasta.TypeSystem;
using OpenRasta.Configuration.Fluent;
using Shouldly;
namespace Tests.Configuration.fluent_extensions
{
... | 2.162436 | c0b98d36a1dad487b0114fe186eaf4ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850119 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ServiceGovernance/ServiceGovernance.Registry",
"max_stars_repo_path": "tests/ServiceGovernance.Registry.Tests/RegisterEndpointTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169339"
} | starcoder | using FluentAssertions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
using NUnit.Framework;
using ServiceGovernance.Registry.Models;
using ServiceGovernance.Registry.Tests.Models;
usin... | 2.125475 | a15236c106c2da375666dcae20a345ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "melanchall/drymidi",
"max_stars_repo_path": "DryWetMidi.Tests/Multimedia/Playback/CurrentTimeWatcher/PlaybackCurrentTimeWatcherTests.Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169340"
} | starcoder | using Melanchall.DryWetMidi.Multimedia;
using Melanchall.DryWetMidi.Tests.Common;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Melanchall.DryWetMidi.Tests.Multimedia
{
[TestFixture]
public sealed partial class PlaybackCurrentTimeWatcherTests
{
... | 2.468528 | e542e4c52de8ffd99c7fe2621e1040b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-06-csharpadv",
"max_stars_repo_path": "g5/Class03/Adv.Class03.Exercise/Adv.Class03.Exercise/Entities/Interfaces/ITeacher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169341"
} | starcoder | <reponame>sedc-codecademy/skwd8-06-csharpadv
using System;
using System.Collections.Generic;
using System.Text;
namespace Adv.Class03.Exercise.Entities.Interfaces
{
public interface ITeacher
{
void PrintSubjects();
}
}
| 1.730367 | 72924b3ac445cee3c26f1ceaeab86d40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850122 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KhloeLeclair/StardewMods",
"max_stars_repo_path": "Common/Types/RecommendIntegrations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169342"
} | starcoder | #nullable enable
namespace Leclair.Stardew.Common.Types;
public record struct RecommendedIntegration(
string Id,
string Name,
string Url,
string[] Mods
);
| 1.104137 | ecb18bdd9c63dbc54db429d1ca95ff3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Camyul/Modul_2_CSharp",
"max_stars_repo_path": "High-Quality-Code-Part-2/02. Code-Tuning-and-Optimization/02-03. Compare Maths/02. Compare simple Maths/PerfomanceTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169343"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics;
namespace Compare_simple_Maths
{
public static class PerfomanceTester
{
private const int INTEGER = 1;
private const long LONG = 1L;
private const float FLOAT = 1.0F;
private const double DOUBLE = 1.0;
private const de... | 3.313514 | fe3617b6c6d05f507cd20138a0d6a97d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WOM-Platform/WebDemo",
"max_stars_repo_path": "WomWebDemo/Pages/Pay.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169344"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace WomWebDemo.Pages
{
public class PayModel : PageModel
{
public PayModel(
WomPlatform.Connector.PointOfSale pos
)
{
... | 1.716339 | fb303ae534a5de0e675a0703791d4157 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850125 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Karunp/cocos2d-xna",
"max_stars_repo_path": "tests/tests/classes/tests/Box2DTestBet/Box2DView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169345"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.TestBed.Framework;
using FarseerPhysics.TestBed.Tests;
using Microsoft.Xna.Framework;
using Cocos2D;
namespace tests.classes.tests.Box2DTestBet
{
public class Box2DView : CCLayer
{
private TestEnt... | 2.15785 | fac255d1a5227014440a5b98040e24c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850126 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PetrPodrazil/UFI",
"max_stars_repo_path": "UFITest/UnitTestUFI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169346"
} | starcoder | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UFITest
{
[TestClass]
public class UnitTestUFI
{
[TestMethod]
public void AT()
{
Assert.AreEqual("C23S-PQ2V-AMH9-VVRF", UFIGenerator.UFI.GenerateUFI("ATU12345678", 178956970));
}
... | 1.877697 | e8d72e20e712f0d56700452351d4f624 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850127 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SpecFlowOSS/SpecFlow.VS",
"max_stars_repo_path": "SpecFlow.VisualStudio/Analytics/IAnalyticsTransmitterSink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169347"
} | starcoder | <reponame>SpecFlowOSS/SpecFlow.VS<gh_stars>1-10
#nullable enable
namespace SpecFlow.VisualStudio.Analytics;
public interface IAnalyticsTransmitterSink
{
void TransmitEvent(IAnalyticsEvent analyticsEvent);
void TransmitException(Exception exception, IEnumerable<KeyValuePair<string, object>> eventName);
}
| 1.35214 | 27184fb5eb7a3831db5bb49a414f1da4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matangover/python-language-server",
"max_stars_repo_path": "src/LanguageServer/Impl/Sources/DefinitionSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169348"
} | starcoder | // 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 PROVIDED ON AN ... | 2.042928 | 541bc5ce8dd247387dca8983be798bc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850129 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "highbyte/dotnet-6502",
"max_stars_repo_path": "Highbyte.DotNet6502/BinaryLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169349"
} | starcoder | using System;
using System.IO;
namespace Highbyte.DotNet6502
{
/// <summary>
/// Helper class for loading binary files into 6502 emulator memory.
/// </summary>
public static class BinaryLoader
{
/// <summary>
/// Load binary file. Assume first two bytes is load address.
///... | 3.030908 | 548b4b357db38485e7ea0309e14c0e81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmrauta/csharp-playground",
"max_stars_repo_path": "CharsAndStringsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169350"
} | starcoder | using Xunit;
namespace csharp_playground
{
public class CharsAndStringsTest
{
[Fact]
public void GetIntFromChar()
{
var letterInAsci = (int)'m';
Assert.Equal(109, letterInAsci);
}
[Fact]
public void GetStringFromChar()
{
... | 3.723551 | 866b7a1e786681b0f34a6c47d559e4d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850131 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bduman/Windsor.Extension",
"max_stars_repo_path": "Source/Demos/Windsor.Extension.Demo/Sample.DecoratorExtension/Installer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169351"
} | starcoder | using System;
using System.Diagnostics;
using Castle.Core;
using Castle.Facilities.Startable;
using Castle.MicroKernel;
using Castle.MicroKernel.Context;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Windsor.Extension.Demo.Sample.DecoratorExt... | 2.113494 | df43f41e576e9ba38d93bd39119891a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jessesalinas53/Project-02",
"max_stars_repo_path": "Assets/Scripts/ScriptableObjects/Question.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169352"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public struct Choice
{
[TextArea(2, 5)]
public string text;
public Conversation conversation;
}
[CreateAssetMenu(fileName = "New Question", menuName = "Question")]
publ... | 1.784348 | 7a286405cb33070fac51afdd425d38cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trushil/Member-Management-System",
"max_stars_repo_path": "MyRoleProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169353"
} | starcoder | using surathardwarewebsite.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
namespace surathardwarewebsite
{
public class MyRoleProvider : RoleProvider
{
public override string ApplicationName
{
get... | 2.473478 | ea0221bec3edd3b47e3232f03fdc216c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850134 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "team-motus/workstation-designer",
"max_stars_repo_path": "Assets/Scripts/Util/UIUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169354"
} | starcoder | <filename>Assets/Scripts/Util/UIUtil.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine.UIElements;
namespace WorkstationDesigner.Util
{
public static class UIUtil
{
/// <summary>
/// Find all chi... | 2.849106 | 3597a73c9b975581c899eaf871f2062f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haramizu/headstart",
"max_stars_repo_path": "src/Middleware/integrations/ordercloud.integrations.freightpop/Models/Items.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169355"
} | starcoder | <filename>src/Middleware/integrations/ordercloud.integrations.freightpop/Models/Items.cs
using System.ComponentModel.DataAnnotations;
namespace ordercloud.integrations.freightpop
{
public class Item
{
// freightPOP docs indicate that description is only required for some carriers
[Required]
... | 2.231496 | d686d905dd77261e1c5c46b29a9ee5f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsantoss/ControleDespesas",
"max_stars_repo_path": "ControleDespesas_ApiNetFramework48_Dapper/ControleDespesas.Dominio/Repositorio/PagamentoRepositorio.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169356"
} | starcoder | <filename>ControleDespesas_ApiNetFramework48_Dapper/ControleDespesas.Dominio/Repositorio/PagamentoRepositorio.cs
using ControleDespesas.Dominio.DataContext;
using ControleDespesas.Dominio.Entidades;
using ControleDespesas.Dominio.Interfaces;
using ControleDespesas.Dominio.Query;
using Dapper;
using System;
using Syste... | 2.414985 | 755d1fc86174fa79a4b3152780bc5575 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asdas3r/MasterUTM-BarcodeScannerEmulator",
"max_stars_repo_path": "MasterUTM.BarcodeScannerEmulator.Mvvm/Dialogs/ViewModels/CustomMessageBoxViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169357"
} | starcoder | using System.Drawing;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Prism.Commands;
using Prism.Events;
using Prism.Regions;
using Prism.Services.Dialogs;
using MasterUTM.BarcodeScannerEmulator.Infrastructure;
using MasterUTM.BarcodeScannerE... | 2.057574 | cde8d7af4eaabd44cd226255909e80ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aux/Pugster",
"max_stars_repo_path": "src/Pugster.Dashboard/Hubs/TwitterHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169358"
} | starcoder | <filename>src/Pugster.Dashboard/Hubs/TwitterHub.cs
using System.Threading.Tasks;
namespace Pugster.Dashboard.Hubs
{
public class TwitterHub : HubBase
{
public async Task RelayTweetAsync(object data)
{
await Clients.All.SendCoreAsync("tweet", new[] { data });
}
}
}
| 1.863023 | 161cc07972673449c20de116608f2467 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chrislee187/ZMachineLib",
"max_stars_repo_path": "ZMachineLib/Operations/OP0/Piracy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169359"
} | starcoder | <filename>ZMachineLib/Operations/OP0/Piracy.cs
using System.Collections.Generic;
using ZMachineLib.Content;
namespace ZMachineLib.Operations.OP0
{
public sealed class Piracy : ZMachineOperationBase
{
public Piracy(IZMemory memory)
: base((ushort)OpCodes.Verify, memory)
{
}... | 2.017094 | f21d092c9268ca09608aa736b6984f70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850140 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "justkao/Bolt",
"max_stars_repo_path": "src/Bolt.Client/IRequestTimeoutProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169360"
} | starcoder | <filename>src/Bolt.Client/IRequestTimeoutProvider.cs
using System;
using Bolt.Metadata;
namespace Bolt.Client
{
public interface IRequestTimeoutProvider
{
TimeSpan GetActionTimeout(ContractMetadata contract, ActionMetadata actionMetadata);
}
} | 1.356445 | 842129b68592c5558ea1bb240df215d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ullet/some_csharp_code",
"max_stars_repo_path": "Ullet/Strix/Generic/GeneralExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169361"
} | starcoder | <gh_stars>0
/*
* Written by <NAME>, <<EMAIL>>, 2015, 2016
* Released to the Public Domain. See http://unlicense.org/ or the
* UNLICENSE file accompanying this source code.
*/
using System;
namespace Ullet.Strix.Generic
{
/// <summary>
/// General extension methods for any type.
/// </summary>
public sta... | 2.669498 | 22c69ecc82b54002ec8b5946656781f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850142 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Yunatan/AdvancedInputField",
"max_stars_repo_path": "Assets/AdvancedInputField/Scripts/TextManipulation/TextValidator/CharacterCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169362"
} | starcoder | <filename>Assets/AdvancedInputField/Scripts/TextManipulation/TextValidator/CharacterCondition.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
namespace AdvancedInputFieldPlugin
{
p... | 2.832425 | c3b3277abcf0a570dd64b0898e7657c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ambid17/SuggestionSite",
"max_stars_repo_path": "SuggestionSite/SuggestionAppLibrary/Models/BasicUserModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169363"
} | starcoder | namespace SuggestionAppLibrary.Models;
/// <summary>
/// This is a sub-object of the UserModel
/// This is so that when loading a suggestion, we can get the author of the suggestion, without loading all of the data about a user
/// </summary>
public class BasicUserModel
{
[BsonRepresentation(BsonType.Obje... | 2.544605 | ffaa18b771702c9a241beb6a9c51b467 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850144 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "skeptycal/RTVS",
"max_stars_repo_path": "src/Windows/R/Components/Impl/PackageManager/Implementation/View/PackageDetails.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169364"
} | starcoder | <filename>src/Windows/R/Components/Impl/PackageManager/Implementation/View/PackageDetails.xaml.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel;
using System.Diagnostics;
using System... | 1.971283 | 791904d9eb55333537a522f9987d601a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "byyiro/AutoComposingMailer",
"max_stars_repo_path": "AutoComposingMailer/FormLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169365"
} | starcoder | using System;
using System.Collections;
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 AutoComposingMailer
{
public partial class FormLog ... | 2.32177 | 2679adfb846fb8b5c5a9e6b552ff0f93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NWagter/Utility_AI_Unity",
"max_stars_repo_path": "Assets/Scripts/Gameplay/AI Utilities/Inputs/BuildingInputSo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169366"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UtilAI
{
[CreateAssetMenu(fileName = "BuildingInput", menuName = "AI/Utilities/Input/BuildingInput", order = 1)]
public class BuildingInputSO : InputSO
{
public BuildingSO m_building;
public override ... | 2.022196 | 2a0265218774aa4ec23aff81567a8f49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850147 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Voldakk/Unity-Ability-System",
"max_stars_repo_path": "Assets/Editor/ChangeAbillitiesEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169367"
} | starcoder | using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(Abilities.ChangeAbilities))]
public class ChangeAbilitiesEditor : Editor
{
Abilities.ChangeAbilities ability;
public void OnEnable()
{
ability = (Abilities.ChangeAbilities)target;
}
public override void OnInspectorGUI()
{
... | 2.029748 | 9b05cd7aac0769d83bf4ab1cd49f9174 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sanisoclem/Konsole",
"max_stars_repo_path": "src/P3.Konsole/Commands/CompositeCommandBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169368"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace P3.Konsole.Commands
{
public static class CompositeCommandBuilderExtensions
{
public static ICompositeCommandBuilder DefineCompositeCommand(this ICompositeCommandBuilder builder, string name, Action<ICompositeC... | 2.558193 | a39eb816c9f6a175e43690369a02612b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "namesunwei/Tutorials",
"max_stars_repo_path": "DesignPattern/src/Strategy/Demo02_Strategy_SimpleFactory/DerivedClass/CashRebate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169369"
} | starcoder | <gh_stars>1-10
using Demo02_Strategy_SimpleFactory.BaseClass;
namespace Demo02_Strategy_SimpleFactory.DerivedClass
{
/// <summary>
/// 打折收费的子类
/// </summary>
public class CashRebate : CashSuper
{
private readonly double _moneyRebate;
/// <summary>
/// 初始化折扣率
/// </s... | 3.283257 | db8948bee2298023523e3456b413e995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexGM1999/SchoolSystem",
"max_stars_repo_path": "SchoolSystem/SchoolSystem/Student.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169370"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SchoolSystem
{
class Student
{
private string firstName;
private string lastName;
private double averageGrade;
private char studentGrade;
public Student(string firstName, string lastName, doub... | 3.655744 | 598468dded14e3f623cbf1dd3407053f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lygwys/dlvm_lygwys",
"max_stars_repo_path": "Presentation/Mzg.Web/Controllers/EntityController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169371"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Mzg.Context;
using Mzg.Data.Export;
using Mzg.Identity;
using Mzg.Infrastructure.Utility;
using Mzg.QueryView;
using Mzg.Sdk.Abstractions.Query;
using Mzg.Web.Framework.Context;
using Mzg.Web.Framework.Controller;
using Mzg.Web.Models;
using System;
using System.ComponentModel;
... | 1.654752 | 235993cc210a759107cc442371e1969e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850152 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Torbjornsson/DATX05-Master_Thesis",
"max_stars_repo_path": "DATX05-Prototype-A/Assets/Scripts/AttachableTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169372"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AttachableTarget : MonoBehaviour
{
public BoxCollider myGrabCollider;
public GameObject attachTarget;
public Attachable attachedObject {get; private set;}
public Vector3 attachedColliderCenter;
public Vecto... | 2.020028 | d7c3dc3b50039bbb8a84f79183781a92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Funny-Silkie/Altseed2_ToolAuxiliary",
"max_stars_repo_path": "Altseed2_ToolAuxiliary/SliderNumber/SliderInt2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169373"
} | starcoder | using System;
namespace Altseed2.ToolAuxiliary
{
/// <summary>
/// <see cref="int"/>型の数字を2つ格納するツールコンポーネントのクラス
/// </summary>
[Serializable]
public class SliderInt2 : SliderIntBase
{
/// <summary>
/// スライドの速さを取得または設定する
/// </summary>
public float Speed { get; set... | 3.097921 | 3bcc349fdc552ebb7dadae3661b0be29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KLD/Mahatha",
"max_stars_repo_path": "Assets/Scripts/Core/Dialog/Builder/FakeEmotionalCharachter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169374"
} | starcoder | <reponame>KLD/Mahatha
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace ChainedRam.Core.Dialog
{
public class FakeEmotionalCharachter : EmotionalCharacter
{
public Text label;
public GameObject Fade;
[Header("Optional")]... | 2.313598 | add972b8a55491d648712ba6f5556206 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Phils0/NreKnowledgebaseClient",
"max_stars_repo_path": "NreKnowledgebaseClient/Knowledgebase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169375"
} | starcoder | <reponame>Phils0/NreKnowledgebaseClient
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Serialization;
using NreKnowledgebase.SchemaV4;
using NreKnowledgebase.SchemaV5;
using Serilog;
namespace NreKnowledgebase
{
/// <summary>
/// Facade class, acts as the entry point to th... | 2.129514 | d00bc781ee87c32e699e68ef0167e6a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tammylotter/NExpect",
"max_stars_repo_path": "src/NExpect/Implementations/StringPropertyNot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169376"
} | starcoder | <filename>src/NExpect/Implementations/StringPropertyNot.cs<gh_stars>0
using NExpect.Interfaces;
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable MemberCanBePrivate.Global
namespace NExpect.Implementations
{
internal class StringPropertyNot
: ExpectationContext<string>, IStringPropert... | 2.494552 | f998cd8af0a1dda334979814ffe8056d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850157 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "giantchen2012/czml-writer",
"max_stars_repo_path": "DotNet/ShapefileReaderTests/TestShapefileReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169377"
} | starcoder | <reponame>giantchen2012/czml-writer
using System;
using System.IO;
using NUnit.Framework;
using Shapefile;
namespace ShapefileReaderTests
{
[TestFixture]
public class TestShapefileReader
{
private ShapefileReader m_reader;
private string shapefileName;
[SetUp]
public void ... | 2.323105 | c073c08cf67ccc712e01d996a5355438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850158 | {
"extension": "c-sharp",
"max_stars_count": "779.0",
"max_stars_repo_name": "ForEver0512/SqlCeToolbox",
"max_stars_repo_path": "src/GUI/SSMSToolbox/SSMSEngine/TableMenuItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169378"
} | starcoder | <reponame>ForEver0512/SqlCeToolbox<filename>src/GUI/SSMSToolbox/SSMSEngine/TableMenuItem.cs
using System;
using System.Data.SqlClient;
using System.Windows.Forms;
using ErikEJ.SqlCeScripting;
using ErikEJ.SqlCeToolbox.Commands;
using ErikEJ.SqlCeToolbox.Helpers;
using Microsoft.SqlServer.Management.UI.VSIntegration.Ob... | 1.737267 | 0248676bef8d05737c3d0c04f3247229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850159 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lithnet/miis-client",
"max_stars_repo_path": "src/Lithnet.Miiserver.Client/Models/RunHistory/MAObjectCDError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169379"
} | starcoder | using System.Collections.Generic;
using System.Xml;
namespace Lithnet.Miiserver.Client
{
public class MAObjectCDError : XmlObjectBase
{
internal MAObjectCDError(XmlNode node)
: base(node)
{
}
public string ErrorCode => this.GetValue<string>("error-code");
publ... | 2.102952 | 50089584d15f10b61eefa12c28e10f09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErickSGM/MetadataContext",
"max_stars_repo_path": "src/MetadataContext/MetadataContextServiceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169380"
} | starcoder | <gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace MetadataContext
{
/// <summary>
/// Extensions on the <see cref="IServiceCollection"/>.
/// </summary>
public static class MetadataContextServiceExtensions
{
///... | 1.622161 | f8f04003387c79c2b153d2fed4a41af7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Forczu/Picture.ETL",
"max_stars_repo_path": "AnimePictureETL/ExtractedData/Danbooru/PostChangesView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169381"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AnimePictureETL.ExtractedData.Danbooru
{
public class PostChangesView
{
public long DanbooruId { get; set; }
public List<CharacterData> Characters { get; set; }
public List<ArtistData> Arti... | 1.787925 | 041f163f487e363e2c1a6b4a45da4287 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850162 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "joeizang/CatalyaCMS",
"max_stars_repo_path": "CatalyaCMS.Infrastructure/Services/PictureDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169382"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using CatalyaCMS.Domain.ApiModels;
using CatalyaCMS.Domain.ApiModels.Picture;
using Ca... | 2.499543 | 4e4563cbf3ca6a7198309d8e8be43791 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "livingston12/Restaurant-system-Api",
"max_stars_repo_path": "Core/Models/Requests/InvoicesRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169383"
} | starcoder | <reponame>livingston12/Restaurant-system-Api<filename>Core/Models/Requests/InvoicesRequest.cs
namespace Pandora.Core.Models.Requests
{
public class InvoicesRequest
{
public int TableId { get; set; }
public int? ClientId { get; set; }
public int? UserId { get; set; }
public string... | 1.534095 | 23c75e4f1d82720787e209ffde09ff95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850164 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "landriesnidis/LCL_UI",
"max_stars_repo_path": "LCL_Forms/PromptBoxes/BaseBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169384"
} | starcoder | <reponame>landriesnidis/LCL_UI<filename>LCL_Forms/PromptBoxes/BaseBox.cs<gh_stars>1-10
using Landriesnidis.LCL_Forms.Base;
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 Syst... | 2.400808 | 35c45fc935fae9db8cda6ef04113bdd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mohabashraf/ReadLearShare",
"max_stars_repo_path": "service-a/target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.opentracing-1.3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169385"
} | starcoder | #Fri Nov 01 19:25:58 EET 2019
dev/spi/ibm/com.ibm.websphere.appserver.spi.opentracing.1.3_1.0.33.jar=39a5d206d2809a5bf253f960360ebc35
lib/com.ibm.ws.io.opentracing.opentracing-util.0.31.0_1.0.33.jar=1f363311933b640e6544a4b40295abfe
lib/com.ibm.ws.opentracing.1.3_1.0.33.jar=61bc4d17f7c16db50b358044760a80de
dev/spi/ibm/j... | 1.130036 | c3bd5721f67c629856b4545f6939e137 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850166 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PoweredSoft/CodeGenerator",
"max_stars_repo_path": "PoweredSoft.CodeGenerator/SingleLineCommentBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169386"
} | starcoder | <filename>PoweredSoft.CodeGenerator/SingleLineCommentBuilder.cs
using System;
using System.Collections.Generic;
using System.Text;
using PoweredSoft.CodeGenerator.Core;
namespace PoweredSoft.CodeGenerator
{
public class SingleLineCommentBuilder : ISingleLineGeneratable
{
private string _comment;
... | 2.866837 | a636425f71580fd6a989718293f648f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NewtIndustries/Eft",
"max_stars_repo_path": "src/Eft.Core/Configuration/GameClientConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169387"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Eft.Core.Configuration
{
public class GameClientConfig
{
}
}
| 0.871052 | e65f5ac83040f75303c86e2a440452d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AyrFX/03.Telerik-Academy-2016-CSharp-Part-2-Homewoks",
"max_stars_repo_path": "05. Using-Classes-and-Objects/04. Triangle surface by side and altitude/TriangleSurface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169388"
} | starcoder | using System;
class TriangleSurface
{
static void Main()
{
double side = double.Parse(Console.ReadLine());
double altitude = double.Parse(Console.ReadLine());
double surface = (side * altitude) / 2;
Console.WriteLine("{0:F2}", surface);
}
} | 3.409197 | 9dcc2308516031488a698b8a4e5f7b91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850169 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "diego-cc/Recipes-Manager",
"max_stars_repo_path": "RecipesManager/Views/MenuView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169389"
} | starcoder | using RecipesManager.ViewModels.Services;
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.... | 2.136583 | cc16814770d53e3a9cb7acda675519f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WailAbou/Artificial-Ant-Agents",
"max_stars_repo_path": "Artificial-Ant-Agents/Assets/Scripts/Classes/Helpers/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169390"
} | starcoder | <reponame>WailAbou/Artificial-Ant-Agents
using System.Collections.Generic;
using UnityEngine;
public static class Extensions
{
public static bool Includes(this LayerMask layerMask, int layer)
{
return layerMask == (layerMask | (1 << layer));
}
public static Vector3 Closest(this IEnumerable<Vec... | 2.598782 | a3dd2ab213568badd19e7fa07bef7eac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Paskow/Telerik-Academy-JavaScript-Homeworks",
"max_stars_repo_path": "Unit Testing with C#/Unit Testing/Task 1/StudentsAndCourses.Tests/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169391"
} | starcoder | <reponame>Paskow/Telerik-Academy-JavaScript-Homeworks
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StudentsAndCourses;
namespace StudentsAndCourses.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void InititializeStudent_EmptyName_ShouldThrowExpe... | 3.048754 | 01fcaf94cb63edd9576e0e0fb2e8c111 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrancescoRepo/MyDiet",
"max_stars_repo_path": "MyDiet/Services/IService/IService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169392"
} | starcoder | <filename>MyDiet/Services/IService/IService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MyDiet.Services.IService
{
public interface IService<T>
{
public Task<IList<T>> GetAll();
public Task<T> Get(int id);
public Task Create(T entityDto);
public... | 2.479169 | 245c16cb464de59bdb6f39f6809781e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fbaiodias/pursuit-rush",
"max_stars_repo_path": "Assets/Scripts/SetTargetPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169393"
} | starcoder | using UnityEngine;
using System.Collections;
public class SetTargetPlayer : MonoBehaviour {
void Start () {
GetComponent<CarAIController>().Target = GameManager.Player.transform;
}
}
| 1.512605 | 9cac8eb63fc5de29a1dd63db08a48314 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850174 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VirtoCommerce-archieve/vc-integrations",
"max_stars_repo_path": "PLATFORM/Modules/Core/VirtoCommerce.Domain/Customer/Model/Search/MembersSearchCriteria.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169394"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VirtoCommerce.Platform.Core.Common;
namespace VirtoCommerce.Domain.Customer.Model
{
/// <summary>
/// represent common members search criteria. More specialized criteria sho... | 2.68698 | af5e373214509e43044b9bf0a3ad2ccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850175 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "su9257/FamilyBucket",
"max_stars_repo_path": "PureMVC_Standard/Assets/Framework/PureMVC/Interfaces/IProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169395"
} | starcoder | <gh_stars>1-10
//
// PureMVC C# Standard
//
// Copyright(c) 2020 <NAME> <<EMAIL>>
// Your reuse is governed by the Creative Commons Attribution 3.0 License
//
namespace PureMVC.Interfaces
{
/// <summary>
/// PureMVC Proxy 接口
/// </summary>
public interface IProxy : INotifier
{
/// <summ... | 2.014465 | 87bee89c4b60556ad200197691a25ec2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "X-lem/training-kentico-k12",
"max_stars_repo_path": "MedioClinic/Utils/IFileManagementHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169396"
} | starcoder | <filename>MedioClinic/Utils/IFileManagementHelper.cs
using System;
using System.Web;
using CMS.DocumentEngine;
namespace MedioClinic.Utils
{
public interface IFileManagementHelper
{
TreeNode GetPage(int pageId);
string EnsureUploadDirectory(string directoryPath);
bool CheckPagePermi... | 1.882416 | 699e8e579ca25cf35262228eb3691567 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "llisper/iCarus",
"max_stars_repo_path": "Project/Assets/Scripts/Prototype/Client/PlayerClient/PlayerClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169397"
} | starcoder | <filename>Project/Assets/Scripts/Prototype/Client/PlayerClient/PlayerClient.cs
using UnityEngine;
using System;
namespace Prototype.Game
{
public class PlayerClient : IDisposable
{
public int id { get; private set; }
public string playerName { get; private set; }
public bool local { ge... | 2.405407 | a7d20320030500b1d69e5e5dc1ddab7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mengxinjinglong/Mermaid.Loft",
"max_stars_repo_path": "Mermaid.Loft.Infrastructure/DomainBase/MasterBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169398"
} | starcoder | <filename>Mermaid.Loft.Infrastructure/DomainBase/MasterBase.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mermaid.Loft.Infrastructure.DomainBase
{
public class MasterBase
{
/// <summary>
/// 类型
/// </sum... | 2.266299 | 09405165e35e542e225066e2352b7254 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsoft/Banana",
"max_stars_repo_path": "Banana.Backpropagation/EpochTrainer/IEpochTrainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169399"
} | starcoder | <filename>Banana.Backpropagation/EpochTrainer/IEpochTrainer.cs
using Banana.Data.Set;
namespace Banana.Backpropagation.EpochTrainer
{
public interface IEpochTrainer
{
void Train(
IDataSet data,
float learningRate
);
}
} | 1.80695 | 47373241b10e894db08ba835d1f8aad7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tassadar2499/Patterns",
"max_stars_repo_path": "Generating/FactoryMethod/Infantry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169400"
} | starcoder | using System;
namespace GeneratingPatterns
{
public class Infantry : Warrior
{
public override void ShowInfo()
=> Console.WriteLine("Пехотинец");
}
} | 2.028208 | 78ef82f5c28fb00f5f634c50c8049579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Atomotos/Smoloons",
"max_stars_repo_path": "Assets/Scripts/Stone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169401"
} | starcoder | <reponame>Atomotos/Smoloons<filename>Assets/Scripts/Stone.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Stone : MonoBehaviour
{
private float time = .0f;
// Start is called before the first frame update
void Start()
{
}
// U... | 2.090097 | 8d2b472dbacb2bb347f2ad230318add0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850182 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/FraudDetector/Detector/Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169402"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.FraudDetector.Detector
{
/// <summary>
/// AWS::FraudDetector::Detector Model
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-... | 2.152132 | 6072fe982bb38993acf6dde157edb0f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sound-it-out/sio-eventnotifier",
"max_stars_repo_path": "src/SIO.Migrations/MigratorExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169403"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using SIO.EntityFrameworkCore.DbContexts;
using SIO.Infrastructure.EntityFrameworkCore.DbContexts;
using SIO.Infrastructure.EntityFrameworkCore.Migrations;
namespace SIO.Migrations
{
public static class MigratorExtensions
{
public static Migrator AddCon... | 1.157936 | fb32a55a8123fda915d9fcc05dab9320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "takyyon/KuduLite",
"max_stars_repo_path": "Kudu.Tests/Services/EnvironmentTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169404"
} | starcoder | using Kudu.Core;
using Kudu.Services;
using Kudu.Tests;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace Kudu.Tests.Services
{
[Collection("MockedEnvironmentVariablesCollection")]
public class EnvironmentTests
{
[Fact]
public void LinuxConsumptionPlan()
{
using(n... | 1.637187 | 1a20415b69283177d9666de4bc6bc464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850185 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "robertcoltheart/Jsonapi",
"max_stars_repo_path": "src/Jsonyte/Converters/Objects/JsonApiResourceObjectExplicitRelationshipConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169405"
} | starcoder | using System;
using System.Text.Json;
using Jsonyte.Serialization;
using Jsonyte.Serialization.Contracts;
using Jsonyte.Serialization.Metadata;
using Jsonyte.Validation;
namespace Jsonyte.Converters.Objects
{
internal class JsonApiResourceObjectExplicitRelationshipConverter<T> : JsonApiRelationshipDetailsConverte... | 2.062725 | 6aa2db54cc0eab9c3b270f68807ff8b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ljcollins25/Codeground",
"max_stars_repo_path": "src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/AutoSuggestBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169406"
} | starcoder | using System.Collections.Specialized;
using System.Linq;
using Uno;
using Uno.Extensions.Specialized;
using Uno.Foundation.Logging;
using Uno.UI;
using Uno.UI.DataBinding;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.System;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xa... | 1.739988 | 7b1926571d8c3939845af1ba3c9310fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HackmichNet/AzRanger",
"max_stars_repo_path": "AzRanger/Models/MainIAM/PasswordResetPolicies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169407"
} | starcoder | <gh_stars>0
namespace AzRanger.Models.MainIAM
{
public class PasswordResetPolicies
{
public string objectId { get; set; }
public int enablementType { get; set; }
public int numberOfAuthenticationMethodsRequired { get; set; }
public bool emailOptionEnabled { get; set; }
... | 0.926535 | 8a4a307aa1ccc69645474298f1268930 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850188 | {
"extension": "c-sharp",
"max_stars_count": "210.0",
"max_stars_repo_name": "SammyEnigma/MyToolkit",
"max_stars_repo_path": "src/MyToolkit.Extended/Caching/CacheManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169408"
} | starcoder | <filename>src/MyToolkit.Extended/Caching/CacheManager.cs<gh_stars>100-1000
//-----------------------------------------------------------------------
// <copyright file="CacheManager.cs" company="MyToolkit">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <license>https://github.com/MyToolkit/MyTool... | 2.732518 | bef4539fd79788523756361df4f0e9d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850189 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "FalafelSoftwareInc/YLAD-Universal",
"max_stars_repo_path": "YLADRT.Core/Common/LocalizationHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169409"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
namespace YLADRT.Core.Common
{
/// <summary>
/// A helper class for localization issues.
/// </summary>
internal static class LocalizationHelper
{
/// <summary>
/// Gets the country code localized... | 2.888506 | e4d132aa2a0e5fd626ad2b7caa3d2417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850190 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Albeoris/MMXLegacy",
"max_stars_repo_path": "Legacy.Framework/AssetBundles/Core/Serialization/Decoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169410"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
namespace AssetBundles.Core.Serialization
{
[DebuggerDisplay("{Head} Deserializer")]
public abstract class Decoder
{
public static readonly Decoder Default = new DefaultDecoder();
public readonly FourCC Head;
public Decoder(FourCC headCode)
{
He... | 2.146453 | f7bec9ade5c11d3452df54f94d4bc1c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michaelbmorris/ActiveDirectoryToolWpf",
"max_stars_repo_path": "MichaelBrandonMorris.ActiveDirectoryTool/ScopeFetcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169411"
} | starcoder | using System;
using System.DirectoryServices;
using System.DirectoryServices.AccountManagement;
namespace MichaelBrandonMorris.ActiveDirectoryTool
{
/// <summary>
/// Class ScopeFetcher.
/// </summary>
/// TODO Edit XML Comment Template for ScopeFetcher
internal class ScopeFetcher
{
... | 2.74228 | ed6b12fec4c2283f2b97490bc9cc710d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MM-Andrade/LES",
"max_stars_repo_path": "SGC/Core/DAOs/TipificacaoD/GrupoAtendimentoDAO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169412"
} | starcoder | using Core.Aplicacao;
using Dominio;
using Dominio.Usuarios;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
namespace Core.DAOs
{
public class GrupoAtendimentoDAO : AbstractDAO
{
public GrupoAtendimentoDAO() : base("tb_grupoatendimento", "id")
{
... | 2.560352 | 19b48d7f1c7a80d1df863b1b3feb9397 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850193 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "akobr/strong-beaver",
"max_stars_repo_path": "StrongBeaver.Core.ViewModel/ViewModel/ViewModelMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169413"
} | starcoder | <reponame>akobr/strong-beaver<filename>StrongBeaver.Core.ViewModel/ViewModel/ViewModelMessage.cs
using StrongBeaver.Core.Messaging;
namespace StrongBeaver.Core.ViewModel
{
public class ViewModelMessage : Message, IViewModelMessage
{
public ViewModelMessage()
{
// No operation
... | 1.763529 | 9a18c88d57747f91c9e82a81cbd2e037 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850194 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "EminemJK/General.CMS",
"max_stars_repo_path": "GeneralCMS/GeneralCMS.Models/ViewModel/Frontend/VNavigation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169414"
} | starcoder | <gh_stars>10-100
using GeneralCMS.Models.Dto;
using System;
using System.Collections.Generic;
using System.Text;
namespace GeneralCMS.Models.ViewModel.Frontend
{
public class VNavigation : NavigationDto
{
public List<VNavigation> Childs { get; set; } = new List<VNavigation>();
}
}
| 1.271827 | 704b0aed3ae4c8f9020e124bb984dc8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "D00225745/SpookyMineshaftProject",
"max_stars_repo_path": "GD3_2021_GDLibrary/GD3_2021_GDLibrary/Core/Components/Base/UIController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169415"
} | starcoder | namespace GDLibrary.Components.UI
{
/// <summary>
/// Parent class for any controller ui component that accepts input and modifies a ui object's transform2D, texture, text, origin, color etc
/// </summary>
public abstract class UIController : UIComponent
{
#region Input
/// <summar... | 2.524792 | 0b62776170942cc3af773d2ca1ce563d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "K2Lin-Daniel/K2Lin_Crypto_MKII",
"max_stars_repo_path": "K2Lin_Crypto/Forms/RSA-Decryption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169416"
} | starcoder | <reponame>K2Lin-Daniel/K2Lin_Crypto_MKII
using System;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using System.Xml;
namespace K2Lin_Crypto.Forms
{
public partial class Decryption : Form
{
string pubkey = CryptoMain.PubKey;
string privkey = Cry... | 2.290495 | a3a034165be927397e6e994b13bf2dc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850197 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TsvetanRazsolkov/Telerik-Academy",
"max_stars_repo_path": "Homeworks/Programming/OOP/04-OOPPrinciples-Part1/AnimalHierarchy/AnimalHierarchyTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169417"
} | starcoder | namespace AnimalHierarchy
{
using System;
using System.Text;
public class AnimalHierarchyTest
{
private static readonly string separator = new string('-', Console.WindowWidth);
static void Main()
{
Animal[] animals = new Animal[]{new Frog("Kermit", 4, Gender.Male),... | 3.65077 | 4c18e331985c265abdacb2bf2a07ffd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArturSymanovic/C-Refreshing-Skills",
"max_stars_repo_path": "CSharpRefreshment/DbMigrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169418"
} | starcoder | <filename>CSharpRefreshment/DbMigrator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpRefreshment
{
public class DbMigrator
{
private readonly ILogger _logger;
public DbMigrator(ILogger logger)
{
... | 2.700814 | 2dcf832149ba26f5919705df689f6214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850199 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zulkir/ClarityWorlds",
"max_stars_repo_path": "Source/Clarity.Common/Infra/TreeReadWrite/Serialization/TrwSerializationReadContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169419"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
namespace Clarity.Common.Infra.TreeReadWrite.Serialization
{
public class TrwSerializationReadContext : ITrwSerializationReadContext
{
public ITrwReader Reader { get; }
public IDictionary<string, object> Bag { get; }
priv... | 2.570655 | 78573a2f45883f107912e6dc317a1b58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeterMilovcik/CodingArena.Game",
"max_stars_repo_path": "CodingArena.Game.Tests/Verification/StringVerification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169420"
} | starcoder | <reponame>PeterMilovcik/CodingArena.Game
using FluentAssertions;
namespace CodingArena.Game.Tests.Verification
{
internal class StringVerification
{
private string Text { get; }
public StringVerification(string text)
{
Text = text;
}
public void Is(string ... | 2.375767 | e1f5477f302221c7884660ba796c0aa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850201 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Shkyrockett/engine",
"max_stars_repo_path": "Engine.Dynamics/Distortions/Filters/Destructive/EnvelopeDistort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169421"
} | starcoder | <reponame>Shkyrockett/engine<gh_stars>1-10
// <copyright file="EnvelopeDistort.cs" company="Shkyrockett" >
// Copyright © 2017 - 2020 Shkyrockett. All rights reserved.
// </copyright>
// <author id="shkyrockett">Shkyrockett</author>
// <license>
// Licensed under the MIT License. See LICENSE file in the projec... | 2.524639 | 4455f5ca1e0b67b0d81253952db8baab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngeloDotNet/RegistroServizi",
"max_stars_repo_path": "Models/Entities/SocioRinnovo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169422"
} | starcoder | using RegistroServizi.Models.Enums;
using RegistroServizi.Models.ValueTypes;
namespace RegistroServizi.Models.Entities
{
public partial class SocioRinnovo
{
public SocioRinnovo()
{
SocioId = 0;
Anno = "N/A";
Quota = new Money(Currency.EUR, 0);
Dat... | 2.138905 | 3940aee2b4a931ae7c07e3af655e8f01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850203 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "zii-dmg/CoreRemoting",
"max_stars_repo_path": "CoreRemoting/Serialization/Binary/BinaryFormatterExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169423"
} | starcoder | <filename>CoreRemoting/Serialization/Binary/BinaryFormatterExtensions.cs
using System.IO;
/*
* Code is copied from https://github.com/zyanfx/SafeDeserializationHelpers
* Many thanks to yallie for this great extensions to make BinaryFormatter a lot safer.
*/
namespace CoreRemoting.Serialization.Binary
{
using S... | 2.950211 | 5f7f3d837d14197ff69107f5b60d98c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850204 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JunkiEDM/FindSimilarCore",
"max_stars_repo_path": "FindSimilarClient/Controllers/FilesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169424"
} | starcoder | <reponame>JunkiEDM/FindSimilarCore<filename>FindSimilarClient/Controllers/FilesController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.As... | 2.660469 | 61b51fa92df7162ddfdfe3525a7a0182 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850205 | {
"extension": "c-sharp",
"max_stars_count": "287.0",
"max_stars_repo_name": "waldo2590/dynamic-walls-demo",
"max_stars_repo_path": "Assets/Scripts/Buildings/Domain/IBuilding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169425"
} | starcoder | <filename>Assets/Scripts/Buildings/Domain/IBuilding.cs<gh_stars>100-1000
using System;
using UnityEngine;
namespace Buildings.Domain
{
/**
* Main parent for all the buildings. It contains all common data which evey building has.
*/
public interface IBuilding
{
Guid Guid { get; set; }
... | 2.147813 | 2a7e7294c4d07c3f05e524df8e7be793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850206 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "ferrerooo/books-coding-horror",
"max_stars_repo_path": "Programming in C# (Exam Ref 70-483)/Multithreading and async/1.1. Thread sample/ThreadSample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169426"
} | starcoder | <gh_stars>10-100
namespace ProgrammingInCSharp.ThreadSample
{
using System;
using System.Threading;
public class ThreadSample
{
private static readonly object syncObj = new object();
private static void Main()
{
new Thread(() => ThreadSample.ThreadMethod(ConsoleCol... | 3.485125 | eb9335c2dfc49a50f5bf59b687cae338 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "piscoTech/uniboIs2017",
"max_stars_repo_path": "Flotta/ClientSide/View/UpdateManutenzioneDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169427"
} | starcoder | <filename>Flotta/ClientSide/View/UpdateManutenzioneDialog.cs
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 Flotta.ClientSide.View
... | 2.556698 | c967f9487f04666f67884a9e3816c832 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ercand/CottontailSummoners",
"max_stars_repo_path": "CottontailApi/Dto/StaticData/LevelTipDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169428"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CottontailApi.Dto.StaticData
{
public class LevelTipDto
{
/// <summary>
/// List of string representing the effects of leveling up this spell (go... | 2.210425 | 4e1e3ab413ab8f938249f9dce08cb35c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850209 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "EnesAker98/ProjectionSpray",
"max_stars_repo_path": "Assets/ProjectionSpray/Scripts/MeshInfoTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169429"
} | starcoder | using UnityEngine;
public class MeshInfoTexture : MonoBehaviour
{
public static RenderTexture[] GeneratePositionNormalTexture(Mesh mesh, int width = 512, int height = 512)
{
var texes = new RenderTexture[2];
for (var i = 0; i < 2; i++)
{
var tex = texes[i] = new RenderTextu... | 2.107065 | 6de5fe07621c15e040e55ec6bf218ea0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stackprobe/Kirara2",
"max_stars_repo_path": "KiraraOld2/Kirara/Tools/LongTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169430"
} | starcoder | <filename>KiraraOld2/Kirara/Tools/LongTools.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte.Tools
{
public static class LongTools
{
public static Comparison<long> comp = delegate(long a, long b)
{
if (a < b)
{
return -1;
}
if (a > b)
... | 2.820269 | 919906c59ac12398aa4a2f400db0855e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sundersb/invox",
"max_stars_repo_path": "invox/Lib/ClinicalGroupHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169431"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Linq;
using invox.Model;
namespace invox.Lib {
/// <summary>
/// Вспомогательный класс для загрузки клинических групп
/// </summary>
static class ClinicalGroupHelper {
const ... | 2.694055 | beb3e13f237a9c5d45e2a9858f22b3a3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.